Commit 2b666fca by nanrui

Botacc的Coninfp和Ptyp面板排版以及公共面板引入

parent 73a16a58
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botacc{
constructor () {
......@@ -166,6 +167,10 @@ export default class Botacc{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt"
data-path=".mtabut.coninf.oitinf.labinftxt"></span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt">
</span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%"
placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-fullbox>
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID">
</c-input>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -56,19 +74,18 @@ import Event from "~/model/Botacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.drrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.colp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
<c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.drrp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrrpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.col.pts.extkey">
<c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.colp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onColpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.drr.namelc">
<c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.col.namelc">
<c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.drr.adrelc">
<c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.col.adrelc">
<c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.drep.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.dre.pts.extkey">
<c-input v-model="model.bodgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.drep.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrepDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.dre.namelc">
<c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.dre.adrelc">
<c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.botp.ptsaddp.ptsaddg"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="ref"
label="名称"
sortable
width="100">
</el-table-column>
</el-table>
<!-- <el-pagination
<div class="eibs-tab">
<!-- <c-col :span="24">
<c-col :span="11">
<el-form-item label="Drag Drop Sender" prop="botp.drrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender">
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drag Drop Sender" prop="botp.colp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender">
</c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Drawer Ref." prop="bodgrp.drr.pts.ref">
<c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" style="width: 100%" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
<c-fullbox>
<c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address">
</c-input>
<template slot="footer">
<c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button style="margin:0 0" size="small" type="primary" disabled>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Collecting Bank Ref." prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" style="width: 100%" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey Key of Address" prop="bodgrp.col.pts.extkey">
<c-fullbox>
<c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address">
</c-input>
<template slot="footer">
<c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button style="margin:0 0" size="small" type="primary" disabled>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="margin-top:15px">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input disabled v-model="model.bodgrp.dre.pts.ref" maxlength="16" style="width: 100%"
placeholder="请输入Application Ref"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bodgrp.dre.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.bodgrp.dre.pts.extkey" maxlength="50"
placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button style="margin:0 0" size="small" type="primary" disabled>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="botp.drrp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrrpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.colp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onColpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.drr.namelc">
<c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.col.namelc">
<c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.drr.adrelc">
<c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.col.adrelc">
<c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.drep.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.drep.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrepDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.dre.namelc">
<c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.dre.adrelc">
<c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24"> -->
<!-- <div class="e-table-wrapper"> -->
<!-- <el-table :data="model.botp.ptsaddp.ptsaddg" style="width: 100%">
<el-table-column prop="rol" label="角色" sortable width="100">
</el-table-column>
<el-table-column prop="ptyextkey" label="机构" sortable width="100">
</el-table-column>
<el-table-column prop="nam" label="" sortable width="100">
</el-table-column>
<el-table-column prop="ref" label="名称" sortable width="100">
</el-table-column>
</el-table> -->
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.botp_ptsaddp_ptsaddg.total">
</el-pagination> -->
</div>
</c-col>
</div>
<!-- </div> -->
<!-- </c-col> -->
<c-col :span="24">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" text-align="center">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情
</el-button>
</template>
</el-table-column>
</c-edit-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/Botacc/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "机构实体",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
width: "300px",
dataIndex: "nam",
},
{
title: "参考地址",
width: "300px",
dataIndex: "ref",
},
],
urls: "botp.ptsaddp.ptsaddg",
},
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
......@@ -28,8 +28,13 @@
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="setpan" name="setpan">
<!-- <el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="setpan" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
......@@ -39,7 +44,9 @@
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<m-docpan :model="model" :codes="codes" />
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
......@@ -65,10 +72,12 @@ import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
import Setpan from "./Setpan"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
export default {
......@@ -91,7 +100,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
tabVal: "ptyp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......
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