Commit 5f2cf1d8 by zhangliding

静态交易修改

parent 472db58d
......@@ -7761,6 +7761,12 @@ const CodeTable = {
{ label: 'Stop Transaction', value: '3' },
{ label: 'Stop Processing', value: '9' },
],
apftyp:[
{ label: 'Customer Copy', value: 'CPY' },
{ label: 'File Copy', value: 'FIL' },
{ label: 'Internal Copy', value: 'INT' },
{ label: 'Original', value: 'ORI' },
],
}
export default CodeTable;
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/service/apf/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/service/apf/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/service/apf/add", data)
}
export function edit(data) {
return Api.post("/service/apf/edit", data)
}
export function deleteById(inr) {
return Api.post(`/service/apf/deleteById?inr=${inr}`)
}
......@@ -282,6 +282,19 @@ import Dbaatp from "~/views/Statics/Atp/views/Dbaatp";
import Dbeatp from "~/views/Statics/Atp/views/Dbeatp";
import Dbdatp from "~/views/Statics/Atp/views/Dbdatp";
import Infapf from "~/views/Statics/Apf/views/Infapf";
import Dbiapf from "~/views/Statics/Apf/views/Dbiapf";
import Dbaapf from "~/views/Statics/Apf/views/Dbaapf";
import Dbeapf from "~/views/Statics/Apf/views/Dbeapf";
import Dbdapf from "~/views/Statics/Apf/views/Dbdapf";
import Infatx from "~/views/Statics/Atx/views/Infatx";
import Dbiatx from "~/views/Statics/Atx/views/Dbiatx";
import Dbaatx from "~/views/Statics/Atx/views/Dbaatx";
import Dbeatx from "~/views/Statics/Atx/views/Dbeatx";
import Dbdatx from "~/views/Statics/Atx/views/Dbdatx";
import Infbch from "~/views/Statics/Infbch";
import Dbibch from "~/views/Statics/Dbibch";
import Dbabch from "~/views/Statics/Dbabch";
......@@ -708,6 +721,11 @@ const BusRouter = [
// { path: 'dbipts/:extkey', component: Dbipts, name: 'StaticsDbipts', meta: { title: (tag) => { return '客户更新详情: ' + tag.params.extkey } } },
// { path: 'dbepts/:extkey', component: Dbipts, name: 'StaticsDbepts', meta: { title: (tag) => { return '客户信息修改: ' + tag.params.extkey } } },
{ path: 'infapf', component: Infapf, name: 'StaticsInfapf', meta: { title: '报文格式信息查询' } },
{ path: 'dbaapf', component: Dbaapf, name: 'StaticsDbaapf', meta: { title: '报文格式信息新增' } },
{ path: 'dbeapf/:inr', component: Dbeapf, name: 'StaticsDbeapf', meta: { title: (tag) => { return '报文格式信息修改: ' + tag.params.inr } } },
{ path: 'dbdapf/:inr', component: Dbdapf, name: 'StaticsDbdapf', meta: { title: (tag) => { return '报文格式信息删除: ' + tag.params.inr } } },
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
{ path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } },
......@@ -715,6 +733,12 @@ const BusRouter = [
{ path: 'dbdatp/:inr', component: Dbdatp, name: 'StaticsDbdatp', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'dbiatp/:inr', component: Dbiatp, name: 'StaticsDbiatp', 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 } } },
{ path: 'infbch', component: Infbch, name: 'StaticsInfbch', meta: { title: '客户查询' } },
{ path: 'dbabch', component: Dbabch, name: 'StaticsDbabch', meta: { title: '客户新增' } },
{ path: 'dbibch/:inr', component: Dbibch, name: 'StaticsDbibch', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
......
......@@ -191,7 +191,9 @@ export default {
// { inifrm: "infpta", ininam: "客户地址查询", pntmiu: "10" },
{ inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" },
{ inifrm: "infapf", ininam: "报文格式信息查询", pntmiu: "10" },
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infatx", ininam: "保函文本查询ATX", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: 'infoit', ininam: '消息信息查询OIT', pntmiu: '10' },
{ inifrm: 'infptm', ininam: '银行密押查询', pntmiu: '10' },
......
......@@ -162,7 +162,7 @@ export default {
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsDblapf", params: { update } });
this.$router.push({ name: "StaticsInfapf", params: { update } });
},
},
};
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="Form Set" prop="cod">
<c-input
v-model="model.cod"
maxlength="40"
placeholder=""
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Techn.Form" prop="tef">
<c-select style="width: 100%"
v-model="model.tef"
placeholder=""
:code="getCodesByKey('tef')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="Appl.Form" prop="typ">
<c-select style="width: 100%"
v-model="model.typ"
placeholder=""
:code="getCodesByKey('apftyp')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="actAdd">新增</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="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="actData"
:columns="actColumns"
: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="apfInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="apfEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="apfDelete(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/apf.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
actData: [],
actColumns: [
{ label: '样式设置', prop: 'cod', width: 'auto' },
{ label: '描述', prop: 'cod', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfapfSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfapfSearch();
},
onInfapfSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.actData = 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.onInfapfSearch()
},
getCodesByKey(key) {
return codes[key] ?? [];
},
apfAdd() {
this.$router.push(`/statics/dbaapf`)
},
apfInfo(index, row) {
this.$router.push(`/statics/dbiapf/${row.inr}`)
},
apfEdit(index, row) {
this.$router.push(`/statics/dbeapf/${row.inr}`)
},
apfDelete(index, row) {
this.$router.push(`/statics/dbdapf/${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: "StaticsInfact",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// apf,查询条件的字段
cod: "",
typ: "",
tef: "",
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -116,6 +116,12 @@ import Dbiact from "./Act/views/Dbiact";
import Dbeact from "./Act/views/Dbeact";
import Dbdact from "./Act/views/Dbdact";
import Infapf from "./Apf/views/Infapf";
import Dbiapf from "./Apf/views/Dbiapf";
import Dbaapf from "./Apf/views/Dbaapf";
import Dbeapf from "./Apf/views/Dbeapf";
import Dbdapf from "./Apf/views/Dbdapf";
import Infatp from "./Atp/views/Infatp";
import Dbiatp from "./Atp/views/Dbiatp";
import Dbaatp from "./Atp/views/Dbaatp";
......@@ -201,6 +207,13 @@ const StaticsRouter = [
{ path: 'dbdatp/:inr', component: Dbdatp, name: 'StaticsDbdatp', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'dbiatp/:inr', component: Dbiatp, name: 'StaticsDbiatp', meta: { title: (tag) => { return '交易配置信息详情: ' + tag.params.inr } } },
{ path: 'infapf', component: Infapf, name: 'StaticsInfapf', meta: { title: '报文格式信息查询' } },
{ path: 'dbaapf', component: Dbaapf, name: 'StaticsDbaapf', meta: { title: '报文格式信息新增' } },
{ path: 'dbeapf/:inr', component: Dbeapf, name: 'StaticsDbeapf', meta: { title: (tag) => { return '报文格式信息修改: ' + tag.params.inr } } },
{ path: 'dbdapf/:inr', component: Dbdapf, name: 'StaticsDbdapf', meta: { title: (tag) => { return '报文格式信息删除: ' + tag.params.inr } } },
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
{ path: 'infact', component: Infact, name: 'StaticsInfact', meta: { title: '资金账户查询' } },
{ path: 'dbaact', component: Dbaact, name: 'StaticsDbaact', meta: { title: '资金账户新增' } },
{ path: 'dbiact/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '资金账户详情: ' + tag.params.inr } } },
......
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