修改参数收集增加数据
This commit is contained in:
@@ -1408,10 +1408,10 @@
|
||||
},
|
||||
Updateparametercolumn() {
|
||||
let data = JSON.parse(JSON.stringify(this.$refs.CollectionTabel.dataSource))
|
||||
console.log(data)
|
||||
let referencesCol = []
|
||||
let postDate = []
|
||||
let colunmnFlag = ''
|
||||
this.colunmnFlag = false
|
||||
data.forEach((item, index) => {
|
||||
if (!item.referencesCol) {
|
||||
this.colunmnFlag = true
|
||||
@@ -1433,7 +1433,7 @@
|
||||
if (referencesCol[i][itemIn[j]] instanceof Object && !(referencesCol[i][itemIn[j]] instanceof Array)) {
|
||||
postDateobj[itemIn[j]] = referencesCol[i][itemIn[j]]
|
||||
for (let k = 0; k < referencesCol[i][itemIn[j]].list.length; k++) {
|
||||
if (referencesCol[i][itemIn[j]].list[k].type == 'pull_more') {
|
||||
if (referencesCol[i][itemIn[j]].list[k].type == 'pull_more' && referencesCol[i][itemIn[j]].list[k].dataValue instanceof Array) {
|
||||
referencesCol[i][itemIn[j]].list[k].dataValue = referencesCol[i][itemIn[j]].list[k].dataValue.join(',')
|
||||
}
|
||||
if (referencesCol[i][itemIn[j]].list[k].type == 'text' && referencesCol[i][itemIn[j]].list[k].dataValue !== null) {
|
||||
|
||||
Reference in New Issue
Block a user