Commit ac470a98 by nanrui

通过按钮组组件跳转交易的修改。

parent 75237072
......@@ -237,10 +237,11 @@ export default {
this.BotselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
closeTrn(refId) {
this.$refs[refId].doClose();
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
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