Commit 0861fbb8 by wangna

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 89a80365 b6dd3b9a
......@@ -65,7 +65,5 @@ export default {
"SF000554": "Payment Date",
"S0000058": "Name",
"S0000059": "Date of Claim",
"S0000090": "Validity",
"S0000091": "Name",
"SF000508": "Interest Amount",
}
\ No newline at end of file
......@@ -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/bopcod/queryByPage", data)
}
export function queryDetailById(data) {
return Api.post("/manager/bopcod/queryById", data)
}
export function add(data) {
return Api.post("/manager/bopcod/add", data)
}
export function edit(data) {
return Api.post("/manager/bopcod/edit", data)
}
export function deleteById(data) {
return Api.post("/manager/bopcod/deleteById", data)
}
import Api from '~/service/Api'
export function queryByPage(data) {
return Api.post('/manager/oit/queryByPage', data)
}
export function queryById(data) {
return Api.post('/manager/oit/queryById', data)
}
export function add(data) {
return Api.post('/manager/oit/add', data)
}
export function edit(data) {
return Api.post('/manager/oit/edit', data)
}
export function deleteById(data) {
return Api.post('/manager/oit/deleteById', data)
}
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/ucl/queryByPage", data)
}
export function edit(data) {
return Api.post("/manager/ucl/edit", data)
}
\ No newline at end of file
......@@ -21,6 +21,6 @@ export function deleteById(data) {
}
export function queryByCUR(data){
return Api.post("/manager/xrt/edit",data)
return Api.post("/manager/xrt/queryByCUR",data)
}
......@@ -147,8 +147,9 @@
<c-istream-table
:list="model.cshstm.rows || []"
:columns="columns"
v-on:chooseRowEvent="chooseRowEvent"
v-if="model.gleflg"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
></c-istream-table>
</c-col>
</div>
......@@ -187,18 +188,23 @@ export default {
},
methods: {
...Event,
async chooseRowEvent(row) {
const selIds = [row.IDX + 1]; //rowno选中行
const selDst = "cshstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("cshstm", params)
if(rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
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>
......
<template>
<div class="eContainer">
<c-page title="保证金注销">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<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>
......@@ -17,19 +17,19 @@
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -43,7 +43,7 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
......
......@@ -196,18 +196,11 @@ export default {
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
{ inifrm: "inffee", ininam: "费用代码信息查询", pntmiu: "10" },
{ inifrm: "infgtx", ininam: "保函文本查询", pntmiu: "10" },
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ 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: "infcod", ininam: "收支申报码表查询", pntmiu: "10"},
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
<template>
<m-cod title="dbacod" type="add"></m-cod>
</template>
<script>
import Dbicod from "~/views/Statics/Dbicod";
export default {
name: "StaticsDbacod",
components: {
"m-cod": Dbicod
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-oit ref="oit" title="dbaoit" type="add"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Dbioit'
export default {
name: 'StaticsDbaoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
mounted() {},
}
</script>
<style></style>
<template>
<m-cod title="dbdcod" type="delete"></m-cod>
</template>
<script>
import Dbicod from "~/views/Statics/Dbicod";
export default {
name: "StaticsDbdcod",
components: {
"m-cod": Dbicod
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-oit title="dbdoit" type="delete"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Dbioit'
export default {
name: 'StaticsDbdoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
<template>
<m-cod title="dbecod" type="edit"></m-cod>
</template>
<script>
import Dbicod from "~/views/Statics/Dbicod";
export default {
name: "StaticsDbecod",
components: {
"m-cod": Dbicod
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-oit title="dbeoit" type="edit"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Dbioit'
export default {
name: 'StaticsDbeoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
export default class Cod {
constructor() {
this.data = {
inr:"",
ver:"",
cod:"",
dir:"",
typ:"",
txt:"",
sta:""
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"dir": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"typ": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"txt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 100, "message": "最大长度100个字符", "trigger": "blur" }
],
"sta": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
]
}
\ 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="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="INR" prop="inr">
<c-input v-model="model.inr" placeholder=""> </c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="版本" prop="ver">
<c-input v-model="model.ver" placeholder=""> </c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="交易编码" prop="cod">
<c-input v-model="model.cod" placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称" prop="txt">
<c-input v-model="model.txt" placeholder="交易名称" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易状态" prop="sta">
<c-select v-model="model.sta" style="width: 100%" placeholder="请选择交易状态" :code="getCodesByKey('codsta')"> </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="dir">
<c-select v-model="model.dir" style="width: 100%" placeholder="请选择交易方向" :code="getCodesByKey('coddir')"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易类型" prop="typ">
<c-select v-model="model.typ" style="width: 100%" placeholder="请选择交易类型" :code="getCodesByKey('codtyp')"> </c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: '',
props: ['model'],
data() {
return {
cortyp: [
],
dirflg: [
],
}
},
mounted() {},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="150px"
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="cod">
<c-content>
<m-cod-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 Cod, { Pattern } from "./Cod.js";
import CodInfo from "./CodInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/cod.js";
export default {
name: "StaticsDbicod",
components: {
"m-cod-info": CodInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbicod"
}
},
data() {
return {
model: new Cod().data,
tabVal: "cod",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const params = this.$route.params;
queryDetailById(params).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(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
const params = this.$route.params;
deleteById(params)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infcod的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfcod", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
<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="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请输入关联的表名"
:code="getCodesByKey('objtypcodetable')"
:disabled="isDisabled"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Key" prop="ownref">
<c-input
v-model="model.ownref"
placeholder="请输入ownref"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
placeholder="请输入提示类型"
:code="getCodesByKey('subtypcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关业务品种" prop="subbus">
<c-select
v-model="model.subbus"
placeholder="请输入相关业务品种"
:code="getCodesByKey('bustxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息级别" prop="inflev">
<c-select
v-model="model.inflev"
placeholder="请输入提示信息级别"
:code="getCodesByKey('inflevcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息内容" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入提示信息内容">
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="机构层次" prop="lev">
<c-select style="width: 100%"
v-model="model.lev"
placeholder="请选择机构层次"
:code="getCodesByKey('lev')"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
export default {
name: '',
props: ['model'],
data() {
return {}
},
computed: {
isDisabled() {
//return this.type === 'edit'
return false
},
},
methods: {
getCodesByKey(key) {
return codes[key] ?? []
},
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-table :list="model.oitList" :columnsConfig="columns"></c-table>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: 'client name', prop: 'mannam', width: 'auto' },
{ label: 'OITINR', prop: 'oitinr', width: 'auto' },
{ label: 'Default Client', prop: 'oitref', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ======================= 左边 ========================= -->
<c-col :span="17" class="col-left" style="padding-right: 20px"> </c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="7" class="col-right" style="padding-left: 20px"> </c-col>
</c-col>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: '机构编码', prop: 'bchkey', width: 'auto' },
{ label: '交易代码', prop: 'trn', width: 'auto' },
{ label: '授权货币', prop: 'relcur', width: 'auto' },
{ label: '授权金额', prop: 'relamt', width: 'auto' },
{ label: '交易属性', prop: 'relflg', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="140px"
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="oit">
<c-content>
<m-oitp0 :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 Oit, { Pattern } from './Oit.js'
// import Bchp0 from "./Bchp0.vue";
import OitInfo from './OitInfo.vue'
import Oitp1 from './Oitp1.vue'
import Oitp2 from './Oitp2.vue'
import { queryById, add, edit, deleteById } from '~/service/test/oit.js'
export default {
name: 'StaticsDbioit',
components: {
'm-oitp0': OitInfo,
'm-oitp1': Oitp1,
'm-oitp2': Oitp2,
},
provide() {
return {
root: this,
}
},
props: {
type: {
type: String,
default: 'info',
},
title: {
type: String,
default: 'dbioit',
},
},
data() {
return {
model: new Oit().data,
tabVal: 'oit',
rules: Pattern,
}
},
computed: {
isDisabled() {
return this.type === 'info' || this.type === 'delete'
},
},
created() {
if (this.type !== 'add') {
//const inr = this.$route.params.inr
const params = this.$route.params
queryById(params).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(() => {
const params = this.$route.params
deleteById(params)
.then((res) => {
this.$message.success('删除成功!')
this.goBack(true)
})
.catch((err) => {
this.$message.error('删除失败!')
})
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消删除',
})
})
},
/**
* update 是否更新infbch的查询列表
*/
goBack(update) {
this.$store.dispatch('TagsView/delView', this.$route)
this.$router.push({ name: 'StaticsInfoit', params: { update } })
},
},
}
</script>
<style></style>
......@@ -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": [
......
......@@ -145,7 +145,6 @@ export default {
})
.then(() => {
if(this.tabPosition===`tab-zmqxrt`){
debugger
deleteById(this.model.inr)
.then((res) => {
debugger
......
......@@ -2,42 +2,36 @@
<div class="eibs-tab">
<c-col :span="16" class="col-left" v-if="type != 'add'">
<!-- 绑定的数据 -->
<!-- <el-table
:data="tableData"
<el-table
:data="xrtCURData"
style="width: 100%"
:default-sort = "{prop: 'date', order: 'descending'}"
>
<!--:default-sort = "{prop: 'date', order: 'descending'}"-->
<el-table-column
prop="model."
prop="xrttim"
label="日末牌价"
width="">
width="auto">
</el-table-column>
<el-table-column
prop="date"
prop="midrat"
label="中间汇率"
sortable
width="100px">
width="auto">
</el-table-column>
<el-table-column
prop="name"
prop="selrat"
label="卖出汇率"
sortable
width="100px">
width="auto">
</el-table-column>
<el-table-column
prop="name"
prop="buyrat"
label="买入汇率"
sortable
width="100px">
width="aoto">
</el-table-column>
</el-table> -->
<c-paging-table
:data="xrtCURData"
:columns="xrtCURColumns"
v-on:queryFunc="queryFunc"
:border="true"
>
</c-paging-table>
</el-table>
</c-col>
<c-col :span="8" class="col-right">
<el-form-item label="货币名称" prop="cur" v-if="type == 'add'">
......@@ -90,7 +84,6 @@
<script>
import codes from "~/config/CodeTable";
import { queryByCUR } from "~/service/test/xrt.js";
export default {
name: "",
......@@ -99,25 +92,12 @@ export default {
data() {
return {
xrtCURData: [],
xrtCURColumns: [
{ label: '货币名称', prop: 'cur', width: '120' },
{ label: '日期时间', prop: 'xrttim', width: '120' },
{ label: '中间汇率', prop: 'midrat', width: '120' },
{ label: '买入汇率', prop: 'buyrat', width: '120' },
{ label: '卖出汇率', prop: 'selrat', width: '120' },
],
};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
queryFunc(){
queryByCUR(this.model).then(res =>{
console.log(res)
})
}
},
};
</script>
......
......@@ -6,7 +6,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="具体牌价信息" name="xrt">
<c-content>
<m-xrt-info :model="model" :type="type"/>
<m-xrt-info ref="xrt" :model="model" :type="type"/>
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -67,6 +67,9 @@ export default {
queryById(params).then((res) => {
if (res.inr) {
this.model = res;
queryByCUR(this.model).then(res =>{
this.$refs.xrt.xrtCURData = res;
})
} else {
this.$message.error("该信息不存在")
}
......@@ -109,7 +112,7 @@ export default {
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
......
......@@ -76,7 +76,8 @@
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="zmqxrtAdd" :disabled="model.cur===''" >新增</el-button>
<!-- <el-button type="primary" size="small" @click="zmqxrtAdd" :disabled="model.cur===''" >新增</el-button>-->
<el-button type="primary" size="small" @click="zmqxrtAdd" >新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
......
<template>
<div class="eibs-tab">
<!-- 参照TD上infxxx,如infpty/infact交易的search panel面板,对应布局查询条件字段 -->
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<!-- Account No. -->
<el-form-item label="交易编码" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入交易编码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- Holding Party -->
<el-form-item label="名称" prop="txt">
<c-input
v-model="model.txt"
placeholder="请输入名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- Holding Party -->
<c-col :span="24">
<el-form-item label="状态" prop="sta">
<c-select
v-model="model.sta"
placeholder="请选择交易状态"
style="width: 100%"
:code="getCodesByKey('codsta')"
></c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- =========================------------- 右 ----------======================= -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="方向" prop="dir">
<c-select
v-model="model.dir"
placeholder="请选择交易方向"
style="width: 100%"
:code="getCodesByKey('coddir')"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="typ">
<c-select
v-model="model.typ"
style="width: 100%"
placeholder="请选择交易类型"
:code="getCodesByKey('codtyp')"
>
</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="codAdd">新增</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="codData"
:columns="codColumns"
: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="codInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="codEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="codDelete(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/cod.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
codData: [],
codColumns: [
{ label: '交易编码', prop: 'cod', width: '200' },
{ label: '方向', prop: 'dir', width: '100' },
{ label: '类型', prop: 'typ', width: '100' },
{ label: '名称', prop: 'txt', width: '200' },
{ label: '状态', prop: 'sta', width: '100' }
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
console.log('1234'+update)
if (update) {
console.log('abcd')
this.onInfcodSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfcodSearch();
},
onInfcodSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
Object.keys(list).forEach((item) => {
let obj = list[item]
let dirArr = codes['coddir'].filter((i) => {
return i.value == obj.dir
})
obj.dir = dirArr[0].label
let typArr = codes['codtyp'].filter((i) => {
return i.value == obj.typ
})
obj.typ = typArr[0].label
let staArr = codes['codsta'].filter((i) => {
return i.value == obj.sta
})
obj.sta = staArr[0].label
})
this.codData = 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.onInfcodSearch()
},
getCodesByKey(key) {
return codes[key] ?? [];
},
codAdd() {
this.$router.push(`/statics/dbacod`)
},
codInfo(index, row) {
this.$router.push(`/statics/dbicod/${row.inr}`)
},
codEdit(index, row) {
this.$router.push(`/statics/dbecod/${row.inr}`)
},
codDelete(index, row) {
this.$router.push(`/statics/dbdcod/${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: "StaticsInfcod",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// bopcod,查询条件的字段
cod: "",
dir: "",
typ: "",
sta: "",
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></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">
<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: 'StaticsInfoit',
components: {
'm-infsea': Infsea,
},
provide() {
return {
root: this,
}
},
data() {
return {
tabVal: 'infsea',
model: {
// oit 查询条件的字段
objtyp: '',
subtyp: '',
subbus: '',
// paging
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="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请选择关联的表名"
style="width: 100%"
:code="getCodesByKey('objtypcodetable')"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
style="width: 100%"
placeholder="请选择提示类型"
:code="getCodesByKey('subtypcodetable')"
></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="subbus">
<c-select
v-model="model.subbus"
style="width: 100%"
placeholder="请选择相关业务品种"
:code="getCodesByKey('subbuscodetable')"
></c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="XXX" prop="bchtyp">
<c-select
v-model="model.bchtyp"
style="width: 100%"
placeholder="XXX"
:code="getCodesByKey('bchtyp')"
>
</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="oitAdd">新增</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="oitData"
:columns="oitColumns"
: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="oitInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="oitEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="oitDelete(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/oit.js'
export default {
name: '',
props: ['model'],
inject: ['root'],
data() {
return {
oitData: [],
oitColumns: [
{
label: '关联的表名',
prop: 'objtypCn',
width: '120',
},
{ label: 'Key', prop: 'ownref', width: '120' },
{ label: 'Name', prop: 'nam', width: '120' },
{ label: '提示类型', prop: 'subtypCn', width: '120' },
{ label: '相关业务品种', prop: 'subbus', width: '150' },
{ label: '提示信息级别', prop: 'inflevCn', width: '200' },
],
}
},
computed: {},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfOitSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields()
},
onSearch() {
this.model.pageNum = 1
this.model.pageSize = 5
this.onInfOitSearch()
},
onInfOitSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let typArr = codes['objtypcodetable']
// console.log('testabc:' + typArr[0].label)
// obj.objtypCn = typArr[0].label
// })BDD\CLD\DID\GCD
Object.keys(list).forEach((item) => {
let obj = list[item]
let objtypArr = codes['objtypcodetable'].filter((i) => {
return i.value == obj.objtyp
})
obj.objtypCn = objtypArr[0].label
let subtypArr = codes['subtypcodetable'].filter((i) => {
return i.value == obj.subtyp
})
obj.subtypCn = subtypArr[0].label
let inflevArr = codes['inflevcodetable'].filter((i) => {
return i.value == obj.inflev
})
obj.inflevCn = inflevArr[0].label
})
this.oitData = 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.onInfOitSearch()
},
getCodesByKey(key) {
return codes[key] ?? []
},
oitAdd() {
this.$router.push(`/statics/dbaoit`)
},
oitInfo(index, row) {
this.$router.push(`/statics/dbioit/${row.inr}`)
},
oitEdit(index, row) {
this.$router.push(`/statics/dbeoit/${row.inr}`)
},
oitDelete(index, row) {
this.$router.push(`/statics/dbdoit/${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="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="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
......@@ -114,11 +114,11 @@ export default {
return {
xrtData: [],
xrtColumns: [
{ label: '货币名称', prop: 'cur', width: '120' },
{ label: '日期时间', prop: 'xrttim', width: '120' },
{ label: '中间汇率', prop: 'midrat', width: '120' },
{ label: '买入汇率', prop: 'buyrat', width: '120' },
{ label: '卖出汇率', prop: 'selrat', width: '120' },
{ label: '货币名称', prop: 'cur', width: 'auto' },
{ label: '日期时间', prop: 'xrttim', width: 'auto' },
{ label: '中间汇率', prop: 'midrat', width: 'auto' },
{ label: '买入汇率', prop: 'buyrat', width: 'auto' },
{ label: '卖出汇率', prop: 'selrat', width: 'auto' },
],
};
},
......
......@@ -118,6 +118,7 @@ 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";
......@@ -127,6 +128,14 @@ import Dbdtdh from "./Dbdtdh";
import Inflck from "./Inflck";
import Infucl from "./Infucl";
import Infoit from './Infoit'
import Dbioit from './Dbioit'
import Dbaoit from './Dbaoit'
import Dbeoit from './Dbeoit'
import Dbdoit from './Dbdoit'
const StaticsRouter = [
{ path: 'dbiptm/:inr', component:Dbiptm, name: 'StaticsDbiptm', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
......@@ -136,11 +145,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: '柜员新增' } },
......@@ -251,6 +261,11 @@ 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 } } },
......@@ -259,6 +274,14 @@ const StaticsRouter = [
{ path: 'inflck', component: Inflck, name: 'StaticsInflck', meta: { title: '业务解锁' } },
{ path: 'infucl', component: Infucl, name: 'StaticsInfucl', meta: { title: '用户归属机构更换' } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', 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