From b59d89e4258d8e259d221dc7fc9f8f073f283d93 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 05 十一月 2025 16:50:17 +0800
Subject: [PATCH] 修改
---
src/views/build/conpanyFunctionConsult/qualityObjectives/table/components/tableDeptDialog.vue | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/table/components/tableDeptDialog.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/table/components/tableDeptDialog.vue
index 221fa09..8d467be 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/table/components/tableDeptDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/table/components/tableDeptDialog.vue
@@ -3,7 +3,7 @@
<el-dialog
v-model="dialogVisible"
:title="title"
- width="50%"
+ width="900px"
:before-close="handleClose"
:close-on-press-escape="false"
:close-on-click-modal="false"
@@ -352,6 +352,9 @@
}
const getDeptList = async () => {
+ if(state.isAdmin && (state.form.companyId == 0 || state.form.companyId == null)){
+ return
+ }
const param = {
pageNum: 1,
pageSize: 999,
@@ -485,6 +488,7 @@
}
const selectValueCom = (val) => {
+ state.form.departId = null
state.form.qualityId = null
state.qualityList = []
state.form.qualityTargets = []
@@ -499,6 +503,7 @@
state.form.companyId = item.id
}
})
+ getDeptList()
getQualityList()
getPeopleList()
}
@@ -507,12 +512,12 @@
state.form.qualityId = null
state.qualityList = []
state.form.qualityTargets = []
- state.form.fictionId = null
- state.form.fictionName = ''
- state.form.checkId = null
- state.form.checkName = ''
- state.form.ratifyId = null
- state.form.ratifyName = ''
+ // state.form.fictionId = null
+ // state.form.fictionName = ''
+ // state.form.checkId = null
+ // state.form.checkName = ''
+ // state.form.ratifyId = null
+ // state.form.ratifyName = ''
await getQualityList()
}
const addObject = (val) => {
--
Gitblit v1.9.2