Commit 614a06ec authored by jingnan's avatar jingnan 👀

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents 83374384 c348b2b4
......@@ -93,8 +93,8 @@ export default {
align: 'center',
headerAlign: 'center',
key: 'target.contentType',
level: 1,
parentKey: 'target',
level: 1,
show: true,
title: '附件用于',
component: {
......@@ -258,6 +258,7 @@ export default {
val.forEach(r => {
if (r.id && !r.operator) {
r.operator = 'NO_CHANGE'
r.target.contentType = r.contentType
}
if (r.target && r.target.secretCode) {
const secretDict = this.secretCodeOptions.find(m => m.value === r.target.secretCode)
......
......@@ -485,7 +485,10 @@ export default {
this.currentSelection = val
},
cellDataChange(val) {
this.$set(this.tableData, val.rowIndex, val.row)
const row = this.$utils._set(val.row, val.key, val.value)
row.operator = 'MODIFY'
row.contentType = row.target.contentType
this.$set(this.tableData, val.rowIndex, row)
this.$emit('uploadData', this.tableData)
},
upload(file) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment