Commit 63deecfa by liushikai

switsk tskmgr布局调整

parent e5d81b5f
......@@ -1570,8 +1570,9 @@ const CodeTable = {
{label:"AJAX",value:"A" },
],
cltprtflg:[
{label:"Windows Print System",value:"W" },
{label:"Server Print System",value:"S" },
{label:"Client Print System",value:"W" },
{label:"Generate Files ( PS/PDF )",value:"S" },
{label:"Windows Server Printing",value:"X" },
],
cmpflg:[
{label:"不计复息",value:"0" },
......@@ -5066,8 +5067,8 @@ const CodeTable = {
{label:"托收业务",value:"02" },
],
strflg:[
{label:"automatic",value:"A" },
{label:"manually",value:"M" },
{label:"automatic",value:"A" },
],
strnewind:[
{label:"生物",value:"0230" },
......@@ -5227,9 +5228,9 @@ const CodeTable = {
{label:"小于等于",value:"S" },
],
terflg:[
{label:"manually only",value:"M" },
{label:"on empty list",value:"O" },
{label:"at predefined time",value:"T" },
{label:"manually only",value:"M" },
],
tirtyp:[
{label:"Quarter",value:"DURQTR" },
......
......@@ -4,6 +4,9 @@ import Utils from "~/utils"
* Switsk Check规则
*/
let checkObj = {
"filtsk.tsklist.redotime" :null,
"filtsk.tsklist.downtimemm" :null,
"filtsk.tsklist.downtimehh" :null,
}
for (const key in checkObj) {
......
......@@ -6,5 +6,71 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"srvdta.swtprttyp" :Utils.defaultFunction,
"srvdte.parprtflg" :Utils.defaultFunction,
"srvswi.swtprttyp" :Utils.defaultFunction,
"srvdta.errprtflg" :Utils.defaultFunction,
"srvdta.parprtflg" :Utils.defaultFunction,
"srvtci.parprtflg" :Utils.defaultFunction,
"srvswi.srvprtm.prt.prt" :Utils.defaultFunction,
"srvswi.srvprtm.prt.bin2" :Utils.defaultFunction,
"srvswi.exeflg" :Utils.defaultFunction,
"srvtli.exeflg" :Utils.defaultFunction,
"srvdte.fildir" :Utils.defaultFunction,
"srvtli.filext" :Utils.defaultFunction,
"srvswi.filext" :Utils.defaultFunction,
"srveli.exeflg" :Utils.defaultFunction,
"srvtci.fildir" :Utils.defaultFunction,
"srvemi.exeflg" :Utils.defaultFunction,
"srvdta.etydirflg" :Utils.defaultFunction,
"srvdte.exeflg" :Utils.defaultFunction,
"srvswi.fildir" :Utils.defaultFunction,
"srvdta.fildir" :Utils.defaultFunction,
"srvtci.filext" :Utils.defaultFunction,
"srvdta.filext" :Utils.defaultFunction,
"srvdte.etydirflg" :Utils.defaultFunction,
"srvtci.exeflg" :Utils.defaultFunction,
"srvdta.exeflg" :Utils.defaultFunction,
"srvboi.exeflg" :Utils.defaultFunction,
"srvtli.fildir" :Utils.defaultFunction,
"srvtci.etydirflg" :Utils.defaultFunction,
"srvdte.filext" :Utils.defaultFunction,
"srvswi.etydirflg" :Utils.defaultFunction,
"srvtci.swtprttyp" :Utils.defaultFunction,
"srvswi.srvprtm.prt.bin" :Utils.defaultFunction,
"srvdte.srvprtm.prt.tef" :Utils.defaultFunction,
"filtsk.tsklist.terflg" :Utils.defaultFunction,
"srvtci.srvprtm.prt.tef" :Utils.defaultFunction,
"filtsk.tsklist.downtimehh" :Utils.defaultFunction,
"srvswi.errprtflg" :Utils.defaultFunction,
"srvswi.parprtflg" :Utils.defaultFunction,
"srvdta.srvprtm.prt.tef" :Utils.defaultFunction,
"filtsk.tsklist.downtimemm" :Utils.defaultFunction,
"srvtli.prt.prttyp" :Utils.defaultFunction,
"srvtli.prt.cpycnt" :Utils.defaultFunction,
"filtsk.tsklist.logmod.logdsp.dstfilnam" :Utils.defaultFunction,
"srvdta.srvprtm.prt.prt" :Utils.defaultFunction,
"srvdta.srvprtm.prt.bin2" :Utils.defaultFunction,
"srvswi.srvprtm.prt.tef" :Utils.defaultFunction,
"srvdta.srvprtm.prt.cpycnt" :Utils.defaultFunction,
"srvtci.errprtflg" :Utils.defaultFunction,
"filtsk.tsklist.logmod.logdsp.logfil" :Utils.defaultFunction,
"srvtli.prt.tef" :Utils.defaultFunction,
"srvswi.srvprtm.prt.cpycnt" :Utils.defaultFunction,
"srvdte.swtprttyp" :Utils.defaultFunction,
"srvdte.errprtflg" :Utils.defaultFunction,
"srvtci.srvprtm.prt.cpycnt" :Utils.defaultFunction,
"srvdta.srvprtm.prt.bin" :Utils.defaultFunction,
"srvdte.srvprtm.prt.prt" :Utils.defaultFunction,
"srvdte.srvprtm.prt.bin2" :Utils.defaultFunction,
"srvdte.srvprtm.prt.bin" :Utils.defaultFunction,
"srvtli.prt.prt" :Utils.defaultFunction,
"srvtli.prt.bin" :Utils.defaultFunction,
"srvtci.srvprtm.prt.prt" :Utils.defaultFunction,
"srvtci.srvprtm.prt.bin" :Utils.defaultFunction,
"srvdte.srvprtm.prt.cpycnt" :Utils.defaultFunction,
"filtsk.tsklist.strflg" :Utils.defaultFunction,
"srvtci.srvprtm.prt.bin2" :Utils.defaultFunction,
"srvtli.prt.bin2" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,5 +2,101 @@ 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: '服务请求失败!'});
}
},
async onLogdspButcpy(){
let rtnmsg = await this.executeRule("logdsp.butcpy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLogdspButcls(){
let rtnmsg = await this.executeRule("logdsp.butcls")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"filtsk.tsklist.jobstrdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"filtsk.tsklist.jobstrtimhh":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"filtsk.tsklist.jobstrtimmm":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"filtsk.tsklist.downtimehh":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"filtsk.tsklist.downtimemm":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"filtsk.tsklist.redotime":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"docimm.ascin":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvswi.parheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswi.errheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswi.srvprtm.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswi.srvprtm.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"srvswi.fildir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvswi.filext":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"srvtci.parheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtci.errheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtci.srvprtm.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtci.srvprtm.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"srvtci.fildir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtci.filext":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"srvtli.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvtli.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"srvtli.fildir":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"srvtli.filext":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"srvswi.srvprtm.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvtci.srvprtm.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"srvdte.parheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdte.errheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdte.srvprtm.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdte.srvprtm.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"srvdte.fildir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdte.filext":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"srvdta.parheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdta.errheatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdta.srvprtm.prt.heatxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdta.srvprtm.prt.cpycnt":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"srvdta.fildir":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"srvdta.filext":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"srvdta.srvprtm.prtmod.prttstblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"filtsk.tsklist.logmod.logdsp.logfil":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"filtsk.tsklist.logmod.logdsp.dstfilnam":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
}
\ No newline at end of file
......@@ -4,6 +4,168 @@ import Pts from "../Common/Pts"
export default class Switsk{
constructor () {
this.data = {
filtsk:{
tsklist:{
ininam:"", // Name of INI-File .filtsk.tsklist.ininam
timzonlab:"", // Label to display timezone .filtsk.tsklist.timzonlab
strflg:"", // Automatic Start Flag .filtsk.tsklist.strflg
jobstrdat:"", // Start Time of Job Date .filtsk.tsklist.jobstrdat
jobstrtimhh:"", // Start Time of Job HH .filtsk.tsklist.jobstrtimhh
jobstrtimmm:"", // Start Time of Job MM .filtsk.tsklist.jobstrtimmm
terflg:"", // Automatic Termination Flag .filtsk.tsklist.terflg
downtimehh:"", // Automatic Shutdown at hh .filtsk.tsklist.downtimehh
downtimemm:"", // Automatic Shutdown at mm .filtsk.tsklist.downtimemm
redotime:"", // Redotime .filtsk.tsklist.redotime
logmod:{
logdsp:{
logfil:"", // Source File .filtsk.tsklist.logmod.logdsp.logfil
dstfilnam:"", // File Name on Client .filtsk.tsklist.logmod.logdsp.dstfilnam
},
},
},
},
srvswi:{
exeflg:"", // Incoming Swift .srvswi.exeflg
fildirlab:"", // Label for FILDIR .srvswi.fildirlab
filextlab:"", // Label for FILEXT .srvswi.filextlab
filexttxt:"", // additional information for field FILEXT .srvswi.filexttxt
etydirflg:"", // Separate Directory per Entity .srvswi.etydirflg
swtprttyp:"", // Type of Print .srvswi.swtprttyp
parprtflg:"", // Partial Print .srvswi.parprtflg
parheatxt:"", // Text for Header .srvswi.parheatxt
errprtflg:"", // Error Print .srvswi.errprtflg
errheatxt:"", // Text for Header .srvswi.errheatxt
srvprtm:{
prt:{
heatxt:"", // Text for Header .srvswi.srvprtm.prt.heatxt
tef:"", // Technical Form .srvswi.srvprtm.prt.tef
getprt:"", // Default Printer from: .srvswi.srvprtm.prt.getprt
prt:"", // Printer .srvswi.srvprtm.prt.prt
bin:"", // Paperbin .srvswi.srvprtm.prt.bin
bin2:"", // Bin for 2nd Page .srvswi.srvprtm.prt.bin2
cpycnt:"", // # of Copies .srvswi.srvprtm.prt.cpycnt
},
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvswi.srvprtm.prtmod.prttstblk
},
},
fildir:"", // Directory for Files .srvswi.fildir
filext:"", // File Extension .srvswi.filext
},
srvtli:{
exeflg:"", // Incoming Telex .srvtli.exeflg
fildirlab:"", // Label for FILDIR .srvtli.fildirlab
filextlab:"", // Label for FILEXT .srvtli.filextlab
prt:{
prttyp:"", // Type of Print .srvtli.prt.prttyp
heatxt:"", // Text for Header .srvtli.prt.heatxt
tef:"", // Technical Form .srvtli.prt.tef
getprt:"", // Default Printer from: .srvtli.prt.getprt
prt:"", // Printer .srvtli.prt.prt
bin:"", // Paperbin .srvtli.prt.bin
bin2:"", // Bin for 2nd Page .srvtli.prt.bin2
cpycnt:"", // # of Copies .srvtli.prt.cpycnt
},
fildir:"", // Directory for Files .srvtli.fildir
filext:"", // File Extension .srvtli.filext
},
srvdta:{
exeflg:"", // Incoming Swift .srvdta.exeflg
fildirlab:"", // Label for FILDIR .srvdta.fildirlab
filextlab:"", // Label for FILEXT .srvdta.filextlab
filexttxt:"", // additional information for field FILEXT .srvdta.filexttxt
etydirflg:"", // Separate Directory per Entity .srvdta.etydirflg
swtprttyp:"", // Type of Print .srvdta.swtprttyp
parprtflg:"", // Partial Print .srvdta.parprtflg
parheatxt:"", // Text for Header .srvdta.parheatxt
errprtflg:"", // Error Print .srvdta.errprtflg
errheatxt:"", // Text for Header .srvdta.errheatxt
srvprtm:{
prt:{
heatxt:"", // Text for Header .srvdta.srvprtm.prt.heatxt
tef:"", // Technical Form .srvdta.srvprtm.prt.tef
getprt:"", // Default Printer from: .srvdta.srvprtm.prt.getprt
prt:"", // Printer .srvdta.srvprtm.prt.prt
bin:"", // Paperbin .srvdta.srvprtm.prt.bin
bin2:"", // Bin for 2nd Page .srvdta.srvprtm.prt.bin2
cpycnt:"", // # of Copies .srvdta.srvprtm.prt.cpycnt
},
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvdta.srvprtm.prtmod.prttstblk
},
},
fildir:"", // Directory for Files .srvdta.fildir
filext:"", // File Extension .srvdta.filext
},
srvtci:{
exeflg:"", // Incoming Swift .srvtci.exeflg
fildirlab:"", // Label for FILDIR .srvtci.fildirlab
filextlab:"", // Label for FILEXT .srvtci.filextlab
filexttxt:"", // additional information for field FILEXT .srvtci.filexttxt
etydirflg:"", // Separate Directory per Entity .srvtci.etydirflg
swtprttyp:"", // Type of Print .srvtci.swtprttyp
parprtflg:"", // Partial Print .srvtci.parprtflg
parheatxt:"", // Text for Header .srvtci.parheatxt
errprtflg:"", // Error Print .srvtci.errprtflg
errheatxt:"", // Text for Header .srvtci.errheatxt
srvprtm:{
prt:{
heatxt:"", // Text for Header .srvtci.srvprtm.prt.heatxt
tef:"", // Technical Form .srvtci.srvprtm.prt.tef
getprt:"", // Default Printer from: .srvtci.srvprtm.prt.getprt
prt:"", // Printer .srvtci.srvprtm.prt.prt
bin:"", // Paperbin .srvtci.srvprtm.prt.bin
bin2:"", // Bin for 2nd Page .srvtci.srvprtm.prt.bin2
cpycnt:"", // # of Copies .srvtci.srvprtm.prt.cpycnt
},
prtmod:{
prttstblk:"", // XMLPanel prttst的内置block .srvtci.srvprtm.prtmod.prttstblk
},
},
fildir:"", // Directory for Files .srvtci.fildir
filext:"", // File Extension .srvtci.filext
},
srvemi:{
exeflg:"", // Incoming Email .srvemi.exeflg
},
srvdte:{
exeflg:"", // Incoming Swift .srvdte.exeflg
fildirlab:"", // Label for FILDIR .srvdte.fildirlab
filextlab:"", // Label for FILEXT .srvdte.filextlab
filexttxt:"", // additional information for field FILEXT .srvdte.filexttxt
etydirflg:"", // Separate Directory per Entity .srvdte.etydirflg
swtprttyp:"", // Type of Print .srvdte.swtprttyp
parprtflg:"", // Partial Print .srvdte.parprtflg
parheatxt:"", // Text for Header .srvdte.parheatxt
errprtflg:"", // Error Print .srvdte.errprtflg
errheatxt:"", // Text for Header .srvdte.errheatxt
srvprtm:{
prt:{
heatxt:"", // Text for Header .srvdte.srvprtm.prt.heatxt
tef:"", // Technical Form .srvdte.srvprtm.prt.tef
getprt:"", // Default Printer from: .srvdte.srvprtm.prt.getprt
prt:"", // Printer .srvdte.srvprtm.prt.prt
bin:"", // Paperbin .srvdte.srvprtm.prt.bin
bin2:"", // Bin for 2nd Page .srvdte.srvprtm.prt.bin2
cpycnt:"", // # of Copies .srvdte.srvprtm.prt.cpycnt
},
},
fildir:"", // Directory for Files .srvdte.fildir
filext:"", // File Extension .srvdte.filext
},
srvboi:{
exeflg:"", // Incoming Bolero .srvboi.exeflg
},
cltprtflg:"", // Print System .cltprtflg
srveli:{
exeflg:"", // Incoming Elc .srveli.exeflg
},
docimm:{
ascin:"", // Message as stream .docimm.ascin
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
},
pageId: "" // ctx的key
}
}
......
......@@ -29,7 +29,9 @@ export default {
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
return {
data:[],
};
},
methods: { ...Event },
created: function () {},
......
......@@ -262,7 +262,9 @@ export default {
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
return {
data:[],
};
},
methods: { ...Event },
created: function () {},
......
......@@ -14,47 +14,47 @@
</el-tab-pane>
<!--PD000069 -->
<el-tab-pane label="Predecessors" name="config">
<el-tab-pane label="Predecessors" name="config1">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="SWIFT发送" name="config">
<el-tab-pane label="SWIFT发送" name="config2">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="TC发送" name="config">
<el-tab-pane label="TC发送" name="config3">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="检查ACK" name="config">
<el-tab-pane label="检查ACK" name="config4">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Finalize Order" name="config">
<el-tab-pane label="Finalize Order" name="config5">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="return to Zhongtai" name="config">
<el-tab-pane label="return to Zhongtai" name="config6">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Pending CIPACK" name="config">
<el-tab-pane label="Pending CIPACK" name="config7">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="GPI" name="config">
<el-tab-pane label="GPI" name="config8">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="衍生品额度释放" name="config">
<el-tab-pane label="衍生品额度释放" name="config9">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="衍生品额度业务信息同步" name="config">
<el-tab-pane label="衍生品额度业务信息同步" name="config10">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="ELCACK" name="config">
<el-tab-pane label="ELCACK" name="config11">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
......
<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>
<c-col :span="24">
<!-- ============左========= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Service Types to be handled:"> </el-form-item>
</c-col>
<c-col :span="23" :offset="1">
<c-col :span="8">
<c-checkbox v-model="model.srvswi.exeflg"
>Incoming SWIFT</c-checkbox
>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.srvtli.exeflg"
>Incoming Telex</c-checkbox
>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.srvdta.exeflg"
>DTA Import L/C</c-checkbox
>
</c-col>
</c-col>
<c-col :span="23" :offset="1" style="margin-top: 10px">
<c-col :span="8">
<c-checkbox v-model="model.srvtci.exeflg">TradeConnect</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.srvemi.exeflg"
>Incoming Email</c-checkbox
>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.srvdte.exeflg"
>DTA Export L/C</c-checkbox
>
</c-col>
</c-col>
<c-col :span="23" :offset="1" style="margin-top: 10px">
<c-col :span="8">
<c-checkbox v-model="model.srvboi.exeflg"
>Incoming Bolero</c-checkbox
>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.srveli.exeflg"
>ECL Import L/C</c-checkbox
>
</c-col>
</c-col>
<c-col :span="12" :offset="12" style="margin-top: 25px">
<el-form-item label="" prop="cltprtflg" label-width="10px">
<c-select
v-model="model.cltprtflg"
style="width: 100%"
placeholder="请选择Print System"
>
<el-option
v-for="item in codes.cltprtflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右========= -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="24">
<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="24">
<el-form-item label="Start Processing" prop="filtsk.tsklist.strflg">
<c-select
v-model="model.filtsk.tsklist.strflg"
style="width: 100%"
placeholder="请选择Automatic Start Flag"
>
<el-option
v-for="item in codes.strflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="15">
<el-form-item label="Started" prop="filtsk.tsklist.jobstrdat">
<c-date-picker
type="date"
v-model="model.filtsk.tsklist.jobstrdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="4" :offset="1">
<el-form-item
label="h"
prop="filtsk.tsklist.jobstrtimhh"
label-width="20px"
>
<c-input
v-model="model.filtsk.tsklist.jobstrtimhh"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="min" label-width="20px" prop="filtsk.tsklist.jobstrtimmm">
<c-input
v-model="model.filtsk.tsklist.jobstrtimmm"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="15">
<el-form-item label="Termination" prop="filtsk.tsklist.terflg">
<c-select
v-model="model.filtsk.tsklist.terflg"
style="width: 100%"
placeholder="请选择Automatic Termination Flag"
>
<el-option
v-for="item in codes.terflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" :offset="1">
<el-form-item
label="h"
prop="filtsk.tsklist.downtimehh"
label-width="20px"
>
<c-input
v-model="model.filtsk.tsklist.downtimehh"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="min" prop="filtsk.tsklist.downtimemm" label-width="20px">
<c-input
v-model="model.filtsk.tsklist.downtimemm"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="Restart Period" prop="filtsk.tsklist.redotime">
<c-input
v-model="model.filtsk.tsklist.redotime"
placeholder="请输入Redotime"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="16">
<span
v-text="model.wfetsk.tsklist.ininam"
data-path=".wfetsk.tsklist.ininam"
>
Initialization File
</span>
</c-col> -->
<c-col
><el-form-item
label="Initialization File"
prop="filtsk.tsklist.ininam"
>
<span
v-text="model.filtsk.tsklist.ininam"
data-path=".filtsk.tsklist.ininam"
>
</span> </el-form-item
></c-col>
</c-col>
</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">
<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">
<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">
<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">
<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> -->
<c-col :span="22" :offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center">
<el-table-column label="File Name" width="auto"></el-table-column>
<el-table-column label="Done" width="auto"></el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Switsk/Event"
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(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
data:[],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -4,52 +4,85 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000010 -->
<el-tab-pane label="PD000010" name="tskmgr">
<el-tab-pane label="Manager for Incoming Messages" name="tskmgr">
<m-tskmgr :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Incoming SWIFT" name="config1">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="TradeConnect" name="config2">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Telex" name="config3">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="DTA Export L/C" name="config4">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="DTA Import L/C" name="config5">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="E-mail" name="config6">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bolero" name="config7">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="ECL Import L/C" name="config8">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="filtskp">
<!-- <el-tab-pane label="PD000000" name="filtskp">
<m-filtskp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000049 -->
<el-tab-pane label="PD000049" name="prtswtr">
<!-- <el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp">
<!-- <el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc">
<!-- <el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp">
<!-- <el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="PD000001" name="config">
<!-- <el-tab-pane label="PD000001" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="PD000001" name="prttst">
<!-- <el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000009 -->
<el-tab-pane label="PD000009" name="dwndst">
<!-- <el-tab-pane label="PD000009" name="dwndst">
<m-dwndst :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......@@ -93,15 +126,14 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "tskmgr",
trnName: "switsk",
model: new Switsk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......
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