Commit c348b2b4 authored by xioln's avatar xioln

附件上传附件用于

parent 21612eb5
...@@ -92,7 +92,8 @@ export default { ...@@ -92,7 +92,8 @@ export default {
{ {
align: 'center', align: 'center',
headerAlign: 'center', headerAlign: 'center',
key: 'contentType', key: 'target.contentType',
parentKey: 'target',
level: 1, level: 1,
show: true, show: true,
title: '附件用于', title: '附件用于',
...@@ -257,6 +258,7 @@ export default { ...@@ -257,6 +258,7 @@ export default {
val.forEach(r => { val.forEach(r => {
if (r.id && !r.operator) { if (r.id && !r.operator) {
r.operator = 'NO_CHANGE' r.operator = 'NO_CHANGE'
r.target.contentType = r.contentType
} }
if (r.target && r.target.secretCode) { if (r.target && r.target.secretCode) {
const secretDict = this.secretCodeOptions.find(m => m.value === r.target.secretCode) const secretDict = this.secretCodeOptions.find(m => m.value === r.target.secretCode)
......
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