Commit 7f2bc0cf by liushikai

mgrtsk交易task manager和service布局调整

parent d4a887dd
...@@ -23,6 +23,7 @@ export default class Mgrtsk{ ...@@ -23,6 +23,7 @@ export default class Mgrtsk{
seletyextkey:"", // Selected Entity ID .wfetsk.seletyextkey seletyextkey:"", // Selected Entity ID .wfetsk.seletyextkey
seletgextkey:"", // Selected Entity Group .wfetsk.seletgextkey seletgextkey:"", // Selected Entity Group .wfetsk.seletgextkey
wfestm:"", // Stream of WFE entries .wfetsk.wfestm wfestm:"", // Stream of WFE entries .wfetsk.wfestm
refno:"",
}, },
srvprt:{ srvprt:{
exeflg1:"", // Print Documents .srvprt.exeflg1 exeflg1:"", // Print Documents .srvprt.exeflg1
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
</div> <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>
</c-col>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Mgrtsk/Event" import Event from "~/model/Mgrtsk/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="12"> <!-- ================左=============== -->
<el-form-item label="Automatic Start Flag" prop="wfetsk.tsklist.strflg"> <c-col :span="11">
<c-select v-model="model.wfetsk.tsklist.strflg" style="width:100%" placeholder="请选择Automatic Start Flag"> <c-col>(Services see 2nd Tab)</c-col>
</c-select> <c-col>Running in foreground</c-col>
</el-form-item> <c-col :span="12" :offset="12" style="margin-top: 105px">
</c-col> <el-form-item label="Ref No" prop="wfetsk.refno" label-width="50px">
<c-input
<c-col :span="12"> v-model="model.wfetsk.refno"
<c-button size="small" type="primary" @click="onTsklistButstr"> placeholder="请输入"
&Start ></c-input>
</c-button> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTsklistButstp"> <!-- ================右=============== -->
S&top <c-col :span="11" :offset="1">
</c-button> <c-col :span="24">
</c-col> <el-form-item label="Start Processing" prop="wfetsk.tsklist.strflg">
<c-select
<c-col :span="12"> v-model="model.wfetsk.tsklist.strflg"
<span v-text="model.wfetsk.tsklist.bcklab" data-path=".wfetsk.tsklist.bcklab" > </span> style="width: 100%"
</c-col> placeholder="请选择Automatic Start Flag"
>
<c-col :span="12"> <el-option
<el-form-item label="Start Time of Job Date" prop="wfetsk.tsklist.jobstrdat"> v-for="item in codes.strflg"
<c-date-picker type="date" v-model="model.wfetsk.tsklist.jobstrdat" style="width:100%" placeholder="请选择Start Time of Job Date"></c-date-picker> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
>
<c-col :span="12"> </el-option>
<el-form-item label="Start Time of Job HH" prop="wfetsk.tsklist.jobstrtimhh"> </c-select>
<c-input v-model="model.wfetsk.tsklist.jobstrtimhh" placeholder="请输入Start Time of Job HH"></c-input> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="15">
<el-form-item label="Started" prop="wfetsk.tsklist.jobstrdat">
<c-col :span="12"> <c-date-picker
<el-form-item label="Start Time of Job MM" prop="wfetsk.tsklist.jobstrtimmm"> type="date"
<c-input v-model="model.wfetsk.tsklist.jobstrtimmm" placeholder="请输入Start Time of Job MM"></c-input> v-model="model.wfetsk.tsklist.jobstrdat"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择"
></c-date-picker>
<c-col :span="12"> </el-form-item>
<span v-text="model.wfetsk.labetyextkey" data-path=".wfetsk.labetyextkey" > </span> </c-col>
</c-col> <c-col :span="4" :offset="1">
<el-form-item
<c-col :span="12"> label="h"
<el-form-item label="Automatic Termination Flag" prop="wfetsk.tsklist.terflg"> prop="wfetsk.tsklist.jobstrtimhh"
<c-select v-model="model.wfetsk.tsklist.terflg" style="width:100%" placeholder="请选择Automatic Termination Flag"> label-width="20px"
</c-select> >
</el-form-item> <c-input
</c-col> v-model="model.wfetsk.tsklist.jobstrtimhh"
placeholder="请输入"
<c-col :span="12"> ></c-input>
<el-form-item label="Automatic Shutdown at hh" prop="wfetsk.tsklist.downtimehh"> </el-form-item>
<c-input v-model="model.wfetsk.tsklist.downtimehh" placeholder="请输入Automatic Shutdown at hh"></c-input> </c-col>
</el-form-item> <c-col :span="4">
</c-col> <el-form-item label="min" label-width="20px">
<c-input
<c-col :span="12"> v-model="model.wfetsk.tsklist.jobstrtimmm"
<el-form-item label="Automatic Shutdown at mm" prop="wfetsk.tsklist.downtimemm"> placeholder="请输入"
<c-input v-model="model.wfetsk.tsklist.downtimemm" placeholder="请输入Automatic Shutdown at mm"></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="15">
<el-form-item label="Selected Entity ID" prop="wfetsk.seletyextkey"> <el-form-item label="Termination" prop="wfetsk.tsklist.terflg">
<c-select v-model="model.wfetsk.seletyextkey" style="width:100%" placeholder="请选择Selected Entity ID"> <c-select
</c-select> v-model="model.wfetsk.tsklist.terflg"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择Automatic Termination Flag"
>
<c-col :span="12"> <el-option
<span v-text="model.wfetsk.tsklist.timzonlab" data-path=".wfetsk.tsklist.timzonlab" > </span> v-for="item in codes.terflg"
</c-col> :key="item.value"
:label="item.label"
<c-col :span="12"> :value="item.value"
<el-form-item label="Redotime" prop="wfetsk.tsklist.redotime"> >
<c-input v-model="model.wfetsk.tsklist.redotime" placeholder="请输入Redotime"></c-input> </el-option>
</el-form-item> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="4" :offset="1">
<span v-text="model.wfetsk.labetgextkey" data-path=".wfetsk.labetgextkey" > </span> <el-form-item
</c-col> label="h"
prop="wfetsk.tsklist.downtimehh"
<c-col :span="12"> label-width="20px"
<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> <c-input
</el-form-item> v-model="model.wfetsk.tsklist.downtimehh"
</c-col> placeholder="请输入"
></c-input>
<c-col :span="12"> </el-form-item>
<span v-text="model.wfetsk.tsklist.ininam" data-path=".wfetsk.tsklist.ininam" > </span> </c-col>
</c-col>
<c-col :span="4">
<c-col :span="12"> <el-form-item label="min" prop="" label-width="20px">
<el-form-item label="Stream of WFE entries" prop="wfetsk.wfestm"> <c-input
<c-input v-model="model.wfetsk.wfestm" placeholder="请输入Stream of WFE entries"></c-input> v-model="model.wfetsk.tsklist.downtimemm"
</el-form-item> placeholder=""
</c-col> ></c-input>
</el-form-item>
<c-col :span="12"> </c-col>
<c-button size="small" type="primary" @click="onTsklistButexe"> <c-col :span="16">
&Do Entry <el-form-item label="Restart Period" prop="wfetsk.tsklist.redotime">
</c-button> <c-input
</c-col> v-model="model.wfetsk.tsklist.redotime"
placeholder="请输入Redotime"
<c-col :span="12"> ></c-input>
<c-button size="small" type="primary" @click="onTsklistButupd"> </el-form-item>
&Upd. List </c-col>
</c-button> <!-- <c-col :span="16">
</c-col> <span
v-text="model.wfetsk.tsklist.ininam"
<c-col :span="12"> data-path=".wfetsk.tsklist.ininam"
<c-button size="small" type="primary" @click="onLogdspButdsp"> >
&View Log Initialization File
</c-button> </span>
</c-col> </c-col> -->
<c-col
<c-col :span="12"> ><el-form-item
<c-button size="small" type="primary" @click="onTsklistButexi"> label="Initialization File"
E&xit prop="wfetsk.tsklist.ininam"
</c-button> >
</c-col> <span
v-text="model.wfetsk.tsklist.ininam"
data-path=".wfetsk.tsklist.ininam"
>
</span> </el-form-item
></c-col>
</c-col>
</c-col>
<!-- <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">
<span v-text="model.wfetsk.labetyextkey" data-path=".wfetsk.labetyextkey">
</span>
</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">
<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">
<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> -->
<c-col :span="22" :offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center">
<el-table-column label="Entity" width="auto"></el-table-column>
<el-table-column
label="Object Identification"
width="auto"
></el-table-column>
<el-table-column label="Ident" width="auto"></el-table-column>
<el-table-column label="Service" width="auto"></el-table-column>
<el-table-column label="Status" width="auto"></el-table-column>
<el-table-column label="Retries" width="auto"></el-table-column>
<el-table-column label="Target" width="auto"></el-table-column>
</c-table>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Mgrtsk/Event" import Event from "~/model/Mgrtsk/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -4,46 +4,86 @@ ...@@ -4,46 +4,86 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000054 --> <!--PD000054 -->
<el-tab-pane label="PD000054" name="tskmgr"> <el-tab-pane label="Task Manager" name="tskmgr">
<m-tskmgr :model="model" :codes="codes"/> <m-tskmgr :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000069 --> <!--PD000069 -->
<el-tab-pane label="PD000069" name="srvdsp"> <el-tab-pane label="Services" name="srvdsp">
<m-srvdsp :model="model" :codes="codes"/> <m-srvdsp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000069 --> <!--PD000069 -->
<el-tab-pane label="PD000069" name="config"> <el-tab-pane label="Predecessors" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="SWIFT发送" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="TC发送" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="检查ACK" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Finalize Order" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="return to Zhongtai" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Pending CIPACK" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="GPI" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="衍生品额度释放" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="衍生品额度业务信息同步" name="config">
<m-config :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="ELCACK" name="config">
<m-config :model="model" :codes="codes"/> <m-config :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="PD000060" name="prtswtp"> <!-- <el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/> <m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp"> <!-- <el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/> <m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000061 --> <!--PD000061 -->
<el-tab-pane label="PD000061" name="xmldoc"> <!-- <el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/> <m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="PD000001" name="prttst"> <!-- <el-tab-pane label="PD000001" name="prttst">
<m-prttst :model="model" :codes="codes"/> <m-prttst :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="PD000049" name="prtswtr"> <!-- <el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/> <m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -85,15 +125,14 @@ export default { ...@@ -85,15 +125,14 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "tskmgr",
trnName: "mgrtsk", trnName: "mgrtsk",
model: new Mgrtsk().data, model: new Mgrtsk().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable},
},
} }
}, },
methods:{ 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