|
|
@ -1695,6 +1695,7 @@ export default {
|
|
|
|
active: 4,
|
|
|
|
active: 4,
|
|
|
|
templateId: null, //公司id
|
|
|
|
templateId: null, //公司id
|
|
|
|
templateRecordId: null, //模版ID
|
|
|
|
templateRecordId: null, //模版ID
|
|
|
|
|
|
|
|
enterpriseId: null,
|
|
|
|
detailId: null, //当前数据id
|
|
|
|
detailId: null, //当前数据id
|
|
|
|
pageType: null, //类型
|
|
|
|
pageType: null, //类型
|
|
|
|
uploadLabel: null,
|
|
|
|
uploadLabel: null,
|
|
|
@ -1824,15 +1825,16 @@ export default {
|
|
|
|
uploadListEight: [],
|
|
|
|
uploadListEight: [],
|
|
|
|
uploadListNine: [],
|
|
|
|
uploadListNine: [],
|
|
|
|
// 审核列表
|
|
|
|
// 审核列表
|
|
|
|
approvalInfoList: []
|
|
|
|
approvalInfoList: [],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async mounted(){
|
|
|
|
async mounted(){
|
|
|
|
let { templateId, templateRecordId, pageType, detailId} = this.$route.query;
|
|
|
|
let { templateId, templateRecordId, pageType, detailId, enterpriseId} = this.$route.query;
|
|
|
|
this.templateId = templateId
|
|
|
|
this.templateId = templateId
|
|
|
|
this.templateRecordId = templateRecordId
|
|
|
|
this.templateRecordId = templateRecordId
|
|
|
|
this.detailId = detailId
|
|
|
|
this.detailId = detailId
|
|
|
|
this.pageType = pageType
|
|
|
|
this.pageType = pageType
|
|
|
|
|
|
|
|
this.enterpriseId = enterpriseId
|
|
|
|
let { data } = await getTemplateInfo({templateId: templateId})
|
|
|
|
let { data } = await getTemplateInfo({templateId: templateId})
|
|
|
|
this.templateInfo = data
|
|
|
|
this.templateInfo = data
|
|
|
|
switch (this.templateId){
|
|
|
|
switch (this.templateId){
|
|
|
@ -1853,7 +1855,8 @@ export default {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('this.templateInfo: ', this.templateInfo);
|
|
|
|
console.log('this.templateInfo: ', this.templateInfo);
|
|
|
|
getBasicInfo({enterpriseId: this.$store.state.user.enterpriseId}).then((response) => {
|
|
|
|
// getBasicInfo({enterpriseId: this.$store.state.user.enterpriseId}).then((response) => {
|
|
|
|
|
|
|
|
getBasicInfo({enterpriseId: this.enterpriseId}).then((response) => {
|
|
|
|
this.baseInfo = response.data
|
|
|
|
this.baseInfo = response.data
|
|
|
|
})
|
|
|
|
})
|
|
|
|
getOpenInterface({templateRecordId: templateRecordId}).then((response) => {
|
|
|
|
getOpenInterface({templateRecordId: templateRecordId}).then((response) => {
|
|
|
|