Commit db16e1fe by lianyang

静态交易act表资金账户信息基础增删改查页面

parent 0cc6e976
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/act/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/act/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/act/add", data)
}
export function edit(data) {
return Api.post("/test/act/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/act/deleteById?inr=${inr}`)
}
<template>
<m-act title="dbaact" type="add"></m-act>
</template>
<script>
import Dbiact from "~/views/Statics/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/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/Dbiact";
export default {
name: "StaticsDbeact",
components: {
"m-act": Dbiact
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
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>
<div class="eibs-tab">
<!-- =============================================左边=========================================== -->
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="holPtyExtkey" prop="holPtyExtkey">
<c-input v-model="model.holPtyExtkey" placeholder=""> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<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-input v-model="model.pri" placeholder="请输入pri" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号币种" prop="cur">
<c-select v-model="model.cur" placeholder="请输入cur" :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="请输入extkey" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构的账号" prop="seracc">
<c-input v-model="model.seracc" placeholder="请输入seracc" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构名称" prop="sernam">
<c-input v-model="model.sernam" placeholder="请输入sernam" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号提供机构种类" prop="serptytyp">
<c-select v-model="model.serptytyp" placeholder="请输入serptytyp" :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="请输入holacc" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构名称" prop="holnam">
<c-input v-model="model.holnam" placeholder="请输入holnam" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号开户机构类型" prop="holptytyp">
<c-select v-model="model.holptytyp" placeholder="请输入holptytyp" :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="请输入cvrflg" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付账户标志" prop="rmbflg">
<c-input v-model="model.rmbflg" placeholder="请输入rmbflg" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已删账户标志" prop="delflg">
<c-input v-model="model.delflg" placeholder="请输入delflg" > </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" placeholder="请输入dirflg" >
<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="请输入othptynam" >
</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="请输入othbic6" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国际银行账户号" prop="iban">
<c-input v-model="model.iban" placeholder="请输入iban" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体组" prop="etgextkey">
<c-input v-model="model.etgextkey" placeholder="请输入etgextkey" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入nam" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外部账号类型" prop="exttyp">
<c-input v-model="model.exttyp" placeholder="请输入exttyp" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号类型" prop="typ">
<c-input v-model="model.typ" placeholder="请输入typ" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外部账号" prop="extact">
<c-input v-model="model.extact" placeholder="请输入extact" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="科目代码" prop="trmtyp">
<c-input v-model="model.trmtyp" placeholder="请输入trmtyp" >
</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" placeholder="请输入acctyp" >
<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: "NULL" },
{ 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="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="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 "./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="请输入extkey"
>
</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="请输入IBAN"
></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="onInfactSearch()"
>查询
</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: 'typ', width: '100' },
{ label: '账号币种', prop: 'cur', width: '100' },
{ label: '资金账号', prop: 'extkey', width: '200' },
{ label: '账号开户机构的账号', prop: 'holacc', width: '200' },
{ label: '账号提供机构的账号', prop: 'seracc', width: '200' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfactSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
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>
......@@ -50,6 +50,13 @@ import Dbaatp from "./Dbaatp";
import Dbeatp from "./Dbeatp";
import Dbdatp from "./Dbdatp";
//act
import Infact from "./Infact";
import Dbiact from "./Dbiact";
import Dbaact from "./Dbaact";
import Dbeact from "./Dbeact";
import Dbdact from "./Dbdact";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -104,6 +111,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 } } },
]
export default StaticsRouter
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment