|
@@ -359,8 +359,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
chooseModal(data) {
|
|
chooseModal(data) {
|
|
|
- let arr = deepClone(data)
|
|
|
|
|
- this.$refs.table.setData([...arr, ...this.$refs.table.getData()]);
|
|
|
|
|
|
|
+ this.$refs.table.setData([...data, ...this.$refs.table.getData()]);
|
|
|
|
|
+ let _arr = JSON.stringify([...data, ...this.$refs.table.getData()])
|
|
|
|
|
+ this.$set(this.form, 'taskParam', _arr)
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/* 表格数据源 */
|
|
/* 表格数据源 */
|
|
@@ -429,7 +430,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
chooseProcess(data) {
|
|
chooseProcess(data) {
|
|
|
- this.$set(this.form, 'produceParam', data)
|
|
|
|
|
|
|
+ let _arr = JSON.stringify(data)
|
|
|
|
|
+ this.$set(this.form, 'produceParam', _arr)
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
|