Commit b882d420 by nanrui

infbod修改

parent 90d7e248
...@@ -242,16 +242,12 @@ ...@@ -242,16 +242,12 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel"
<div class="m-list-btns"> @onChoose="onChoose">11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel"
@onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
...@@ -311,17 +307,14 @@ export default { ...@@ -311,17 +307,14 @@ export default {
methods: { methods: {
...Event, ...Event,
async getButtons(ownref) { async getButtons(ownref) {
this.initdialog = true; this.$refs.childs.initdialog = true
this.ownref = ownref this.ownref = ownref
console.log("ownref:" + ownref); console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
}, },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.initdialog = false; this.$refs.childs.initdialog = false
}, },
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
......
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