|
@@ -2630,7 +2630,7 @@
|
|
<el-card class="box-card-2">
|
|
<el-card class="box-card-2">
|
|
|
|
|
|
<div class="table-box">
|
|
<div class="table-box">
|
|
- <h4 style="margin-left: 4px;">表单预览</h4>
|
|
|
|
|
|
+ <h4 style="margin-left: 4px;">推荐</h4>
|
|
<el-table
|
|
<el-table
|
|
size="small"
|
|
size="small"
|
|
ref="proTable1"
|
|
ref="proTable1"
|
|
@@ -2831,7 +2831,7 @@ import {
|
|
import { getStore, setStore } from "@/util/store";
|
|
import { getStore, setStore } from "@/util/store";
|
|
|
|
|
|
import { getTempProject,addSync,getNodeStatus,getById } from "@/api/manager/ledger";
|
|
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 { getDictionaryBiz } from "@/api/other";
|
|
import tableSortByType from './tableSortByType'
|
|
import tableSortByType from './tableSortByType'
|
|
@@ -6434,7 +6434,14 @@ async saveLinkTab() {
|
|
},
|
|
},
|
|
handleNodeClick(data) {
|
|
handleNodeClick(data) {
|
|
|
|
|
|
- selectByNodeTable(data.id, this.projectid, this.id).then((res) => {
|
|
|
|
|
|
+ getRecommendTable(
|
|
|
|
+ {
|
|
|
|
+ parentId:data.id,
|
|
|
|
+ projectId:this.projectid,
|
|
|
|
+ wbsId:this.id,
|
|
|
|
+ pKeyId:this.checkRow.pkeyId
|
|
|
|
+ }
|
|
|
|
+ ).then((res) => {
|
|
if (res.data.data.length) {
|
|
if (res.data.data.length) {
|
|
this.preTableData1 = res.data.data;
|
|
this.preTableData1 = res.data.data;
|
|
} else {
|
|
} else {
|