|
@@ -233,6 +233,7 @@ export default {
|
|
|
userData: '',
|
|
|
businessTypeShow: false,
|
|
|
moduleTypeShow: false,
|
|
|
+ accessory: '',
|
|
|
userInformation: localStorage.getItem('username'),
|
|
|
userNames: localStorage.getItem('realname'),
|
|
|
fileDbList: [{ name: '智慧平台.png', url: 'http://pt-starimg.didistatic.com/static/starimg/node/qo4sKioLko1571277086594.png' }, { name: '智慧平台.png', url: 'http://pt-starimg.didistatic.com/static/starimg/node/qo4sKioLko1571277086594.png' }]
|
|
@@ -253,7 +254,8 @@ export default {
|
|
|
for (var a of this.fileList) {
|
|
|
this.fileDbList.push({ 'name': a.name, 'url': 'http:' + a.response.url })
|
|
|
}
|
|
|
- this.$set(this.form, 'accessory', JSON.stringify(this.fileDbList))
|
|
|
+ this.accessory = JSON.stringify(this.fileDbList)
|
|
|
+ // this.$set(this.form, 'accessory', JSON.stringify(this.fileDbList))
|
|
|
// localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
// }, 500)
|
|
|
},
|
|
@@ -340,6 +342,7 @@ export default {
|
|
|
if (this.$route.query.id && typeof this.form.bizId === 'string') {
|
|
|
form.bizId = this.bizOptions.filter(value => value.name === form.bizId)[0].code
|
|
|
}
|
|
|
+ form.accessory = this.accessory
|
|
|
form.reopenTimes = parseInt(form.reopenTimes)
|
|
|
form.projectId = this.taskIdStr.filter(value => value.id === this.form.taskId)[0].projectId
|
|
|
this.userData = { id: '', ename: this.userInformation, name: this.userNames }
|