Commit 864a60ec by 潘际乾
parents e9a6cf05 80c3c3de
import Utils from "~/utils"
/**
* Mgrtsk Check规则
*/
let checkObj = {
"wfetsk.tsklist.redotime" :null,
"wfetsk.tsklist.downtimehh" :null,
"srvswt.job" :null,
"srvswt.ownbic" :null,
"srvtco.job" :null,
"wfetsk.tsklist.downtimemm" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Mgrtsk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"srvswt.jobexe" :Utils.defaultFunction,
"srvcln.exeflg" :Utils.defaultFunction,
"srvprs.cltprtflg" :Utils.defaultFunction,
"wfetsk.seletyextkey" :Utils.defaultFunction,
"wfetsk.seletgextkey" :Utils.defaultFunction,
"srvprr.headup" :Utils.defaultFunction,
"srvswt.exeflg" :Utils.defaultFunction,
"wfetsk.tsklist.strflg" :Utils.defaultFunction,
"wfetsk.tsklist.terflg" :Utils.defaultFunction,
"srvtco.exeflg" :Utils.defaultFunction,
"srvprt.cltprtflg" :Utils.defaultFunction,
"srvprt.headup" :Utils.defaultFunction,
"srvprr.cltprtflg" :Utils.defaultFunction,
"wfetsk.tsklist.downtimehh" :Utils.defaultFunction,
"srvtco.lstflg" :Utils.defaultFunction,
"wfetsk.wfestm" :Utils.defaultFunction,
"srvtco.jobexe" :Utils.defaultFunction,
"srvprs.headup" :Utils.defaultFunction,
"wfetsk.tsklist.downtimemm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onTsklistButstr(){
let rtnmsg = await this.executeRule("tsklist.butstr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTsklistButstp(){
let rtnmsg = await this.executeRule("tsklist.butstp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTsklistButexe(){
let rtnmsg = await this.executeRule("tsklist.butexe")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTsklistButupd(){
let rtnmsg = await this.executeRule("tsklist.butupd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLogdspButdsp(){
let rtnmsg = await this.executeRule("logdsp.butdsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTsklistButexi(){
let rtnmsg = await this.executeRule("tsklist.butexi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"wfetsk.tsklist.jobstrdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"wfetsk.tsklist.jobstrtimhh":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.jobstrtimmm":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.downtimehh":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.downtimemm":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.redotime":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"wfetsk.seletgextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"wfetsk.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"srvprt.headup":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvpds.rettim":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"srvpdp.rettim":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"srvprr.headup":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswt.ownbic":[
{type: "string", required: true, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"srvswt.outdir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswt.job":[
{type: "string", required: false, message: "必输项"},
{max: 58,message:"长度不能超过58"}
],
"srvtco.owntid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"srvtco.outdir":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"srvtco.job":[
{type: "string", required: false, message: "必输项"},
{max: 58,message:"长度不能超过58"}
],
"srvtco.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtlx.outdir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvpda.rettim":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"srvprs.headup":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvprt.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvprr.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvprs.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.ascin":[
{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 Mgrtsk{
constructor () {
this.data = {
wfetsk:{
labetyextkey:"", // Label Selected Entity ID .wfetsk.labetyextkey
labetgextkey:"", // Label Selected Entity Group .wfetsk.labetgextkey
tsklist:{
bcklab:"", // 'Running in background' label .wfetsk.tsklist.bcklab
ininam:"", // Name of INI-File .wfetsk.tsklist.ininam
timzonlab:"", // Label to display timezone .wfetsk.tsklist.timzonlab
strflg:"", // Automatic Start Flag .wfetsk.tsklist.strflg
jobstrdat:"", // Start Time of Job Date .wfetsk.tsklist.jobstrdat
jobstrtimhh:"", // Start Time of Job HH .wfetsk.tsklist.jobstrtimhh
jobstrtimmm:"", // Start Time of Job MM .wfetsk.tsklist.jobstrtimmm
terflg:"", // Automatic Termination Flag .wfetsk.tsklist.terflg
downtimehh:"", // Automatic Shutdown at hh .wfetsk.tsklist.downtimehh
downtimemm:"", // Automatic Shutdown at mm .wfetsk.tsklist.downtimemm
redotime:"", // Redotime .wfetsk.tsklist.redotime
},
seletyextkey:"", // Selected Entity ID .wfetsk.seletyextkey
seletgextkey:"", // Selected Entity Group .wfetsk.seletgextkey
wfestm:"", // Stream of WFE entries .wfetsk.wfestm
},
srvprt:{
exeflg1:"", // Print Documents .srvprt.exeflg1
exeflg2:"", // Print Documents .srvprt.exeflg2
exeflg3:"", // Print Documents .srvprt.exeflg3
exeflg4:"", // Print Documents .srvprt.exeflg4
exeflg5:"", // Print Documents .srvprt.exeflg5
cltprtflg:"", // Print System .srvprt.cltprtflg
headup:"", // Additional Header for Duplicates .srvprt.headup
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvprt.prtmod.prttstblk
},
},
srvpds:{
exeflg:"", // required sigantures check .srvpds.exeflg
rettim:"", // Wait before 'Retry' .srvpds.rettim
},
srvpdp:{
exeflg:"", // pending predecessors check .srvpdp.exeflg
rettim:"", // Wait before 'Retry' .srvpdp.rettim
},
srvcom:{
exeflg:"", // make transaction irrevertible .srvcom.exeflg
},
srvprr:{
exeflg1:"", // Print Documents .srvprr.exeflg1
exeflg2:"", // Print Documents .srvprr.exeflg2
exeflg3:"", // Print Documents .srvprr.exeflg3
exeflg4:"", // Print Documents .srvprr.exeflg4
exeflg5:"", // Print Documents .srvprr.exeflg5
cltprtflg:"", // Print System .srvprr.cltprtflg
headup:"", // Additional Header for Duplicates .srvprr.headup
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvprr.prtmod.prttstblk
},
},
srvswt:{
exeflg:"", // Outgoing SWIFT .srvswt.exeflg
ownbic:"", // Own BIC code .srvswt.ownbic
delivrcod:"", // Delivery Monitoring Code .srvswt.delivrcod
obsper:"", // Obsolescense Period .srvswt.obsper
fil:"", // File Format .srvswt.fil
outdir:"", // Pathname .srvswt.outdir
etydirflg:"", // Separate Directory per Entity .srvswt.etydirflg
jobexe:"", // Jobexecution .srvswt.jobexe
job:"", // Job to executed on successful export .srvswt.job
},
srvtco:{
owntidlbl:"", // Label for 'Own TID' .srvtco.owntidlbl
exeflg:"", // TradeConnect/BranchConnect .srvtco.exeflg
owntid:"", // Own TID .srvtco.owntid
outdir:"", // Pathname .srvtco.outdir
tidflg:"", // Dont Write in Subdirectories .srvtco.tidflg
etydirflg:"", // Separate Directory per Entity .srvtco.etydirflg
lstflg:"", // Dont Create Listfiles .srvtco.lstflg
tecpdfflg:"", // Send technical messages formatted .srvtco.tecpdfflg
jobexe:"", // Jobexecution .srvtco.jobexe
job:"", // Job to executed on successful export .srvtco.job
heatxt:"", // Text for Header .srvtco.heatxt
},
srvtlx:{
srvnam:"", // Name of service .srvtlx.srvnam
exeflg:"", // Telex .srvtlx.exeflg
outdir:"", // Pathname .srvtlx.outdir
},
srvpda:{
exeflg:"", // cxheck open ACKs .srvpda.exeflg
rettim:"", // Wait before 'Retry' .srvpda.rettim
},
srvprs:{
exeflg1:"", // Print Documents .srvprs.exeflg1
exeflg2:"", // Print Documents .srvprs.exeflg2
exeflg3:"", // Print Documents .srvprs.exeflg3
exeflg4:"", // Print Documents .srvprs.exeflg4
exeflg5:"", // Print Documents .srvprs.exeflg5
cltprtflg:"", // Print System .srvprs.cltprtflg
headup:"", // Additional Header for Duplicates .srvprs.headup
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvprs.prtmod.prttstblk
},
},
srvcln:{
exeflg:"", // Cleanup files and tables .srvcln.exeflg
evtdel:"", // Delete Event Records EVT .srvcln.evtdel
bimdel:"", // Delete Before Image Files BIM .srvcln.bimdel
datdel:"", // Delete Transaction Data Files DAT .srvcln.datdel
dspdel:"", // Delete Display Files .DSP .srvcln.dspdel
sepdel:"", // Delete SEPDATA .dat .srvcln.sepdel
wfdcre:"", // Create WFD entries .srvcln.wfdcre
},
docimm:{
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
ascin:"", // Message as stream .docimm.ascin
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Switsk Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Switsk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Switsk{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -16,6 +16,8 @@ import Sptrel from "./Sptrel" ...@@ -16,6 +16,8 @@ import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou" import Sptrou from "./Sptrou"
import Bddsel from "./Bddsel" import Bddsel from "./Bddsel"
import Infbdd from "./Infbdd" import Infbdd from "./Infbdd"
import Mgrtsk from "./Mgrtsk"
import Switsk from "./Switsk"
const BusRouter = [ const BusRouter = [
...@@ -37,6 +39,8 @@ const BusRouter = [ ...@@ -37,6 +39,8 @@ const BusRouter = [
{path:'sptrou',component:Sptrou}, {path:'sptrou',component:Sptrou},
{path:'bddsel',component:Bddsel}, {path:'bddsel',component:Bddsel},
{path:'infbdd',component:Infbdd}, {path:'infbdd',component:Infbdd},
{path:'mgrtsk',component:Mgrtsk},
{path:'switsk',component:Switsk},
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.srvcln.exeflg">Cleanup files and tables</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.evtdel">Delete Event Records EVT</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.bimdel">Delete Before Image Files BIM</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.datdel">Delete Transaction Data Files DAT</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.dspdel">Delete Display Files .DSP</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.sepdel">Delete SEPDATA .dat</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.wfdcre">Create WFD entries</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Mgrtsk/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="XMLPanel prtswtp的内置block" prop="docimm.prtswtpblk">
<c-input type="textarea" v-model="model.docimm.prtswtpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtp的内置block" ></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/Mgrtsk/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="Message as stream" prop="docimm.ascin">
<c-input v-model="model.docimm.ascin" placeholder="请输入Message as stream"></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/Mgrtsk/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="XMLPanel prtswtrp的内置block" prop="docimm.prtswtrpblk">
<c-input type="textarea" v-model="model.docimm.prtswtrpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtrp的内置block" ></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/Mgrtsk/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="XMLPanel prttst的内置block" prop="srvprs.prtmod.prttstblk">
<c-input type="textarea" v-model="model.srvprs.prtmod.prttstblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prttst的内置block" ></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/Mgrtsk/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Mgrtsk/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="Automatic Start Flag" prop="wfetsk.tsklist.strflg">
<c-select v-model="model.wfetsk.tsklist.strflg" style="width:100%" placeholder="请选择Automatic Start Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButstr">
&Start
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButstp">
S&top
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.wfetsk.tsklist.bcklab" data-path=".wfetsk.tsklist.bcklab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job Date" prop="wfetsk.tsklist.jobstrdat">
<c-date-picker type="date" v-model="model.wfetsk.tsklist.jobstrdat" style="width:100%" placeholder="请选择Start Time of Job Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job HH" prop="wfetsk.tsklist.jobstrtimhh">
<c-input v-model="model.wfetsk.tsklist.jobstrtimhh" placeholder="请输入Start Time of Job HH"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job MM" prop="wfetsk.tsklist.jobstrtimmm">
<c-input v-model="model.wfetsk.tsklist.jobstrtimmm" placeholder="请输入Start Time of Job MM"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.wfetsk.labetyextkey" data-path=".wfetsk.labetyextkey" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Termination Flag" prop="wfetsk.tsklist.terflg">
<c-select v-model="model.wfetsk.tsklist.terflg" style="width:100%" placeholder="请选择Automatic Termination Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Shutdown at hh" prop="wfetsk.tsklist.downtimehh">
<c-input v-model="model.wfetsk.tsklist.downtimehh" placeholder="请输入Automatic Shutdown at hh"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Shutdown at mm" prop="wfetsk.tsklist.downtimemm">
<c-input v-model="model.wfetsk.tsklist.downtimemm" placeholder="请输入Automatic Shutdown at mm"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selected Entity ID" prop="wfetsk.seletyextkey">
<c-select v-model="model.wfetsk.seletyextkey" style="width:100%" placeholder="请选择Selected Entity ID">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.wfetsk.tsklist.timzonlab" data-path=".wfetsk.tsklist.timzonlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Redotime" prop="wfetsk.tsklist.redotime">
<c-input v-model="model.wfetsk.tsklist.redotime" placeholder="请输入Redotime"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.wfetsk.labetgextkey" data-path=".wfetsk.labetgextkey" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Selected Entity Group" prop="wfetsk.seletgextkey">
<c-input v-model="model.wfetsk.seletgextkey" maxlength="8" placeholder="请输入Selected Entity Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.wfetsk.tsklist.ininam" data-path=".wfetsk.tsklist.ininam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Stream of WFE entries" prop="wfetsk.wfestm">
<c-input v-model="model.wfetsk.wfestm" placeholder="请输入Stream of WFE entries"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButexe">
&Do Entry
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButupd">
&Upd. List
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLogdspButdsp">
&View Log
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButexi">
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/Mgrtsk/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="XMLPanel xmldoc的内置block" prop="docimm.xmldocblk">
<c-input type="textarea" v-model="model.docimm.xmldocblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel xmldoc的内置block" ></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/Mgrtsk/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">
<!--PD000054 -->
<el-tab-pane label="PD000054" name="tskmgr">
<m-tskmgr :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000069 -->
<el-tab-pane label="PD000069" name="srvdsp">
<m-srvdsp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000069 -->
<el-tab-pane label="PD000069" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :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 Mgrtsk from "~/model/Mgrtsk"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Mgrtsk/Check"
import Default from "~/model/Mgrtsk/Default"
import Pattern from "~/model/Mgrtsk/Pattern"
import Tskmgr from "./Tskmgr"
import Srvdsp from "./Srvdsp"
import Config from "./Config"
import Prtswtp from "./Prtswtp"
import Prtswtrp from "./Prtswtrp"
import Xmldoc from "./Xmldoc"
import Prttst from "./Prttst"
import Prtswtr from "./Prtswtr"
export default {
components:{
"m-tskmgr" : Tskmgr,
"m-srvdsp" : Srvdsp,
"m-config" : Config,
"m-prtswtp" : Prtswtp,
"m-prtswtrp" : Prtswtrp,
"m-xmldoc" : Xmldoc,
"m-prttst" : Prttst,
"m-prtswtr" : Prtswtr,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "mgrtsk",
model: new Mgrtsk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入mgrtsk交易");
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.srvdta.etydirflg">Separate Directory per Entity</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Print" prop="srvdta.swtprttyp">
<c-select v-model="model.srvdta.swtprttyp" style="width:100%" placeholder="请选择Type of Print">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvdta.parprtflg">Partial Print</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Text for Header" prop="srvdta.parheatxt">
<c-input v-model="model.srvdta.parheatxt" maxlength="40" placeholder="请输入Text for Header"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvdta.errprtflg">Error Print</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Text for Header" prop="srvdta.errheatxt">
<c-input v-model="model.srvdta.errheatxt" maxlength="40" placeholder="请输入Text for Header"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Text for Header" prop="srvdta.srvprtm.prt.heatxt">
<c-input v-model="model.srvdta.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="srvdta.srvprtm.prt.tef">
<c-select v-model="model.srvdta.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="srvdta.srvprtm.prt.getprt">
<c-select v-model="model.srvdta.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="srvdta.srvprtm.prt.prt">
<c-select v-model="model.srvdta.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="srvdta.srvprtm.prt.bin">
<c-select v-model="model.srvdta.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="srvdta.srvprtm.prt.bin2">
<c-select v-model="model.srvdta.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="srvdta.srvprtm.prt.cpycnt">
<c-input v-model="model.srvdta.srvprtm.prt.cpycnt" placeholder="请输入# of Copies"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.srvdta.fildirlab" data-path=".srvdta.fildirlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Directory for Files" prop="srvdta.fildir">
<c-input v-model="model.srvdta.fildir" maxlength="40" placeholder="请输入Directory for Files"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.srvdta.filextlab" data-path=".srvdta.filextlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="File Extension" prop="srvdta.filext">
<c-input v-model="model.srvdta.filext" maxlength="3" placeholder="请输入File Extension"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.srvdta.filexttxt" data-path=".srvdta.filexttxt" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Switsk/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="Source File" prop="filtsk.tsklist.logmod.logdsp.logfil">
<c-input v-model="model.filtsk.tsklist.logmod.logdsp.logfil" maxlength="80" placeholder="请输入Source File"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLogdspButcpy">
Co&py
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="File Name on Client" prop="filtsk.tsklist.logmod.logdsp.dstfilnam">
<c-input v-model="model.filtsk.tsklist.logmod.logdsp.dstfilnam" maxlength="80" placeholder="请输入File Name on Client"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLogdspButcls">
&Close
</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/Switsk/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Switsk/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="XMLPanel prtswtp的内置block" prop="docimm.prtswtpblk">
<c-input type="textarea" v-model="model.docimm.prtswtpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtp的内置block" ></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/Switsk/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="Message as stream" prop="docimm.ascin">
<c-input v-model="model.docimm.ascin" placeholder="请输入Message as stream"></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/Switsk/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="XMLPanel prtswtrp的内置block" prop="docimm.prtswtrpblk">
<c-input type="textarea" v-model="model.docimm.prtswtrpblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtswtrp的内置block" ></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/Switsk/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="XMLPanel prttst的内置block" prop="srvdta.srvprtm.prtmod.prttstblk">
<c-input type="textarea" v-model="model.srvdta.srvprtm.prtmod.prttstblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prttst的内置block" ></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/Switsk/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="Automatic Start Flag" prop="filtsk.tsklist.strflg">
<c-select v-model="model.filtsk.tsklist.strflg" style="width:100%" placeholder="请选择Automatic Start Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButstr">
&Start
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvswi.exeflg">Incoming Swift</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtli.exeflg">Incoming Telex</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvdta.exeflg">Incoming Swift</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButstp">
S&top
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job Date" prop="filtsk.tsklist.jobstrdat">
<c-date-picker type="date" v-model="model.filtsk.tsklist.jobstrdat" style="width:100%" placeholder="请选择Start Time of Job Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job HH" prop="filtsk.tsklist.jobstrtimhh">
<c-input v-model="model.filtsk.tsklist.jobstrtimhh" placeholder="请输入Start Time of Job HH"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Time of Job MM" prop="filtsk.tsklist.jobstrtimmm">
<c-input v-model="model.filtsk.tsklist.jobstrtimmm" placeholder="请输入Start Time of Job MM"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtci.exeflg">Incoming Swift</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvemi.exeflg">Incoming Email</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvdte.exeflg">Incoming Swift</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Termination Flag" prop="filtsk.tsklist.terflg">
<c-select v-model="model.filtsk.tsklist.terflg" style="width:100%" placeholder="请选择Automatic Termination Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Shutdown at hh" prop="filtsk.tsklist.downtimehh">
<c-input v-model="model.filtsk.tsklist.downtimehh" placeholder="请输入Automatic Shutdown at hh"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Automatic Shutdown at mm" prop="filtsk.tsklist.downtimemm">
<c-input v-model="model.filtsk.tsklist.downtimemm" placeholder="请输入Automatic Shutdown at mm"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.filtsk.tsklist.timzonlab" data-path=".filtsk.tsklist.timzonlab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvboi.exeflg">Incoming Bolero</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srveli.exeflg">Incoming Elc</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Redotime" prop="filtsk.tsklist.redotime">
<c-input v-model="model.filtsk.tsklist.redotime" placeholder="请输入Redotime"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Print System" prop="cltprtflg">
<c-select v-model="model.cltprtflg" style="width:100%" placeholder="请选择Print System">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.filtsk.tsklist.ininam" data-path=".filtsk.tsklist.ininam" > </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButexe">
&Do Entry
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButupd">
&Upd. List
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLogdspButdsp">
&View Log
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButexi">
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/Switsk/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="XMLPanel xmldoc的内置block" prop="docimm.xmldocblk">
<c-input type="textarea" v-model="model.docimm.xmldocblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel xmldoc的内置block" ></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/Switsk/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">
<!--PD000010 -->
<el-tab-pane label="PD000010" name="tskmgr">
<m-tskmgr :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="filtskp">
<m-filtskp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000009 -->
<el-tab-pane label="PD000009" name="dwndst">
<m-dwndst :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 Switsk from "~/model/Switsk"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Switsk/Check"
import Default from "~/model/Switsk/Default"
import Pattern from "~/model/Switsk/Pattern"
import Tskmgr from "./Tskmgr"
import Filtskp from "./Filtskp"
import Prtswtr from "./Prtswtr"
import Prtswtrp from "./Prtswtrp"
import Xmldoc from "./Xmldoc"
import Prtswtp from "./Prtswtp"
import Config from "./Config"
import Prttst from "./Prttst"
import Dwndst from "./Dwndst"
export default {
components:{
"m-tskmgr" : Tskmgr,
"m-filtskp" : Filtskp,
"m-prtswtr" : Prtswtr,
"m-prtswtrp" : Prtswtrp,
"m-xmldoc" : Xmldoc,
"m-prtswtp" : Prtswtp,
"m-config" : Config,
"m-prttst" : Prttst,
"m-dwndst" : Dwndst,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "switsk",
model: new Switsk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入switsk交易");
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