Commit d5388fe5 by zenghuan

收发报查询

parent aa9a66d5
......@@ -1904,7 +1904,10 @@ const CodeTable = {
{label: "受益人", value: "BEN"},
{label: "汇款人", value: "OUR"},
],
chnipt:[
{label: "BLK", value: "BLK"},
{label: "wu", value: "wu"}
],
waicolcod: [
{label: "不要放弃", value: "D"},
{label: "拒绝时放弃", value: "W"},
......@@ -3259,6 +3262,11 @@ const CodeTable = {
{label: "自由格式建议", value: "488"},
{label: "担保申请", value: "429"},
],
dtlchg: [
{label: "BEN", value: "BEN"},
{label: "OUR", value: "OUR"},
{label: "SHA", value: "SHA"},
],
due: [
{label: "一月", value: "1M"},
{label: "六月", value: "6M"},
......@@ -4841,6 +4849,12 @@ const CodeTable = {
{label: "境内外币支付2.0", value: "111"},
{label: "Other", value: "OTH"},
],
msgtyp3: [
{label: "ISO", value: "iso"},
{label: "FXPS", value: "txt"},
{label: "CIPS", value: "xml"},
{label: "MT", value: "sf2"},
],
mylx: [
{label: "服务贸易", value: "F"},
{label: "货物贸易", value: "H"},
......@@ -5707,6 +5721,10 @@ const CodeTable = {
{label: "开证行", value: "ISS"},
{label: "另一方", value: "OTH"},
],
rspsta: [
{label: "ACK", value: "A"},
{label: "NCK", value: "N"},
],
gitopn_rolall: [
{label: "申请人", value: "APL"},
{label: "第一预付款银行", value: "ATB"},
......@@ -6157,6 +6175,336 @@ const CodeTable = {
subtyp: [
{label: "制度", value: "S"},
],
subtyp1: [
{"label": "101", "value": "101"},
{"label": "102", "value": "102"},
{"label": "102+", "value": "102+"},
{"label": "103", "value": "103"},
{"label": "103+", "value": "103+"},
{"label": "104", "value": "104"},
{"label": "105", "value": "105"},
{"label": "107", "value": "107"},
{"label": "110", "value": "110"},
{"label": "111", "value": "111"},
{"label": "112", "value": "112"},
{"label": "190", "value": "190"},
{"label": "191", "value": "191"},
{"label": "192", "value": "192"},
{"label": "195", "value": "195"},
{"label": "196", "value": "196"},
{"label": "198", "value": "198"},
{"label": "199", "value": "199"},
{"label": "200", "value": "200"},
{"label": "201", "value": "201"},
{"label": "202", "value": "202"},
{"label": "202COV", "value": "202COV"},
{"label": "203", "value": "203"},
{"label": "204", "value": "204"},
{"label": "205", "value": "205"},
{"label": "205COV", "value": "205COV"},
{"label": "207", "value": "207"},
{"label": "210", "value": "210"},
{"label": "256", "value": "256"},
{"label": "290", "value": "290"},
{"label": "291", "value": "291"},
{"label": "292", "value": "292"},
{"label": "295", "value": "295"},
{"label": "296", "value": "296"},
{"label": "298", "value": "298"},
{"label": "299", "value": "299"},
{"label": "300", "value": "300"},
{"label": "303", "value": "303"},
{"label": "304", "value": "304"},
{"label": "305", "value": "305"},
{"label": "306", "value": "306"},
{"label": "307", "value": "307"},
{"label": "320", "value": "320"},
{"label": "321", "value": "321"},
{"label": "330", "value": "330"},
{"label": "340", "value": "340"},
{"label": "341", "value": "341"},
{"label": "350", "value": "350"},
{"label": "360", "value": "360"},
{"label": "361", "value": "361"},
{"label": "362", "value": "362"},
{"label": "364", "value": "364"},
{"label": "365", "value": "365"},
{"label": "380", "value": "380"},
{"label": "381", "value": "381"},
{"label": "390", "value": "390"},
{"label": "391", "value": "391"},
{"label": "392", "value": "392"},
{"label": "395", "value": "395"},
{"label": "396", "value": "396"},
{"label": "398", "value": "398"},
{"label": "399", "value": "399"},
{"label": "400", "value": "400"},
{"label": "410", "value": "410"},
{"label": "412", "value": "412"},
{"label": "416", "value": "416"},
{"label": "420", "value": "420"},
{"label": "422", "value": "422"},
{"label": "430", "value": "430"},
{"label": "450", "value": "450"},
{"label": "455", "value": "455"},
{"label": "456", "value": "456"},
{"label": "490", "value": "490"},
{"label": "491", "value": "491"},
{"label": "492", "value": "492"},
{"label": "495", "value": "495"},
{"label": "496", "value": "496"},
{"label": "498", "value": "498"},
{"label": "499", "value": "499"},
{"label": "500", "value": "500"},
{"label": "501", "value": "501"},
{"label": "502", "value": "502"},
{"label": "503", "value": "503"},
{"label": "504", "value": "504"},
{"label": "505", "value": "505"},
{"label": "506", "value": "506"},
{"label": "507", "value": "507"},
{"label": "508", "value": "508"},
{"label": "509", "value": "509"},
{"label": "510", "value": "510"},
{"label": "513", "value": "513"},
{"label": "514", "value": "514"},
{"label": "515", "value": "515"},
{"label": "516", "value": "516"},
{"label": "517", "value": "517"},
{"label": "518", "value": "518"},
{"label": "519", "value": "519"},
{"label": "524", "value": "524"},
{"label": "526", "value": "526"},
{"label": "527", "value": "527"},
{"label": "530", "value": "530"},
{"label": "535", "value": "535"},
{"label": "536", "value": "536"},
{"label": "537", "value": "537"},
{"label": "538", "value": "538"},
{"label": "540", "value": "540"},
{"label": "541", "value": "541"},
{"label": "542", "value": "542"},
{"label": "543", "value": "543"},
{"label": "544", "value": "544"},
{"label": "545", "value": "545"},
{"label": "546", "value": "546"},
{"label": "547", "value": "547"},
{"label": "548", "value": "548"},
{"label": "549", "value": "549"},
{"label": "558", "value": "558"},
{"label": "559", "value": "559"},
{"label": "564", "value": "564"},
{"label": "565", "value": "565"},
{"label": "566", "value": "566"},
{"label": "567", "value": "567"},
{"label": "568", "value": "568"},
{"label": "569", "value": "569"},
{"label": "IRSLST", "value": "IRSLST"},
{"label": "574", "value": "574"},
{"label": "W8BENO", "value": "W8BENO"},
{"label": "575", "value": "575"},
{"label": "576", "value": "576"},
{"label": "577", "value": "577"},
{"label": "578", "value": "578"},
{"label": "579", "value": "579"},
{"label": "581", "value": "581"},
{"label": "586", "value": "586"},
{"label": "590", "value": "590"},
{"label": "591", "value": "591"},
{"label": "592", "value": "592"},
{"label": "595", "value": "595"},
{"label": "596", "value": "596"},
{"label": "598", "value": "598"},
{"label": "599", "value": "599"},
{"label": "600", "value": "600"},
{"label": "601", "value": "601"},
{"label": "604", "value": "604"},
{"label": "605", "value": "605"},
{"label": "606", "value": "606"},
{"label": "607", "value": "607"},
{"label": "608", "value": "608"},
{"label": "609", "value": "609"},
{"label": "620", "value": "620"},
{"label": "643", "value": "643"},
{"label": "644", "value": "644"},
{"label": "646", "value": "646"},
{"label": "649", "value": "649"},
{"label": "670", "value": "670"},
{"label": "671", "value": "671"},
{"label": "690", "value": "690"},
{"label": "691", "value": "691"},
{"label": "692", "value": "692"},
{"label": "695", "value": "695"},
{"label": "696", "value": "696"},
{"label": "698", "value": "698"},
{"label": "699", "value": "699"},
{"label": "700", "value": "700"},
{"label": "701", "value": "701"},
{"label": "705", "value": "705"},
{"label": "707", "value": "707"},
{"label": "710", "value": "710"},
{"label": "711", "value": "711"},
{"label": "720", "value": "720"},
{"label": "721", "value": "721"},
{"label": "730", "value": "730"},
{"label": "732", "value": "732"},
{"label": "734", "value": "734"},
{"label": "740", "value": "740"},
{"label": "742", "value": "742"},
{"label": "747", "value": "747"},
{"label": "750", "value": "750"},
{"label": "752", "value": "752"},
{"label": "754", "value": "754"},
{"label": "756", "value": "756"},
{"label": "760", "value": "760"},
{"label": "767", "value": "767"},
{"label": "768", "value": "768"},
{"label": "769", "value": "769"},
{"label": "790", "value": "790"},
{"label": "791", "value": "791"},
{"label": "792", "value": "792"},
{"label": "795", "value": "795"},
{"label": "796", "value": "796"},
{"label": "798", "value": "798"},
{"label": "799", "value": "799"},
{"label": "800", "value": "800"},
{"label": "801", "value": "801"},
{"label": "802", "value": "802"},
{"label": "824", "value": "824"},
{"label": "890", "value": "890"},
{"label": "891", "value": "891"},
{"label": "892", "value": "892"},
{"label": "895", "value": "895"},
{"label": "896", "value": "896"},
{"label": "898", "value": "898"},
{"label": "899", "value": "899"},
{"label": "900", "value": "900"},
{"label": "910", "value": "910"},
{"label": "920", "value": "920"},
{"label": "935", "value": "935"},
{"label": "940", "value": "940"},
{"label": "941", "value": "941"},
{"label": "942", "value": "942"},
{"label": "950", "value": "950"},
{"label": "970", "value": "970"},
{"label": "971", "value": "971"},
{"label": "972", "value": "972"},
{"label": "973", "value": "973"},
{"label": "985", "value": "985"},
{"label": "986", "value": "986"},
{"label": "990", "value": "990"},
{"label": "991", "value": "991"},
{"label": "992", "value": "992"},
{"label": "995", "value": "995"},
{"label": "996", "value": "996"},
{"label": "998", "value": "998"},
{"label": "999", "value": "999"}
],
subtypcps: [{label: "111", value: "111"},
{label: "112", value: "112"},
{label: "301", value: "301"},
{label: "302", value: "302"},
{label: "303", value: "303"},
{label: "304", value: "304"},
{label: "305", value: "305"},
{label: "306", value: "306"},
{label: "307", value: "307"},
{label: "308", value: "308"},
{label: "309", value: "309"},
{label: "350", value: "350"},
{label: "352", value: "352"},
{label: "353", value: "353"},
{label: "354", value: "354"},
{label: "355", value: "355"},
{label: "356", value: "356"},
{label: "357", value: "357"},
{label: "358", value: "358"},
{label: "601", value: "601"},
{label: "611", value: "611"},
{label: "701", value: "701"},
{label: "710", value: "710"},
{label: "711", value: "711"},
{label: "712", value: "712"},
{label: "713", value: "713"},
{label: "714", value: "714"},
{label: "715", value: "715"},
{label: "801", value: "801"},
{label: "803", value: "803"},
{label: "805", value: "805"},
{label: "806", value: "806"},
{label: "807", value: "807"},
{label: "900", value: "900"},
{label: "901", value: "901"},
{label: "902", value: "902"},
{label: "903", value: "903"},
{label: "904", value: "904"},
{label: "906", value: "906"},
{label: "912", value: "912"},
{label: "914", value: "914"},
],
subtypiso: [{label: "pacs002001", value: "pacs002001"},
{label: "pacs004001", value: "pacs004001"},
{label: "pacs008001", value: "pacs008001"},
{label: "pacs009001", value: "pacs009001"},
{label: "camt105001", value: "camt105001"},
{label: "camt106001", value: "camt106001"},
{label: "camt107001", value: "camt107001"},
{label: "camt108001", value: "camt108001"},
{label: "camt109001", value: "camt109001"},
{label: "camt110001", value: "camt110001"},
{label: "camt111001", value: "camt111001"},
],
subtypfps: [{label: "141", value: "141"},
{label: "346", value: "346"},
{label: "371", value: "371"},
{label: "373", value: "373"},
{label: "604", value: "604"},
{label: "900", value: "900"},
{label: "903", value: "903"},
{label: "911", value: "911"},
{label: "921", value: "921"},
{label: "928", value: "928"},
{label: "931", value: "931"},
{label: "933", value: "933"},
{label: "990", value: "990"},
{label: "992", value: "992"},
{label: "111", value: "111"},
{label: "112", value: "112"},
{label: "301", value: "301"},
{label: "302", value: "302"},
{label: "303", value: "303"},
{label: "308", value: "308"},
{label: "314", value: "314"},
{label: "315", value: "315"},
{label: "317", value: "317"},
{label: "318", value: "318"},
{label: "319", value: "319"},
{label: "320", value: "320"},
{label: "321", value: "321"},
{label: "323", value: "323"},
{label: "325", value: "325"},
{label: "327", value: "327"},
{label: "351", value: "351"},
{label: "354", value: "354"},
{label: "357", value: "357"},
{label: "361", value: "361"},
{label: "362", value: "362"},
{label: "608", value: "608"},
{label: "612", value: "612"},
{label: "705", value: "705"},
{label: "707", value: "707"},
{label: "709", value: "709"},
{label: "801", value: "801"},
{label: "802", value: "802"},
{label: "806", value: "806"},
{label: "807", value: "807"},
{label: "907", value: "907"},
{label: "915", value: "915"},
{label: "916", value: "916"},
{label: "951", value: "951"},
{label: "953", value: "953"},
{label: "999", value: "999"},
],
surtyp: [
{label: "收据", value: "066"},
{label: "快递收据、邮政收据或投寄证明", value: "060"},
......@@ -9177,6 +9525,23 @@ const CodeTable = {
{label: "失败", value: "FAIL"},
{label: "异常", value: "ERROR"},
],
sta1: [{label: "Newly build", value: "H"},
{label: "Pending", value: "W"},
{label: "Processed", value: "D"},
{label: "Closed volume", value: "F"},
{label: "Redistribute", value: "R"},
{label: "Automatic processing", value: "A"},
{label: "To be processed manually", value: "X"},
{label: "Processing error", value: "E"},
{label: "Interface intermediate status", value: "O"},
{label: "To be rechecked manually", value: "V"},
{label: "Message discarding", value: "G"},
{label: "Return message editing", value: "C"},
{label: "Message waiting for release", value: "L"},
{label: "Suspected blacklist", value: "B"},
{label: "Suspected blacklist", value: "Y"},
{label: "Large forehead position does not match", value: "P"},
],
elctyp: [
{value: "102", label: "elcs.102.001.01"},
{value: "104", label: "elcs.104.001.01"},
......
......@@ -44,6 +44,7 @@ if (process.env.NODE_ENV === 'production') {//生产模式
"hostDerivative": "15.52.176.251:22002",
"hostPublic": "15.52.176.251:8081",
"hostReport": "127.0.0.1:8090",
"hostGjzf": "127.0.0.1:8096",
"basePath": "/webapi",
"schemes": "http",
"message": {
......
......@@ -268,6 +268,9 @@ const Rmbmod2135 = () => import("./Rmb/2135/Tcpame/views");
const Rmbinf2135 = () => import("./Rmb/2135/Tcpinf/views");
const Rmbdel2135 = () => import("./Rmb/2135/Tcpdel/views");
const Rcvsel = () => import('./Rcvsel/views');
const Sndsel = () => import('./Sndsel/views');
// const Dbdinf = () => import("./Bop/Dbdinf/views")
// const Dbdadd = () => import("./Bop/Dbdadd/views")
// const Dbddel = () => import("./Bop/Dbddel/views")
......@@ -641,5 +644,9 @@ const BusRouter = [
{ path: 'inftrnpsDetail', component: () => import('./Quesel/views/InftrnpsDetail.vue'), name: 'inftrnpsDetail', meta: { keepAlive: true, title: '待复核详情' } },
{ path: 'trnselDetail', component: () => import('./Quesel/views/InftrnpsDetail.vue'), name: 'trnselDetail', meta: { keepAlive: true, title: '未完成列表详情' } },
{ path: 'trnrelDetail', component: () => import('./Quesel/views/InftrnpsDetail.vue'), name: 'trnrelDetail', meta: { keepAlive: true, title: '已完成列表详情' } },
// 报文管理w
{path: 'rcvsel',component: Rcvsel,name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' }},
{path: 'sndsel',component: Sndsel,name: 'Sndsel',meta: { keepAlive: true, title: '发报查询' }},
];
export default BusRouter
\ No newline at end of file
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.rcvp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.rcvp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", {
...this.model.rcvp,
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.rcvp.msgtyp = "";
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.subtyp = "";
this.model.rcvp.sndbak = "";
this.model.rcvp.revbak = "";
this.model.rcvp.actbic = "";
this.model.rcvp.othref = "";
this.model.rcvp.ownref = "";
this.model.rcvp.cur = "";
this.model.rcvp.act = "";
this.model.rcvp.amtmin = "";
this.model.rcvp.amtmax = "";
this.model.rcvp.chnipt = "";
this.model.rcvp.rspsta = "";
this.model.rcvp.dtlchg = "";
this.model.rcvp.sta = "";
this.model.rcvp.gpi="";
},
// 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;
}
},
};
import Utils from "~/utils"
/**
* Rcvsel Check规则
*/
let checkObj = {
"rcvp.sndbak" :null,
"rcvp.actbic" :null,
"rcvp.revbak" :null,
"rcvp.msgtyp" :null,
"rcvp.othref" :null,
"rcvp.rcvdatend" :null,
"rcvp.ownref" :null,
"rcvp.amtmax" :null,
"rcvp.amtmin" :null,
"rcvp.rcvdatsta" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Rcvsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
export default {
"rcvp.rcvdatsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rcvp.rcvdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rcvp.sndbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.amtmin":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"rcvp.amtmax":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
}
\ No newline at end of file
export default class Rcvsel{
constructor () {
this.data = {
rcvp:{
rcvdatsta:"", // : 起始日期 .rcvp.rcvdatsta
rcvdatend:"", // : 终止日期 .rcvp.rcvdatend
msgtyp:"", // : 报文标准 .rcvp.msgtyp
subtyp:"", // : 报文类型 .rcvp.subtyp
sndbak:"", // : 发报行BIC .rcvp.sndbak
revbak:"", // : 收报行BIC .rcvp.revbak
actbic:"", // : 账户行BIC .rcvp.actbic
othref:"", // : 20域编号 .rcvp.othref
ownref:"", // : 21域编号 .rcvp.ownref
cur:"", // : 币种 .rcvp.cur
act:"", // : 账号 .rcvp.act
amtmin:"", // : 金额下限 .rcvp.amtmin
amtmax:"", // : 金额上限 .rcvp.amtmax
chnipt:"", // 行内系统 .rcvp.chnipt
tblvis:"", // 行内系统标签 .rcvp.tblvis
tblvim:"", // 活动标签 .rcvp.tblvim
blksta:"", // 黑名单状态 .rcvp.blksta
dtlchg:"", // : 费用明细 .rcvp.dtlchg
sta:"", // : 处理状态 .rcvp.sta
gpi:"", // GPI标识 .rcvp.gpi
expexl:"", // 导出 .rcvp.expexl
},
msggrp:{
rcvlst:[], // .msggrp.rcvlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.rcvp.msgtyp" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatend" style="width: 100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.rcvp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.rcvp.sndbak" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.rcvp.revbak" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.rcvp.actbic" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="20域编号" prop="ownref" style="width: 100%">
<c-input v-model="model.rcvp.ownref" maxlength="40" placeholder="请输入20域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="21域编号" prop="othref" style="width: 100%">
<c-input v-model="model.rcvp.othref" maxlength="40" placeholder="请输入21域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.cur">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账号" prop="act" style="width: 100%">
<c-input v-model="model.rcvp.act" maxlength="40" placeholder="请输入账号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="费用明细" prop="dtlchg" style="width: 100%">
<c-select v-model="model.rcvp.dtlchg" style="width: 100%" placeholder="请选择费用明细"
:code="codes.dtlchg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
:label="$t('lc.金额区间')"
style="width: 100%"
>
<c-col :span="11">
<c-input
v-model="model.rcvp.amtmin"
:placeholder="$t('lc.请输入金额下限')"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.rcvp.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="行内系统" prop="chnipt" style="width: 100%">
<c-select v-model="model.rcvp.chnipt" style="width: 100%" placeholder="请选择行内系统"
:code="codes.chnipt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理状态" prop="sta" style="width: 100%">
<c-select v-model="model.rcvp.sta" style="width: 100%" placeholder="请选择处理状态"
:code="codes.sta1">
</c-select>
</el-form-item>
</c-col>
</c-col>
</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="sb">
<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 v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
subtypCodes: [],
// isFoldDisable: true,
// isRoutingDisable: true,
multipleSelection:[],
stmData: {
columns: [
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "20域编号",
prop: "ownref",
width: "180px"
},
{
label: "21域名编号",
prop: "othref",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "账号",
prop: "act",
width: "120px"
},
{
label: "费用明细",
prop: "dtlchg",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "行内系统",
prop: "chnipt",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "actbic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
width: "250px"
},
{
label: "发报行BIC",
prop: "sndbic",
width: "150px"
},
{
label: "收报行BIC",
prop: "rcvbic",
width: "150px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "150px"
},
{
label: "GPI标识",
prop: "gpi",
width: "150px"
},
{
label: "子系统",
prop: "",
width: "150px"
},
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
watch: {
'model.rcvp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
} else {
this.subtypCodes = codes.subtyp1;
}
},
deep: true
}
},
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;
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>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Sndsel from "../model";
import event from "../event"
import Schpnl from "./Schpnl.vue"
export default {
name: "Sndsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "sndsel",
model: new Sndsel().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</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("/webapi/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;
}
},
};
import Utils from "~/utils"
/**
* Sndsel Check规则
*/
let checkObj = {
"sndp.rcvdatend" :null,
"sndp.othref" :null,
"sndp.amtmax" :null,
"sndp.msgtyp" :null,
"sndp.ownref" :null,
"sndp.revbak" :null,
"sndp.sndbak" :null,
"sndp.actbic" :null,
"sndp.amtmin" :null,
"sndp.rcvdatsta" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sndsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
export default {
"sndp.rcvdatsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sndp.rcvdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sndp.sndbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"sndp.amtmin":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"sndp.amtmax":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"sndp.usrnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
export default class Sndsel{
constructor () {
this.data = {
sndp:{
rcvdatsta:"", // : 起始日期
rcvdatend:"", // : 截止日期
msgtyp:"", // : 报文标准
subtyp:"", // : 报文类型
sndbak:"", // : 发报行BIC
revbak:"", // : 收报行BIC
actbic:"", // : 账户行
othref:"", // : 21域编号
ownref:"", // : 20域编
cur:"", // : 币种
act:"", // : 账号
amtmin:"", // : 金额下限
amtmax:"", // : 金额上限
chnipt:"", // 行内系统 .sndp.chnipt
rspsta:"", // 回执状态 .sndp.rspsta
tblrsp:"", // 回执状态标签 .sndp.tblrsp
tblrsm:"", // 回执状态标签 .sndp.tblrsm
usrnam:"", // 操作员 .sndp.usrnam
starsp:"", // 处理状态标签 .sndp.starsp
starsm:"", // 处理状态标签 .sndp.starsm
sta:"", // 处理状态 .sndp.sta
dtlchg:"", // : 费用明细
starsp1:"", // 处理状态标签1 .sndp.starsp1
starsm1:"", // 处理状态标签1 .sndp.starsm1
sta1:"", // 处理状态1 .sndp.sta1
expexl:"", // 导出 .sndp.expexl
expexl2:"", // 3910导出 .sndp.expexl2
},
msggrp:{
rcvlst:[], // .msggrp.rcvlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.sndp.msgtyp" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatend" style="width: 100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.sndp.sndbak" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.sndp.revbak" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.sndp.actbic" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="20域编号" prop="ownref" style="width: 100%">
<c-input v-model="model.sndp.ownref" maxlength="40" placeholder="请输入20域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="21域编号" prop="othref" style="width: 100%">
<c-input v-model="model.sndp.othref" maxlength="40" placeholder="请输入21域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账号" prop="act" style="width: 100%">
<c-input v-model="model.sndp.act" maxlength="40" placeholder="请输入账号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="费用明细" prop="dtlchg" style="width: 100%">
<c-select v-model="model.sndp.dtlchg" style="width: 100%" placeholder="请选择费用明细" :code="codes.dtlchg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.sndp.amtmin" :placeholder="$t('lc.请输入金额下限')" style="width: 100%"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.sndp.amtmax" :placeholder="$t('lc.请输入金额上限')" style="width: 100%"></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="行内系统" prop="chnipt" style="width: 100%">
<c-select v-model="model.sndp.chnipt" style="width: 100%" placeholder="请选择行内系统" :code="codes.chnipt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="回执状态" prop="rspsta" style="width: 100%">
<c-select v-model="model.sndp.rspsta" style="width: 100%" placeholder="请选择回执状态" :code="codes.rspsta">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理状态" prop="sta" style="width: 100%">
<c-select v-model="model.sndp.sta" style="width: 100%" placeholder="请选择处理状态" :code="codes.sta1">
</c-select>
</el-form-item>
</c-col>
</c-col>
</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 v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "20域编号",
prop: "ownref",
width: "180px"
},
{
label: "21域名编号",
prop: "othref",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "账号",
prop: "act",
width: "120px"
},
{
label: "费用明细",
prop: "dtlchg",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "行内系统",
prop: "chnipt",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "actbic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
width: "250px"
},
{
label: "发报行BIC",
prop: "sndbic",
width: "150px"
},
{
label: "收报行BIC",
prop: "rcvbic",
width: "150px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "150px"
},
{
label: "GPI标识",
prop: "gpi",
width: "150px"
},
{
label: "子系统",
prop: "",
width: "150px"
},
{
label: "处理时间",
prop: "sttdattim",
width: "150px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
watch: {
'model.sndp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
} else {
this.subtypCodes = codes.subtyp1;
}
},
deep: true
}
},
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;
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>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Sndsel from "../model";
import event from "../event"
import Schpnl from "./Schpnl.vue"
export default {
name: "Sndsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "sndsel",
model: new Sndsel().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
......@@ -28,6 +28,13 @@ module.exports = {
port: 8088,
//proxy: baseData.schemes + '://' +baseData.host,
proxy: {
'/webapi/gjzf/': {
target: baseData.schemes + '://' + baseData.hostGjzf,
changeOrigin: false,
pathRewrite: {
'^/webapi/gjzf': '/gjzf'
}
},
'/webapi/manager/': {
target: baseData.schemes + '://' + baseData.host,
changeOrigin: false,
......
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