From 4b04e7fd4fcad9af480a003509288aa6070b137e Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期日, 04 二月 2024 13:51:45 +0800
Subject: [PATCH] 修改
---
web/src/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/web/src/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue b/web/src/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue
index 5f8d7f8..8af0f48 100644
--- a/web/src/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue
+++ b/web/src/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue
@@ -211,10 +211,10 @@
},
created() {
const roleName = localStorage.getItem('roleName')
- if (roleName && roleName.includes('QA')) {
+ if (roleName && roleName.includes('瀹℃牳浜哄憳')) {
this.showColumn = true;
}
- if (roleName && roleName.includes('娴嬭瘯鍛�')) {
+ if (roleName && roleName.includes('妫�娴嬩汉鍛�')) {
this.showAddAndEdit = true;
}
},
@@ -331,6 +331,17 @@
},
// 琛ㄥ崟鎻愪氦
async formSubmit(submitType) {
+ let flag = true;
+ console.log(this.dataForm, "this.dataForm11111")
+ this.dataForm.configOutboundList.forEach(item => {
+ if (parseInt(item.secretClass) > localStorage.getItem('userSecretClass')) {
+ this.$alert("褰撳墠椤圭洰璁剧疆鐨勫瘑绾ч珮浜庡綋鍓嶇敤鎴风殑瀵嗙骇锛岃閲嶆柊璁剧疆")
+ flag =false
+ }
+ })
+ if (!flag){
+ return
+ }
if (this.showColumn && submitType == 'bl') {
for (let item of this.dataForm.configItemList) {
if (item) {
--
Gitblit v1.9.1