Commit dbb75e8f by liushikai

ditsel信用证布局调整

parent 02665cb3
<template> <template>
<c-page title="信用证查询">
<div class="eContainer"> <div class="eContainer">
<el-form <el-form
:model="model" :model="model"
...@@ -10,14 +11,17 @@ ...@@ -10,14 +11,17 @@
<!--PD000058 --> <!--PD000058 -->
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="菜单" name="sel"> <el-tab-pane label="菜单" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" /> <m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Utils from '~/utils/index' import Utils from "~/utils/index";
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Ditsel from "~/model/Ditsel"; import Ditsel from "~/model/Ditsel";
...@@ -26,14 +30,14 @@ import Pattern from "~/model/Ditsel/Pattern"; ...@@ -26,14 +30,14 @@ import Pattern from "~/model/Ditsel/Pattern";
import Sel from "./Sel"; import Sel from "./Sel";
export default { export default {
name: 'Ditsel', name: "Ditsel",
components: { components: {
"m-sel": Sel, "m-sel": Sel,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
...@@ -536,14 +540,13 @@ export default { ...@@ -536,14 +540,13 @@ export default {
}, },
}; };
}, },
methods: { methods: {},
},
created: async function () { created: async function () {
console.log("进入ditsel交易"); console.log("进入ditsel交易");
let rtnmsg = await Api.post("ditsel/init", { params: {} }); let rtnmsg = await Api.post("ditsel/init", { params: {} });
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model,rtnmsg.data) Utils.copyValueFromVO(this.model, rtnmsg.data);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
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