From a855a8a55fdf21a3f25313606557fe6e1e593dc8 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 27 Jun 2025 16:54:55 +0800
Subject: [PATCH] 修改
---
src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
index 54e976d..f856200 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
@@ -16,7 +16,7 @@
v-model="state.form.companyName"
filterable
remote
- :disabled="title == '查看' || !state.isAdmin"
+ :disabled="title == '查看' || title == '编辑' || !state.isAdmin"
@change="selectValueCom"
reserve-keyword
placeholder="请输入企业名称"
@@ -72,6 +72,7 @@
v-model="state.form.type"
placeholder="请选择质量目标级别"
style="width: 100%"
+ @change="changeLevel"
>
<el-option
v-for="item in state.levelList"
@@ -435,7 +436,8 @@
const getPeopleList = async (val)=>{
if(val != ""){
const queryParams = {
- name: val
+ name: val,
+ companyId: state.form.companyId
}
const res = await getUser(queryParams)
if (res.code == 200) {
@@ -481,6 +483,11 @@
state.form.companyId = item.id
}
})
+ getDeptList()
+}
+const changeLevel = () => {
+ // state.form.companyName = ''
+ state.form.departId = null
}
const getCompanyList = async (val)=>{
if(val != ""){
--
Gitblit v1.9.2