Commit 3dbca15f by “wufan”

infgid查询接口联调

parent 7e7c216b
...@@ -14,6 +14,12 @@ export default { ...@@ -14,6 +14,12 @@ export default {
} }
let params = { 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) let rtnmsg = await Api.post('/service/infgid', params)
if (rtnmsg.respCode == SUCCESS) { 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{ ...@@ -8,17 +8,16 @@ export default class Infgid{
opndatfrom: new Date(), // Opening between .infcon.opndatfrom opndatfrom: new Date(), // Opening between .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto opndatto: new Date(), // Open Date to .infcon.opndatto
nam: '', // Name .infcon.nam nam: '', // Name .infcon.nam
pty:{
etyextkey: '', // Select Single Party .infcon.pty.etyextkey etyextkey: '', // Select Single Party .infcon.pty.etyextkey
nam: '', // External Visible Name .infcon.pty.nam nam: '', // External Visible Name .infcon.pty.nam
},
seapty: '', // Party Name/BIC .infcon.seapty seapty: '', // Party Name/BIC .infcon.seapty
relflg: '', // Release Status .infcon.relflg relflg: '', // Release Status .infcon.relflg
hndtyp: '', // Handling Type .infcon.hndtyp hndtyp: '', // Handling Type .infcon.hndtyp
searol: '', // Role .infcon.searol searol: '', // Role .infcon.searol
usr:{
extkey: '', // User ID .infcon.usr.extkey extkey: '', // User ID .infcon.usr.extkey
},
statsus: '', // statsus .infcon.statsus statsus: '', // statsus .infcon.statsus
seacur: '', // Currency .infcon.seacur seacur: '', // Currency .infcon.seacur
cxmflg: '', // 是否显示查询码 .infcon.cxmflg cxmflg: '', // 是否显示查询码 .infcon.cxmflg
...@@ -34,7 +33,6 @@ export default class Infgid{ ...@@ -34,7 +33,6 @@ export default class Infgid{
cmtflg:'', //跨境人民币保函 .cmtflg cmtflg:'', //跨境人民币保函 .cmtflg
fingua: '', //融资性对外担保 fingua: '', //融资性对外担保
pageId: '' // ctx的key pageId: '' // ctx的key
} }
} }
} }
\ No newline at end of file
...@@ -67,11 +67,59 @@ ...@@ -67,11 +67,59 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> --> </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>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <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"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="业务简略信息" label="业务简略信息"
...@@ -85,20 +133,20 @@ ...@@ -85,20 +133,20 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="当事人编号" label="当事人编号"
prop="infcon.pty.etyextkey" prop="infcon.etyextkey"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.pty.etyextkey" v-model="model.infcon.etyextkey"
maxlength="16" maxlength="16"
placeholder="请输入当事人编号" placeholder="请输入当事人编号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="当事人BIC编码" label="当事人BIC编码"
prop="infcon.seapty" prop="infcon.seapty"
...@@ -110,17 +158,17 @@ ...@@ -110,17 +158,17 @@
placeholder="请输入当事人BIC编码" placeholder="请输入当事人BIC编码"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人名称" label="当事人名称"
prop="infcon.pty.nam" prop="infcon.nam"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.pty.nam" v-model="model.infcon.nam"
maxlength="40" maxlength="40"
placeholder="请输入当事人名称" placeholder="请输入当事人名称"
disabled disabled
...@@ -309,7 +357,7 @@ ...@@ -309,7 +357,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="处理类型" label="处理类型"
prop="seahndtyp" prop="seahndtyp"
...@@ -328,7 +376,7 @@ ...@@ -328,7 +376,7 @@
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="保函文本类型" label="保函文本类型"
......
const Business = [ 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: '进口保函开立' } }, { path: 'gitopn', component: () => import('~/business/gitopn/views'), name: 'gitopn', meta: { title: '进口保函开立' } },
] ]
export default Business 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