zhouwx
2025-10-13 5b5c6374749159db03a14ee645760327930bbb28
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) => {