| | |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="是否参与异常" prop="sfcyyc"> |
| | | <el-select v-model="form.sfcyyc" placeholder="请选择是否参与异常" style="width: 200px"> |
| | | <el-option v-for="dict in dictTypesy" :key="dict.value" :label="dict.label" |
| | | :value="dict.value"></el-option> |
| | | <el-select |
| | | v-model="form.sfcyyc" |
| | | placeholder="请选择是否参与异常" |
| | | style="width: 200px" |
| | | > |
| | | <el-option |
| | | v-for="dict in dictTypesy" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | dictTypesy: [ |
| | | { |
| | | value:"0", |
| | | label:"是" |
| | | label: "是", |
| | | }, |
| | | { |
| | | value:"1", |
| | | label:"否" |
| | | } |
| | | label: "否", |
| | | }, |
| | | ], |
| | | xmmc: "", |
| | | chargeId: [], |
| | |
| | | this.debounceFilter(val); |
| | | }, |
| | | treeId(newVal) { |
| | | console.log(newVal,8989) |
| | | console.log(newVal, 8989); |
| | | if (newVal && newVal.length > 0) { |
| | | this.$nextTick(() => { |
| | | const lastId = newVal[newVal.length - 1] || "532"; |
| | |
| | | this.dialogTableVisible = true; |
| | | if (this.deptOptionstree.length != 0) { |
| | | this.$nextTick(() => { |
| | | this.chargeId.push(this.deptOptionstree[0].id); |
| | | // this.chargeId.push(this.deptOptionstree[0].id); |
| | | }); |
| | | } |
| | | |
| | |
| | | } |
| | | }, |
| | | getlistSfxm() { |
| | | console.log(2222); |
| | | this.loading = true; |
| | | this.List = true; |
| | | listSfxm(this.querycharge).then((response) => { |
| | | this.sfxmList = response.rows; |
| | | this.sfxmList = response.rows || []; |
| | | console.log(response.rows, 111222); |
| | | |
| | | response.rows.forEach((item, index) => { |
| | | item.newID = |
| | | (this.querycharge.pageNum - 1) * this.querycharge.pageSize + |
| | |
| | | this.queryParam.id = data.id; |
| | | this.List = false; |
| | | this.getListByXmId(); |
| | | this.total = 0; |
| | | }, |
| | | getListByXmId() { |
| | | console.log(this.sfxmList); |
| | | this.loading = true; |
| | | |
| | | getListByXmId(this.queryParam).then((response) => { |
| | | this.sfxmList = response.data.date; |
| | | this.sfxmList = response.data.date || []; |
| | | if (response.data.date == null) { |
| | | return; |
| | | } else { |
| | | response.data.date.forEach((item, index) => { |
| | | item.newID = |
| | | (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; |
| | | }); |
| | | } |
| | | |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | }); |
| | | this.loading = false; |
| | | }, |
| | | normalizer(node) { |
| | | if (node.children && !node.children.length) { |
| | |
| | | getDeptTree() { |
| | | return deptTree111().then((response) => { |
| | | this.deptOptions = response.data; |
| | | this.treeId = [] |
| | | this.treeId = []; |
| | | if(this.treeDate.id){ |
| | | this.treeId.push( this.treeDate.id) |
| | | this.treeId.push(this.treeDate.id); |
| | | }else{ |
| | | this.treeId.push("532") |
| | | this.treeId.push("532"); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | handleNodeClick(date) { |
| | | this.treeDate = date; |
| | | this.xiugaiList ={} |
| | | this.xiugaiList = {}; |
| | | this.xiugais = date.qf === "0"; |
| | | let proId = date.id; |
| | | getInfoByProId(proId).then((response) => { |
| | |
| | | } |
| | | }, |
| | | handleUpdate1() { |
| | | this.form={} |
| | | this.form = {}; |
| | | this.form = this.xiugaiList; |
| | | this.form.proStatus = this.form.proStatus.toString(); |
| | | this.form.sfcyyc = this.form.sfcyyc.toString(); |
| | |
| | | this.precomputePinyin(); |
| | | }); |
| | | } |
| | | console.log(this.treeId) |
| | | console.log(this.treeId); |
| | | }, |
| | | submit() { |
| | | this.ChangeList.forEach((item) => { |