| | |
| | | <el-row :gutter="24"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="企业名称:" prop="companyId" v-if="state.isAdmin"> |
| | | <el-select v-model="state.form.companyId" placeholder="请选择" clearable style="width: 100%" :disabled="title == '查看' || title == '编辑' || !state.isAdmin" @change="selectValueCom"> |
| | | <el-select v-model="state.form.companyId" placeholder="请选择" filterable clearable style="width: 100%" :disabled="title == '查看' || title == '编辑' || !state.isAdmin" @change="selectValueCom"> |
| | | <el-option |
| | | v-for="item in state.companyList" |
| | | :key="item.id" |
| | |
| | | <el-row :gutter="24"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="质量目标:" prop="qualityId" > |
| | | <el-select |
| | | :disabled="title === '查看' || title == '编辑'" |
| | | v-model="state.form.qualityId" |
| | | placeholder="请选择质量目标" |
| | | style="width: 100%" |
| | | @change="chooseQuality" |
| | | > |
| | | <el-option |
| | | v-for="item in state.qualityList" |
| | | :key="item.id" |
| | | :label="item.message" |
| | | :value="item.id" |
| | | /> |
| | | </el-select> |
| | | <el-select |
| | | :disabled="title === '查看' || title == '编辑'" |
| | | v-model="state.form.qualityId" |
| | | placeholder="请选择质量目标" |
| | | style="width: 100%" |
| | | @change="chooseQuality" |
| | | > |
| | | <el-option |
| | | v-for="item in state.qualityList" |
| | | :key="item.id" |
| | | :label="item.message" |
| | | :value="item.id" |
| | | :title="item.message" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | const title = ref(""); |
| | | const busRef = ref(); |
| | | const length = ref() |
| | | const selectPopperClass = "max-width-select"; |
| | | const emit = defineEmits(["getList"]); |
| | | const dataRef = ref(); |
| | | const state = reactive({ |
| | |
| | | state.qualityList = [] |
| | | } |
| | | const getPeopleList = async ()=> { |
| | | if(state.isAdmin && (state.form.companyId == 0 || state.form.companyId == null)){ |
| | | return |
| | | } |
| | | const queryParams = { |
| | | pageNum: 1, |
| | | pageSize: 9999, |