|
@@ -370,6 +370,15 @@
|
|
|
},
|
|
|
//拆分
|
|
|
split() {
|
|
|
+ if (this.row.length > 1) {
|
|
|
+ this.$alert('不能同时拆分多条特征','提示',{
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ type:'warning',
|
|
|
+ callback: action => {
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return false
|
|
|
+ }
|
|
|
//只对勾选的进行拆分
|
|
|
this.keepSure=false
|
|
|
this.checkList = []//
|
|
@@ -398,7 +407,7 @@
|
|
|
isFinal: ele.isFinal,
|
|
|
reportId: ele.reportId,
|
|
|
explainText: "",
|
|
|
-
|
|
|
+
|
|
|
rightName: ele.rightName,
|
|
|
rightType: ele.rightType,
|
|
|
splitBy: ele.splitBy,
|
|
@@ -705,7 +714,7 @@
|
|
|
var keepArr = [];
|
|
|
console.log(this.tableData1);
|
|
|
for (let i = 0; i < this.tableData1.length; i++) {
|
|
|
- console.log(1);
|
|
|
+ console.log(1, this.tableData1[i].compareResult);
|
|
|
keepArr.push(
|
|
|
{
|
|
|
taskId: this.taskId?this.taskId:null,
|
|
@@ -721,7 +730,7 @@
|
|
|
explainText: this.tableData1[i].explainText ? this.tableData1[i].explainText : "",
|
|
|
targetDescription: this.tableData1[i].targetDescription ? this.tableData1[i].targetDescription : "",
|
|
|
compareDescription: this.tableData1[i].compareDescription ? this.tableData1[i].compareDescription : "",
|
|
|
- compareResult: this.tableData1[i].compareResult.toString() != "" ? this.tableData1[i].compareResult : "",
|
|
|
+ compareResult: this.tableData1[i].compareResult?.toString() != "" ? this.tableData1[i].compareResult : "",
|
|
|
}
|
|
|
)
|
|
|
}
|