Commit 35a51081 by zhangliding

静态交易ATX前端

parent 4fe952bc
......@@ -7508,6 +7508,38 @@ const CodeTable = {
{ label: '非居民个人存款', value: '1304' },
{ label: '货币', value: '1305' },
{ label: '其他外债', value: '9900' },
],
atxcod:[
{label: 'Guarantee Text', value: '1'},
{label: 'Syndication Agreement', value: '2'}
],
gtxpurpos:[
{ label: 'ISSU Issuance of undertaking', value: 'ISSU' },
{ label: 'ISCO Issuance of counter-undert.(Seq.B)', value: 'ISCO(Seq.B)' },
{ label: 'ISCO Issuance of counter-undert.(Seq.C)', value: 'ISCO(Seq.C)' },
{ label: 'ICCO Issuance of counter-countER-undert(Seq.B)', value: 'ICCO(Seq.B)' },
{ label: 'ICCO Issuance of counter-counter-undert(Seq.C)', value: 'ICCO(Seq.C)' },
],
gtxgarty:[
{ label: '农民工工资函', value: '1' },
],
gtxlegfrm:[
{ label: 'Standby letter of cridit', value: '1' },
{ label: 'Demand guarantee', value: '2' },
{ label: 'OTHER', value: '3' },
{ label: 'Surety Payable On First Demand', value: '4' },
],
gtxuil:[
{ label: '中文', value: 'CN' },
{ label: '英语', value: 'EN' },
{ label: '法语', value: 'FR' },
{ label: '德语', value: 'DE' },
{ label: '西班牙语', value: 'SP' },
],
gtxexpflg:[
{ label: 'limited', value: '' },
{ label: 'unlimited', value: 'X' },
{ label: 'both', value: 'B' },
]
}
export default CodeTable;
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/atx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atx/add", data)
}
export function edit(data) {
return Api.post("/test/atx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atx/deleteById?inr=${inr}`)
}
\ No newline at end of file
<template>
<m-atx ref="atx" title="dbaatx" type="add"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbaatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-atx title="dbdatx" type="delete"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbdatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-atx title="dbeatx" type="edit"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbeatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr: "",
extkey: "",
nam: "",
ver: "",
objinr: "",
atxtyp: "",
objtyp: "",
atxcod: "",
atxtxt: "",
syncolflg: "",
synagrtyp: "",
synagrothtxt: "",
synagrdat: "",
uil: "",
gtxlegfrm: "",
covgodsrvdft: "",
gtxexpflg: "",
labaddinf: "",
laborcdat: "",
gtxpri: "",
expliatxt: "",
preinstxt: "",
gtxfullflg: "",
etgextkey: "",
gtxhndtyp: "",
getfldnrm: "",
objkey: "",
objnam: "",
gtxgartyp: "",
gtxpurpos: "",
}
}
}
export const Pattern = {
"inr": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"extkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"nam": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"ver": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"objinr": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"atxtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"objtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"atxcod": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"atxtxt": [
],
"syncolflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"synagrtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"synagrothtxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 35, "message": "最大长度35个字符", "trigger": "blur" }
],
"synagrdat": [
{ "type": "string", "trigger": "blur" }
],
"uil": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"gtxlegfrm": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"covgodsrvdft": [
{ "type": "string", "trigger": "blur" },
{ "max": 3300, "message": "最大长度3300个字符", "trigger": "blur" }
],
"gtxexpflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"labaddinf": [
{ "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
],
"laborcdat": [
{ "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
],
"gtxpri": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"expliatxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 792, "message": "最大长度792个字符", "trigger": "blur" }
],
"preinstxt": [
],
"gtxfullflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"etgextkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"gtxhndtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"getfldnrm": [
{ "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"objkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"objnam": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"gtxgartyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="保函文本用途" prop="atxcod">
<c-input
v-model="model.atxcod"
placeholder="请输入atxcod"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函文本类型" prop="atxtyp">
<c-input
v-model="model.atxtyp"
placeholder="请输入atxtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上级文本所属实体组织" prop="etgextkey">
<c-input
v-model="model.etgextkey"
placeholder="请输入etgextkey"
>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="extkey" prop="extkey">
<c-input
v-model="model.extkey"
placeholder="请输入extkey"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="语言" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="出具目的" prop="gtxpurpos">
<c-input
v-model="model.gtxpurpos"
placeholder="请输入gtxpurpos"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函包含类型" prop="gtxgartyp">
<c-input
v-model="model.gtxgartyp"
placeholder="请输入gtxgartyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函格式" prop="gtxlegfrm">
<c-input
v-model="model.gtxlegfrm"
placeholder="请输入gtxlegfrm"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上一级文本" prop="atxtxt">
<c-input
v-model="model.atxtxt"
placeholder="请输入atxtxt"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="保函文本名" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="优先级" prop="gtxpri">
<c-input
v-model="model.gtxpri"
placeholder="请输入gtxpri"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函无责任担保标志" prop="gtxexpflg">
<c-input
v-model="model.gtxexpflg"
placeholder="请输入gtxexpflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input
v-model="model.laborcdat"
placeholder="请输入laborcdat"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="包含文本中的附加信息" prop="labaddinf">
<c-input
v-model="model.labaddinf"
placeholder="请输入labaddinf"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objinr" prop="objinr">
<c-input
v-model="model.objinr"
placeholder="请输入objinr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="syncolflg" prop="syncolflg">
<c-input
v-model="model.syncolflg"
placeholder="请输入syncolflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrtyp" prop="synagrtyp">
<c-input
v-model="model.synagrtyp"
placeholder="请输入synagrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrothtxt" prop="synagrothtxt">
<c-input
v-model="model.synagrothtxt"
placeholder="请输入synagrothtxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrdat" prop="synagrdat">
<c-input
v-model="model.synagrdat"
placeholder="请输入synagrdat"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<c-input
v-model="model.covgodsrvdft"
placeholder="请输入covgodsrvdft"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expliatxt" prop="expliatxt">
<c-input
v-model="model.expliatxt"
placeholder="请输入expliatxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="preinstxt" prop="preinstxt">
<c-input
v-model="model.preinstxt"
placeholder="请输入preinstxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gtxfullflg" prop="gtxfullflg">
<c-input
v-model="model.gtxfullflg"
placeholder="请输入gtxfullflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gtxhndtyp" prop="gtxhndtyp">
<c-input
v-model="model.gtxhndtyp"
placeholder="请输入gtxhndtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="getfldnrm" prop="getfldnrm">
<c-input
v-model="model.getfldnrm"
placeholder="请输入getfldnrm"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objkey" prop="objkey">
<c-input
v-model="model.objkey"
placeholder="请输入objkey"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objnam" prop="objnam">
<c-input
v-model="model.objnam"
placeholder="请输入objnam"
>
</c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="atx">
<c-content>
<m-atx-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Atx, { Pattern } from "./Atx.js";
import AtxInfo from "./AtxInfo.vue"
// import PtyInfo from "./PtyInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/atx.js";
export default {
name: "StaticsDbiatx",
components: {
"m-atx-info": AtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiatx"
}
},
data() {
return {
model: new Atx().data,
tabVal: "atx",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryDetailById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("客户不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infatx的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfatx", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="保函文本用途" prop="atxcod">
<c-select
v-model="model.atxcod"
placeholder="请选择atxcod"
:code="getCodesByKey('atxcod')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="保函文本名" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-left">
<c-col :span="24">
<el-form-item label="出具目的" prop="gtxpurpos">
<c-select
v-model="model.gtxpurpos"
placeholder="请选择gtxpurpos"
:code="getCodesByKey('gtxpurpos')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函包含类型" prop="gtxgartyp">
<c-select
v-model="model.gtxgartyp"
placeholder="请选择gtxgartyp"
:code="getCodesByKey('gtxgartyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函格式" prop="gtxlegfrm">.
<c-select
v-model="model.sealegfrm"
placeholder="请选择gtxlegfrm"
:code="getCodesByKey('gtxlegfrm')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- 右 -->
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-right">
<c-col :span="24">
<el-form-item label="语言" prop="gtxuil">
<c-select
v-model="model.gtxuil"
placeholder="请选择gtxuil"
:code="getCodesByKey('gtxuil')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函无责任担保标志" prop="gtxexpflg">
<c-select
v-model="model.gtxexpflg"
placeholder="请选择gtxexpflg"
:code="getCodesByKey('gtxexpflg')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`2`)" class="col-left">
<c-col :span="24">
<!-- -->
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`2`)" class="col-right">
<c-col :span="24">
<!-- -->
</c-col>
</c-col>
<!-- 条件输入框下面的按钮 -->
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="atxAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onInfatxSearch()"
>查询
</el-button>
</c-col>
</c-col>
<!-- 查询结果展示区域 -->
<c-col :span="24">
<c-paging-table
:data="atxData"
:columns="atxColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="atxInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="atxEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="atxDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/atx.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
atxData: [],
atxColumns: [
{ label: '保函文本名', prop: 'nam', width: 'auto' },
{ label: '保函用途', prop: 'atxcod', width: 'auto' },
{ label: '语言', prop: 'uil', width: 'auto' },
{ label: '保函格式', prop: 'gtxlegfrm', width: 'auto' },
{ label: '保函无责任担保标志', prop: 'gtxexpflg', width: 'auto' },
{ label: '保函包含类型', prop: 'gtxgartyp', width: 'auto' },
{ label: '出具目的', prop: 'gtxpurpos', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfatxSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInfatxSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.atxData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfatxSearch()
},
atxtypeChange(val) {
this.model.atxtyp = val;
},
getCodesByKey(key) {
return codes[key] ?? [];
},
atxAdd() {
this.$router.push(`/statics/dbaatx`)
},
atxInfo(index, row) {
this.$router.push(`/statics/dbiatx/${row.inr}`)
},
atxEdit(index, row) {
this.$router.push(`/statics/dbeatx/${row.inr}`)
},
atxDelete(index, row) {
this.$router.push(`/statics/dbdatx/${row.inr}`)
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}</style>
<template>
<div class="eContainer">
<c-page title="保函文本查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="保函查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfatx",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// atx
//保函文本名
nam: "",
//保函文本用途
atxcod: "",
//语言
gtxuil: "",
//保函格式
gtxlegfrm: "",
//保函无责任担保标志
gtxexpflg: "",
//保函包含类型
gtxgartyp: "",
//出具目的
gtxpurpos: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -57,6 +57,12 @@ import Dbaact from "./Dbaact";
import Dbeact from "./Dbeact";
import Dbdact from "./Dbdact";
import Infatx from "./Infatx";
import Dbiatx from "./Dbiatx";
import Dbaatx from "./Dbaatx";
import Dbeatx from "./Dbeatx";
import Dbdatx from "./Dbdatx";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -116,6 +122,12 @@ const StaticsRouter = [
{ path: 'dbiact/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '资金账户详情: ' + tag.params.inr } } },
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: 'infatx', component: Infatx, name: 'StaticsInfatx', meta: { title: '保函文本查询' } },
{ path: 'dbaatx', component: Dbaatx, name: 'StaticsDbaatx', meta: { title: '保函文本新增' } },
{ path: 'dbiatx/:inr', component: Dbiatx, name: 'StaticsDbiatx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } },
{ path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
{ path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
]
export default StaticsRouter
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