From bbb7ed59311d04ce1b07c25886cc12a6111bd140 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 28 Dec 2023 11:53:06 +0800
Subject: [PATCH] 装备添加字段,离职可上传图片
---
src/views/trainExam/modifiedGrades.vue | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/src/views/trainExam/modifiedGrades.vue b/src/views/trainExam/modifiedGrades.vue
index 10f5f3e..2564d18 100644
--- a/src/views/trainExam/modifiedGrades.vue
+++ b/src/views/trainExam/modifiedGrades.vue
@@ -388,7 +388,7 @@
trigger: "blur"
}
],
- width: 200,
+ // width: 200,
overHidden: true
},
@@ -549,7 +549,13 @@
viewDisplay: false,
width: 130
},
-
+ {
+ label: "审核人",
+ display: false,
+ prop: "auditUserName",
+ width: 90,
+ overHidden: true
+ },
{
label: "审核时间",
prop: "auditTime",
@@ -626,7 +632,8 @@
editDisplay: true,
// 表单编辑时是否为查看模式
editDetail: false,
- width: 68
+ width: 68,
+ overHidden: true
}
]
},
@@ -644,6 +651,13 @@
};
},
created() {
+
+
+ const auditUserName = this.findObject(this.questionBankOption.column, "auditUserName");
+ const auditTime = this.findObject(this.questionBankOption.column, "auditTime");
+
+
+
if (this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警") {
//判断是否为市局管理员
if (this.userInfo.jurisdiction == "1372091709474910209") {
@@ -658,6 +672,15 @@
this.checks = true;
this.questionBankOption.tip = true;
}
+
+
+ //非管理员隐藏审核人
+ // if (this.userInfo.role_name.indexOf("admin") == -1){
+ if (!(this.permission.score_audit_check || check)){
+ auditUserName.hide = true
+ auditTime.hide = true
+ }
+
},
mounted() {
this.$store.commit("setWindowSizeHeightAdd");
--
Gitblit v1.9.3