Commit f8c60b9f by liaoxing

infcld修改

parent f0c31205
......@@ -51,14 +51,14 @@ export default {
};
},
methods: {},
created: async function () {}
created: async function () {},
// methods: {
// myTabClick(tab) {
// this.tabClick(tab);
// /**
// * do it yourself
// **/
// },
// },
// },
// created: async function () {
// console.log("进入infccd交易");
......
......@@ -26,7 +26,6 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
// debugger
this.pagination.total = rtnmsg.data.total;
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -14,13 +14,9 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import CodeTable from "~/config/CodeTable";
import Infcld from "~/model/Infcld"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infcld/Check"
import Default from "~/model/Infcld/Default"
import Pattern from "~/model/Infcld/Pattern"
import event from "../event"
import Infsea from "./Infsea"
......@@ -34,19 +30,15 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infcld",
model: new Infcld().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
showPanel: false,
codes: {
...CodeTable
...CodeTable,
},
}
},
......@@ -55,16 +47,16 @@ export default {
}
},
created: async function () {
console.log("进入infcld交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// console.log("进入infcld交易");
// let rtnmsg = await this.init({})
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// this.updateModel(rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
}
}
</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