Commit a6f4b20f by caoyanzhi

update: 调整菜单显示

parent 21434ffe
......@@ -55,6 +55,7 @@ export default {
if (!appId) {
this.$router.go(-1);
}
this.$emit('showTab', '/app-list');
// this.getAppDetail(appId);
},
methods: {
......
......@@ -37,6 +37,7 @@ export default {
},
created() {
this.getAppList();
this.$emit('showTab', '/app-list');
},
methods: {
getAppList() {
......
......@@ -27,6 +27,7 @@ export default {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.getAuditConfig();
this.$emit('showTab', '/audit-config');
},
methods: {
getAuditConfig() {
......
......@@ -33,6 +33,7 @@ export default {
created() {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-group-list');
this.getGroupList();
},
methods: {
......
......@@ -34,6 +34,7 @@ export default {
created() {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-item-list');
this.getAuditItemList();
},
methods: {
......
......@@ -49,6 +49,7 @@ export default {
const { auditGroupId } = this.$route.query;
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.groupData.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-group-list');
if (auditGroupId) {
this.getGroupDetail(auditGroupId);
}
......
......@@ -49,6 +49,7 @@ export default {
const { auditItemId } = this.$route.query;
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.auditData.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-item-list');
if (auditItemId) {
this.getAuditItemDetail(auditItemId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment