Commit effa2c75 by liuxin

BusNavbar交易名修改

parent 8d459f2d
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnName="ditsel" :model="ditselModel" @onChoose="onChoose" >11</m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="ditsel" :model="ditselModel" @onChoose="onChoose" >11</m-busbtn>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
......
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnName="ditsel" :model="letselModel" @onChoose="onChoose" >11</m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="ditsel" :model="letselModel" @onChoose="onChoose" >11</m-busbtn>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
......
...@@ -387,7 +387,7 @@ ...@@ -387,7 +387,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnName="ditsel" :model="ditselModel" @onChoose="onChoose"></m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="ditsel" :model="ditselModel" @onChoose="onChoose"></m-busbtn>
</div> </div>
</el-dialog> </el-dialog>
......
...@@ -21,7 +21,7 @@ import Api from "~/service/Api"; ...@@ -21,7 +21,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
export default { export default {
props: ["ownref", "trnName", "model"], props: ["ownref", "trnCode", "model"],
components: {}, components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
...@@ -54,12 +54,13 @@ export default { ...@@ -54,12 +54,13 @@ export default {
}, },
}, },
mounted() { mounted() {
this.trnName = this.trnCode
this.$nextTick(function () { this.$nextTick(function () {
this.$on("childmethods", async function () { this.$on("childmethods", async function () {
this.navcode = []; this.navcode = [];
//请求按钮数据 //请求按钮数据
this.model.didgrp.rec.ownref = this.ownref; this.model.didgrp.rec.ownref = this.ownref;
console.log("ownref:" + this.ownref); // console.log("ownref:" + this.ownref);
let rtnmsg = await this.executeRule("didgrp.rec.ownref"); //didgrp_rec_ownref let rtnmsg = await this.executeRule("didgrp.rec.ownref"); //didgrp_rec_ownref
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
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