|
@@ -234,7 +234,8 @@ export default {
|
|
|
businessTypeShow: false,
|
|
|
moduleTypeShow: false,
|
|
|
userInformation: localStorage.getItem('username'),
|
|
|
- userNames: localStorage.getItem('realname')
|
|
|
+ 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' }]
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -243,15 +244,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
submitUpload() {
|
|
|
- // this.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' }]
|
|
|
- // localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
this.$refs.upload.submit()
|
|
|
},
|
|
|
- clickGetCode(response, file, fileList) {
|
|
|
- console.log(response)
|
|
|
- console.log(file)
|
|
|
- console.log(fileList)
|
|
|
- },
|
|
|
handleChange(response, file, fileList) {
|
|
|
// setTimeout(function() {
|
|
|
this.fileDbList = []
|
|
@@ -259,7 +253,8 @@ export default {
|
|
|
for (var a of this.fileList) {
|
|
|
this.fileDbList.push({ 'name': a.name, 'url': 'http:' + a.response.url })
|
|
|
}
|
|
|
- localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
+ this.$set(this.form, 'accessory', JSON.stringify(this.fileDbList))
|
|
|
+ // localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
// }, 500)
|
|
|
},
|
|
|
async bugListSelect() {
|
|
@@ -309,7 +304,6 @@ export default {
|
|
|
},
|
|
|
// 业务线取子数据
|
|
|
clickChangePlatform(e) {
|
|
|
- console.log(this.form.taskId)
|
|
|
this.platformTypeStr = this.bizOptions.filter(value => value.code === e)[0].child
|
|
|
this.businessTypeStr = []
|
|
|
this.moduleStr = []
|