Commit 2bb67ff0 by huangxin

dbibch交易初始化,dbiusr修改

parent f4fef989
...@@ -7215,6 +7215,13 @@ const CodeTable = { ...@@ -7215,6 +7215,13 @@ const CodeTable = {
gitamecho:[ gitamecho:[
{ label: "无特殊规定", value: "无特殊规定" }, { label: "无特殊规定", value: "无特殊规定" },
{ label: "有特殊规定,条件为:", value: "有特殊规定,条件为:" }, { label: "有特殊规定,条件为:", value: "有特殊规定,条件为:" },
],
getprt:[
{ label: "Here", value: "DEF" },
{ label: "User", value: "USR" },
{ label: "User Group", value: "USG" },
{ label: "Entity", value: "ETY" },
{ label: "<not specified>", value: "" },
] ]
} }
export default CodeTable; export default CodeTable;
import Utils from "~/utils"
/**
* Dbibch Check规则
*/
let checkObj = {
"recgrp.rec.bchflg" :null,
"recgrp.rec.lev" :null,
"recgrp.rec.lhanum" :null,
"recgrp.rec.bchkey" :null,
"recgrp.rec.decnum" :null,
"recpan.discod" :null,
"recgrp.rec.bchtyp" :null,
"recgrp.rec.upbranch" :null,
"recgrp.rec.branch" :null,
"recgrp.rec.bchgrp" :null,
"recgrp.rec.upbchkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbibch Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.rec.upbchkey" :Utils.defaultFunction,
"recgrp.rec.bchkey" :Utils.defaultFunction,
"recgrp.rec.bchtyp" :Utils.defaultFunction,
"recgrp.rec.accbch" :Utils.defaultFunction,
"recgrp.rec.branch" :Utils.defaultFunction,
"recgrp.rec.bchname" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSdamodSeainf(){
let rtnmsg = await this.executeRule("sdamod.seainf")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutAdd(){
let rtnmsg = await this.executeRule("mdibut.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutMod(){
let rtnmsg = await this.executeRule("mdibut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutDel(){
let rtnmsg = await this.executeRule("mdibut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutPrt(){
let rtnmsg = await this.executeRule("mdibut.prt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutLst(){
let rtnmsg = await this.executeRule("mdibut.lst")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onVermodVer(){
let rtnmsg = await this.executeRule("vermod.ver")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMdibutExi(){
let rtnmsg = await this.executeRule("mdibut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanSelall(){
let rtnmsg = await this.executeRule("recpan.selall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.rec.branch":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.bchname":[
{type: "string", required: false, message: "必输项"},
{max: 62,message:"长度不能超过62"}
],
"recgrp.rec.accbch":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"recgrp.rec.namen":[
{type: "string", required: false, message: "必输项"},
{max: 62,message:"长度不能超过62"}
],
"recgrp.rec.bchkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.upbranch":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.swfcod":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.rec.upbchkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.adr":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.adr2":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.rec.adren":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.adren2":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.discod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.rec.tel":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.rec.bchref":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"recgrp.rec.fax":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.rec.bchusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.bchusr2":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.decnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.lhanum":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.rec.ydjcod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.rec.lhanam":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.rec.etyexkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.bchflg":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"recgrp.rec.dzlhhh":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.rec.dzlhmc":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.rec.bchfzr":[
{type: "string", required: false, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbibch{
constructor () {
this.data = {
recgrp:{
bchulr:"",
trl:"",
rec:{
branch:"", // branch code of the other system .recgrp.rec.branch
bchname:"", // branch name .recgrp.rec.bchname
bchkey:"", // The branch do the transction .recgrp.rec.bchkey
upbranch:"", // THE HIGH LEVEL BRANCH ID .recgrp.rec.upbranch
tel:"", // TEL PHONE .recgrp.rec.tel
fax:"", // FAX .recgrp.rec.fax
adr:"", // ADDRESS .recgrp.rec.adr
adr2:"", // ADDRESS TWO LINE .recgrp.rec.adr2
swfcod:"", // SWIFT CODE .recgrp.rec.swfcod
decnum:"", // Declaration Number .recgrp.rec.decnum
etyexkey:"", // entity extkey .recgrp.rec.etyexkey
bchflg:"", // BRANCH FLAG .recgrp.rec.bchflg
bchtyp:"", // BRANCH TYPE .recgrp.rec.bchtyp
lev:"", // LEVEL OF BRANCH .recgrp.rec.lev
namen:"", // ENGLISH NAME .recgrp.rec.namen
adren:"", // ENGLISH ADDRESS .recgrp.rec.adren
adren2:"", // ENGLISH ADDRESS TWO .recgrp.rec.adren2
ydjcod:"", // 印单局'码 .recgrp.rec.ydjcod
upbchkey:"", // UP BranchKey .recgrp.rec.upbchkey
accbch:"", // 核心机构号 .recgrp.rec.accbch
bchref:"", // 机构参考号 .recgrp.rec.bchref
bchusr:"", // 核心柜员 .recgrp.rec.bchusr
lhanum:"", // 联行行号 .recgrp.rec.lhanum
lhanam:"", // 联行名称 .recgrp.rec.lhanam
bchgrp:"", // 所属押汇中心 .recgrp.rec.bchgrp
zmqflg:"", // 自�'�区标志 .recgrp.rec.zmqflg
bchusr2:"", // 核心柜员2 .recgrp.rec.bchusr2
dzlhhh:"", // 电证联行行号 .recgrp.rec.dzlhhh
dzlhmc:"", // 电证联行名称 .recgrp.rec.dzlhmc
bchfzr:"", // 机构负责人 .recgrp.rec.bchfzr
},
},
recpan:{
discod:"", // 国内地区码 .recpan.discod
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
], ],
"recgrp.rec.relamt":[ "recgrp.rec.relamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"recgrp.rec.relamt2nd":[ "recgrp.rec.relamt2nd":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -207,7 +207,7 @@ import Gctcan from "./Gctcan" ...@@ -207,7 +207,7 @@ import Gctcan from "./Gctcan"
import Trtset from "./Trtset" import Trtset from "./Trtset"
import Trtcan from "./Trtcan" import Trtcan from "./Trtcan"
import Dbiusr from "./Dbiusr" import Dbiusr from "./Dbiusr"
//import Dbibch from "./Dbibch" import Dbibch from "./Dbibch"
/** /**
...@@ -427,7 +427,7 @@ const BusRouter = [ ...@@ -427,7 +427,7 @@ const BusRouter = [
{ path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } }, { path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } },
{ path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } }, { path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } },
{ path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } }, { path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } },
//{ path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } }, { path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } },
] ]
......
<template>
<div class="eibs-tab">
<c-col :span="22">
<c-col :span="15">
<c-table :border="true" :list="model.recgrp.trl" style="text-align:center">
<el-table-column prop="bchkey" label="机构编码" width="auto"></el-table-column>
<el-table-column prop="trn" label="交易代码" width="auto"></el-table-column>
<el-table-column prop="relcur" label="授权货币" width="auto"></el-table-column>
<el-table-column prop="relamt" label="授权金额" width="auto"></el-table-column>
<el-table-column prop="relflg" label="交易属性" width="auto"></el-table-column>
</c-table>
</c-col>
<c-col :span="6" :offset="1">
<p style="font-size:15px">交易属性说明</p>
<p style="font-size:15px">1.无论金额大小均须总行看,经办行为经办,复核,总经理三人操作,总行为经办,复核两人操作。</p>
<p style="font-size:15px">2.超过一定金额一定须总行看,不超过一定金额不须总行看,但是分行总经理需要授权。</p>
<p style="font-size:15px">3.无须总行看,未超过一定金额只需经办,复核两人操作,超过一定金额需经办,复核,总经理三人操作。</p>
<p style="font-size:15px">4.需要OB两人即可授权业务。</p>
<p style="font-size:15px">5.无论金额大小均须总行看,经办行为经办,复核两人操作,总行为经办,复核两人操作。</p>
<p style="font-size:15px">空.无需总行看,经办行为经办,总经理两人操作OA。</p>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbibch/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="22" :offset="1">
<c-table :border="true" :list="model.recgrp.bchulr" style="text-align:center">
<el-table-column prop="mannam" label="client name" width="auto"></el-table-column>
<el-table-column prop="bchinr" label="BCHINR" width="auto"></el-table-column>
<el-table-column prop="bchref" label="Default Client" width="auto">
<template slot-scope="scope">
<c-checkbox disabled v-model="scope.row.bchref"></c-checkbox>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbibch/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="BCH" name="bchp0">
<c-content>
<m-bchp0 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Related clients" name="usrp3">
<c-content>
<m-usrp3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Authorization" name="trlp">
<c-content>
<m-trlp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbibch from "~/model/Dbibch"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbibch/Check"
import Default from "~/model/Dbibch/Default"
import Pattern from "~/model/Dbibch/Pattern"
import Bchp0 from "./Bchp0"
import Usrp3 from "./Usrp3"
import Trlp from "./Trlp"
export default {
name: "Dbibch",
components:{
"m-bchp0" : Bchp0,
"m-usrp3" : Usrp3,
"m-trlp" : Trlp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "bchp0",
trnName: "dbibch",
trnType: "",
model: new Dbibch().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
},
methods:{
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "usrp3") {
rulePath = "recpan.usrp3";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created:async function(){
console.log("进入dbibch交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template> <template>
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<div class="infTopBtn"> <!-- <div class="infTopBtn">
<c-button disabled size="small" type="primary">Add New</c-button> <c-button disabled size="small" type="primary">Add New</c-button>
<c-button disabled size="small" type="primary">Modify</c-button> <c-button disabled size="small" type="primary">Modify</c-button>
<c-button disabled size="small" type="primary">Delete</c-button> <c-button disabled size="small" type="primary">Delete</c-button>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<c-button disabled size="small" type="primary">Block</c-button> <c-button disabled size="small" type="primary">Block</c-button>
<c-button disabled size="small" type="primary">Reset</c-button> <c-button disabled size="small" type="primary">Reset</c-button>
<c-button size="small" type="primary">Exit</c-button> <c-button size="small" type="primary">Exit</c-button>
</div> </div> -->
<c-row class="infrow" style="margin-top: 50px;"> <c-row class="infrow" style="margin-top: 50px;">
<c-col :span="24" :offset="1"> <c-col :span="24" :offset="1">
......
<template> <template>
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<div class="infTopBtn"> <!-- <div class="infTopBtn">
<c-button disabled size="small" type="primary">Add New</c-button> <c-button disabled size="small" type="primary">Add New</c-button>
<c-button disabled size="small" type="primary">Modify</c-button> <c-button disabled size="small" type="primary">Modify</c-button>
<c-button disabled size="small" type="primary">Delete</c-button> <c-button disabled size="small" type="primary">Delete</c-button>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<c-button disabled size="small" type="primary">Block</c-button> <c-button disabled size="small" type="primary">Block</c-button>
<c-button disabled size="small" type="primary">Reset</c-button> <c-button disabled size="small" type="primary">Reset</c-button>
<c-button size="small" type="primary">Exit</c-button> <c-button size="small" type="primary">Exit</c-button>
</div> </div> -->
<c-row class="infrow" style="margin-top:50px;"> <c-row class="infrow" style="margin-top:50px;">
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -35,19 +35,11 @@ ...@@ -35,19 +35,11 @@
</c-row> </c-row>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-row> <c-col :span="20">
<c-col :span="10">
<el-form-item label="Name" prop="recgrp.usrsec.nam"> <el-form-item label="Name" prop="recgrp.usrsec.nam">
<c-input disabled v-model="model.recgrp.usrsec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input disabled v-model="model.recgrp.usrsec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10">
<el-form-item label="Drag Drop Sender" prop="recpan.recget.sdamod.dadsnd" label-width="120px">
<c-input disabled v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender">
</c-input>
</el-form-item>
</c-col>
</c-row>
</c-col> </c-col>
</c-row> </c-row>
...@@ -95,9 +87,13 @@ ...@@ -95,9 +87,13 @@
<c-checkbox disabled v-model="model.recgrp.usrsec.dsgflg">Designer</c-checkbox> <c-checkbox disabled v-model="model.recgrp.usrsec.dsgflg">Designer</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="" prop="recgrp.usrsec.admflg" label-width="20"> <el-form-item v-if="(model.recgrp.usrsec.dsgflg=='X' && model.recgrp.rec.extkey.length > 3) ||(model.recgrp.usrsec.td2usr!='')" label="Short ID" prop="recgrp.usrsec.td2usr">
<c-checkbox disabled v-model="model.recgrp.usrsec.admflg">Security Administrator</c-checkbox> <c-input v-model="model.recgrp.usrsec.td2usr" maxlength="3"
:disabled="(!!model.recgrp.usrsec.dsgflg && model.recgrp.rec.extkey.length > 3) ? false : true"
placeholder="请输入Short User-Id for ModCodes">
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
...@@ -119,11 +115,8 @@ ...@@ -119,11 +115,8 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-row> <c-row>
<c-col :span="20"> <c-col :span="20">
<el-form-item label="TD2USRLAB" prop="recgrp.usrsec.td2usr"> <el-form-item label="" prop="recgrp.usrsec.admflg" >
<c-input v-model="model.recgrp.usrsec.td2usr" maxlength="3" <c-checkbox disabled v-model="model.recgrp.usrsec.admflg">Security Administrator</c-checkbox>
:disabled="(!!model.recgrp.usrsec.dsgflg && model.recgrp.rec.extkey.length > 3) ? false : true"
placeholder="请输入Short User-Id for ModCodes">
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
...@@ -337,8 +330,18 @@ ...@@ -337,8 +330,18 @@
<c-row class="infrow"> <c-row class="infrow">
<c-col :span="22" :offset="1"> <c-col :span="22" :offset="1">
<c-table :border="true" :list="model.recpan.prtmod.prtgrd" style="text-align:center"> <c-table :border="true" :list="model.recpan.prtmod.prtgrd" style="text-align:center">
<el-table-column prop="tef" label="Technical Form" width="auto"></el-table-column> <el-table-column prop="tef" label="Technical Form" width="auto">
<el-table-column prop="getprt" label="Get Printer from:" width="auto"></el-table-column> <template slot-scope="scope">
<c-select disabled v-model="scope.row.tef" :code="codes.tef">
</c-select>
</template>
</el-table-column>
<el-table-column prop="getprt" label="Get Printer from:" width="auto">
<template slot-scope="scope">
<c-select disabled v-model="scope.row.getprt" :code="codes.getprt">
</c-select>
</template>
</el-table-column>
<el-table-column prop="prt" label="Printer" width="auto"></el-table-column> <el-table-column prop="prt" label="Printer" width="auto"></el-table-column>
<el-table-column prop="bin" label="Paperbin" width="auto"></el-table-column> <el-table-column prop="bin" label="Paperbin" width="auto"></el-table-column>
<el-table-column prop="bin2" label="Bin for 2nd Page" width="auto"></el-table-column> <el-table-column prop="bin2" label="Bin for 2nd Page" width="auto"></el-table-column>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<c-content class="eibs-tab" :height="200"> <c-content class="eibs-tab" :height="200">
<div class="infTopBtn"> <div class="infTopBtn">
<c-button size="small" type="primary">全空</c-button> <c-button disabled size="small" type="primary">全空</c-button>
<c-button size="small" type="primary">全选</c-button> <c-button disabled size="small" type="primary">全选</c-button>
</div> </div>
<c-row class="infrow" style="margin-top: 50px;"> <c-row class="infrow" style="margin-top: 50px;">
...@@ -12,9 +12,21 @@ ...@@ -12,9 +12,21 @@
<el-table-column prop="mannam" label="Client name" width="auto"></el-table-column> <el-table-column prop="mannam" label="Client name" width="auto"></el-table-column>
<el-table-column prop="bchinr" label="Bchinr" width="auto"></el-table-column> <el-table-column prop="bchinr" label="Bchinr" width="auto"></el-table-column>
<el-table-column prop="branch" label="机构号" width="auto"></el-table-column> <el-table-column prop="branch" label="机构号" width="auto"></el-table-column>
<el-table-column prop="usracc" label="Related Client" width="auto"></el-table-column> <el-table-column prop="usracc" label="Related Client" width="auto">
<el-table-column prop="usrdef" label="Default Client" width="auto"></el-table-column> <template slot-scope="scope">
<el-table-column prop="assignflg" label="是否参与任务分配" width="auto"></el-table-column> <c-checkbox disabled v-model="scope.row.usracc"></c-checkbox>
</template>
</el-table-column>
<el-table-column prop="usrdef" label="Default Client" width="auto">
<template slot-scope="scope">
<c-checkbox disabled v-model="scope.row.usrdef"></c-checkbox>
</template>
</el-table-column>
<el-table-column prop="assignflg" label="是否参与任务分配" width="auto">
<template slot-scope="scope">
<c-checkbox disabled v-model="scope.row.assignflg"></c-checkbox>
</template>
</el-table-column>
<el-table-column prop="objlst" label="可处理业务品种" width="auto"></el-table-column> <el-table-column prop="objlst" label="可处理业务品种" width="auto"></el-table-column>
</c-table> </c-table>
</c-col> </c-col>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="User Profile" name="usrp0"> <el-tab-pane label="User Profile" name="usrp0">
<c-content> <c-content>
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
<el-tab-pane label="Related clients" name="usrp3"> <el-tab-pane label="Related clients" name="usrp3">
<c-content>
<m-usrp3 :model="model" :codes="codes"/> <m-usrp3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -75,8 +77,22 @@ export default { ...@@ -75,8 +77,22 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){ myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "ubrp") {
rulePath = "recpan.ubrp";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} }
});
}
},
}, },
created:async function(){ created:async function(){
console.log("进入dbiusr交易"); console.log("进入dbiusr交易");
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" }, //{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{ inifrm: "10", ininam: "参数管理", pntmiu: "" }, { inifrm: "10", ininam: "参数管理", pntmiu: "" },
{ inifrm: "dbiusr", ininam: "Dbiusr", pntmiu: "10" }, { inifrm: "dbiusr", ininam: "Dbiusr", pntmiu: "10" },
//{ inifrm: "dbibch", ininam: "Dbibch", pntmiu: "10" }, { inifrm: "dbibch", ininam: "Dbibch", pntmiu: "10" },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "10" }, { inifrm: "infusr", ininam: "用户信息", pntmiu: "10" },
{ inifrm: "11", ininam: "卖方信用证", pntmiu: "" }, { inifrm: "11", ininam: "卖方信用证", pntmiu: "" },
{ inifrm: "detopn", ininam: "卖方信用证开立", pntmiu: "11" }, { inifrm: "detopn", ininam: "卖方信用证开立", pntmiu: "11" },
......
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