Commit 9738b8d3 by liuchenxi

update: 记录回显

parent 16b2d65d
......@@ -97,11 +97,10 @@ export default {
};
},
async created() {
this.deparment.departId = this.$route.query.id || '';
this.getDepartmentList();
this.$store.commit('mutations_breadcrumb', [{ name: '企业管理', path: '' }, { name: '计费中心', path: '/recharge' }, { name: '记录', path: '' }]); // eslint-disable-line
const config = await this.getAuth(); // rechartge_mixin
this.deparment.departId = config.accountDepartId;
this.deparment.departId = this.$route.query.id || config.accountDepartId;
await this.getRule(); // 该接口调取完后select-depart组件挂载所以在之前一步初始化departId
this.rechargeRecord();
},
......
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