Commit 3dbca15f by “wufan”

infgid查询接口联调

parent 7e7c216b
......@@ -13,7 +13,13 @@ export default {
return;
}
let params = {
...this.model.infcon,
...this.model.infcon,
fenlishi: this.model.fenlishi,
seapurpos: this.model.seapurpos,
seagtyp: this.model.seagtyp,
fromflg: this.model.fromflg,
cmtflg: this.model.cmtflg,
fingua: this.model.fingua,
}
let rtnmsg = await Api.post('/service/infgid', params)
if (rtnmsg.respCode == SUCCESS) {
......
<template>
<div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Infgid from "~/model/Infgid";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Infgid/Check";
import Default from "~/model/Infgid/Default";
import Pattern from "~/model/Infgid/Pattern";
import Infsea from "./Infsea";
export default {
name: "Infgid",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
trnName: "infgid",
model: new Infgid().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入infgid交易");
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// //TODO 处理数据逻辑
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
};
</script>
<style>
</style>
......@@ -8,17 +8,16 @@ export default class Infgid{
opndatfrom: new Date(), // Opening between .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto
nam: '', // Name .infcon.nam
pty:{
etyextkey: '', // Select Single Party .infcon.pty.etyextkey
nam: '', // External Visible Name .infcon.pty.nam
},
etyextkey: '', // Select Single Party .infcon.pty.etyextkey
nam: '', // External Visible Name .infcon.pty.nam
seapty: '', // Party Name/BIC .infcon.seapty
relflg: '', // Release Status .infcon.relflg
hndtyp: '', // Handling Type .infcon.hndtyp
searol: '', // Role .infcon.searol
usr:{
extkey: '', // User ID .infcon.usr.extkey
},
extkey: '', // User ID .infcon.usr.extkey
statsus: '', // statsus .infcon.statsus
seacur: '', // Currency .infcon.seacur
cxmflg: '', // 是否显示查询码 .infcon.cxmflg
......@@ -27,14 +26,13 @@ export default class Infgid{
segtyp: '', // 特殊保函类型 .infcon.segtyp
searef: '', // Party Reference .infcon.searef
},
fenlishi: '', // 是否分离式保函 .fenlishi
seapurpos: '', //会议目的 .seapurpos
seagtyp: '', // 保函文本类型 .seagtyp
fromflg: '', // 电子渠道类型 .fromflg
cmtflg:'', //跨境人民币保函 .cmtflg
fingua: '', //融资性对外担保
pageId: '' // ctx的key
fenlishi: '', // 是否分离式保函 .fenlishi
seapurpos: '', //会议目的 .seapurpos
seagtyp: '', // 保函文本类型 .seagtyp
fromflg: '', // 电子渠道类型 .fromflg
cmtflg:'', //跨境人民币保函 .cmtflg
fingua: '', //融资性对外担保
pageId: '' // ctx的key
}
}
}
\ No newline at end of file
......@@ -67,11 +67,59 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.etyextkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.etyextkey"
maxlength="16"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人角色"
prop="infcon.searol"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<el-form-item
label="业务简略信息"
......@@ -85,20 +133,20 @@
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="8">
<!-- <c-col :span="8">
<el-form-item
label="当事人编号"
prop="infcon.pty.etyextkey"
prop="infcon.etyextkey"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.etyextkey"
v-model="model.infcon.etyextkey"
maxlength="16"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
</c-col> -->
<!-- <c-col :span="8">
<el-form-item
label="当事人BIC编码"
prop="infcon.seapty"
......@@ -110,17 +158,17 @@
placeholder="请输入当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
<c-col :span="8">
<el-form-item
label="当事人名称"
prop="infcon.pty.nam"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
......@@ -309,7 +357,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <c-col :span="8">
<el-form-item
label="处理类型"
prop="seahndtyp"
......@@ -328,7 +376,7 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="8">
<el-form-item
label="保函文本类型"
......
const Business = [
{ path: 'infgid', component: () => import('~/business/infgid'), name: 'infgid', meta: { title: '保函入口交易' } },
{ path: 'infgid', component: () => import('~/business/infgid/views'), name: 'infgid', meta: { title: '保函入口交易' } },
{ path: 'gitopn', component: () => import('~/business/gitopn/views'), name: 'gitopn', meta: { title: '进口保函开立' } },
]
export default Business
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