祖安之光
9 天以前 397f5b5d8f6f15270b158a91ba3b173d00051df5
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 != ""){