|
@@ -121,8 +121,7 @@
|
|
|
:column-config="{resizable: true}"
|
|
|
:tree-config="{transform: true, expandAll: true}"
|
|
|
:key="tableKey"
|
|
|
- :data="tableData"
|
|
|
- @table-mounted="expandAllRows">
|
|
|
+ :data="tableData">
|
|
|
<vxe-column field="name" title="文件要求" width="260px" tree-node>
|
|
|
<template #default="scope">
|
|
|
<span style="font-weight: bold"
|
|
@@ -307,11 +306,6 @@
|
|
|
OSSSerivce,
|
|
|
},
|
|
|
methods: {
|
|
|
- expandAllRows() {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.clientTable.expandAll();
|
|
|
- });
|
|
|
- },
|
|
|
getKeyWatch (keyWatch) {
|
|
|
this.keyWatch = keyWatch
|
|
|
},
|
|
@@ -358,10 +352,8 @@
|
|
|
this.projectInfoService.findByIdEia(this.inputForm.id).then((data) => {
|
|
|
this.projectInfoService.getAttachmentList(data.projectId,this.inputForm.id).then((data) => {
|
|
|
this.tableData = data
|
|
|
+ this.tableKey = Math.random()
|
|
|
console.log("getAttachmentList",this.tableData)
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.clientTable.expandAll();
|
|
|
- });
|
|
|
})
|
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
|
this.inputForm.contractName=data.jyProjectList.contractName
|