|
@@ -2630,7 +2630,7 @@
|
|
|
<el-card class="box-card-2">
|
|
|
|
|
|
<div class="table-box">
|
|
|
- <h4 style="margin-left: 4px;">表单预览</h4>
|
|
|
+ <h4 style="margin-left: 4px;">推荐表单</h4>
|
|
|
<el-table
|
|
|
size="small"
|
|
|
ref="proTable1"
|
|
@@ -2648,19 +2648,25 @@
|
|
|
<el-table-column
|
|
|
prop="tableName"
|
|
|
label="表单名称"
|
|
|
- width="180">
|
|
|
+ >
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="tableType"
|
|
|
:formatter="formatTableType"
|
|
|
label="表单类型"
|
|
|
- width="180">
|
|
|
+ width="100">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="tableOwner"
|
|
|
+ width="100"
|
|
|
:formatter="formatOwner"
|
|
|
label="所属方">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="parentName"
|
|
|
+ label="父节点"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-card>
|
|
@@ -2831,7 +2837,7 @@ import {
|
|
|
import { getStore, setStore } from "@/util/store";
|
|
|
|
|
|
import { getTempProject,addSync,getNodeStatus,getById } from "@/api/manager/ledger";
|
|
|
-import { selectByNodeTable as findNodeTableByCondition1 } from "@/api/manager/wbstree";
|
|
|
+import { selectByNodeTable as findNodeTableByCondition1,getRecommendTable } from "@/api/manager/wbstree";
|
|
|
|
|
|
import { getDictionaryBiz } from "@/api/other";
|
|
|
import tableSortByType from './tableSortByType'
|
|
@@ -6434,13 +6440,17 @@ async saveLinkTab() {
|
|
|
},
|
|
|
handleNodeClick(data) {
|
|
|
|
|
|
- selectByNodeTable(data.id, this.projectid, this.id).then((res) => {
|
|
|
- if (res.data.data.length) {
|
|
|
- this.preTableData1 = res.data.data;
|
|
|
- } else {
|
|
|
- this.preTableData1 = [];
|
|
|
+ getRecommendTable({
|
|
|
+ pKeyId: this.checkRow.pkeyId,
|
|
|
+ projectId: this.projectid,
|
|
|
+
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.data.data.length) {
|
|
|
+ this.preTableData1 = res.data.data;
|
|
|
+ } else {
|
|
|
+ this.preTableData1 = [];
|
|
|
}
|
|
|
- });
|
|
|
+ });
|
|
|
|
|
|
},
|
|
|
handleSelectionChange1(val) {
|