修改传入的enterpriseId

prod
吕天方 9 months ago
parent b1908feb45
commit fc2f0c2134

@ -5,7 +5,7 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统
ENV = 'development' ENV = 'development'
# 金鸡湖现代服务业品牌管理系统/开发环境 # 金鸡湖现代服务业品牌管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.109:9040' VUE_APP_BASE_API = 'http://192.168.0.103:9040'
# VUE_APP_BASE_API = 'http://39.101.188.84:9040' # VUE_APP_BASE_API = 'http://39.101.188.84:9040'
# 路由懒加载 # 路由懒加载

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

@ -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) => {

@ -285,7 +285,8 @@ export default {
templateId: row.templateId, templateId: row.templateId,
templateRecordId: row.templateRecordId, templateRecordId: row.templateRecordId,
pageType: "detail", pageType: "detail",
detailId: row.declarationRecordsId detailId: row.declarationRecordsId,
enterpriseId: row.enterpriseId
}}) }})
}, },
/** 切换审批项 */ /** 切换审批项 */

@ -465,7 +465,8 @@ export default {
templateId: row.templateId, templateId: row.templateId,
templateRecordId: row.templateRecordId, templateRecordId: row.templateRecordId,
pageType: "detail", pageType: "detail",
detailId: row.id detailId: row.id,
enterpriseId: row.enterpriseId
}}) }})
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */

Loading…
Cancel
Save