From 569f55cc8b8606c86912bf45c46c68f9091767e1 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 07 七月 2025 15:06:41 +0800
Subject: [PATCH] 修改新增
---
src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue b/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
index 9fa37aa..07e0aba 100644
--- a/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
+++ b/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
@@ -11,7 +11,7 @@
<!-- >新增</el-button>-->
<!-- </el-form-item>-->
<el-form-item v-if="isAdmin" label="企业:" >
- <el-select v-model="data.queryParams.companyId" placeholder="请选择" clearable>
+ <el-select v-model="data.queryParams.companyId" placeholder="请选择" clearable @change="getList">
<el-option
v-for="item in companyList"
:key="item.id"
@@ -84,8 +84,8 @@
{clauseNum: '4.4', content: '质量管理体系及其过程',manage: false,represent: true},
{clauseNum: '5', content: '领导作用'},
{clauseNum: '5.1', content: '领导作用和承诺',manage: true,represent: false},
- {clauseNum: '5.2', content: '方针',manage: true,represent: false},
- {clauseNum: '5.3', content: '组织内的角色、职责和权限',manage: true,represent: false},
+ {clauseNum: '5.2', content: '质量方针',manage: true,represent: false},
+ {clauseNum: '5.3', content: '组织的岗位、职责和权限',manage: true,represent: false},
{clauseNum: '6', content: ''},
{clauseNum: '6.1', content: '应对风险和机遇的措施',manage: true,represent: false},
{clauseNum: '6.2', content: '质量目标及其实现的策划',manage: false,represent: true},
@@ -196,6 +196,7 @@
return
}
loading.value = true
+ data.form.companyId = data.queryParams.companyId
const res = await saveDistribution(data.form)
if(res.code == 200){
ElMessage.success(res.message)
@@ -229,6 +230,9 @@
const res = await getDistribution(data.queryParams)
if(res.code == 200){
data.dataList = res.data
+ if(!data.dataList || data.dataList.length == 0){
+ ElMessage.warning('该企业暂无部门信息')
+ }
for(let item of data.caluseList){
const sameNum = data.dataList.filter(i=>i.clauseNum == item.clauseNum).map(j=> {
return {
--
Gitblit v1.9.2