1
This commit is contained in:
parent
3bc2cbd9aa
commit
5b2c9b6e09
@ -1281,16 +1281,20 @@ export default {
|
|||||||
handleSuccess(file, type) {
|
handleSuccess(file, type) {
|
||||||
this.$message.success(this.$t('message.laborMange.uploadSuccessful'))
|
this.$message.success(this.$t('message.laborMange.uploadSuccessful'))
|
||||||
let data = { name: file.data[0].filename, url: file.data[0].imageUrl }
|
let data = { name: file.data[0].filename, url: file.data[0].imageUrl }
|
||||||
|
console.log(file);
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
this.aptitudeFileList.push(data)
|
this.aptitudeFileList.push(data)
|
||||||
} else if (type == 2) {
|
} else if (type == 2) {
|
||||||
this.logoFileList.push(data)
|
this.logoFileList.push(data)
|
||||||
} else if (type == 3) {
|
} else if (type == 3) {
|
||||||
|
this.layoutImageList= this.layoutImageList ? this.layoutImageList : [];
|
||||||
this.layoutImageList.push(data)
|
this.layoutImageList.push(data)
|
||||||
console.log(this.layoutImageList);
|
console.log(this.layoutImageList);
|
||||||
} else if (type == 4) {
|
} else if (type == 4) {
|
||||||
this.constructionMapUrlList.push(data);
|
|
||||||
console.log(this.constructionMapUrlList);
|
console.log(this.constructionMapUrlList);
|
||||||
|
this.constructionMapUrlList = this.constructionMapUrlList ? this.constructionMapUrlList : [];
|
||||||
|
this.constructionMapUrlList.push(data);
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleError(file) { },
|
handleError(file) { },
|
||||||
|
|||||||
@ -514,7 +514,7 @@ export default {
|
|||||||
? this.$t("message.cooperationUnit.subpackage10")
|
? this.$t("message.cooperationUnit.subpackage10")
|
||||||
: res.result.enterpriseTypeId == 11
|
: res.result.enterpriseTypeId == 11
|
||||||
? this.$t("message.cooperationUnit.subpackage11")
|
? this.$t("message.cooperationUnit.subpackage11")
|
||||||
: this.$t("message.cooperationUnit.subpackage12"),
|
: res.result.enterpriseTypeId == 12 ? this.$t("message.cooperationUnit.subpackage12") : '',
|
||||||
value2: res.result.enterpriseLegalPerson,
|
value2: res.result.enterpriseLegalPerson,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -623,8 +623,18 @@ export default {
|
|||||||
{
|
{
|
||||||
fieldName: "现场布置图",
|
fieldName: "现场布置图",
|
||||||
fieldName2: "现场施工图",
|
fieldName2: "现场施工图",
|
||||||
value: res.result.projectEnterprise.layoutImage && JSON.parse(res.result.projectEnterprise.layoutImage) instanceof Array && JSON.parse(res.result.projectEnterprise.layoutImage).length > 0? JSON.parse(res.result.projectEnterprise.layoutImage) :"",
|
value: res.result.projectEnterprise.layoutImage && JSON.parse(res.result.projectEnterprise.layoutImage) instanceof Array && JSON.parse(res.result.projectEnterprise.layoutImage).length > 0? JSON.parse(res.result.projectEnterprise.layoutImage).map(item => {
|
||||||
value2: res.result.projectEnterprise.constructionMapUrl && JSON.parse(res.result.projectEnterprise.constructionMapUrl) instanceof Array && JSON.parse(res.result.projectEnterprise.constructionMapUrl).length > 0 ? JSON.parse(res.result.projectEnterprise.constructionMapUrl):"",
|
return {
|
||||||
|
name: item.name,
|
||||||
|
url: this.$store.state.FILEURL + item.url,
|
||||||
|
}
|
||||||
|
}) :"",
|
||||||
|
value2: res.result.projectEnterprise.constructionMapUrl && JSON.parse(res.result.projectEnterprise.constructionMapUrl) instanceof Array && JSON.parse(res.result.projectEnterprise.constructionMapUrl).length > 0 ? JSON.parse(res.result.projectEnterprise.constructionMapUrl).map(item => {
|
||||||
|
return {
|
||||||
|
name: item.name,
|
||||||
|
url: this.$store.state.FILEURL + item.url,
|
||||||
|
}
|
||||||
|
}):"",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldName: "联系电话",
|
fieldName: "联系电话",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user