| | |
| | | <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="Treedata" :defaultExpandAll="false" |
| | | :option="Treeoption" style="width: fit-content;" @node-click="nodeClick"> |
| | | <template slot-scope="{ node }"> |
| | | <el-tooltip class="item" effect="dark" open-delay="350" :content="$createElement('div', { domProps: { innerHTML: node.label } })" placement="right-start"> |
| | | <el-tooltip :content="$createElement('div', { domProps: { innerHTML: node.label } })" class="item" effect="dark" |
| | | open-delay="350" placement="right-start"> |
| | | <span id="labelSize" v-html="node.label" ></span> |
| | | </el-tooltip> |
| | | </template> |
| | |
| | | const index = this.$route.query.id.indexOf('@'); |
| | | const result = this.$route.query.id.substring(0, index); |
| | | this.idData = result; |
| | | this.removeList(); |
| | | getTreeList({'conditionMap[id]': this.idData}).then(res => { |
| | | if (res) { |
| | | if (res.data.length === 0) { |
| | |
| | | this.$message.error(res) |
| | | }); |
| | | }, |
| | | |
| | | removeList() { |
| | | this.$emit('tableHeadDataFateher', []); |
| | | this.$emit('tableHeadFindData', []); |
| | | this.$emit('tableHeadBttoms', []); |
| | | this.$emit('tableDataArray', []) |
| | | this.$emit('total', null) |
| | | }, |
| | | //定义一个修改数据属性名的方法 |
| | | ModifyProperties(obj, oldName, newName) { |
| | | for (let key in obj) { |
| | |
| | | margin-left: 6px; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | #labelSize{ |
| | | font-size: 14px !important; |
| | | } |
| | |
| | | }, |
| | | tableHeadDataFateher: { |
| | | handler(newval, oldval) { |
| | | // console.log(newval) |
| | | if (newval.length > 0) { |
| | | this.options = newval.tableDefineVO.seniorQueryColumns |
| | | } |
| | | } |
| | | }, |
| | | codeClassifyOid: { |
| | |
| | | tableDataArray: { |
| | | handler(newval, oldval) { |
| | | this.tableData = newval; |
| | | this.searchResults = newval |
| | | this.searchResults = newval; |
| | | this.doLayout(); |
| | | if (newval.length > 0) { |
| | | this.fileOptions = { |
| | | ownbizOid: "0", |
| | | ownbizBtm: "0", |
| | |
| | | hasUpload: true, |
| | | height: 'auto' |
| | | } |
| | | } else { |
| | | this.fileOptions = {}; |
| | | } |
| | | }, |
| | | }, |
| | | tableHeadFindData: { |