| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="监督原因" prop="superviseReason"> |
| | | <el-input v-model="form.superviseReason" clearable size="small"></el-input> |
| | | <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | }, |
| | | // 方法集合 |
| | | methods: { |
| | | openDia(type, row) { |
| | | openDia(type, row, causeType) { |
| | | this.formDia = true |
| | | this.operationType = type |
| | | this.getUserList() |
| | | if (causeType == 1) { |
| | | this.form.superviseReason = '定期监督' |
| | | } else { |
| | | this.form.superviseReason = '动态监督' |
| | | } |
| | | if (type === 'edit') { |
| | | this.searchInfo(row) |
| | | } |
| | |
| | | this.upLoad = true |
| | | updateQualitySuperviseDetail(entity).then(res => { |
| | | this.upLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('修改成功') |
| | | this.closeDia() |
| | | }).catch(err => { |
| | |
| | | this.$emit('closeDia') |
| | | }, |
| | | getUserList(){ |
| | | selectUserCondition({ type: 0 }).then((res) => { |
| | | selectUserCondition({ type: 2 }).then((res) => { |
| | | this.userList = res.data; |
| | | }) |
| | | }, |