Commit fd9d76cf by zhangliding

静态交易修改

parent 155f726b
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/service/dia/queryByPage", data)
}
export function queryById(data) {
return Api.post(`/service/dia/queryById`, data)
}
export function queryDetailById(data) {
return Api.post(`/service/dia/queryDetailById`, data)
}
export function add(data) {
return Api.post("/service/dia/add", data)
}
export function edit(data) {
return Api.post("/service/dia/edit", data)
}
export function deleteById(data) {
return Api.post(`/service/dia/deleteById`, data)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/fec/queryByPage", data)
return Api.post("/service/fec/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/manager/fec/queryDetailById?inr=${inr}`)
return Api.post(`/service/fec/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/fec/add", data)
return Api.post("/service/fec/add", data)
}
export function edit(data) {
return Api.post("/manager/fec/edit", data)
return Api.post("/service/fec/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/fec/deleteById?inr=${inr}`)
return Api.post(`/service/fec/deleteById?inr=${inr}`)
}
export function addFeeData(inr,data) {
return Api.post(`/manager/fec/addFeeData?inr=${inr}`, data)
return Api.post(`/service/fec/addFeeData?inr=${inr}`, data)
}
export function editFeeData(inr,data) {
return Api.post(`/manager/fec/editFeeData?inr=${inr}`, data)
return Api.post(`/service/fec/editFeeData?inr=${inr}`, data)
}
export function deleteFeeData(data) {
return Api.post(`/manager/fec/deleteFeeData`, data)
return Api.post(`/service/fec/deleteFeeData`, data)
}
\ No newline at end of file
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/gtx/queryByPage", data)
return Api.post("/service/gtx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/manager/gtx/queryDetailById?inr=${inr}`)
return Api.post(`/service/gtx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/gtx/add", data)
return Api.post("/service/gtx/add", data)
}
export function edit(data) {
return Api.post("/manager/gtx/edit", data)
return Api.post("/service/gtx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/gtx/deleteById?inr=${inr}`)
return Api.post(`/service/gtx/deleteById?inr=${inr}`)
}
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
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/usr/queryByPage", data)
return Api.post("/service/usr/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/manager/usr/queryDetailById?inr=${inr}`)
return Api.post(`/service/usr/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/usr/add", data)
return Api.post("/service/usr/add", data)
}
export function edit(data) {
return Api.post("/manager/usr/edit", data)
return Api.post("/service/usr/edit", data)
}
export function deleteById(inr) {
return Api.post(`/manager/usr/deleteById?inr=${inr}`)
return Api.post(`/service/usr/deleteById?inr=${inr}`)
}
export function addUbrData(data) {
return Api.post(`/manager/usr/addUbrData`, data)
return Api.post(`/service/usr/addUbrData`, data)
}
export function updateUbrData(data) {
return Api.post(`/manager/usr/updateUbrData`, data)
return Api.post(`/service/usr/updateUbrData`, data)
}
export function deleteUbrData(inr) {
return Api.post(`/manager/usr/deleteUbrData?inr=${inr}`, inr)
return Api.post(`/service/usr/deleteUbrData?inr=${inr}`, inr)
}
export function addUclData(inr,data) {
return Api.post(`/manager/usr/addUclData?inr=${inr}`, data)
return Api.post(`/service/usr/addUclData?inr=${inr}`, data)
}
export function updateUclData(inr,data) {
return Api.post(`/manager/usr/updateUclData?inr=${inr}`, data)
return Api.post(`/service/usr/updateUclData?inr=${inr}`, data)
}
export function deleteUclData(usr, branchinr) {
return Api.post(`/manager/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
return Api.post(`/service/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
}
\ No newline at end of file
......@@ -270,6 +270,11 @@ import Dbfdel from "./Dbfdel"
import Dbfinf from "./Dbfinf"
//添加静态交易路由
import Infact from "~/views/Statics/Act/views/Infact";
import Dbiact from "~/views/Statics/Act/views/Dbiact";
import Dbaact from "~/views/Statics/Act/views/Dbaact";
import Dbeact from "~/views/Statics/Act/views/Dbeact";
import Dbdact from "~/views/Statics/Act/views/Dbdact";
import Infatp from "~/views/Statics/Atp/views/Infatp";
import Dbiatp from "~/views/Statics/Atp/views/Dbiatp";
......@@ -289,11 +294,11 @@ import Dbacty from "~/views/Statics/cty/views/Dbacty";
import Dbecty from "~/views/Statics/cty/views/Dbecty";
import Dbdcty from "~/views/Statics/cty/views/Dbdcty";
import Infoit from "~/views/Statics/Oit/views/Infoit"
import Dbioit from "~/views/Statics/Oit/views/Dbioit"
import Dbaoit from "~/views/Statics/Oit/views/Dbaoit"
import Dbdoit from "~/views/Statics/Oit/views/Dbdoit"
import Dbeoit from "~/views/Statics/Oit/views/Dbeoit"
// import Infoit from "~/views/Statics/Oit/views/Infoit"
// import Dbioit from "~/views/Statics/Oit/views/Dbioit"
// import Dbaoit from "~/views/Statics/Oit/views/Dbaoit"
// import Dbdoit from "~/views/Statics/Oit/views/Dbdoit"
// import Dbeoit from "~/views/Statics/Oit/views/Dbeoit"
import Infcur from "~/views/Statics/cur/views/Infcur";
import Dbacur from "~/views/Statics/cur/views/Dbacur";
......@@ -301,17 +306,23 @@ import Dbicur from "~/views/Statics/cur/views/Dbicur";
import Dbecur from "~/views/Statics/cur/views/Dbecur";
import Dbdcur from "~/views/Statics/cur/views/Dbdcur";
import Inffec from "~/views/Statics/Inffec";
import Dbifec from "~/views/Statics/Dbifec";
import Dbafec from "~/views/Statics/Dbafec";
import Dbefec from "~/views/Statics/Dbefec";
import Dbdfec from "~/views/Statics/Dbdfec";
import Inffec from "~/views/Statics/Fec/views/Inffec";
import Dbifec from "~/views/Statics/Fec/views/Dbifec";
import Dbafec from "~/views/Statics/Fec/views/Dbafec";
import Dbefec from "~/views/Statics/Fec/views/Dbefec";
import Dbdfec from "~/views/Statics/Fec/views/Dbdfec";
import Infgtx from "~/views/Statics/Infgtx";
import Dbigtx from "~/views/Statics/Dbigtx";
import Dbagtx from "~/views/Statics/Dbagtx";
import Dbegtx from "~/views/Statics/Dbegtx";
import Dbdgtx from "~/views/Statics/Dbdgtx";
import Infdia from "~/views/Statics/dia/views/Infdia"
import Dbidia from '~/views/Statics/dia/views/Dbidia'
import Dbadia from '~/views/Statics/dia/views/Dbadia'
import Dbedia from '~/views/Statics/dia/views/Dbedia'
import Dbddia from '~/views/Statics/dia/views/Dbddia'
import Infgtx from "~/views/Statics/Gtx/views/Infgtx";
import Dbigtx from "~/views/Statics/Gtx/views/Dbigtx";
import Dbagtx from "~/views/Statics/Gtx/views/Dbagtx";
import Dbegtx from "~/views/Statics/Gtx/views/Dbegtx";
import Dbdgtx from "~/views/Statics/Gtx/views/Dbdgtx";
import Infpty from "~/views/Statics/Infpty";
import Dbipty from "~/views/Statics/Dbipty";
......@@ -636,17 +647,17 @@ const BusRouter = [
{ path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } },
// { 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 } } },
// { path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
// { path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: '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 } } },
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: '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 } } },
// { 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 } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
......@@ -673,6 +684,12 @@ const BusRouter = [
{ path: 'dbecur/:inr', component: Dbecur, name: 'StaticsDbecur', meta: { title: (tag) => { return '币种修改: ' + tag.params.inr } } },
{ path: 'dbdcur/:inr', component: Dbdcur, name: 'StaticsDbdcur', 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: 'inffec', component: Inffec, name: 'StaticsInffec', meta: { title: '费率查询' } },
{ path: 'dbafec', component: Dbafec, name: 'StaticsDbafec', meta: { title: '费率新增' } },
{ path: 'dbifec/:inr', component: Dbifec, name: 'StaticsDbifec', meta: { title: (tag) => { return '费率详情: ' + tag.params.inr } } },
......
......@@ -201,6 +201,7 @@ export default {
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ inifrm: "infdia", ininam: "交易备忘录查询", pntmiu: "10" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
export default class Act {
constructor() {
this.data = {
inr: "",
pri: "",
cur: "",
extkey: "",
seracc: "",
sernam: "",
serptytyp: "",
serptyinr: "",
holacc: "",
holnam: "",
holptytyp: "",
holptyinr: "",
cvrflg: "",
rmbflg: "",
delflg: "",
ver: "",
dirflg: "",
othbnkflg: "",
othptynam: "",
othownflg: "",
othbic6: "",
iban: "",
etgextkey: "",
nam: "",
exttyp: "",
typ: "",
extact: "",
trmtyp: "",
acctyp: "",
zmqacc: "",
actpro: "",
ptyExtkey:"",
ptyInr:"",
holPtyExtkey:"",
serPtyExtkey:"",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"pri": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"cur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"seracc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"sernam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"serptytyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"serptyinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"holacc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"holnam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"holptytyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"holptyinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cvrflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"rmbflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"delflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"dirflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"othbnkflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"othptynam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"othownflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"othbic6": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"iban": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"etgextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"exttyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"typ": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"extact": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"trmtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"acctyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"zmqacc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 35, "message": "最大长度35个字符", "trigger": "blur" }
],
"actpro": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"ptyInr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"holPtyExtkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"serPtyExtkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"ptyExtkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
}
\ No newline at end of file
<template>
<m-act title="dbaact" type="add"></m-act>
</template>
<script>
import Dbiact from "~/views/Statics/Act/views/Dbiact";
export default {
name: "StaticsDbaact",
components: {
"m-act": Dbiact
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-act title="dbdact" type="delete"></m-act>
</template>
<script>
import Dbiact from "~/views/Statics/Act/views/Dbiact";
export default {
name: "StaticsDbdact",
components: {
"m-act": Dbiact
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-act title="dbeact" type="edit"></m-act>
</template>
<script>
import Dbiact from "~/views/Statics/Act/views/Dbiact";
export default {
name: "StaticsDbeact",
components: {
"m-act": Dbiact
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- =============================================左边=========================================== -->
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24" v-if="model.serPtyExtkey=='' || model.serPtyExtkey==null" disabled>
<el-form-item label="holPtyExtkey" prop="holPtyExtkey">
<c-input v-model="model.holPtyExtkey" placeholder=""> </c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.holPtyExtkey==''|| model.holPtyExtkey==null" disabled>
<el-form-item label="serPtyExtkey" prop="serPtyExtkey">
<c-input v-model="model.serPtyExtkey" placeholder=""> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号优先级" prop="pri">
<c-select style="width: 100%"
v-model="model.pri"
placeholder="请选择账号优先级"
:code="getCodesByKey('pri')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号币种" prop="cur">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择账号币种" :code="getCodesByKey('curtxt')"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入账号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构的账号" prop="seracc">
<c-input v-model="model.seracc" placeholder="请输入账号提供机构的账号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构名称" prop="sernam">
<c-input v-model="model.sernam" placeholder="请输入账号提供机构名称" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构种类" prop="serptytyp">
<c-select v-model="model.serptytyp" style="width: 100%" placeholder="请选择账号提供机构种类" :code="getCodesByKey('ptytyp')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构INR号" prop="serptyinr">
<c-input v-model="model.serptyinr" placeholder="请输入serptyinr" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构的账号" prop="holacc">
<c-input v-model="model.holacc" placeholder="请输入账号开户机构的账号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构名称" prop="holnam">
<c-input v-model="model.holnam" placeholder="请输入账号开户机构名称" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构类型" prop="holptytyp">
<c-select v-model="model.holptytyp" style="width: 100%" placeholder="请选择账号开户机构类型" :code="getCodesByKey('ptytyp')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构INR号" prop="holptyinr">
<c-input v-model="model.holptyinr" placeholder="请输入holptyinr" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="头寸账户标志" prop="cvrflg">
<c-input v-model="model.cvrflg" placeholder="请输入头寸账户标志" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付账户标志" prop="rmbflg">
<c-input v-model="model.rmbflg" 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="请输入ver" > </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="dirflg">
<c-select v-model="model.dirflg" style="width: 100%" placeholder="请输入借贷标志" >
<el-option
v-for="item in dirflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否账户行账号标志" prop="othbnkflg">
<c-input v-model="model.othbnkflg" placeholder="请输入othbnkflg" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账户行名称" prop="othptynam">
<c-input v-model="model.othptynam" placeholder="请输入账户行名称" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否我方账户行标志" prop="othownflg">
<c-input v-model="model.othownflg" placeholder="请输入othownflg" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账户行的6位BIC" prop="othbic6">
<c-input v-model="model.othbic6" placeholder="请输入账户行的6位BIC" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国际银行账户号" prop="iban">
<c-input v-model="model.iban" placeholder="请输入国际银行账户号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体组" prop="etgextkey">
<c-input v-model="model.etgextkey" placeholder="请输入实体组" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入账号名称" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外部账号类型" prop="exttyp">
<c-input v-model="model.exttyp" placeholder="请输入外部账号类型" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号类型" prop="typ">
<c-select style="width: 100%"
v-model="model.typ"
placeholder="请选择账号类型"
:code="getCodesByKey('acttyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外部账号" prop="extact">
<c-input v-model="model.extact" placeholder="请输入外部账号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="科目代码" prop="trmtyp">
<c-input v-model="model.trmtyp" placeholder="请输入科目代码" >
</c-input>
<!-- :code="getCodesByKey('trmmix')" td上看码表-->
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账户类型" prop="acctyp">
<c-select v-model="model.acctyp" style="width: 100%" placeholder="请选择账户类型" >
<el-option
v-for="item in acctyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="zmqacc" prop="zmqacc">
<c-input v-model="model.zmqacc" placeholder="请输入zmqacc" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="actpro" prop="actpro">
<c-input v-model="model.actpro" placeholder="请输入actpro" > </c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: '',
props: ['model'],
data() {
return {
acctyp: [
{ label: "客户分户账", value: "C" },
{ label: "内部分户账", value: "O" },
],
dirflg: [
{ label: "可以借记或贷记", value: " " },
{ label: "只能贷记", value: "C" },
{ label: "只能借记", value: "D" },
],
}
},
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="act">
<c-content>
<m-act-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 Act, { Pattern } from "../../model/Act.js";
import ActInfo from "./ActInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/act.js";
export default {
name: "StaticsDbiact",
components: {
"m-act-info": ActInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiact"
}
},
data() {
return {
model: new Act().data,
tabVal: "act",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryDetailById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("资金账户不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infpty的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfact", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<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="extkey">
<c-input
v-model="model.extkey"
placeholder="请输入资金账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- Holding Party -->
<el-form-item label="客户账户" prop="ptyExtkey">
<c-input
v-model="model.ptyExtkey"
placeholder="请输入客户账户"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号类型" prop="typ">
<c-select
v-model="model.typ"
placeholder="请选择账号类型"
style="width: 100%"
:code="getCodesByKey('recgrptyp')"
></c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =========================------------- 右 ----------======================= -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="账号名称" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入账号名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国际银行账户号 " prop="iban">
<c-input
v-model="model.iban"
maxlength="34"
placeholder="请输入国际银行账户号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号币种" prop="cur">
<c-select
v-model="model.cur"
style="width: 100%"
placeholder="请选择账号币种"
:code="getCodesByKey('infled_Cur')"
>
</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="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="actInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="actEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="actDelete(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/act.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
actData: [],
actColumns: [
{ label: 'HolPtyExtkey', prop: 'holPtyExtkey', width: '200' },
{ label: 'SerPtyExtkey', prop: 'serPtyExtkey', width: '200' },
{ label: '账号名称', prop: 'nam', width: '200' },
{ label: '账号类型', prop: 'typ', width: '100' },
{ label: '账号币种', prop: 'cur', width: '100' },
{ label: '资金账号', prop: 'extkey', width: '200' },
{ label: '账号开户机构的账号', prop: 'holacc', width: '200' },
{ label: '账号提供机构的账号', prop: 'seracc', width: '200' },
{ label: '客户账户', prop: 'serPtyExtkey', width: '200' },
{ label: '国际银行账户号', prop: 'iban', width: '200' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfactSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfactSearch();
},
onInfactSearch() {
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.onInfactSearch()
},
getCodesByKey(key) {
return codes[key] ?? [];
},
actAdd() {
this.$router.push(`/statics/dbaact`)
},
actInfo(index, row) {
this.$router.push(`/statics/dbiact/${row.inr}`)
},
actEdit(index, row) {
this.$router.push(`/statics/dbeact/${row.inr}`)
},
actDelete(index, row) {
this.$router.push(`/statics/dbdact/${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: {
// act,查询条件的字段
extkey: "",
nam: "",
iban: "",
typ: "",
cur: "",
ptyExtkey:"",
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbifec from "~/views/Statics/Dbifec";
import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default {
name: "StaticsDbafec",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbifec from "~/views/Statics/Dbifec";
import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default {
name: "StaticsDbdfec",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbifec from "~/views/Statics/Dbifec";
import Dbifec from "~/views/Statics/Fec/views/Dbifec";
export default {
name: "StaticsDbefec",
......
......@@ -54,7 +54,7 @@
<script>
import Utils from "~/utils";
import Fec, { Pattern } from "./Fec.js";
import Fec, { Pattern } from "~/views/Statics/Fec/model/Fec.js";
import FecInfo from "./FecInfo.vue";
import FeeInfo from "./FeeInfo.vue";
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbigtx from "~/views/Statics/Dbigtx";
import Dbigtx from "../Dbigtx";
export default {
name: "StaticsDbagtx",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbigtx from "~/views/Statics/Dbigtx";
import Dbigtx from "../Dbigtx";
export default {
name: "StaticsDbdgtx",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbigtx from "~/views/Statics/Dbigtx";
import Dbigtx from "../Dbigtx";
export default {
name: "StaticsDbegtx",
......
......@@ -49,7 +49,7 @@
<script>
import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js";
import Gtx, { Pattern } from "~/views/Statics/Gtx/model/Gtx.js";
import GtxInfo from "./GtxInfo.vue";
......
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>
<m-oit ref="oit" title="dbaoit" type="add"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbaoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
mounted() {},
}
</script>
<style></style>
<template>
<m-oit title="dbdoit" type="delete"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbdoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
<template>
<m-oit title="dbeoit" type="edit"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbeoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></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">
<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>
......@@ -20,6 +20,12 @@ import Dbacty from "./cty/views/Dbacty";
import Dbecty from "./cty/views/Dbecty";
import Dbdcty from "./cty/views/Dbdcty";
import Infdia from "./dia/views/Infdia";
import Dbidia from "./dia/views/Dbidia";
import Dbadia from "./dia/views/Dbadia";
import Dbedia from "./dia/views/Dbedia";
import Dbddia from "./dia/views/Dbddia";
import Infoit from "./Oit/views/Infoit"
import Dbioit from "./Oit/views/Dbioit"
import Dbaoit from "./Oit/views/Dbaoit"
......@@ -42,17 +48,17 @@ import Infswm from "./Swm/views/Infswm";
// import Dbecty from "./Dbecty";
// import Dbdcty from "./Dbdcty";
import Inffec from "./Inffec";
import Dbifec from "./Dbifec";
import Dbafec from "./Dbafec";
import Dbefec from "./Dbefec";
import Dbdfec from "./Dbdfec";
import Inffec from "./Fec/views/Inffec";
import Dbifec from "./Fec/views/Dbifec";
import Dbafec from "./Fec/views/Dbafec";
import Dbefec from "./Fec/views/Dbefec";
import Dbdfec from "./Fec/views/Dbdfec";
import Infgtx from "./Infgtx";
import Dbigtx from "./Dbigtx";
import Dbagtx from "./Dbagtx";
import Dbegtx from "./Dbegtx";
import Dbdgtx from "./Dbdgtx";
import Infgtx from "./Gtx/views/Infgtx";
import Dbigtx from "./Gtx/views/Dbigtx";
import Dbagtx from "./Gtx/views/Dbagtx";
import Dbegtx from "./Gtx/views/Dbegtx";
import Dbdgtx from "./Gtx/views/Dbdgtx";
import Infcur from "./cur/views/Infcur";
import Dbacur from "./cur/views/Dbacur";
......@@ -66,6 +72,12 @@ import Dbabch from "./Dbabch";
import Dbebch from "./Dbebch";
import Dbdbch from "./Dbdbch";
import Infact from "./Act/views/Infact";
import Dbaact from "./Act/views/Dbaact";
import Dbiact from "./Act/views/Dbiact";
import Dbeact from "./Act/views/Dbeact";
import Dbdact from "./Act/views/Dbdact";
import Infatp from "./Atp/views/Infatp";
import Dbiatp from "./Atp/views/Dbiatp";
import Dbaatp from "./Atp/views/Dbaatp";
......@@ -151,11 +163,11 @@ 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: '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 } } },
// { path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
// { path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: '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 } } },
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: 'infatx', component: Infatx, name: 'StaticsInfatx', meta: { title: '保函文本查询' } },
{ path: 'dbaatx', component: Dbaatx, name: 'StaticsDbaatx', meta: { title: '保函文本新增' } },
......@@ -181,6 +193,32 @@ const StaticsRouter = [
{ path: 'dbaxrt', component: Dbaxrt, name: 'StaticsDbaxrt', meta: { title: '牌价新增' } },
{ path: 'dbexrt/:inr', component: Dbexrt, name: 'StaticsDbexrt', meta: { title: (tag) => { return '牌价修改: ' + tag.params.inr } } },
{ path: 'dbdxrt/:inr', component: Dbdxrt, name: 'StaticsDbdxrt', meta: { title: (tag) => { return '牌价删除: ' + tag.params.inr } } },
{ path: 'inffec', component: Inffec, name: 'StaticsInffec', meta: { title: '费率查询' } },
{ path: 'dbafec', component: Dbafec, name: 'StaticsDbafec', meta: { title: '费率新增' } },
{ path: 'dbifec/:inr', component: Dbifec, name: 'StaticsDbifec', meta: { title: (tag) => { return '费率详情: ' + tag.params.inr } } },
{ path: 'dbefec/:inr', component: Dbefec, name: 'StaticsDbefec', meta: { title: (tag) => { return '费率修改: ' + tag.params.inr } } },
{ path: 'dbdfec/:inr', component: Dbdfec, name: 'StaticsDbdfec', 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: 'infxrt', component: Infxrt, name: 'StaticsInfxrt', meta: { title: '牌价查询' } },
{ path: 'dblxrt/:inr', component: Dblxrt, name: 'StaticsDblxrt', meta: { title: (tag) => { return '牌价详情: ' + tag.params.inr } } },
{ path: 'dbaxrt', component: Dbaxrt, name: 'StaticsDbaxrt', meta: { title: '牌价新增' } },
{ path: 'dbexrt/:inr', component: Dbexrt, name: 'StaticsDbexrt', meta: { title: (tag) => { return '牌价修改: ' + tag.params.inr } } },
{ path: 'dbdxrt/:inr', component: Dbdxrt, name: 'StaticsDbdxrt', meta: { title: (tag) => { return '牌价删除: ' + tag.params.inr } } },
{ path: 'inffec', component: Inffec, name: 'StaticsInffec', meta: { title: '费率查询' } },
{ path: 'dbafec', component: Dbafec, name: 'StaticsDbafec', meta: { title: '费率新增' } },
{ path: 'dbifec/:inr', component: Dbifec, name: 'StaticsDbifec', meta: { title: (tag) => { return '费率详情: ' + tag.params.inr } } },
{ path: 'dbefec/:inr', component: Dbefec, name: 'StaticsDbefec', meta: { title: (tag) => { return '费率修改: ' + tag.params.inr } } },
{ path: 'dbdfec/:inr', component: Dbdfec, name: 'StaticsDbdfec', meta: { title: (tag) => { return '费率删除: ' + tag.params.inr } } },
]
export default StaticsRouter
export default class Ubr {
constructor() {
this.data = {
usrinr: "",
bussec: "",
relcur: "",
relamt: "",
relamt2nd: "",
relgrp: "",
trncod: "",
branchinr: "",
autcur: "",
autamt: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"usrinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"bussec": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"relcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"relamt2nd": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"relgrp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"trncod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"branchinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"autcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"autamt": [
],
}
\ No newline at end of file
export default class Ucl {
constructor() {
this.data = {
usrdef: "",
usr: "",
mannam: "",
branchinr: "",
objlst: "",
assignflg: "",
}
}
}
export const Pattern = {
"usrdef": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"usr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"mannam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"branchinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"objlst": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 80, "message": "最大长度80个字符", "trigger": "blur" }
],
}
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
"inr": "",
"extkey": "",
"nam": "",
"lgiflg": "",
"ssnbegdattim": "",
"ssninr": "",
"ver": "",
"pri": "",
"ety": "",
"usg": "",
"lstdiadat": "",
"relcur": "",
"relamt": "",
"relamt2nd": "",
"relgrp": "",
"tel": "",
"fax": "",
"eml": "",
"quepow": "",
"etyextkey": "",
"oenr": "",
"etaextkey": "",
"resusrflg": "",
"secsta": "",
"letoenr": "",
"ubrList": [],
"uclList": [],
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"lgiflg": [
{ "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"ssnbegdattim": [ {"required": true,"type": "string"}
],
"ssninr": [
{ "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" }
],
"pri": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"ety": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"usg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"lstdiadat": [
{ "required": true,"type": "string"}
],
"relcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"relamt2nd": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,18}(\.\d{1,3})?$/, "message": "整数不能超过18位,小数不能超过3位", "trigger": "blur" }
],
"relgrp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"tel": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 30, "message": "最大长度30个字符", "trigger": "blur" }
],
"fax": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 30, "message": "最大长度30个字符", "trigger": "blur" }
],
"eml": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 80, "message": "最大长度80个字符", "trigger": "blur" }
],
"quepow": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,6}(\.\d{1,2})?$/, "message": "整数不能超过6位,小数不能超过2位", "trigger": "blur" }
],
"etyextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"oenr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"etaextkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"resusrflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"secsta": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
}
<template>
<m-usr ref="usr" title="dbausr" type="add"></m-usr>
</template>
<script>
import DbiUsr from "../Dbiusr";
export default {
name: "StaticsDbausr",
components: {
"m-usr": DbiUsr
},
data() {
return {};
},
mounted() {
// this.$refs.usr.rules['ptaList'] = [
// { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
// ]
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-usr title="dbdusr" type="delete"></m-usr>
</template>
<script>
import DbiUsr from "../Dbiusr";
export default {
name: "StaticsDbdusr",
components: {
"m-usr": DbiUsr
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-usr title="dbeusr" type="edit"></m-usr>
</template>
<script>
import DbiUsr from "../Dbiusr";
export default {
name: "StaticsDbeusr",
components: {
"m-usr": DbiUsr
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="ubr"
:rules="rules"
:validate-on-rule-change="false"
:disabled="operate === 'details'"
>
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="交易名" prop="bussec">
<c-input
v-model="ubr.bussec"
placeholder="请输入交易名"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权币种" prop="relcur">
<c-select v-model="ubr.relcur" style="width: 100%" placeholder="请选择授权币种" :code="getCodesByKey('curtxt')"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input-currency class="input-currency-left"
v-model="ubr.relamt"
placeholder="请输入授权金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二授权金额" prop="relamt2nd">
<c-input-currency class="input-currency-left"
v-model="ubr.relamt2nd"
placeholder="请输入第二授权金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权状态" prop="relgrp">
<c-select v-model="ubr.relgrp" style="width: 100%" placeholder="请选择授权状态" :code="getCodesByKey('relgrp')"> </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="trncod">
<c-input
v-model="ubr.trncod"
placeholder="请输入交易代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易所属机构" prop="branchinr">
<c-input
v-model="ubr.branchinr"
placeholder="请输入交易所属机构"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="一次性授权" prop="autcur">
<c-input
v-model="ubr.autcur"
placeholder="请输入一次性授权"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="一次性释放授权" prop="autamt">
<c-input-currency class="input-currency-left"
v-model="ubr.autamt"
placeholder="请输入一次性释放授权"
>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
</el-form>
</div>
</template>
<script>
import { Pattern } from "../../model/Ubr";
import codes from "~/config/CodeTable";
export default {
name: "",
props: ['ubr', 'operate'],
data() {
return {
rules: Pattern,
};
},
methods:{
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div style="text-align: right">
<c-button size="small" type="primary" @click="ubrAdd()" :disabled="false"> 新增 </c-button>
</div>
<el-form-item label="" label-width="0" prop="ubrList">
<c-table :columnsConfig="columns" :list="model.ubrList">
<c-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot-scope="{ scope }">
<button
class="el-button el-button--default el-button--small"
style="margin-left: 0"
size="small"
:disabled="false"
@click.prevent="ubrInfo(scope.$index, scope.row)"
>
<span>详情</span>
</button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="ubrEdit(scope.$index, scope.row)"
>
修改
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="ubrDelete(scope.$index, scope.row)"
>
删除
</c-button>
</template>
</c-table-column>
</c-table>
</el-form-item>
<el-dialog
:title="
'柜员权限信息:' +
(operate === 'details' ? '详情' : operate === 'edit' ? '修改' : '新增')
"
:visible.sync="ubrDialog"
top="10vh"
width="80%"
:destroy-on-close="true"
:before-close="handleClose"
>
<m-ubr-inf ref="ubr" :ubr="ubr" :operate="operate"></m-ubr-inf>
<span slot="footer" class="dialog-footer">
<button
class="el-button el-button--default el-button--small"
style="margin-left: 0"
size="small"
:disabled="false"
@click.prevent="cancel"
>
<span>取 消</span>
</button>
<c-button type="primary" @click="cancel" v-if="operate === 'details'"
>确 定</c-button
>
<c-button type="primary" @click="editUbr" v-if="operate === 'edit'"
>保 存</c-button
>
<c-button type="primary" @click="saveUbr" v-if="operate === 'add'"
>保 存</c-button
>
</span>
</el-dialog>
</div>
</template>
<script>
import Ubr from "../../model/Ubr";
import UbrInfo from "./UbrInfo";
import {
addUbrData,
updateUbrData,
deleteUbrData,
} from "~/service/test/usr";
export default {
name: "UbrList",
props: ["model"],
inject: ["root"],
components: {
"m-ubr-inf": UbrInfo,
},
data() {
return {
ubrDialog: false,
ubr: null,
operate: "",
operateIdx: 0,
columns: [
// 表结构说明:
// { label: '唯一ID', prop: 'inr', width: 'auto' },
{ label: '用户ID', prop: 'usrinr', width: 'auto' },
{ label: '交易名', prop: 'bussec', width: 'auto' },
{ label: '授权币种', prop: 'relcur', width: 'auto' },
{ label: '授权金额', prop: 'relamt', width: 'auto' },
{ label: '第二授权金额', prop: 'relamt2nd', width: 'auto' },
{ label: '授权状态', prop: 'relgrp', width: 'auto' },
{ label: '交易代码', prop: 'trncod', width: 'auto' },
{ label: '交易所属机构', prop: 'branchinr', width: 'auto' },
{ label: '一次性授权', prop: 'autcur', width: 'auto' },
{ label: '一次性释放授权', prop: 'autamt', width: 'auto' },
],
};
},
methods: {
/**
* 详情
*/
ubrInfo(index, row) {
this.ubr = { ...row };
this.operate = "details";
this.operateIdx = index;
this.ubrDialog = true;
},
/**
* 新增
*/
ubrAdd() {
this.ubr = new Ubr().data;
this.ubr.usrinr=this.model.inr;
this.operate = "add";
this.ubrDialog = true;
},
/**
* 修改
*/
ubrEdit(index, row) {
this.ubr = { ...row };
this.operate = "edit";
this.operateIdx = index;
this.ubrDialog = true;
},
/**
* 删除
*/
ubrDelete(index, row) {
this.$confirm("是否真的删除?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteUbrData(row.inr).then((res) => {
if (res) {
this.model.ubrList.splice(index, 1);
this.$message.success("删除成功!");
} else {
this.$message.error("删除失败!");
}
});
});
},
cancel() {
this.handleClose();
},
editUbr() {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
updateUbrData(this.ubr)
.then((res) => {
if (res) {
this.$message.success("修改柜员权限信息成功!");
//TODO model.uclList回填
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("修改柜员权限信息失败!");
});
}
});
},
saveUbr() {
for (const key in this.ubr) {
if (Object.hasOwnProperty.call(this.ubr, key)) {
const v = this.ubr[key];
if (typeof v === 'string' && v === '') {
this.ubr[key] = " "
}
}
}
if (this.root.type === "add") {
this.model.ubrList.push(this.ubr);
this.handleClose();
} else {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
// this.ubr.inr = this.model.inr
addUbrData(this.ubr)
.then((res) => {
if (res) {
this.$message.success("保存柜员权限信息成功!");
//TODO model.uclList回填
// this.model.ubrList = res.ubrList;
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存柜员权限信息失败!");
});
}
});
}
},
handleClose(done) {
this.ubrDialog = false;
if (done && typeof done === "function") {
done();
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<el-form
ref="modelForm"
label-width="160px"
size="small"
label-position="right"
:model="ucl"
:rules="rules"
:validate-on-rule-change="false"
:disabled="operate === 'details'"
>
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="默认的机构标志" prop="usrdef">
<c-input
v-model="ucl.usrdef"
placeholder="请输入默认的机构标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户ID" prop="usr">
<c-input
v-model="ucl.usr"
placeholder="请输入用户ID"
disabled=true
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户所在机构和用户名称" prop="mannam">
<c-input
v-model="ucl.mannam"
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="机构INR" prop="branchinr">
<c-input
v-model="ucl.branchinr"
placeholder="请输入机构INR"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户可作业务的列表" prop="objlst">
<c-input
v-model="ucl.objlst"
placeholder="请输入用户可作业务的列表"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否参与任务分配" prop="assignflg">
<c-input
v-model="ucl.assignflg"
placeholder="是否参与任务分配"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</el-form>
</div>
</template>
<script>
import { Pattern } from "../../model/Ucl";
export default {
name: "",
props: ['ucl', 'operate'],
data() {
return {
rules: Pattern,
};
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<div style="text-align: right">
<c-button size="small" type="primary" @click="uclAdd()"> 新增 </c-button>
</div>
<el-form-item label="" label-width="0" prop="uclList">
<c-table :columnsConfig="columns" :list="model.uclList">
<c-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot-scope="{ scope }">
<button
class="el-button el-button--default el-button--small"
style="margin-left: 0"
size="small"
:disabled="false"
@click.prevent="uclInfo(scope.$index, scope.row)"
>
<span>详情</span>
</button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="uclEdit(scope.$index, scope.row)"
>
修改
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="uclDelete(scope.$index, scope.row)"
>
删除
</c-button>
</template>
</c-table-column>
</c-table>
</el-form-item>
<el-dialog
:title="
'柜员组信息:' +
(operate === 'details' ? '详情' : operate === 'edit' ? '修改' : '新增')
"
:visible.sync="uclDialog"
top="10vh"
width="80%"
:destroy-on-close="true"
:before-close="handleClose"
>
<m-ucl-inf ref="ucl" :ucl="ucl" :operate="operate"></m-ucl-inf>
<span slot="footer" class="dialog-footer">
<button
class="el-button el-button--default el-button--small"
style="margin-left: 0"
size="small"
:disabled="false"
@click.prevent="cancel"
>
<span>取 消</span>
</button>
<c-button type="primary" @click="cancel" v-if="operate === 'details'"
>确 定</c-button
>
<c-button type="primary" @click="editUcl" v-if="operate === 'edit'"
>保 存</c-button
>
<c-button type="primary" @click="saveUcl" v-if="operate === 'add'"
>保 存</c-button
>
</span>
</el-dialog>
</div>
</template>
<script>
import UclInfo from "./UclInfo";
import Ucl from "../../model/Ucl";
import {
addUclData,
updateUclData,
deleteUclData,
} from "@/service/test/usr";
export default {
name: "UclList",
inject: ["root"],
props: ["model"],
components: {
"m-ucl-inf": UclInfo,
},
data() {
return {
uclDialog: false,
ucl: null,
operate: "",
operateIdx: 0,
columns: [
{ label: '默认的机构标志', prop: 'usrdef', width: 'auto' },
{ label: '用户ID', prop: 'usr', width: 'auto' },
{ label: '用户所在机构和用户名称', prop: 'mannam', width: 'auto' },
{ label: '机构INR', prop: 'branchinr', width: 'auto' },
{ label: '用户可作业务的列表', prop: 'objlst', width: 'auto' },
{ label: '是否参与任务分配', prop: 'assignflg', width: 'auto' },
],
};
},
methods: {
/**
* 信息详情
*/
uclInfo(index, row) {
this.ucl = { ...row };
this.operate = "details";
this.operateIdx = index;
this.uclDialog = true;
},
/**
* 新增
*/
uclAdd() {
this.ucl = new Ucl().data;
this.ucl.usr=this.model.extkey;
this.operate = "add";
this.uclDialog = true;
},
/**
* 修改
*/
uclEdit(index, row) {
this.ucl = { ...row };
this.operate = "edit";
this.operateIdx = index;
this.uclDialog = true;
},
/**
* 删除
*/
uclDelete(index, row) {
this.$confirm("是否真的删除?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
console.log(row.branchinr)
deleteUclData(row.usr, row.branchinr).then((res) => {
if (res) {
this.model.uclList.splice(index, 1);
this.$message.success("删除成功!");
} else {
this.$message.error("删除失败!");
}
});
});
},
cancel() {
this.handleClose();
},
editUcl() {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
updateUclData(this.model.inr,this.ucl)
.then((res) => {
if (res) {
this.$message.success("修改柜员组信息成功!");
//TODO model.uclList回填
this.model.uclList = res.uclList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("修改柜员组信息失败!");
});
}
});
},
saveUcl() {
for (const key in this.ucl) {
if (Object.hasOwnProperty.call(this.ucl, key)) {
const v = this.ucl[key];
if (typeof v === 'string' && v === '') {
this.ucl[key] = " "
}
}
}
if (this.root.type === "add") {
this.model.uclList.push(this.ucl);
this.handleClose();
} else {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
addUclData(this.model.inr,this.ucl)
.then((res) => {
if (res) {
this.$message.success("保存柜员组信息成功!");
//TODO model.uclList回填
this.model.uclList = res.uclList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存柜员组信息失败!");
});
}
});
}
},
handleClose(done) {
this.uclDialog = false;
if (done && typeof done === "function") {
done();
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="用户ID" prop="extkey">
<c-input
v-model="model.extkey"
placeholder="请输入用户ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户名" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入用户名"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="禁止登录" prop="lgiflg">
<c-select style="width: 100%"
v-model="model.lgiflg"
placeholder="请选择禁止登录标识"
:code="getCodesByKey('lgiflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最近登录时间" prop="ssnbegdattim">
<c-date-picker
style="width: 100%"
v-model="model.ssnbegdattim"
placeholder="请选择最近登录时间"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="SSN ID" prop="ssninr">
<c-input
v-model="model.ssninr"
placeholder="请输入SSN ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体标志" prop="pri">
<c-input
v-model="model.pri"
placeholder="请输入实体标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体" prop="ety">
<c-input
v-model="model.ety"
placeholder="请输入实体"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户组" prop="usg">
<c-input
v-model="model.usg"
placeholder="请输入用户组"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最近DIA查看时间" prop="lstdiadat">
<c-date-picker
style="width: 100%"
v-model="model.lstdiadat"
placeholder="请选择最近DIA查看时间"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权币种" prop="relcur">
<c-select v-model="model.relcur" style="width: 100%" placeholder="请选择账号币种" :code="getCodesByKey('curtxt')"> </c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="授权金额" prop="relamt">
<c-input-currency class="input-currency-left"
v-model="model.relamt"
placeholder="请输入授权金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二授权金额" prop="relamt2nd">
<c-input-currency class="input-currency-left"
v-model="model.relamt2nd"
placeholder="请输入第二授权金额"
>
</c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="授权组" prop="relgrp">
<c-input
v-model="model.relgrp"
placeholder="请输入授权组"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电话" prop="tel">
<c-input
v-model="model.tel"
placeholder="请输入电话"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="传真" prop ="fax">
<c-input
v-model="model.fax"
placeholder="请输入传真"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电子邮箱" prop="eml">
<c-input
v-model="model.eml"
placeholder="请输入电子邮箱"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="可用时间" prop="quepow">
<c-input-currency class="input-currency-left"
v-model="model.quepow"
placeholder="请输入可用时间"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体名称" prop="etyextkey">
<c-input
v-model="model.etyextkey"
placeholder="请输入实体名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织" prop="oenr">
<c-input
v-model="model.oenr"
placeholder="请输入组织"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体地址" prop="etaextkey">
<c-input
v-model="model.etaextkey"
placeholder="请输入实体地址"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户经理" prop="resusrflg">
<c-input
v-model="model.resusrflg"
placeholder="请输入客户经理"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用户状态" prop="secsta">
<c-input
v-model="model.secsta"
placeholder="请输入用户状态"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信件的组织单位" prop="letoenr">
<c-input
v-model="model.letoenr"
placeholder="请输入信件的组织单位"
>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">-->
<!-- <el-form-item label="ubrList" prop="ubrList">-->
<!-- <c-input-->
<!-- v-model="model.ubrList"-->
<!-- placeholder="请输入ubrList"-->
<!-- >-->
<!-- </c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="24">-->
<!-- <el-form-item label="uclList" prop="uclList">-->
<!-- <c-input-->
<!-- v-model="model.uclList"-->
<!-- placeholder="请输入uclList"-->
<!-- >-->
<!-- </c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: "",
props: ["model"],
data() {
return {};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="usr">
<c-content>
<m-usr-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="柜员权限信息" name="ubr">
<c-content>
<m-ubr-list :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="柜员组" name="ucl">
<c-content>
<m-ucl-list :model="model" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="联系人信息" name="ptc">-->
<!-- <c-content>-->
<!-- <m-ptc-info :model="model" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!-- <el-tab-pane label="汇率/费率信息" name="ptyrat,fec,fee">-->
<!-- <c-content>-->
<!-- <m-rat-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 Usr, { Pattern } from "../../model/Usr.js";
import UsrInfo from "./UsrInfo";
import UBrInfo from "./UbrList";
import UclInfo from "./UclList";
import { add, edit, deleteById, queryDetailById } from "~/service/test/usr";
export default {
name: "StaticsDbiusr",
components: {
"m-usr-info": UsrInfo,
"m-ubr-list": UBrInfo,
"m-ucl-list": UclInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiusr"
}
},
data() {
return {
model: new Usr().data,
tabVal: "usr",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
// this.model.inr = this.$route.params.inr;
console.log(inr);
queryDetailById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("柜员不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infusr的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfusr", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="用户ID" prop="extkey">
<c-input
v-model="model.extkey"
placeholder="请输入user-id"
></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="name">
<c-input
v-model="model.nam"
placeholder="请输入name"
></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="usrAdd">新增</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="usrData"
:columns="usrColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="320px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="usrInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="usrEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="usrDelete(scope.$index, scope.row)"
>删除</c-button
>
<c-button id="useButton" size="small" style="margin-left: 5px" :disabled="useButtonVisible" @click="use(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 { queryByPage } from "~/service/test/usr.js";
export default {
name: "infsea",
props: ["model"],
inject: ["root"],
data() {
return {
usrData: [],
usrColumns: [
// { label: 'inr', prop: 'inr', width: 'auto' },
{ label: '用户ID', prop: 'extkey', width: 'auto' },
{ label: '用户名称', prop: 'nam', width: 'auto' },
// { label: '禁止登录', prop: 'lgiflg', width: 'auto' },
// { label: '最近登录时间', prop: 'ssnbegdattim', width: 'auto' },
// { label: 'SSN ID', prop: 'ssninr', width: 'auto' },
// { label: '版本号', prop: 'ver', width: 'auto' },
// { label: '实体标志', prop: 'pri', width: 'auto' },
// { label: '实体', prop: 'ety', width: 'auto' },
{ label: '用户组', prop: 'usg', width: 'auto' },
// { label: '
// ', prop: 'lstdiadat', width: 'auto' },
{ label: '授权币种', prop: 'relcur', width: 'auto' },
{ label: '授权金额', prop: 'relamt', width: 'auto' },
// { label: '第二授权金额', prop: 'relamt2nd', width: 'auto' },
// { label: '授权组', prop: 'relgrp', width: 'auto' },
// { label: '电话', prop: 'tel', width: 'auto' },
// { label: '传真', prop: 'fax', width: 'auto' },
// { label: '电子信箱', prop: 'eml', width: 'auto' },
// { label: '可用时间', prop: 'quepow', width: 'auto' },
// { label: '实体名称', prop: 'etyextkey', width: 'auto' },
// { label: '组织', prop: 'oenr', width: 'auto' },
{ label: '实体地址', prop: 'etaextkey', width: 'auto' },
{ label: '客户经理', prop: 'resusrflg', width: 'auto' },
// { label: 'secsta', prop: 'secsta', width: 'auto' },
// { label: 'letoenr', prop: 'letoenr', width: 'auto' },
// { label: 'ubrList', prop: 'ubrList', width: 'auto' },
// { label: 'uclList', prop: 'uclList', width: 'auto' },
],
useButtonVisible: true
};
},
// activated:已进入页面便可触发
activated() {
const { update } = this.$route.params
if (update) {
this.onInfusrSearch()
}
},
created() {
const { from } = this.$route.params
if (from != undefined && from != null) {
this.useButtonVisible = false
}
},
methods: {
use(row) {
const extkey = row.extkey
const { from } = this.$route.params
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.push({
name: from,
params: {
extkey: extkey
}
})
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfusrSearch();
},
onInfusrSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total:
* totalPage: 0
*/
const list = res.list
this.usrData = 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.onInfusrSearch()
},
// ptytypeChange(val) {
// this.model.ptytyp = val;
// },
// getCodesByKey(key) {
// return codes[key] ?? [];
// },
usrAdd() {
this.$router.push(`/statics/dbausr`)
},
usrInfo(index, row) {
this.$router.push(`/statics/dbiusr/${row.inr}`)
},
usrEdit(index, row) {
this.$router.push(`/statics/dbeusr/${row.inr}`)
},
usrDelete(index, row) {
this.$router.push(`/statics/dbdusr/${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: "StaticsInfusr",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// condition
nam: "",
extkey: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
export default class Dia {
constructor() {
this.data = {
inr: "",
bchkey: "",
trn: "",
relcur: "",
relamt: "",
ver: "",
relflg: "",
}
}
}
export const Pattern = {
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"objref": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"ownusr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ownusg": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"frm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"usr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
}
<template>
<m-dia title="dbadia" type="add"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/dia/views/Dbidia";
export default {
name: "StaticsDbadia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
mounted() {
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-dia title="dbddia" type="delete"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/dia/views/Dbidia";
export default {
name: "StaticsDbddia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-dia title="dbedia" type="edit"></m-dia>
</template>
<script>
import Dbidia from "~/views/Statics/dia/views/Dbidia";
export default {
name: "StaticsDbedia",
components: {
"m-dia": Dbidia
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- =============================================左边=========================================== -->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Business Sector" prop="subObjTyp">
<c-select :disabled="type === 'edit'" style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('dia_bustxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号" prop="objref">
<c-fullbox>
<c-input :disabled="false" v-model="model.objref" placeholder="请输入参考号"> </c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</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 :span="24">
<el-form-item label="交易名" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="交易" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备忘录名称" prop="nam">
<c-input v-model="model.nam" style="width: 100%" placeholder="请输入备忘录名称">
</c-input>
</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>
<div v-if="model.cod == 'RAM'">
<c-col :span="24">
<el-form-item label="客户号" prop="ptyextkey">
<c-input v-model="model.ptyextkey" placeholder="请输入客户号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户名称" prop="ptynam">
<c-input v-model="model.ptynam" placeholder="请输入客户名称" > </c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- =============================================右边=========================================== -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="经办用户" prop="ownusr">
<c-fullbox>
<c-input :disabled="false" v-model="model.ownusr" placeholder="请输入经办用户" > </c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="经办用户组" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择经办用户组" :code="getCodesByKey('usgtxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建/修改人" prop="usr">
<c-input :disabled="type === 'edit'" v-model="model.usr" placeholder="请输入创建/修改人" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否完成" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成" :code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="cod">
<c-select :disabled="type === 'edit'" style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="日期" prop="dat">
<c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<div v-if="model.cod == 'RAM'">
<c-col :span="24">
<el-form-item label="付款币种" prop="paycur">
<c-input v-model="model.paycur" placeholder="请输入付款币种" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款金额" prop="payamt">
<c-input v-model="model.payamt" placeholder="请输入付款金额" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="预计核验日期" prop="prechkdat">
<c-date-picker type="date"  v-model="model.prechkdat" style="width:100%"  placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item>
</c-col>
</div>
</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="160px"
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="apf">
<c-content>
<m-apf-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
<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-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>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="交易备忘录查询" name="dia">
<c-content>
<m-dia-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 Apf, { Pattern } from "../../model/Apf.js";
<<<<<<<< HEAD:src/views/Statics/Apf/views/Dbiapf/index.vue
import ApfInfo from "./ApfInfo.vue";
========
<script>
import Utils from '~/utils'
import Oit, { Pattern } from '../../model/Oit.js'
>>>>>>>> 45cbb57c3917ff55387e3cfc20096f30267b7cc4:src/views/Statics/Oit/views/Dbioit/index.vue
import { queryById, add, edit, deleteById } from "~/service/test/apf.js";
export default {
name: "StaticsDbiapf",
components: {
"m-apf-info": ApfInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info",
import Utils from "~/utils";
import Dia, { Pattern } from "../../model/Dia.js";
import DiaInfo from "./DiaInfo.vue";
import { queryById, add, edit, deleteById, queryDetailById } from "~/service/test/dia.js";
export default {
name: "StaticsDbidia",
components: {
"m-dia-info": DiaInfo,
},
title: {
type: String,
default: "dbiapf",
provide() {
return {
root: this,
};
},
},
data() {
return {
model: new Apf().data,
tabVal: "apf",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbidia"
}
},
data() {
return {
model: new Dia().data,
tabVal: "dia",
rules: Pattern,
};
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
const data = { inr: inr };
queryById(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) => {
this.$message.success("保存成功!");
this.goBack(true);
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields);
}
});
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
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);
}
});
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("数据不存在")
}
});
}
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
const data = { inr: this.model.inr };
deleteById(data)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true);
})
.catch((err) => {
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",
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
.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 是否更新infapf的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsDblapf", params: { update } });
},
/**
* update 是否更新infdia的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfdia", params: { update } });
},
},
},
};
</script>
};
</script>
<style>
</style>
\ No newline at end of file
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="类型" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号" prop="objref">
<c-input v-model="model.objref" placeholder="请输入参考号" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="经办用户" prop="ownusr">
<c-fullbox>
<c-input :disabled="true" v-model="model.ownusr" placeholder="请输入经办用户" style="width: 100%"></c-input>
<template slot="footer">
<c-button :disabled="type === 'edit'" style="margin-left: 10px; padding: 0 12px" size="small"
type="primary" @click="queryOwnusr()" icon="el-icon-info" />
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否完成标志" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成标志"
:code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="经办用户组" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择经办用户组" :code="getCodesByKey('usgtxt')">
</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="datFrom">
<c-date-picker type="date"  v-model="model.datFrom" style="width:100%"  placeholder="请选择开始日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="截止日期" prop="datTo">
<c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择截止日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易名" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建/修改人" prop="usr">
<c-fullbox>
<c-input :disabled="true" v-model="model.usr" placeholder="请输入创建/修改人" style="width: 100%"></c-input>
<template slot="footer">
<c-button :disabled="type === 'edit'" style="margin-left: 10px; padding: 0 12px" size="small"
type="primary" @click="onSeainf" icon="el-icon-info" />
</template>
</c-fullbox>
</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="diaAdd">新增</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="diaData" :columns="diaColumns" :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="diaInfo(scope.$index, scope.row)">详情</c-button>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="diaEdit(scope.$index, scope.row)">修改</c-button>
<c-button size="small" style="margin-left: 5px" @click="diaDelete(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/dia.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
diaData: [],
diaColumns: [
{ label: '日期', prop: 'dat', width: 'auto' },
{ label: '类型', prop: 'cod', width: 'auto' },
{ label: '参考号', prop: 'objref', width: 'auto' },
{ label: '备忘录名称', prop: 'nam', width: 'auto' },
{ label: '交易名', prop: 'frm', width: 'auto' },
{ label: '经办用户', prop: 'ownusr', width: 'auto' },
{ label: '经办用户组', prop: 'ownusg', width: 'auto' },
{ label: '是否完成', prop: 'donflg', width: 'auto' },
],
dialogFormVisible: false,
};
},
computed: {
},
activated() {
this.$forceUpdate()
// 填充ownusr查询条件
const { extkey } = this.$route.params
if (extkey != undefined && extkey != null) {
this.model.ownusr = extkey
}
// 查询数据
const { update } = this.$route.params
if (update) {
this.onInfdiaSearch()
}
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfdiaSearch();
},
onInfdiaSearch() {
queryByPage(this.model).then(res => {
const list = res.list
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let codArr = codes['diatxt'].filter((i) => {
// return i.value == obj.cod
// })
// obj.codCn = codArr[0].label
// let donflgArr = codes['dia_donflg'].filter((i) => {
// return i.value == obj.donflg
// })
// obj.donflgCn = donflgArr[0].label
// })
this.diaData = 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.onInfdiaSearch()
},
diatypeChange(val) {
this.model.fectyp = val;
},
diaCodesByKey(key) {
return codes[key] ?? [];
},
diaAdd() {
this.$router.push(`/statics/dbadia`)
},
diaInfo(index, row) {
this.$router.push(`/statics/dbidia/${row.inr}`)
},
diaEdit(index, row) {
this.$router.push(`/statics/dbedia/${row.inr}`)
},
diaDelete(index, row) {
this.$router.push(`/statics/dbddia/${row.inr}`)
},
queryOwnusr() {
this.$router.push({
name: 'StaticsInfusr',
params: {
from: "StaticsInfdia"
}
})
},
// 通过user页面的返回信息填充查询条件
fillOwnusrByRoute() {
const { extkey } = this.$route.params
if (extkey != undefined && extkey != null) {
this.model.ownusr = extkey
}
},
},
};
</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: "StaticsInfdia",
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
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