Commit 5b9a5ab6 by wangguangchao

botcan交易代码提交

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