Commit 3dafae10 by 潘际乾

sptrel、sptrou

parent 674a8ec9
import Utils from "~/utils"
/**
* Sptrel Check规则
*/
let checkObj = {
"inidatfro" :null,
"inidattil" :null,
"atpget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"usfmod.flt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usr.extkey" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndsp(){
let rtnmsg = await this.executeRule("trndsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptrel{
constructor () {
this.data = {
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
selobj:"", // Reference .selobj
seltxt:"", // Name .seltxt
usr:{
extkey:"", // User ID .usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usrget.sdamod.seainf
},
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
sptstm:"", // List of SPT records .sptstm
sta:"", // Status .sta
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Sptrou Check规则
*/
let checkObj = {
"spt.wrkgrp" :null,
"recpan.dpcget.sdamod.dadsnd" :null,
"spt.wrkusr" :null,
"recpan.atpget.sdamod.dadsnd" :null,
"recpan.conget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptrou Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"spt.inftxt" :Utils.defaultFunction,
"spt.wrkgrp" :Utils.defaultFunction,
"srvprtm.prtmod.cltprtflg" :Utils.defaultFunction,
"srvprtm.prt.prt" :Utils.defaultFunction,
"srvprtm.prt.bin2" :Utils.defaultFunction,
"spt.objnam" :Utils.defaultFunction,
"spt.sta" :Utils.defaultFunction,
"spt.wrkusr" :Utils.defaultFunction,
"srvprtm.prt.bin" :Utils.defaultFunction,
"recpan.atp.cod" :Utils.defaultFunction,
"srvprtm.prt.tef" :Utils.defaultFunction,
"recpan.conget.selref" :Utils.defaultFunction,
"recpan.contxt" :Utils.defaultFunction,
"recpan.filnam" :Utils.defaultFunction,
"chgetyprt" :Utils.defaultFunction,
"srvprtm.prt.cpycnt" :Utils.defaultFunction,
"recpan.dpcget.selref" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDisp(){
let rtnmsg = await this.executeRule("disp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanShw(){
let rtnmsg = await this.executeRule("recpan.shw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recpan.filpth":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"spt.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"spt.txt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recpan.conget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.conget.selref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.conget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.conget.selnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.dpcget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.dpcget.selref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.dpcget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.dpcget.selnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"spt.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"spt.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"spt.cretrn":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"srvprtm.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvprtm.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptrou{
constructor () {
this.data = {
recpan:{
contxt:"", // text .recpan.contxt
filpth:"", // File Path .recpan.filpth
filnam:"", // File Name .recpan.filnam
atp:{
cod:"", // Transaction .recpan.atp.cod
},
atpget:{
sdamod:{
seainf:"", // .recpan.atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
},
},
atptxt:"", // Application Transaction Profile Code .recpan.atptxt
conget:{
refnum:"", // Reference No. .recpan.conget.refnum
selref:"", // Refecence of selected contract .recpan.conget.selref
selnam:"", // name of selected contract .recpan.conget.selnam
sdamod:{
seainf:"", // .recpan.conget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.conget.sdamod.dadsnd
},
},
dpcget:{
refnum:"", // Reference No. .recpan.dpcget.refnum
selref:"", // Refecence of selected contract .recpan.dpcget.selref
selnam:"", // name of selected contract .recpan.dpcget.selnam
sdamod:{
seainf:"", // .recpan.dpcget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.dpcget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
},
spt:{
sta:"", // Type .spt.sta
objnam:"", // Message Reference .spt.objnam
txt:"", // Name .spt.txt
inftxt:"", // Info Text .spt.inftxt
infdsp:"", // Info Text .spt.infdsp
usr:"", // Entered by .spt.usr
cretrn:"", // Creating Transaction ID .spt.cretrn
dattim:"", // Time of Creation .spt.dattim
wrkusr:"", // Work User .spt.wrkusr
wrkgrp:"", // WORK GROUP .spt.wrkgrp
},
srvprtm:{
prt:{
heatxt:"", // Text for Header .srvprtm.prt.heatxt
tef:"", // Technical Form .srvprtm.prt.tef
getprt:"", // Default Printer from: .srvprtm.prt.getprt
prt:"", // Printer .srvprtm.prt.prt
bin:"", // Paperbin .srvprtm.prt.bin
bin2:"", // Bin for 2nd Page .srvprtm.prt.bin2
cpycnt:"", // # of Copies .srvprtm.prt.cpycnt
},
prtmod:{
cltprtflg:"", // Client Printing .srvprtm.prtmod.cltprtflg
},
},
chgetyprt:"", // Print message when entity is changed .chgetyprt
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -10,6 +10,8 @@ import Tstopn from "./Tstopn"
import Bdtudp from "./Bdtudp"
import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta"
import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
const BusRouter = [
......@@ -25,6 +27,8 @@ const BusRouter = [
{path:'trndtl',query:'inr',component:Trndtl},
{path:'tstopn',component:Tstopn},
{path:'infpta',component:Infpta},
{path:'sptrel',component:Sptrel},
{path:'sptrou',component:Sptrou},
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Filter" prop="usfmod.flt">
<c-select v-model="model.usfmod.flt" style="width:100%" placeholder="请选择Filter">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsfmodShwflt">
Sho&w Set
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="selobj">
<c-input v-model="model.selobj" maxlength="32" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.usfmod.labtxt" data-path=".usfmod.labtxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
<c-select v-model="model.usfmod.selusgset" style="width:100%" placeholder="请选择Selected User Group Set">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="usfmod.usr.extkey">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group" prop="usfmod.selusg">
<c-select v-model="model.usfmod.selusg" style="width:100%" placeholder="请选择Selected User Group">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Select user branch" prop="usfmod.selusb">
<c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择Select user branch">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="usfmod.usrget.sdamod.seainf">
<c-input v-model="model.usfmod.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="seltxt">
<c-input v-model="model.seltxt" maxlength="32" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="atpget.sdamod.dadsnd">
<c-input v-model="model.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="usr.extkey">
<c-input v-model="model.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="usrget.sdamod.seainf">
<c-input v-model="model.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction Type " prop="atp.cod">
<c-input v-model="model.atp.cod" maxlength="6" placeholder="请输入Transaction Type "></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="atpget.sdamod.seainf">
<c-input v-model="model.atpget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of entry of Transaction" prop="inidatfro">
<c-date-picker type="date" v-model="model.inidatfro" style="width:100%" placeholder="请选择Date of entry of Transaction"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of entry of Transaction until" prop="inidattil">
<c-date-picker type="date" v-model="model.inidattil" style="width:100%" placeholder="请选择Date of entry of Transaction until"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction Text" prop="atptxt">
<c-input v-model="model.atptxt" maxlength="37" placeholder="请输入Transaction Text"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="sta">
<c-select v-model="model.sta" style="width:100%" placeholder="请选择Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="List of SPT records" prop="sptstm">
<c-input v-model="model.sptstm" placeholder="请输入List of SPT records"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndsp">
>>
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptrel/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="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000042 -->
<el-tab-pane label="PD000042" name="menu">
<m-menu :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptrel from "~/model/Sptrel"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Sptrel/Check"
import Default from "~/model/Sptrel/Default"
import Pattern from "~/model/Sptrel/Pattern"
import Menu from "./Menu"
export default {
components:{
"m-menu" : Menu,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "menu",
trnName: "sptrel",
model: new Sptrel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入sptrel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.chgetyprt">Print message when entity is changed</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Client Printing" prop="srvprtm.prtmod.cltprtflg">
<c-select v-model="model.srvprtm.prtmod.cltprtflg" style="width:100%" placeholder="请选择Client Printing">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Text for Header" prop="srvprtm.prt.heatxt">
<c-input v-model="model.srvprtm.prt.heatxt" maxlength="40" placeholder="请输入Text for Header"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Technical Form" prop="srvprtm.prt.tef">
<c-select v-model="model.srvprtm.prt.tef" style="width:100%" placeholder="请选择Technical Form">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Default Printer from:" prop="srvprtm.prt.getprt">
<c-select v-model="model.srvprtm.prt.getprt" style="width:100%" placeholder="请选择Default Printer from:">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Printer" prop="srvprtm.prt.prt">
<c-select v-model="model.srvprtm.prt.prt" style="width:100%" placeholder="请选择Printer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Paperbin" prop="srvprtm.prt.bin">
<c-select v-model="model.srvprtm.prt.bin" style="width:100%" placeholder="请选择Paperbin">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Bin for 2nd Page" prop="srvprtm.prt.bin2">
<c-select v-model="model.srvprtm.prt.bin2" style="width:100%" placeholder="请选择Bin for 2nd Page">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="# of Copies" prop="srvprtm.prt.cpycnt">
<c-input v-model="model.srvprtm.prt.cpycnt" placeholder="请输入# of Copies"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptrou/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="12">
<el-form-item label="File Path" prop="recpan.filpth">
<c-input v-model="model.recpan.filpth" maxlength="80" placeholder="请输入File Path"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="File Name" prop="recpan.filnam">
<c-select v-model="model.recpan.filnam" style="width:100%" placeholder="请选择File Name">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanShw">
Show Inc.
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Type" prop="spt.sta">
<c-select v-model="model.spt.sta" style="width:100%" placeholder="请选择Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Message Reference" prop="spt.objnam">
<c-input v-model="model.spt.objnam" maxlength="40" placeholder="请输入Message Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="spt.txt">
<c-input v-model="model.spt.txt" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction" prop="recpan.atp.cod">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.atpget.sdamod.seainf">
<c-input v-model="model.recpan.atpget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.atpget.sdamod.dadsnd">
<c-input v-model="model.recpan.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Application Transaction Profile Code" prop="recpan.atptxt">
<c-input v-model="model.recpan.atptxt" maxlength="60" placeholder="请输入Application Transaction Profile Code"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.contxt" data-path=".recpan.contxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.conget.sdamod.dadsnd">
<c-input v-model="model.recpan.conget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.conget.refnum" data-path=".recpan.conget.refnum" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Refecence of selected contract" prop="recpan.conget.selref">
<c-input v-model="model.recpan.conget.selref" maxlength="40" placeholder="请输入Refecence of selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.conget.sdamod.seainf">
<c-input v-model="model.recpan.conget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="name of selected contract" prop="recpan.conget.selnam">
<c-input v-model="model.recpan.conget.selnam" maxlength="40" placeholder="请输入name of selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.dpcget.sdamod.dadsnd">
<c-input v-model="model.recpan.dpcget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.dpcget.refnum" data-path=".recpan.dpcget.refnum" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Refecence of selected contract" prop="recpan.dpcget.selref">
<c-input v-model="model.recpan.dpcget.selref" maxlength="40" placeholder="请输入Refecence of selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.dpcget.sdamod.seainf">
<c-input v-model="model.recpan.dpcget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="name of selected contract" prop="recpan.dpcget.selnam">
<c-input v-model="model.recpan.dpcget.selnam" maxlength="40" placeholder="请输入name of selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Work User" prop="spt.wrkusr">
<c-select v-model="model.spt.wrkusr" style="width:100%" placeholder="请选择Work User">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.usrget.sdamod.seainf">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="WORK GROUP" prop="spt.wrkgrp">
<c-select v-model="model.spt.wrkgrp" style="width:100%" placeholder="请选择WORK GROUP">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Info Text" prop="spt.inftxt">
<c-input type="textarea" v-model="model.spt.inftxt" maxlength="65" show-word-limit placeholder="请输入Info Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Info Text" prop="spt.infdsp">
<c-select v-model="model.spt.infdsp" style="width:100%" placeholder="请选择Info Text">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Entered by" prop="spt.usr">
<c-input v-model="model.spt.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Time of Creation" prop="spt.dattim">
<c-input v-model="model.spt.dattim" placeholder="请输入Time of Creation"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Creating Transaction ID" prop="spt.cretrn">
<c-input v-model="model.spt.cretrn" maxlength="6" placeholder="请输入Creating Transaction ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptrou/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="12">
<c-button size="small" type="primary" @click="onDisp">
Display
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
E&xit
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptrou/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="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 -->
<el-tab-pane label="PD000052" name="sptroup">
<m-sptroup :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000035 -->
<el-tab-pane label="PD000035" name="sptnegp">
<m-sptnegp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000090 -->
<el-tab-pane label="PD000090" name="prtcfg">
<m-prtcfg :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptrou from "~/model/Sptrou"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Sptrou/Check"
import Default from "~/model/Sptrou/Default"
import Pattern from "~/model/Sptrou/Pattern"
import Sptroup from "./Sptroup"
import Sptnegp from "./Sptnegp"
import Prtcfg from "./Prtcfg"
export default {
components:{
"m-sptroup" : Sptroup,
"m-sptnegp" : Sptnegp,
"m-prtcfg" : Prtcfg,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "sptroup",
trnName: "sptrou",
model: new Sptrou().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入sptrou交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//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