Commit 5b9a5ab6 by wangguangchao

botcan交易代码提交

parent 054b9d0c
......@@ -28,6 +28,11 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
bodgrp:{
rec:{
inr:this.$route.query.inr
}
}
});
if (!res.data) {
return
......
......@@ -105,6 +105,8 @@ import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Ovwp from "./Ovwp.vue";
import event from "../event";
export default {
name: "Botcan",
components: {
......@@ -122,7 +124,7 @@ export default {
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs,event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
......@@ -139,19 +141,8 @@ export default {
methods: {
// tabClick() {},
},
created: async function() {
console.log("进入botcan交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
mounted () {
this.init()
},
};
</script>
......
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