Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
7f2bc0cf
Commit
7f2bc0cf
authored
Nov 25, 2021
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mgrtsk交易task manager和service布局调整
parent
d4a887dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
346 additions
and
176 deletions
+346
-176
index.js
src/model/Mgrtsk/index.js
+1
-0
Srvdsp.vue
src/views/Business/Mgrtsk/Srvdsp.vue
+29
-18
Tskmgr.vue
src/views/Business/Mgrtsk/Tskmgr.vue
+261
-142
index.vue
src/views/Business/Mgrtsk/index.vue
+55
-16
No files found.
src/model/Mgrtsk/index.js
View file @
7f2bc0cf
...
...
@@ -23,6 +23,7 @@ export default class Mgrtsk{
seletyextkey
:
""
,
// Selected Entity ID .wfetsk.seletyextkey
seletgextkey
:
""
,
// Selected Entity Group .wfetsk.seletgextkey
wfestm
:
""
,
// Stream of WFE entries .wfetsk.wfestm
refno
:
""
,
},
srvprt
:{
exeflg1
:
""
,
// Print Documents .srvprt.exeflg1
...
...
src/views/Business/Mgrtsk/Srvdsp.vue
View file @
7f2bc0cf
<
template
>
<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
>
<
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/Mgrtsk/Event"
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
(){
}
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Mgrtsk/Tskmgr.vue
View file @
7f2bc0cf
<
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>
<c-col
:span=
"24"
>
<!-- ================左=============== -->
<c-col
:span=
"11"
>
<c-col>
(Services see 2nd Tab)
</c-col>
<c-col>
Running in foreground
</c-col>
<c-col
:span=
"12"
:offset=
"12"
style=
"margin-top: 105px"
>
<el-form-item
label=
"Ref No"
prop=
"wfetsk.refno"
label-width=
"50px"
>
<c-input
v-model=
"model.wfetsk.refno"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ================右=============== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Start Processing"
prop=
"wfetsk.tsklist.strflg"
>
<c-select
v-model=
"model.wfetsk.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=
"wfetsk.tsklist.jobstrdat"
>
<c-date-picker
type=
"date"
v-model=
"model.wfetsk.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=
"wfetsk.tsklist.jobstrtimhh"
label-width=
"20px"
>
<c-input
v-model=
"model.wfetsk.tsklist.jobstrtimhh"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"min"
label-width=
"20px"
>
<c-input
v-model=
"model.wfetsk.tsklist.jobstrtimmm"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"15"
>
<el-form-item
label=
"Termination"
prop=
"wfetsk.tsklist.terflg"
>
<c-select
v-model=
"model.wfetsk.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=
"wfetsk.tsklist.downtimehh"
label-width=
"20px"
>
<c-input
v-model=
"model.wfetsk.tsklist.downtimehh"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<el-form-item
label=
"min"
prop=
""
label-width=
"20px"
>
<c-input
v-model=
"model.wfetsk.tsklist.downtimemm"
placeholder=
""
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"16"
>
<el-form-item
label=
"Restart Period"
prop=
"wfetsk.tsklist.redotime"
>
<c-input
v-model=
"model.wfetsk.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=
"wfetsk.tsklist.ininam"
>
<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>
</
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/Mgrtsk/Event"
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
(){
}
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Mgrtsk/index.vue
View file @
7f2bc0cf
...
...
@@ -4,46 +4,86 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000054 -->
<el-tab-pane
label=
"
PD000054
"
name=
"tskmgr"
>
<el-tab-pane
label=
"
Task Manager
"
name=
"tskmgr"
>
<m-tskmgr
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000069 -->
<el-tab-pane
label=
"
PD000069
"
name=
"srvdsp"
>
<el-tab-pane
label=
"
Services
"
name=
"srvdsp"
>
<m-srvdsp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--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"
/>
</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>
-->
<!--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>
-->
<!--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>
-->
<!--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>
-->
</c-tabs>
</el-form>
</div>
...
...
@@ -85,15 +125,14 @@ export default {
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
tskmgr
"
,
trnName
:
"mgrtsk"
,
model
:
new
Mgrtsk
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
codes
:
{...
CodeTable
},
}
},
methods
:{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment