Commit a6f4b20f by caoyanzhi

update: 调整菜单显示

parent 21434ffe
...@@ -55,6 +55,7 @@ export default { ...@@ -55,6 +55,7 @@ export default {
if (!appId) { if (!appId) {
this.$router.go(-1); this.$router.go(-1);
} }
this.$emit('showTab', '/app-list');
// this.getAppDetail(appId); // this.getAppDetail(appId);
}, },
methods: { methods: {
......
...@@ -37,6 +37,7 @@ export default { ...@@ -37,6 +37,7 @@ export default {
}, },
created() { created() {
this.getAppList(); this.getAppList();
this.$emit('showTab', '/app-list');
}, },
methods: { methods: {
getAppList() { getAppList() {
......
...@@ -27,6 +27,7 @@ export default { ...@@ -27,6 +27,7 @@ export default {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}'); const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId; this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.getAuditConfig(); this.getAuditConfig();
this.$emit('showTab', '/audit-config');
}, },
methods: { methods: {
getAuditConfig() { getAuditConfig() {
......
...@@ -33,6 +33,7 @@ export default { ...@@ -33,6 +33,7 @@ export default {
created() { created() {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}'); const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId; this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-group-list');
this.getGroupList(); this.getGroupList();
}, },
methods: { methods: {
......
...@@ -34,6 +34,7 @@ export default { ...@@ -34,6 +34,7 @@ export default {
created() { created() {
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}'); const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.wxEnterpriseId = haobanUser.wxEnterpriseId; this.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-item-list');
this.getAuditItemList(); this.getAuditItemList();
}, },
methods: { methods: {
......
...@@ -49,6 +49,7 @@ export default { ...@@ -49,6 +49,7 @@ export default {
const { auditGroupId } = this.$route.query; const { auditGroupId } = this.$route.query;
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}'); const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.groupData.wxEnterpriseId = haobanUser.wxEnterpriseId; this.groupData.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-group-list');
if (auditGroupId) { if (auditGroupId) {
this.getGroupDetail(auditGroupId); this.getGroupDetail(auditGroupId);
} }
......
...@@ -49,6 +49,7 @@ export default { ...@@ -49,6 +49,7 @@ export default {
const { auditItemId } = this.$route.query; const { auditItemId } = this.$route.query;
const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}'); const haobanUser = JSON.parse(localStorage.getItem('haoBanUser') || '{}');
this.auditData.wxEnterpriseId = haobanUser.wxEnterpriseId; this.auditData.wxEnterpriseId = haobanUser.wxEnterpriseId;
this.$emit('showTab', '/audit-item-list');
if (auditItemId) { if (auditItemId) {
this.getAuditItemDetail(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