Commit 56431655 by FuYuXi

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 6899907e a9224986
......@@ -7788,6 +7788,10 @@ const CodeTable = {
{ label: "否", value: " " },
{ label: "是", value: "X" },
],
ucl_defflg: [
{ label: "是", value: "X" },
{ label: "否", value: "" },
],
swtcod: [
{ label: '/AGENT/', value: 'AGEN' },
{ label: '/COMM/', value: 'COM' },
......
......@@ -6,7 +6,7 @@ import Utils from "~/utils"
let checkObj = {
"fcdgrp.apl.pts.extkey" :null,
"fcdgrp.apl.pts.nam" :null,
"fcdgrp.rec.ownref" :null,
"fcdgrp.rec.ownref" :null,
}
for (const key in checkObj) {
......
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/lck/queryByPage", data)
}
export function deleteByVo(data) {
return Api.post(`/manager/lck/deleteByVo`, data)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/swm/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/manager/swm/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/swm/add", data)
}
export function edit(data) {
return Api.post("/manager/swm/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/swm/deleteById?inr=${inr}`)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/tdh/queryByPage", data)
}
export function queryById(data) {
return Api.post(`/manager/tdh/queryById`, data)
}
export function queryDetailById(data) {
return Api.post(`/manager/tdh/queryDetailById`, data)
}
export function add(data) {
return Api.post("/manager/tdh/add", data)
}
export function edit(data) {
return Api.post("/manager/tdh/edit", data)
}
export function deleteById(data) {
return Api.post(`/manager/tdh/deleteById`, data)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/ucl/queryByPage", data)
}
export function edit(data) {
return Api.post("/manager/ucl/edit", data)
}
\ No newline at end of file
......@@ -364,12 +364,28 @@ import Dbiapf from "~/views/Statics/Dbiapf";
import Dbaapf from "~/views/Statics/Dbaapf";
import Dbeapf from "~/views/Statics/Dbeapf";
import Dbdapf from "~/views/Statics/Dbdapf";
import Infswm from "~/views/Statics/Infswm";
import Inftxm2 from "~/views/Statics/Inftxm";
import Infdia from "~/views/Statics/Infdia";
import Infxrt from "~/views/Statics/Infxrt";
import Dbidia from "~/views/Statics/Dbidia";
import Dbadia from "~/views/Statics/Dbadia";
import Dbedia from "~/views/Statics/Dbedia";
import Dbddia from "~/views/Statics/Dbddia";
import Inftdh from "~/views/Statics/Inftdh";
import Dbitdh from "~/views/Statics/Dbitdh";
import Dbatdh from "~/views/Statics/Dbatdh";
import Dbetdh from "~/views/Statics/Dbetdh";
import Dbdtdh from "~/views/Statics/Dbdtdh";
import Inflck from "~/views/Statics/Inflck";
import Infucl from "~/views/Statics/Infucl";
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -721,11 +737,11 @@ const BusRouter = [
{ path: 'dbepty/:inr', component: Dbepty, name: 'StaticsDbepty', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdpty/:inr', component: Dbdpty, name: 'StaticsDbdpty', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'inftrl', component: Inftrl, name: 'StaticsInftrl', meta: { title: '复核级别查询' } },
{ path: 'dbatrl', component: Dbatrl, name: 'StaticsDbatrl', meta: { title: '复核级别新增' } },
{ path: 'dbitrl/:inr', component: Dbitrl, name: 'StaticsDbitrl', meta: { title: (tag) => { return '复核级别详情: ' + tag.params.inr } } },
{ path: 'dbetrl/:inr', component: Dbetrl, name: 'StaticsDbetrl', meta: { title: (tag) => { return '复核级别修改: ' + tag.params.inr } } },
{ path: 'dbdtrl/:inr', component: Dbdtrl, name: 'StaticsDbdtrl', meta: { title: (tag) => { return '复核级别删除: ' + tag.params.inr } } },
{ path: 'inftrl', component: Inftrl, name: 'StaticsInftrl', meta: { title: '交易权限查询' } },
{ path: 'dbatrl', component: Dbatrl, name: 'StaticsDbatrl', meta: { title: '交易权限新增' } },
{ path: 'dbitrl/:inr', component: Dbitrl, name: 'StaticsDbitrl', meta: { title: (tag) => { return '交易权限详情: ' + tag.params.inr } } },
{ path: 'dbetrl/:inr', component: Dbetrl, name: 'StaticsDbetrl', meta: { title: (tag) => { return '交易权限修改: ' + tag.params.inr } } },
{ path: 'dbdtrl/:inr', component: Dbdtrl, name: 'StaticsDbdtrl', meta: { title: (tag) => { return '交易权限删除: ' + tag.params.inr } } },
{ path: 'infusr', component: Infusr, name: 'StaticsInfusr', meta: { title: '柜员查询' } },
{ path: 'dbausr', component: Dbausr, name: 'StaticsDbausr', meta: { title: '柜员新增' } },
......@@ -741,11 +757,11 @@ const BusRouter = [
{ path: 'dbefee/:inr', component: Dbefee, name: 'StaticsDbefee', meta: { title: (tag) => { return '费用代码修改: ' + tag.params.inr } } },
{ path: 'dbdfee/:inr', component: Dbdfee, name: 'StaticsDbdfee', meta: { title: (tag) => { return '费用代码删除: ' + tag.params.inr } } },
{ path: 'infdia', component: Infdia, name: 'StaticsInfact', meta: { title: '交易备忘录查询' } },
{ path: 'dbadia', component: Dbaact, name: 'StaticsDbaact', meta: { title: '交易备忘录新增' } },
{ path: 'dbidia/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '交易备忘录详情: ' + tag.params.inr } } },
{ path: 'dbedia/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '交易备忘录修改: ' + tag.params.inr } } },
{ path: 'dbddia/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '交易备忘录删除: ' + tag.params.inr } } },
{ path: 'infdia', component: Infdia, name: 'StaticsInfdia', meta: { title: '交易备忘录查询' } },
{ path: 'dbadia', component: Dbadia, name: 'StaticsDbadia', meta: { title: '交易备忘录新增' } },
{ path: 'dbidia/:inr', component: Dbidia, name: 'StaticsDbidia', meta: { title: (tag) => { return '交易备忘录详情: ' + tag.params.inr } } },
{ path: 'dbedia/:inr', component: Dbedia, name: 'StaticsDbedia', meta: { title: (tag) => { return '交易备忘录修改: ' + tag.params.inr } } },
{ path: 'dbddia/:inr', component: Dbddia, name: 'StaticsDbddia', meta: { title: (tag) => { return '交易备忘录删除: ' + tag.params.inr } } },
{ path: 'infcup', component: Infcup, name: 'StaticsInfcup', meta: { title: '查询申报币种信息' } },
{ path: 'dbacup', component: Dbacup, name: 'StaticsDbacup', meta: { title: '新增申报币别信息' } },
......@@ -757,6 +773,17 @@ const BusRouter = [
{ path: 'dbiapf/:inr', component: Dbiapf, name: 'StaticsDbiapf', meta: { title: (tag) => { return '报文格式信息详情: ' + tag.params.inr } } },
{ 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: 'infswm', component: Infswm, name: 'StaticsInfswm', meta: { title: '报文栏位映射信息查询' } },
{ path: 'inftdh', component: Inftdh, name: 'StaticsInftdh', meta: { title: '节假日查询' } },
{ path: 'dbatdh', component: Dbatdh, name: 'StaticsDbatdh', meta: { title: '节假日新增' } },
{ path: 'dbitdh/:inr', component: Dbitdh, name: 'StaticsDbitdh', meta: { title: (tag) => { return '节假日详情: ' + tag.params.inr } } },
{ path: 'dbetdh/:inr', component: Dbetdh, name: 'StaticsDbetdh', meta: { title: (tag) => { return '节假日修改: ' + tag.params.inr } } },
{ path: 'dbdtdh/:inr', component: Dbdtdh, name: 'StaticsDbdtdh', meta: { title: (tag) => { return '节假日删除: ' + tag.params.inr } } },
{ path: 'infxrt', component: Infxrt, name: 'StaticsInfxrt', meta: { title: '牌价查询' } },
{ path: 'inflck', component: Inflck, name: 'StaticsInflck', meta: { title: '业务解锁' } },
{ path: 'infucl', component: Infucl, name: 'StaticsInfucl', meta: { title: '用户归属机构更换' } },
]
export default BusRouter
\ No newline at end of file
......@@ -147,7 +147,9 @@
<c-istream-table
:list="model.cshstm.rows || []"
:columns="columns"
v-on:chooseRowEvent="chooseRowEvent"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
></c-istream-table>
</c-col>
</div>
......@@ -163,9 +165,46 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
columns: [
'0 1 "INR" 100',
'1 2 "Own Reference" 150',
'2 3 "收取日期" 120 4 7',
'3 4 "Cur" 100',
'4 5 "Relevant Amount" 150 2 8:1 2 5',
'5 6 "" auto',
'6 7 "保证金帐号" 120',
'7 8 "是否过帐" 120',
'8 9 "是否到帐" 120',
'9 10 "是否被用" 120',
'10 11 "说明 " 200',
'11 12 "被用在交易" 120',
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FLASE",
],
};
},
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map(x=>x+1);
let params = {selDst:"cshstm",selIds}
const rtnmsg = await this.executeRule("cshstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
},
methods: { ...Event },
created: function () {},
};
</script>
......
......@@ -8,7 +8,7 @@
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......
......@@ -193,6 +193,7 @@ export default {
{ inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" },
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: "infswm", ininam: "报文栏位映射信息查询", pntmiu: "10" },
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
......@@ -204,7 +205,10 @@ export default {
{ inifrm: "infdia", ininam: "交易备忘录查询", pntmiu: "10" },
{ inifrm: "inftxm2", ininam: "固定格式文本查询", pntmiu: "10"},
{ inifrm: "infcup", ininam: "查询申报币种信息", pntmiu: "10"},
{ inifrm: "inftdh", ininam: "节假日查询", pntmiu: "10"},
{ inifrm: "infxrt", ininam: "牌价查询", pntmiu: "10"},
{ inifrm: "inflck", ininam: "业务解锁", pntmiu: "10"},
{ inifrm: "infucl", ininam: "用户归属机构更换", pntmiu: "10"},
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
......
<template>
<m-tdh title="dbatdh" type="add"></m-tdh>
</template>
<script>
import Dbitdh from "~/views/Statics/Dbitdh";
export default {
name: "StaticsDbatdh",
components: {
"m-tdh": Dbitdh
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-tdh title="dbdtdh" type="delete"></m-tdh>
</template>
<script>
import Dbitdh from "~/views/Statics/Dbitdh";
export default {
name: "StaticsDbdtdh",
components: {
"m-tdh": Dbitdh
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-ptm ref="ptm" title="dbeptm" type="edit"></m-ptm>
</template>
<script>
import Dbiptm from "~/views/Statics/Dbiptm";
export default {
name: "StaticsDbeptm",
components: {
"m-ptm": Dbiptm
},
data() {
return {
rules:{required:false}
};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-tdh title="dbetdh" type="edit"></m-tdh>
</template>
<script>
import Dbitdh from "~/views/Statics/Dbitdh";
export default {
name: "StaticsDbetdh",
components: {
"m-tdh": Dbitdh
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Tdh {
constructor() {
this.data = {
inr: "",
calyear: "",
calendarName: "",
calendar: "",
ver: "",
dat: "",
dateday: "",
}
}
}
export const Pattern = {
"calyear": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
],
}
<template>
<div class="eibs-tab">
<!-- =============================================左边=========================================== -->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="日期" prop="dat">
<c-input v-model="model.dat" style="width: 100%" placeholder="请输入日期"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="日历代码" prop="calendar">
<c-input :disabled="type === 'edit'" v-model="model.calendar" placeholder="请输入日历代码" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="年份" prop="calyear">
<c-select :disabled="type === 'edit'" v-model="model.calyear" placeholder="请选择年份">
</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="dateday">
<c-input v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入dateday"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="日历名称" prop="ownrefDesc">
<c-input :disabled="type === 'edit'" v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入日历名称"> </c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: '',
props: ['model', 'type'],
data() {
return {
}
},
mounted() {},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}
</script>
<style></style>
<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="tdh">
<c-content>
<m-tdh-info :model="model" :type="type" />
</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 Tdh, { Pattern } from "./Tdh.js";
import TdhInfo from "./TdhInfo.vue";
import { queryById, add, edit, deleteById, queryDetailById } from "~/service/test/tdh.js";
export default {
name: "StaticsDbitdh",
components: {
"m-tdh-info": TdhInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbitdh"
}
},
data() {
return {
model: new Tdh().data,
tabVal: "tdh",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const data = {"inr":this.$route.params.inr};
queryDetailById(data).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) => {
console.log('返回结果'+res.messsage);
if (res.messsage !== null && Object.keys(res.messsage).length > 0) {
this.$message.error(res.messsage)
} else {
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(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
let data = {"inr":this.model.inr}
deleteById(data)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新inftdh的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInftdh", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -22,14 +22,14 @@ export const Pattern = {
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"trn": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"relcur": [
{ "required": true, "message": "必输项", "type": "string" },
{ "required": false, "message": "必输项", "type": "string" },
],
"relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "required": false, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"ver": [
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12" style="text-align: right">
<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="lckData" :columns="lckColumns" :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 size="small" style="margin-left: 5px" @click="lckDelete(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/lck.js";
import { deleteByVo } from "~/service/test/lck.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
lckData: [],
lckColumns: [
{ label: '锁对象', prop: 'lckstr', width: 'auto' },
{ label: '用户', prop: 'lckusr', width: 'auto' },
{ label: '会话', prop: 'lcksnr', width: 'auto' },
{ label: '加锁时间', prop: 'lckdattim', width: 'auto' },
{ label: '是否被持有', prop: 'lckhld', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInflckSearch()
}
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInflckSearch();
},
onInflckSearch() {
queryByPage(this.model).then(res => {
const list = res.list
this.lckData = 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.onInflckSearch()
},
lckDelete(index, row) {
this.$confirm("是否确认删除? 请确保此锁对象没有被其他会话使用", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteByVo(row)
.then((res) => {
this.$message.success("删除成功!");
this.onSearch();
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
},
};
</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: "StaticsInflck",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize: 5,
pageNum: 1,
total: 0
},
};
},
};
</script>
<style>
</style>
......@@ -82,13 +82,14 @@
@click="ptmInfo(scope.$index, scope.row)"
>详情</c-button
>
<!-- <c-button
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="ptmEdit(scope.$index, scope.row)"
>修改</c-button
>更新</c-button
>
<!--
<c-button
size="small"
style="margin-left: 5px"
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="报文格式" prop="fmt">
<c-select v-model="model.fmt" placeholder="请选择报文格式" :code="fmt" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="映射交易" prop="frm">
<c-input v-model="model.frm" placeholder="请输入映射交易"> </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="mt">
<c-select v-model="model.mt" placeholder="请选择报文类型" :code="mt" style="width:100%"></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="swmAdd">新增</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="swmData"
:columns="swmColumns"
: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="swmInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="swmEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="swmDelete(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/swm.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
swmData: [],
swmColumns: [
{ label: "报文格式", prop: "fmt", width: "auto" },
{ label: "报文类型", prop: "mt", width: "auto" },
{ label: "映射交易", prop: "frm", width: "auto" },
{ label: "配置个数", prop: "num", width: "auto" }
],
fmt: [
{ label: "DTA Import", value: "A" },
{ label: "电证", value: "C" },
{ label: "DTA Export", value: "E" },
{ label: "单证通XML", value: "H" },
{ label: "FMT", value: "Q" },
{ label: "SWIFT", value: "S" },
{ label: "TradeConnect", value: "T" },
],
mt:[
]
};
},
computed: {
},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInfswmSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfswmSearch();
},
onInfswmSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list;
console.log(list);
this.swmData = 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.onInfswmSearch();
},
swmAdd() {
this.$router.push(`/statics/dbaswm`);
},
swmInfo(index, row) {
this.$router.push(`/statics/dbiswm/${row.inr}`);
},
swmEdit(index, row) {
this.$router.push(`/statics/dbeswm/${row.inr}`);
},
swmDelete(index, row) {
this.$router.push(`/statics/dbdswm/${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: "StaticsInfswn",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
frm:'',
mt:'',
fmt:'',
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="日历代码" prop="calendar">
<c-input v-model="model.calendar" placeholder="请输入日历代码" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="年份" prop="calyear">
<c-select v-model="model.calyear" placeholder="请选择年份">
</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="calendarName">
<c-input v-model="model.calendarName" placeholder="请输入日历名称" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="tdhAdd">新增</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="tdhData"
:columns="tdhColumns"
: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="tdhInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="tdhEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="tdhDelete(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 { format } from "path";
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/tdh.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
tdhData: [],
tdhColumns: [
{ label: '日期', prop: 'dat', width: 'auto' },
{ label: '节日名', prop: 'dateday', width: 'auto' }
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInftdhSearch()
}
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInftdhSearch();
},
onInftdhSearch() {
queryByPage(this.model).then(res => {
const list = res.list
this.tdhData = 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.onInftdhSearch()
},
tdhtypeChange(val) {
this.model.fectyp = val;
},
tdhCodesByKey(key) {
return codes[key] ?? [];
},
tdhAdd() {
this.$router.push(`/statics/dbatdh`)
},
tdhInfo(index, row) {
this.$router.push(`/statics/dbitdh/${row.inr}`)
},
tdhEdit(index, row) {
this.$router.push(`/statics/dbetdh/${row.inr}`)
},
tdhDelete(index, row) {
this.$router.push(`/statics/dbdtdh/${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>
\ No newline at end of file
<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: "StaticsInftdh",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize:5,
pageNum:1,
total:0
},
};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="复核级别查询">
<c-page title="交易权限查询">
<el-form
:model="model"
ref="modelForm"
......@@ -10,7 +10,7 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="复核级别查询" name="infsea">
<el-tab-pane label="交易权限查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="机构名称" prop="bchName">
<c-input v-model="model.bchname" placeholder="请输入机构名称" style="width: 100%"></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="branchinr">
<c-input v-model="model.branchinr" placeholder="请输入机构编号" style="width: 100%"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: right">
<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="uclData" :columns="uclColumns" :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: 5px" size="small" type="primary"
@click="uclEdit(scope.$index, scope.row)">修改</c-button>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/ucl.js";
import { edit } from "~/service/test/ucl.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
uclData: [],
uclColumns: [
{ label: '机构名称', prop: 'bchName', width: 'auto' },
{ label: '机构编号', prop: 'branchinr', width: 'auto' },
{ label: '是否默认机构', prop: 'usrdefCn', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfuclSearch()
}
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfuclSearch();
},
onInfuclSearch() {
queryByPage(this.model).then(res => {
const list = res.list
Object.keys(list).forEach((item) => {
let obj = list[item]
let codArr = codes['ucl_defflg'].filter((i) => {
return i.value == obj.usrdef.trim()
})
obj.usrdefCn = codArr[0].label
})
this.uclData = 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.onInfuclSearch()
},
uclCodesByKey(key) {
return codes[key] ?? [];
},
uclEdit(index, row) {
this.$confirm("请确认是否将此机构修改为用户默认机构?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
edit(row)
.then((res) => {
this.$message.success("修改成功!")
this.onInfuclSearch()
})
.catch((err) => {
this.$message.error("修改失败!")
})
})
.catch(() => {
this.$message({
type: "info",
message: "已取消修改",
})
})
},
},
};
</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: "StaticsInfucl",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize:5,
pageNum:1,
total:0
},
};
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -108,6 +108,7 @@ import Dbazmq from "./Dbazmq";
import Dbezmq from "./Dbezmq";
import Dbdzmq from "./Dbdzmq";
import Dbizmqxrt from "./Dbizmqxrt";
import Dbeptm from "./Dbeptm";
import Infbnk from "~/views/Statics/Infbnk";
import Dbibnk from "~/views/Statics/Dbibnk";
......@@ -117,6 +118,17 @@ import Dbiety from "./Dbiety";
import Dbaety from "./Dbaety";
import Dbeety from "./Dbeety";
import Dbdety from "./Dbdety";
import Infswm from "./Infswm";
import Inftdh from "./Inftdh";
import Dbitdh from "./Dbitdh";
import Dbatdh from "./Dbatdh";
import Dbetdh from "./Dbetdh";
import Dbdtdh from "./Dbdtdh";
import Inflck from "./Inflck";
import Infucl from "./Infucl";
const StaticsRouter = [
......@@ -127,11 +139,12 @@ const StaticsRouter = [
{ path: 'dbipty/:inr', component: Dbipty, name: 'StaticsDbipty', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
{ path: 'dbepty/:inr', component: Dbepty, name: 'StaticsDbepty', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdpty/:inr', component: Dbdpty, name: 'StaticsDbdpty', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'inftrl', component: Inftrl, name: 'StaticsInftrl', meta: { title: '复核级别查询' } },
{ path: 'dbatrl', component: Dbatrl, name: 'StaticsDbatrl', meta: { title: '复核级别新增' } },
{ path: 'dbitrl/:inr', component: Dbitrl, name: 'StaticsDbitrl', meta: { title: (tag) => { return '复核级别详情: ' + tag.params.inr } } },
{ path: 'dbetrl/:inr', component: Dbetrl, name: 'StaticsDbetrl', meta: { title: (tag) => { return '复核级别修改: ' + tag.params.inr } } },
{ path: 'dbdtrl/:inr', component: Dbdtrl, name: 'StaticsDbdtrl', meta: { title: (tag) => { return '复核级别删除: ' + tag.params.inr } } },
{ path: 'inftrl', component: Inftrl, name: 'StaticsInftrl', meta: { title: '交易权限查询' } },
{ path: 'dbatrl', component: Dbatrl, name: 'StaticsDbatrl', meta: { title: '交易权限新增' } },
{ path: 'dbitrl/:inr', component: Dbitrl, name: 'StaticsDbitrl', meta: { title: (tag) => { return '交易权限详情: ' + tag.params.inr } } },
{ path: 'dbetrl/:inr', component: Dbetrl, name: 'StaticsDbetrl', meta: { title: (tag) => { return '交易权限修改: ' + tag.params.inr } } },
{ path: 'dbdtrl/:inr', component: Dbdtrl, name: 'StaticsDbdtrl', meta: { title: (tag) => { return '交易权限删除: ' + tag.params.inr } } },
{ path: 'infusr', component: Infusr, name: 'StaticsInfusr', meta: { title: '柜员查询' } },
{ path: 'dbausr', component: Dbausr, name: 'StaticsDbausr', meta: { title: '柜员新增' } },
......@@ -233,6 +246,7 @@ const StaticsRouter = [
{ path: 'dbizmqxrt/:inr', component: Dbizmqxrt, name: 'StaticsDbizmqxrt', meta: { title: (tag) => { return '自贸区牌价详情: ' + tag.params.inr } } },
{ path: 'dbezmq/:inr', component: Dbezmq, name: 'StaticsDbezmq', meta: { title: (tag) => { return '自贸区牌价编辑: ' + tag.params.inr } } },
{ path: 'dbdzmq/:inr', component: Dbdzmq, name: 'StaticsDbdzmq', meta: { title: (tag) => { return '自贸区牌价删除: ' + tag.params.inr } } },
{ path: 'dbeptm/:inr', component: Dbeptm, name: 'StaticsDbeptm', meta: { title: (tag) => { return '银行密押更新: ' + tag.params.inr } } },
{ path: 'infbnk', component: Infbnk, name: 'StaticsInfbnk', meta: { title: '银行行号信息查询' } },
{ path: 'dbibnk/:inr', component: Dbibnk, name: 'StaticsDbibnk', meta: { title: (tag) => { return '银行行号信息详情: ' + tag.params.inr } } },
......@@ -241,6 +255,21 @@ const StaticsRouter = [
{ path: 'dbibtb/:inr', component: DbiBtb, name: 'StaticsDbibtb', meta: { title: (tag) => { return '清算代理行详情: ' + tag.params.inr } } },
{ path: 'Infpts', component: Infpts, name: 'StaticsDbaatx', meta: { title: '客户管户机构管理' } },
{ path: 'infswm', component: Infswm, name: 'StaticsInfswm', meta: { title: '报文栏位映射信息查询' } },
// { path: 'dbaswm', component: Dbaswm, name: 'StaticsDbaswm', meta: { title: '报文栏位映射信息新增' } },
// { path: 'dbiswm/:inr', component: Dbiswm, name: 'StaticsDbiswm', meta: { title: (tag) => { return '报文栏位映射信息详情: ' + tag.params.inr } } },
// { path: 'dbeswm/:inr', component: Dbeswm, name: 'StaticsDbeswm', meta: { title: (tag) => { return '报文栏位映射信息修改: ' + tag.params.inr } } },
// { path: 'dbdswm/:inr', component: Dbdswm, name: 'StaticsDbdswm', meta: { title: (tag) => { return '报文栏位映射信息删除: ' + tag.params.inr } } },
{ path: 'inftdh', component: Inftdh, name: 'StaticsInftdh', meta: { title: '节假日查询' } },
{ path: 'dbatdh', component: Dbatdh, name: 'StaticsDbatdh', meta: { title: '节假日新增' } },
{ path: 'dbitdh/:inr', component: Dbitdh, name: 'StaticsDbitdh', meta: { title: (tag) => { return '节假日详情: ' + tag.params.inr } } },
{ path: 'dbetdh/:inr', component: Dbetdh, name: 'StaticsDbetdh', meta: { title: (tag) => { return '节假日修改: ' + tag.params.inr } } },
{ path: 'dbdtdh/:inr', component: Dbdtdh, name: 'StaticsDbdtdh', meta: { title: (tag) => { return '节假日删除: ' + tag.params.inr } } },
{ path: 'inflck', component: Inflck, name: 'StaticsInflck', meta: { title: '业务解锁' } },
{ path: 'infucl', component: Infucl, name: 'StaticsInfucl', meta: { title: '用户归属机构更换' } },
]
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