Commit 9730846f by liuxin

Mgrtsk交易相关

parent effc4f4f
......@@ -7,7 +7,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"wfetsk.tsklist.jobstrtimhh":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.jobstrtimmm":[
......@@ -17,7 +17,7 @@ export default {
"wfetsk.tsklist.downtimehh":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"wfetsk.tsklist.downtimemm":[
......@@ -27,7 +27,7 @@ export default {
"wfetsk.tsklist.redotime":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
......
......@@ -24,6 +24,28 @@ export default class Mgrtsk{
seletgextkey:"", // Selected Entity Group .wfetsk.seletgextkey
wfestm:"", // Stream of WFE entries .wfetsk.wfestm
refno:"",
srsmod:{
srslst:"",
}
},
srvfin:{
exeflg:"",
},
srvrto:{
exeflg:"",
},
srvpdb:{
exeflg:"",
},
srvgpi:{
exeflg:"",
},
srvlmd:{
exeflg:"",
},
srvlme:{
exeflg:"", // Return to Zhongtai .srvlme.exeflg
rettim:"", // Wait before 'Retry' .srvlme.rettim
},
srvprt:{
exeflg1:"", // Print Documents .srvprt.exeflg1
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.srvpdb.exeflg">cxheck open ACKs</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvpdb.rettim">
<c-input v-model="model.srvpdb.rettim" placeholder="请输入Wait before 'Retry' "></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 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>
<c-checkbox v-model="model.srvfin.exeflg">mark order as finished</c-checkbox>
</c-col>
</div>
</template>
<script>
......
<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>
<c-checkbox v-model="model.srvgpi.exeflg">Return to Zhongtai</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvgpi.rettim">
<c-input v-model="model.srvgpi.rettim" placeholder="请输入Wait before 'Retry' "></c-input>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<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>
<c-checkbox v-model="model.srvpda.exeflg">cxheck open ACKs</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvpda.rettim">
<c-input v-model="model.srvpda.rettim" placeholder="请输入Wait before 'Retry' "></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<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>
<c-checkbox v-model="model.srvpdp.exeflg">pending predecessors check</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvpdp.rettim">
<c-input v-model="model.srvpdp.rettim" placeholder="请输入Wait before 'Retry' "></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<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>
<c-checkbox v-model="model.srvrto.exeflg">Return to Zhongtai</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvrto.rettim">
<c-input v-model="model.srvrto.rettim" placeholder="请输入Wait before 'Retry' "></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<template>
<div class="eibs-tab">
<c-col :span="22" :offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center">
<el-table-column label="Execute" width="auto"></el-table-column>
<el-table-column label="Handler" width="auto"></el-table-column>
<el-table-column label="Service" width="auto"></el-table-column>
<el-table-column label="Stop" width="auto"></el-table-column>
<el-table-column label="Succ." width="auto"></el-table-column>
<el-table-column label="Retry" width="auto"></el-table-column>
<el-table-column label="Errors" width="auto"></el-table-column>
<el-table-column label="Threshold" width="auto"></el-table-column>
<el-table-column label="Consecutive Errors" width="auto"></el-table-column>
<el-table-column label="Lck" width="auto"></el-table-column>
<el-table-column label="Period for count (in hours)" width="auto"></el-table-column>
<el-table-column label="Configure" width="auto"></el-table-column>
<c-table :border="true" :list="data" ref="table" style="width:80%,text-align:center" height="500" :paginationShow="false">
<el-table-column label="Execute" width="auto" type="selection" prop="exeflg"></el-table-column>
<el-table-column label="Handler" width="auto" prop="srvhdl" sortable></el-table-column>
<el-table-column label="Service" width="auto" prop="srv"></el-table-column>
<el-table-column label="Stop" width="auto" prop="stpflg"></el-table-column>
<el-table-column label="Succ." width="auto" prop="cntsuc"></el-table-column>
<el-table-column label="Retry" width="auto" prop="cntret"></el-table-column>
<el-table-column label="Errors" width="auto" prop="cnterr"></el-table-column>
<el-table-column label="Threshold" width="auto" prop="trsconerr"></el-table-column>
<el-table-column label="Consecutive Errors" width="auto" prop="cntconerr"></el-table-column>
<el-table-column label="Lck" width="auto" prop="trnlckflg"></el-table-column>
<el-table-column label="Period for count (in hours)" width="auto" prop="cnttim"></el-table-column>
<el-table-column label="Configure" width="auto" prop=""></el-table-column>
</c-table>
</c-col>
</div>
......@@ -33,8 +33,21 @@ export default {
data:[],
};
},
methods: { ...Event },
methods: { ...Event,
},
created: function () {},
watch: {
'model.wfetsk.srsmod.srslst': function () {
this.data = this.model.wfetsk.srsmod.srslst;
this.$nextTick(() => {
for(let i=0;i<this.data.length;i++){
if(this.data[i].exeflg == 'Y'){
this.$refs.table.$refs.table.toggleRowSelection(this.data[i],true);
}
}
})
}
}
};
</script>
<style>
......
......@@ -2,33 +2,15 @@
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.srvcln.exeflg">Cleanup files and tables</c-checkbox>
<c-checkbox v-model="model.srvlmd.exeflg">Return to Zhongtai</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvcln.evtdel">Delete Event Records EVT</c-checkbox>
<el-form-item label="Wait before 'Retry' " prop="srvlmd.rettim">
<c-input v-model="model.srvlmd.rettim" placeholder="请输入Wait before 'Retry' "></c-input>
</el-form-item>
</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>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.srvlme.exeflg">Return to Zhongtai</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Wait before 'Retry' " prop="srvlme.rettim">
<c-input v-model="model.srvlme.rettim" placeholder="请输入Wait before 'Retry' "></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">
<c-checkbox v-model="model.srvswt.exeflg">Outgoing SWIFT</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Own BIC code" prop="srvswt.ownbic">
<c-input type="textarea" v-model="model.srvswt.ownbic" maxlength="12" show-word-limit placeholder="请输入Own BIC code" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery Monitoring Code" prop="srvswt.delivrcod">
<c-select v-model="model.srvswt.delivrcod" style="width:100%" placeholder="请选择Delivery Monitoring Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Obsolescense Period" prop="srvswt.obsper">
<c-select v-model="model.srvswt.obsper" style="width:100%" placeholder="请选择Obsolescense Period">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="File Format" prop="srvswt.fil">
<c-select v-model="model.srvswt.fil" style="width:100%" placeholder="请选择File Format">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Pathname" prop="srvswt.outdir">
<c-input v-model="model.srvswt.outdir" maxlength="40" placeholder="请输入Pathname"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvswt.etydirflg">Separate Directory per Entity</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Jobexecution" prop="srvswt.jobexe">
<c-select v-model="model.srvswt.jobexe" style="width:100%" placeholder="请选择Jobexecution">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Job to executed on successful export" prop="srvswt.job">
<c-input v-model="model.srvswt.job" maxlength="58" placeholder="请输入Job to executed on successful export"></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">
<c-checkbox v-model="model.srvtco.exeflg">TradeConnect/BranchConnect</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.srvtco.owntidlbl" data-path=".srvtco.owntidlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Own TID" prop="srvtco.owntid">
<c-input v-model="model.srvtco.owntid" maxlength="23" placeholder="请输入Own TID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Pathname" prop="srvtco.outdir">
<c-input v-model="model.srvtco.outdir" maxlength="80" placeholder="请输入Pathname"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtco.tidflg">Dont Write in Subdirectories</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtco.etydirflg">Separate Directory per Entity</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtco.lstflg">Dont Create Listfiles</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.srvtco.tecpdfflg">Send technical messages formatted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Jobexecution" prop="srvtco.jobexe">
<c-select v-model="model.srvtco.jobexe" style="width:100%" placeholder="请选择Jobexecution">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Job to executed on successful export" prop="srvtco.job">
<c-input v-model="model.srvtco.job" maxlength="58" placeholder="请输入Job to executed on successful export"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Text for Header" prop="srvtco.heatxt">
<c-input v-model="model.srvtco.heatxt" maxlength="40" placeholder="请输入Text for Header"></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="24">
<c-col :span="23" style="text-align:right;">
<c-button size="small" type="primary" style="margin-left:0" @click="Start">Start</c-button>
<c-button size="small" type="primary" style="margin-left:0" @click="Stop">Stop</c-button>
</c-col>
<c-col :span="24" style="margin-top:10px">
<!-- ================左=============== -->
<!-- <c-col :span="11">
<c-col>(Services see 2nd Tab)</c-col>
......@@ -34,24 +39,29 @@
</c-col>
<c-col :span="24">
<el-form-item label="Restart Period" prop="wfetsk.tsklist.redotime">
<el-form-item label="Ref No" prop="wfetsk.refno">
<c-input
v-model="model.wfetsk.tsklist.redotime"
placeholder="请输入Redotime"
v-model="model.wfetsk.refno"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Ref No" prop="wfetsk.refno">
<c-col :span="24"
><el-form-item
label="Initialization File"
prop="wfetsk.tsklist.ininam"
>
<c-input
v-model="model.wfetsk.refno"
placeholder="请输入"
v-model="model.wfetsk.tsklist.ininam"
placeholder=""
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ================右=============== -->
<c-col :span="11" :offset="1">
<c-col :span="14">
......@@ -137,14 +147,12 @@
Initialization File
</span>
</c-col> -->
<c-col
><el-form-item
label="Initialization File"
prop="wfetsk.tsklist.ininam"
>
<c-col :span="24">
<el-form-item label="Restart Period" prop="wfetsk.tsklist.redotime">
<c-input
v-model="model.wfetsk.tsklist.ininam"
placeholder=""
v-model="model.wfetsk.tsklist.redotime"
placeholder="请输入Redotime"
></c-input>
</el-form-item>
</c-col>
......@@ -286,8 +294,32 @@ export default {
},
};
},
methods: { ...Event },
created: function () {},
methods: { ...Event,
Start(){
console.log(123)
let rtnmsg = this.executeRule("wfetsk.tsklist.butstr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
},
Stop(){
let rtnmsg = this.executeRule("wfetsk.tsklist.butstp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
},
},
created: function () {
},
watch: {
'model.wfetsk.wfestm': function () {
this.stmData.data = this.model.wfetsk.wfestm.rows;
}
}
};
</script>
<style>
......
......@@ -21,48 +21,48 @@
<!--PD000069 -->
<el-tab-pane label="Predecessors" name="config1">
<m-config :model="model" :codes="codes" />
<m-predecessors :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="SWIFT发送" name="config2">
<m-config :model="model" :codes="codes" />
<m-swt :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="TC发送" name="config3">
<m-config :model="model" :codes="codes" />
<m-tco :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="检查ACK" name="config4">
<m-config :model="model" :codes="codes" />
<m-pda :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Finalize Order" name="config5">
<m-config :model="model" :codes="codes" />
<m-finalize :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="return to Zhongtai" name="config6">
<m-config :model="model" :codes="codes" />
<m-rtz :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Pending CIPACK" name="config7">
<m-config :model="model" :codes="codes" />
<m-cipack :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="GPI" name="config8">
<m-config :model="model" :codes="codes" />
<m-gpi :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="衍生品额度释放" name="config9">
<m-config :model="model" :codes="codes" />
<m-srvlmd :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="衍生品额度业务信息同步" name="config10">
<m-config :model="model" :codes="codes" />
<m-srvlme :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="ELCACK" name="config11">
<!-- <el-tab-pane label="ELCACK" name="config11">
<m-config :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000060 -->
<!-- <el-tab-pane label="PD000060" name="prtswtp">
......@@ -100,26 +100,35 @@ 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";
import Cipack from "./Cipack";
import Finalize from "./Finalize";
import Gpi from "./Gpi";
import Pda from "./Pda";
import Predecessors from "./Predecessors";
import Rtz from "./Rtz";
import Srvlmd from "./Srvlmd";
import Srvlme from "./Srvlme";
import Swt from "./Swt";
import Tco from "./Tco";
export default {
name: 'Mgrtsk',
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,
"m-cipack" : Cipack,
"m-finalize" : Finalize,
"m-gpi" : Gpi,
"m-pda" : Pda,
"m-predecessors" : Predecessors,
"m-rtz" : Rtz,
"m-srvlmd" : Srvlmd,
"m-srvlme" : Srvlme,
"m-swt" : Swt,
"m-tco" : Tco,
},
provide() {
return {
......
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