|
@@ -304,10 +304,17 @@ export default {
|
|
this.$message.error('请先选择表单');
|
|
this.$message.error('请先选择表单');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- // const selectedCodes = this.checkEleList.map(ele => ({
|
|
|
|
- // codeName: ele.keyName,
|
|
|
|
- // codeValue: ele.elementId
|
|
|
|
- // }));
|
|
|
|
|
|
+ const selectedCodes = this.checkEleList.map(ele => ({
|
|
|
|
+ name: ele.keyName,
|
|
|
|
+ value: ele.elementId
|
|
|
|
+ }));
|
|
|
|
+ console.log(selectedCodes,'selectedCodes');
|
|
|
|
+
|
|
|
|
+ this.paramList[this.activeIndex].codeList.push({
|
|
|
|
+ codeName: this.checkTableRow.tableName,
|
|
|
|
+
|
|
|
|
+ codeValue: selectedCodes
|
|
|
|
+ })
|
|
// const newCondition = {
|
|
// const newCondition = {
|
|
// paramName: this.checkTableRow.tableName,
|
|
// paramName: this.checkTableRow.tableName,
|
|
// codeList: selectedCodes
|
|
// codeList: selectedCodes
|