Commit 0b6d9133 by zenghuan

人民币跨境支付管理

parent 04a31f1a
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--cpsmsgp PD000000 查询主页面 --> :rules="rules"
<el-tab-pane :label="$t('cpsmsgp.PD000000')" name="mainpnl"> ref="modelForm"
<m-mainpnl :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainpnl :model="model" :codes="codes" ref="mainpnl"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Cpsmsg from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainpnl from "./Mainpnl" import Cpsmsg from "../model";
import event from "../event"
import Mainpnl from "./Mainpnl.vue"
export default {
export default {
name: "Cpsmsg", name: "Cpsmsg",
components:{ components:{
"m-mainpnl" : Mainpnl, "m-mainpnl" : Mainpnl,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainpnl", tabVal: "mainpnl",
trnName: "cpsmsg", trnName: "cpsmsg",
trnType: "", model: new Cpsmsg().data,
model: new Cpsmsg().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入cpsmsg交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.sndp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.sndp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp,
dir: ">",
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
rcvdatend: moment(rcvdatend).format("YYYY-MM-DD"),
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
const {codes:{sta1}} = this;
list.forEach(v=>{
for(let i in sta1){
if(sta1[i].value == v.sta){
v.sta = sta1[i].label;
}
}
})
this.stmData.data = list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
},
async handleReset() {
this.model.sndp.msgtyp = "";
this.model.sndp.rcvdatsta = new Date();
this.model.sndp.rcvdatend = new Date();
this.model.sndp.subtyp = "";
this.model.sndp.sndbak = "";
this.model.sndp.revbak = "";
this.model.sndp.actbic = "";
this.model.sndp.othref = "";
this.model.sndp.ownref = "";
this.model.sndp.cur = "";
this.model.sndp.act = "";
this.model.sndp.amtmin = "";
this.model.sndp.amtmax = "";
this.model.sndp.chnipt = "";
this.model.sndp.rspsta = "";
this.model.sndp.dtlchg = "";
this.model.sndp.sta = "";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-col :span="24"> <!-- 持续展示区 -->
<div class="e-table-wrapper"> <template v-slot="searchSlot">
<el-table <el-row>
:data="model.sxfgrp.sxflst" <c-col :span="24">
style="width: 100%" <c-col :span="8">
> <el-form-item label="日期" prop="rcvdatsta" style="width: 100%">
<el-table-column <c-col :span="11">
prop="dat" <c-date-picker type="date" v-model="model.sxfp.stadat" style="width: 100%"></c-date-picker>
label="" </c-col>
sortable <c-col :span="2" style="text-align: center">
width="150"> <label style="display: inline-block; width: 100%">-</label>
</el-table-column> </c-col>
<el-table-column <c-col :span="11">
prop="amt" <c-date-picker type="date" v-model="model.sxfp.enddat" style="width: 100%"></c-date-picker>
label="" </c-col>
sortable </el-form-item>
width="100"> </c-col>
</el-table-column> </c-col>
<el-table-column </el-row>
prop="stadat" <!-- 可控展示区 -->
label="" <el-row v-show="searchSlot.searchToggle">
sortable </el-row>
width="150"> </template>
</el-table-column> </c-list-search>
<el-table-column
prop="enddat" <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
label="" <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
sortable type="primary" >{{ $t('public.归档') }}
width="150"> </c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="手续费管理" name="fb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
prop="sta" :min-width="item.width">
label=""
sortable
width="100">
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination
layout="prev, pager, next" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:total="1"> :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination> </el-pagination>
</div> </el-tab-pane>
</c-col> </el-tabs>
<!-- LT000010 : --> </c-col>
</div>
<c-col :span="12"> </el-col>
<el-form-item :label="$t('sxfp.LT000010')" prop="sxfp.stadat">
<c-date-picker type="date" v-model="model.sxfp.stadat" style="width:100%" :placeholder="$t('other.please_enter')+$t('sxfp.LT000010')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000011 : -->
<c-col :span="12">
<el-form-item :label="$t('sxfp.LT000011')" prop="sxfp.enddat">
<c-date-picker type="date" v-model="model.sxfp.enddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('sxfp.LT000011')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSxfpSel">
{{$t('sxfp.BT000012')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpClr">
{{$t('sxfp.BT000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpAdd">
{{$t('sxfp.BT000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpDvd">
{{$t('sxfp.BT000035')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpPfa">
{{$t('sxfp.BT000036')}}
</c-button>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import event from "../event";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data(){ data() {
return { return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "状态",
prop: "sta",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "手续费创建起始日期",
prop: "stadat",
width: "120px"
},
{
label: "手续费创建截止日期",
prop: "enddat",
width: "120px"
}],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
methods: {
},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
} .header-wrap {
}, height: 36px;
methods:{...Event}, display: flex;
created:function(){ justify-content: space-between;
align-items: center;
} .title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
} }
</script>
<style>
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--sxfp PD000000 --> :rules="rules"
<el-tab-pane :label="$t('sxfp.PD000000')" name="mainpl"> ref="modelForm"
<m-mainpl :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainpl :model="model" :codes="codes" ref="mainpl"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Cpssxf from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainpl from "./Mainpl" import Cpssxf from "../model";
import event from "../event"
import Mainpl from "./Mainpl.vue"
export default {
export default {
name: "Cpssxf", name: "Cpssxf",
components:{ components:{
"m-mainpl" : Mainpl, "m-mainpl" : Mainpl,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainpl", tabVal: "mainpl",
trnName: "cpssxf", trnName: "cpssxf",
trnType: "", model: new Cpssxf().data,
model: new Cpssxf().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入cpssxf交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--cpyp PD000000 查询主页面 --> :rules="rules"
<el-tab-pane :label="$t('cpyp.PD000000')" name="mainp"> ref="modelForm"
<m-mainp :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainp :model="model" :codes="codes" ref="mainp"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Cpysel from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainp from "./Mainp" import Cpysel from "../model";
import event from "../event"
import Mainp from "./Mainp.vue"
export default {
export default {
name: "Cpysel", name: "Cpysel",
components:{ components:{
"m-mainp" : Mainp, "m-mainp" : Mainp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainp", tabVal: "mainp",
trnName: "cpysel", trnName: "cpysel",
trnType: "", model: new Cpysel().data,
model: new Cpysel().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入cpysel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template<template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--cpzp PD000000 查询主页面 --> :rules="rules"
<el-tab-pane :label="$t('cpzp.PD000000')" name="mainp"> ref="modelForm"
<m-mainp :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainp :model="model" :codes="codes" ref="mainp"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Cpzsel from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainp from "./Mainp" import Cpzsel from "../model";
import event from "../event"
import Mainp from "./Mainp.vue"
export default {
export default {
name: "Cpzsel", name: "Cpzsel",
components:{ components:{
"m-mainp" : Mainp, "m-mainp" : Mainp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainp", tabVal: "mainp",
trnName: "cpzsel", trnName: "cpzsel",
trnType: "", model: new Cpzsel().data,
model: new Cpzsel().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入cpzsel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--cpstimp PD000000 查询主页面 --> :rules="rules"
<el-tab-pane :label="$t('cpstimp.PD000000')" name="mainpl"> ref="modelForm"
<m-mainpl :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainp :model="model" :codes="codes" ref="mainp"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Ctmsel from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainpl from "./Mainpl" import Ctmsel from "../model";
import event from "../event"
import Mainp from "./Mainp.vue"
export default {
export default {
name: "Ctmsel", name: "Ctmsel",
components:{ components:{
"m-mainpl" : Mainpl, "m-mainp" : Mainp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainpl", tabVal: "mainp",
trnName: "ctmsel", trnName: "ctmsel",
trnType: "", model: new Ctmsel().data,
model: new Ctmsel().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入ctmsel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-col :span="24"> <!-- 持续展示区 -->
<div class="e-table-wrapper"> <template v-slot="searchSlot">
<el-table <el-row>
:data="model.cpsfxdgrp.fxdlst" <c-col :span="24">
style="width: 100%" <c-col :span="8">
> <el-form-item label="文件类型" prop="" style="width: 100%">
<el-table-column <c-select v-model="model.fddp.filtyp" style="width: 100%" placeholder="请选择文件类型"
prop="credat" :code="codes.cpsfxdtyp"/>
label="导入日期" </el-form-item>
sortable </c-col>
width="150"> <c-col :span="8">
</el-table-column> <el-form-item label="文件名" prop="" style="width: 100%">
<el-table-column <c-input v-model="model.fddp.filnam" style="width: 100%" placeholder="请输入文件名"/>
prop="filtyp" </el-form-item>
label="文件类型" </c-col>
sortable <c-col :span="8">
width="160"> <el-form-item label="导入日期" prop="rcvdatsta" style="width: 100%">
<template slot-scope="scope"> <c-col :span="11">
<span>{{ this.codes.cpsfxdtyp.find(item=>item.value==scope.row.filtyp).label }}</span> <c-date-picker type="date" v-model="model.fddp.begdat" style="width: 100%"></c-date-picker>
</template> </c-col>
</el-table-column> <c-col :span="2" style="text-align: center">
<el-table-column <label style="display: inline-block; width: 100%">-</label>
prop="filnam" </c-col>
label="文件名称" <c-col :span="11">
sortable <c-date-picker type="date" v-model="model.fddp.enddat" style="width: 100%"></c-date-picker>
width="300"> </c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary">{{ $t('public.归档') }}
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="人民币跨境基础数据导入" name="fb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
prop="filpth" :min-width="item.width">
label="文件保存路径"
sortable
width="500">
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination
layout="prev, pager, next" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:total="1"> :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination> </el-pagination>
</div> </el-tab-pane>
</c-col> </el-tabs>
<!-- LT000008 : 导入起始日期 --> </c-col>
<!-- LT000012 : : --> </div>
</el-col>
<c-col :span="12">
<el-form-item :label="$t('fddp.LT000008')" prop="fddp.begdat">
<c-date-picker type="date" v-model="model.fddp.begdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fddp.LT000008')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000009 : 导入截止日期 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('fddp.LT000009')" prop="fddp.enddat">
<c-date-picker type="date" v-model="model.fddp.enddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fddp.LT000009')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000010 : 文件类型 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('fddp.LT000010')" prop="fddp.filtyp">
<c-select v-model="model.fddp.filtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fddp.LT000010')">
<el-option
v-for="item in codes.cpsfxdtyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000011 : 文件名 -->
<!-- LT000012 : : -->
<c-col :span="12">
<c-form-item :label="$t('fddp.LT000011')" prop="fddp.filnam">
<c-input v-model="model.fddp.filnam" maxlength="50" :placeholder="$t('other.please_enter')+$t('fddp.LT000011')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
{{$t('fddp.BT000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onReset">
{{$t('fddp.BT000014')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFddpAdd">
{{$t('fddp.BT000015')}}
</c-button>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import event from "../event";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data(){ data() {
return { return {
activeTab: 'fb',
} load: false,
subtypCodes: [],
multipleSelection: [],
stmData: {
columns: [
{
label: "导入日期",
prop: "credat",
width: "120px"
},
{
label: "文件类型",
prop: "filtyp",
width: "120px"
},
{
label: "文件名称",
prop: "filnam",
width: "120px"
},
{
label: "文件保存路径",
prop: "filpth",
width: "120px"
}],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
}, },
methods:{...Event}, isRoutingDisable: function () {
created:function(){ return this.multipleSelection.length == 0;
} }
} },
methods: {},
mounted: function () {
},
};
</script> </script>
<style> <style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--fddp PD000000 主面板 --> :rules="rules"
<el-tab-pane :label="$t('fddp.PD000000')" name="mainpanel"> ref="modelForm"
<m-mainpanel :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainpanel :model="model" :codes="codes" ref="mainpanel"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Fxdsdb from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainpanel from "./Mainpanel" import Fxdsdb from "../model";
import event from "../event"
import Mainpanel from "./Mainpanel.vue"
export default {
export default {
name: "Fxdsdb", name: "Fxdsdb",
components:{ components:{
"m-mainpanel" : Mainpanel, "m-mainpanel" : Mainpanel,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainpanel", tabVal: "mainpanel",
trnName: "fxdsdb", trnName: "fxdsdb",
trnType: "", model: new Fxdsdb().data,
model: new Fxdsdb().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入fxdsdb交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--pngp PD000000 查询主页面 --> :rules="rules"
<el-tab-pane :label="$t('pngp.PD000000')" name="mainpnl"> ref="modelForm"
<m-mainpnl :model="model" :codes="codes"/> label-width="120px"
</el-tab-pane> label-position="right"
</c-tabs> size="small"
</el-form> :validate-on-rule-change="false"
</div> >
</template> <c-content>
<script> <m-mainpnl :model="model" :codes="codes" ref="mainpnl"/>
import Api from "~/service/Api" </c-content>
import CodeTable from "~/config/CodeTable" </el-form>
import Pngsel from "../model" </div>
import commonProcess from "~/mixin/commonProcess" </template>
import Check from "../model/Check" <script>
import Default from "../model/Default"
import Pattern from "../model/Pattern" import CodeTable from "~/config/CodeTable";
import Mainpnl from "./Mainpnl" import Pngsel from "../model";
import event from "../event"
import Mainpnl from "./Mainpnl.vue"
export default {
export default {
name: "Pngsel", name: "Pngsel",
components:{ components:{
"m-mainpnl" : Mainpnl, "m-mainpnl" : Mainpnl,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [event], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "mainpnl", tabVal: "mainpnl",
trnName: "pngsel", trnName: "pngsel",
trnType: "", model: new Pngsel().data,
model: new Pngsel().data, rules: null,
checkRules: Check, codes:{...CodeTable},
defaultRules: Default, };
pattern: Pattern,
rules: null,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
cipsstatus:CodeTable.cipsstatus,
curcod:CodeTable.curcod,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
cipsmsgtype:CodeTable.cipsmsgtype,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function() {},
this.tabClick(tab) };
/** </script>
* do it yourself <style scoped>
**/
} </style>
},
created:async function(){ \ No newline at end of file
console.log("进入pngsel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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