|
@@ -4330,7 +4330,7 @@ export default {
|
|
|
|
|
|
this.getCheckIdList()
|
|
|
selectByNodeTable(data.id, this.projectid, this.id).then((res) => {
|
|
|
- if (res.data.data.length) {
|
|
|
+ if (res.data.data.length>0) {
|
|
|
this.preTableData = res.data.data;
|
|
|
} else {
|
|
|
this.preTableData = [];
|
|
@@ -5102,7 +5102,13 @@ export default {
|
|
|
if(val.length>0){
|
|
|
for (let index = 0; index < val.length; index++) {
|
|
|
let i = val[index];
|
|
|
- arr.push(i.id)
|
|
|
+ if(this.templateIdList[0].type===2){
|
|
|
+ arr.push(i.pkeyId)
|
|
|
+ }else{
|
|
|
+ arr.push(i.id)
|
|
|
+ }
|
|
|
+
|
|
|
+ // arr.push(i.id)
|
|
|
}
|
|
|
|
|
|
this.syncForm.formIds=arr.join(',')
|