|
|
@@ -215,11 +215,12 @@
|
|
|
SubClassIds: [],
|
|
|
SupplierCertId: 0,
|
|
|
InStyle: '1',
|
|
|
- IsMust:false,
|
|
|
+ IsMust: false,
|
|
|
businessList: [],
|
|
|
subfileList: [],
|
|
|
techList: [],
|
|
|
techTreeList: [],
|
|
|
+ fileList: [],
|
|
|
orgtreeprops: {
|
|
|
value: 'id',
|
|
|
label: 'Name',
|
|
|
@@ -559,7 +560,10 @@
|
|
|
this.SubfileForm.FileName = val.FileName
|
|
|
this.SubfileForm.EffectDate = (this.jsEffectDate(val.EffectDate))
|
|
|
this.SubfileForm.FileUrl = val.FileUrl
|
|
|
- this.getwendanginfo(val.FileUrl)
|
|
|
+ console.log(val.FileUrl, 'val.FileUrl')
|
|
|
+ if (val.FileUrl !== '') {
|
|
|
+ this.getwendanginfo(val.FileUrl)
|
|
|
+ }
|
|
|
this.SubfileForm.OtherRemark = val.OtherRemark
|
|
|
this.SubfileForm.Remark = val.Remark
|
|
|
this.SubfileForm.IsDelete = val.IsDelete
|
|
|
@@ -569,12 +573,16 @@
|
|
|
getwendanginfo (iUrl) {
|
|
|
let _this = this
|
|
|
_this.doclist = []
|
|
|
- let exArr = iUrl.split('|')
|
|
|
- let params = {
|
|
|
- name: exArr[1],
|
|
|
- url: exArr[0]
|
|
|
+ let urlArr = iUrl.split('$')
|
|
|
+ for (let idx in urlArr) {
|
|
|
+ let exArr = urlArr[idx].split('|')
|
|
|
+ console.log(exArr, 'exArr')
|
|
|
+ let params = {
|
|
|
+ name: exArr[1],
|
|
|
+ url: exArr[0]
|
|
|
+ }
|
|
|
+ _this.doclist.push(params)
|
|
|
}
|
|
|
- _this.doclist.push(params)
|
|
|
},
|
|
|
|
|
|
beforeAvatarUpload (file) {
|
|
|
@@ -604,7 +612,7 @@
|
|
|
} else {
|
|
|
option.action = `http://${res.data.publicUrl}/${res.data.fid}`
|
|
|
}
|
|
|
-
|
|
|
+ console.log(option.action, 'option.action')
|
|
|
_this.waituploads.push({
|
|
|
uid: option.file.uid,
|
|
|
url: res.data.publicUrl,
|