| | |
| | | v-loading="loading" |
| | | :data="projectList" |
| | | ref="tableRef" |
| | | height="580" |
| | | border |
| | | > |
| | | <el-table-column |
| | |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="是否参与异常" prop="sfcyyc"> |
| | | <el-select v-model="form.sfcyyc" placeholder="请选择是否参与异常" style="width: 260px"> |
| | | <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> |
| | | <el-button |
| | | style="margin-left: 40px" |
| | |
| | | children: "dictSfxms", |
| | | label: "xmmc", |
| | | }, |
| | | dictTypesy: [ |
| | | { |
| | | value:"0", |
| | | label:"是" |
| | | }, |
| | | { |
| | | value:"1", |
| | | label:"否" |
| | | } |
| | | ], |
| | | xmmc: "", |
| | | chargeId: [], |
| | | List: false, |
| | |
| | | proScope: "", |
| | | proSex: "2", |
| | | resultType: "", |
| | | sfcyyc: "0", |
| | | }, |
| | | rules: { |
| | | createTime: [ |
| | |
| | | created() { |
| | | this.getConsumables(); |
| | | this.getDeptList(); |
| | | this.getDeptTree().then(() => { |
| | | this.precomputePinyin(); |
| | | }); |
| | | // this.getDeptTree().then(() => { |
| | | // this.precomputePinyin(); |
| | | // }); |
| | | }, |
| | | mounted() { |
| | | this.getDeptTree().then(() => { |
| | |
| | | getDeptTree() { |
| | | return deptTree111().then((response) => { |
| | | this.deptOptions = response.data; |
| | | this.treeId.push(this.treeDate.id); |
| | | this.treeId = [] |
| | | if(this.treeDate.id){ |
| | | this.treeId.push( this.treeDate.id) |
| | | }else{ |
| | | this.treeId.push("532") |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | handleNodeClick(date) { |
| | | this.treeDate = date; |
| | | this.treeId = [] |
| | | console.log(this.treeId,2222); |
| | | this.xiugaiList ={} |
| | | this.xiugais = date.qf === "0"; |
| | | let proId = date.id; |
| | | getInfoByProId(proId).then((response) => { |
| | |
| | | } |
| | | }, |
| | | handleUpdate1() { |
| | | this.form={} |
| | | this.form = this.xiugaiList; |
| | | this.form.proStatus = this.form.proStatus.toString(); |
| | | this.form.sfcyyc = this.form.sfcyyc.toString(); |
| | | this.proParent = true; |
| | | this.isPriceDisabled = true; |
| | | getlist().then((response) => { |
| | |
| | | this.showPrise = this.form.proParentId === "0"; |
| | | this.showRentPrise = !this.showPrise; |
| | | this.form.proStatus = this.form.proStatus.toString(); |
| | | this.form.sfcyyc = this.form.sfcyyc.toString(); |
| | | this.form.consumablesList = response.data.consumablesList; |
| | | this.form.tjStandardList = response.data.tjStandardList; |
| | | if (this.form.tjStandardList) { |