| | |
| | | v-loading="loading" |
| | | :data="projectList" |
| | | ref="tableRef" |
| | | height="580" |
| | | border |
| | | > |
| | | <el-table-column |
| | |
| | | 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.xiugais = date.qf === "0"; |
| | | let proId = date.id; |