Commit 5fcb1f58 by zhengxiaokui

zxk

parent 33b83068
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :offset="12" :span="10"> <c-col :offset="12" :span="10">
<el-tabs tab-position="right" @tab-click="onNarBtnClick('9')"> <el-tabs tab-position="right" @tab-click="onTabClick">
<el-tab-pane v-for="it in meum" :key="it.label" :label="it.label"> <el-tab-pane v-for="it in meum" :key="it.label" :label="it.label">
<sel-mune :data="it.item" :model="model" /> <sel-mune :data="it.item" :model="model" />
</el-tab-pane> </el-tab-pane>
...@@ -397,9 +397,16 @@ export default { ...@@ -397,9 +397,16 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
change(tab, event) {},
//各入口按钮请求 //各入口按钮请求
async onNarBtnClick(hotreg) { async onTabClick(tab, event) {
let hotreg = "";
switch (tab.label) {
case "Transfer":
hotreg = "9";
break;
default:
hotreg = "1";
}
let rtnmsg = await this.executeRule(`cfgfil.hotreg${hotreg}`); let rtnmsg = await this.executeRule(`cfgfil.hotreg${hotreg}`);
if ((rtnmsg.respCode = SUCCESS)) { if ((rtnmsg.respCode = SUCCESS)) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
......
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