Commit 7786b24e by liuxin

BusNavbar兼容多种tab列表展示

parent 944a1cd4
......@@ -34,7 +34,11 @@ export default {
"ownrefPath": {
required: false,
default: "didgrp"
}
},
"tabIndex": {
required: false,
default: 1
},
},
components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
......@@ -71,6 +75,17 @@ export default {
this.trnName = this.trnCode
this.$nextTick(function () {
this.$on("childmethods", async function () {
let res = await this.executeRule(`cfgfil.hotreg${this.tabIndex}`);
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
this.navcode = [];
//请求按钮数据
this.model[this.ownrefPath].rec.ownref = this.ownref;
......
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