Commit 57bd2710 by liyixun

getopn bug (682)

parent 82be40d8
......@@ -118,7 +118,7 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<el-tab-pane v-if="this.flag" label="Bookings" name="Booking">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
......@@ -319,11 +319,24 @@ export default {
codes: {
...CodeTable,
},
flag: false,
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
const name = tab.name;
let rulePath;
if (name === "setpan") {
this.flag = true;
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
/**
* do it yourself
**/
......
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