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
fukai
vue-gjjs
Commits
80f06a60
Commit
80f06a60
authored
Mar 14, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mgrtsk相关页面调整
parent
be0da330
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
486 additions
and
323 deletions
+486
-323
Pattern.js
src/model/Mgrtsk/Pattern.js
+3
-3
Predecessors.vue
src/views/Business/Mgrtsk/Predecessors.vue
+30
-12
Srvdsp.vue
src/views/Business/Mgrtsk/Srvdsp.vue
+1
-1
Swt.vue
src/views/Business/Mgrtsk/Swt.vue
+84
-55
Tco.vue
src/views/Business/Mgrtsk/Tco.vue
+134
-73
Tskmgr.vue
src/views/Business/Mgrtsk/Tskmgr.vue
+232
-179
index.vue
src/views/Business/Mgrtsk/index.vue
+2
-0
No files found.
src/model/Mgrtsk/Pattern.js
View file @
80f06a60
...
@@ -8,7 +8,7 @@ export default {
...
@@ -8,7 +8,7 @@ export default {
],
],
"wfetsk.tsklist.jobstrtimhh"
:[
"wfetsk.tsklist.jobstrtimhh"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
//
{max: 2,message:"长度不能超过2"}
],
],
"wfetsk.tsklist.jobstrtimmm"
:[
"wfetsk.tsklist.jobstrtimmm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
@@ -18,7 +18,7 @@ export default {
...
@@ -18,7 +18,7 @@ export default {
"wfetsk.tsklist.downtimehh"
:[
"wfetsk.tsklist.downtimehh"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
//
{max: 2,message:"长度不能超过2"}
],
],
"wfetsk.tsklist.downtimemm"
:[
"wfetsk.tsklist.downtimemm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
"wfetsk.tsklist.redotime"
:[
"wfetsk.tsklist.redotime"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
4
,
message
:
"长度不能超过4"
}
//
{max: 4,message:"长度不能超过4"}
],
],
"wfetsk.seletgextkey"
:[
"wfetsk.seletgextkey"
:[
...
...
src/views/Business/Mgrtsk/Predecessors.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
"height:24px;"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Configuration Panel"
class=
"messageLabel"
>
<c-checkbox
v-model=
"model.srvpdp.exeflg"
>
pending predecessors check
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-divider></el-divider>
</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>
<c-col
:span=
"12"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvpdp.exeflg"
>
pending predecessors check
</c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Wait before 'Retry' "
prop=
"srvpdp.rettim"
>
</div>
<c-input
v-model=
"model.srvpdp.rettim"
placeholder=
"请输入Wait before 'Retry' "
></c-input>
</el-form-item>
</c-col>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
...
@@ -33,6 +44,13 @@ export default {
...
@@ -33,6 +44,13 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
.el-col
>>>
.el-divider--horizontal
{
margin-top
:
5px
;
}
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
</
style
>
src/views/Business/Mgrtsk/Srvdsp.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"2
2"
:offset=
"1
"
>
<c-col
:span=
"2
4
"
>
<c-table
:border=
"true"
:list=
"data"
ref=
"table"
style=
"width:80%,text-align:center"
height=
"500"
:paginationShow=
"false"
>
<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=
"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=
"Handler"
width=
"auto"
prop=
"srvhdl"
sortable
></el-table-column>
...
...
src/views/Business/Mgrtsk/Swt.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
style=
"height:24px;"
>
<c-checkbox
v-model=
"model.srvswt.exeflg"
>
Outgoing SWIFT
</c-checkbox>
<el-form-item
label=
"Configuration Panel"
class=
"messageLabel"
>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
style=
"height: 10px;margin-bottom:10px"
>
<el-form-item
label=
"Own BIC code"
prop=
"srvswt.ownbic"
>
<el-divider></el-divider>
<c-input
type=
"textarea"
v-model=
"model.srvswt.ownbic"
maxlength=
"12"
show-word-limit
placeholder=
"请输入Own BIC code"
></c-input>
</c-col>
</el-form-item>
<!-- Left -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Own BIC code"
prop=
"srvswt.ownbic"
>
<c-input
v-model=
"model.srvswt.ownbic"
show-word-limit
placeholder=
"请输入Own BIC code"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<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=
"24"
>
<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=
"24"
>
<el-form-item
label=
"Job Execution"
prop=
"srvswt.jobexe"
>
<c-select
v-model=
"model.srvswt.jobexe"
style=
"width:100%"
placeholder=
"请选择Jobexecution"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- Right -->
<c-col
:span=
"12"
:offset=
"1"
>
<c-col
:span=
"24"
>
<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=
"24"
>
<c-col
:span=
"9"
:offset=
"6"
>
<el-form-item
label=
"Execute: SWF"
label-width=
"100px"
>
<c-checkbox
v-model=
"model.srvswt.exeflg"
placeholder=
"请输入Pathname"
></c-checkbox>
</el-form-item>
</c-col>
<c-col
:span=
"9"
>
<el-form-item
label=
"Separate Directory per Entity"
>
<c-checkbox
v-model=
"model.srvswt.etydirflg"
placeholder=
"请输入Pathname"
></c-checkbox>
</el-form-item>
</c-col>
<!--
<el-form-item
label=
"Separate Directory per Entity"
>
<c-checkbox
v-model=
"model.srvswt.etydirflg"
placeholder=
"请输入Pathname"
></c-checkbox>
</el-form-item>
-->
</c-col>
<c-col
:span=
"24"
>
<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=
"24"
>
<el-form-item
label=
"Job"
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>
</c-col>
</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>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -77,6 +99,13 @@ export default {
...
@@ -77,6 +99,13 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
.el-col
>>>
.el-divider--horizontal
{
margin-top
:
5px
;
}
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
</
style
>
src/views/Business/Mgrtsk/Tco.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
"height: 24px"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Configuration Panel"
class=
"messageLabel"
>
<c-checkbox
v-model=
"model.srvtco.exeflg"
>
TradeConnect/BranchConnect
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
style=
"height: 10px; margin-bottom: 10px"
>
<c-col
:span=
"12"
>
<el-divider></el-divider>
<span
v-text=
"model.srvtco.owntidlbl"
data-path=
".srvtco.owntidlbl"
>
</span>
</c-col>
</c-col>
<!-- Left -->
<c-col
:span=
"12"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Own TID"
prop=
"srvtco.owntid"
>
<c-col
:span=
"24"
>
<c-input
v-model=
"model.srvtco.owntid"
maxlength=
"23"
placeholder=
"请输入Own TID"
></c-input>
<el-form-item
label=
"Pathname"
prop=
"srvtco.outdir"
>
</el-form-item>
<c-input
</c-col>
v-model=
"model.srvtco.outdir"
maxlength=
"80"
<c-col
:span=
"12"
>
placeholder=
"请输入Pathname"
<el-form-item
label=
"Pathname"
prop=
"srvtco.outdir"
>
></c-input>
<c-input
v-model=
"model.srvtco.outdir"
maxlength=
"80"
placeholder=
"请输入Pathname"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvtco.tidflg"
>
Dont Write in Subdirectories
</c-checkbox>
<c-checkbox
v-model=
"model.srvtco.tidflg"
</c-col>
>
Dont Write in Subdirectories
</c-checkbox
>
<c-col
:span=
"12"
>
</el-form-item>
<c-checkbox
v-model=
"model.srvtco.etydirflg"
>
Separate Directory per Entity
</c-checkbox>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvtco.lstflg"
>
Dont Create Listfiles
</c-checkbox>
<c-checkbox
v-model=
"model.srvtco.lstflg"
</c-col>
>
Dont Create Listfiles
</c-checkbox
>
<c-col
:span=
"12"
>
</el-form-item>
<c-checkbox
v-model=
"model.srvtco.tecpdfflg"
>
Send technical messages formatted
</c-checkbox>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Jobexecution"
prop=
"srvtco.jobexe"
>
<el-form-item
label=
"Jobexecution"
prop=
"srvtco.jobexe"
>
<c-select
<c-select
v-model=
"model.srvtco.jobexe"
style=
"width:100%"
placeholder=
"请选择Jobexecution"
>
v-model=
"model.srvtco.jobexe"
</c-select>
style=
"width: 100%"
</el-form-item>
placeholder=
"请选择Jobexecution"
</c-col>
>
</c-select>
<c-col
:span=
"12"
>
</el-form-item>
<el-form-item
label=
"Job to executed on successful export"
prop=
"srvtco.job"
>
</c-col>
<c-input
v-model=
"model.srvtco.job"
maxlength=
"58"
placeholder=
"请输入Job to executed on successful export"
></c-input>
</el-form-item>
<c-col
:span=
"24"
>
</c-col>
<el-form-item
label=
"Text for Header"
prop=
"srvtco.heatxt"
>
<c-input
<c-col
:span=
"12"
>
v-model=
"model.srvtco.heatxt"
<el-form-item
label=
"Text for Header"
prop=
"srvtco.heatxt"
>
maxlength=
"40"
<c-input
v-model=
"model.srvtco.heatxt"
maxlength=
"40"
placeholder=
"请输入Text for Header"
></c-input>
placeholder=
"请输入Text for Header"
</el-form-item>
></c-input>
</c-col>
</el-form-item>
</div>
</c-col>
</c-col>
<!-- Right -->
<c-col
:span=
"12"
:offset=
"1"
>
<c-col
:span=
"24"
>
<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=
"24"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvtco.etydirflg"
>
Separate Directory per Entity
</c-checkbox
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvtco.tecpdfflg"
>
Send technical messages formatted
</c-checkbox
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Job"
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=
"24"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.srvtco.exeflg"
>
Execute: TCO
</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<span
v-text=
"model.srvtco.owntidlbl"
data-path=
".srvtco.owntidlbl"
>
</span>
</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
},
methods
:
{
...
Event
},
created
:
function
(){
created
:
function
()
{},
};
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
.el-col
>>>
.el-divider--horizontal
{
margin-top
:
5px
;
}
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
</
style
>
src/views/Business/Mgrtsk/Tskmgr.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"23"
style=
"text-align:right;"
>
<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
<c-button
size=
"small"
type=
"primary"
style=
"margin-left:0"
@
click=
"Stop"
>
Stop
</c-button>
size=
"small"
</c-col>
type=
"primary"
style=
"margin-left: 0"
:disabled=
"buttonFlag"
@
click=
"Update"
>
Update
</c-button
>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left: 0"
:disabled=
"buttonFlag"
@
click=
"Start"
>
Start
</c-button
>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left: 0"
:disabled=
"!buttonFlag"
@
click=
"Stop"
>
Stop
</c-button
>
</c-col>
<c-col
:span=
"24"
style=
"margin-top:
10px"
>
<c-col
:span=
"24"
style=
"margin-top:
10px"
>
<!-- ================左=============== -->
<!-- ================左=============== -->
<!--
<c-col
:span=
"11"
>
<!--
<c-col
:span=
"11"
>
<c-col>
(Services see 2nd Tab)
</c-col>
<c-col>
(Services see 2nd Tab)
</c-col>
<c-col>
Running in foreground
</c-col>
<c-col>
Running in foreground
</c-col>
<c-col
:span=
"12"
:offset=
"12"
style=
"margin-top: 105px"
>
<c-col
:span=
"12"
:offset=
"12"
style=
"margin-top: 105px"
>
...
@@ -19,127 +41,134 @@
...
@@ -19,127 +41,134 @@
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
-->
</c-col>
-->
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Start Processing"
prop=
"wfetsk.tsklist.strflg"
>
<el-form-item
<c-select
label=
"Start Processing"
v-model=
"model.wfetsk.tsklist.strflg"
prop=
"wfetsk.tsklist.strflg"
style=
"width: 100%"
>
placeholder=
"请选择Automatic Start Flag"
<c-select
>
v-model=
"model.wfetsk.tsklist.strflg"
<el-option
style=
"width: 100%"
v-for=
"item in codes.strflg"
placeholder=
"请选择Automatic Start Flag"
:key=
"item.value"
>
:label=
"item.label"
<el-option
:value=
"item.value"
v-for=
"item in codes.strflg"
>
:key=
"item.value"
</el-option>
:label=
"item.label"
</c-select>
:value=
"item.value"
</el-form-item>
>
</c-col>
</el-option>
</c-select>
<c-col
:span=
"24"
>
</el-form-item>
<el-form-item
label=
"Ref No"
prop=
"wfetsk.refno"
>
</c-col>
<c-input
v-model=
"model.wfetsk.refno"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
><el-form-item
label=
"Initialization File"
prop=
"wfetsk.tsklist.ininam"
>
<c-input
v-model=
"model.wfetsk.tsklist.ininam"
placeholder=
""
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Ref No"
prop=
"wfetsk.refno"
>
<c-input
v-model=
"model.wfetsk.refno"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
><el-form-item
label=
"Initialization File"
prop=
"wfetsk.tsklist.ininam"
>
<c-input
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=
"11"
:offset=
"1"
>
<c-col
:span=
"14"
>
<c-col
:span=
"14"
>
<el-form-item
label=
"Started"
prop=
"wfetsk.tsklist.jobstrdat"
>
<el-form-item
<c-date-picker
label=
"Started"
type=
"date"
prop=
"wfetsk.tsklist.jobstrdat"
v-model=
"model.wfetsk.tsklist.jobstrdat"
>
disabled
<c-date-picker
style=
"width: 100%"
type=
"date"
placeholder=
"请选择"
v-model=
"model.wfetsk.tsklist.jobstrdat"
></c-date-picker>
disabled
</el-form-item>
style=
"width: 100%"
</c-col>
placeholder=
"请选择"
<c-col
:span=
"4"
:offset=
"1"
>
></c-date-picker>
<el-form-item
</el-form-item>
label=
"h"
</c-col>
prop=
"wfetsk.tsklist.jobstrtimhh"
<c-col
:span=
"4"
:offset=
"1"
>
label-width=
"20px"
<el-form-item
>
label=
"h"
<c-input
prop=
"wfetsk.tsklist.jobstrtimhh"
v-model=
"model.wfetsk.tsklist.jobstrtimhh"
label-width=
"20px"
disabled
>
placeholder=
"请输入"
<c-input
></c-input>
v-model=
"model.wfetsk.tsklist.jobstrtimhh"
</el-form-item>
disabled
</c-col>
placeholder=
"请输入"
<c-col
:span=
"4"
:offset=
"1"
>
></c-input>
<el-form-item
label=
"min"
label-width=
"20px"
>
</el-form-item>
<c-input
</c-col>
v-model=
"model.wfetsk.tsklist.jobstrtimmm"
<c-col
:span=
"4"
:offset=
"1"
>
placeholder=
"请输入"
<el-form-item
label=
"min"
label-width=
"20px"
>
disabled
<c-input
></c-input>
v-model=
"model.wfetsk.tsklist.jobstrtimmm"
</el-form-item>
placeholder=
"请输入"
</c-col>
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<c-col
:span=
"14"
>
<el-form-item
label=
"Termination"
prop=
"wfetsk.tsklist.terflg"
>
<el-form-item
<c-select
label=
"Termination"
v-model=
"model.wfetsk.tsklist.terflg"
prop=
"wfetsk.tsklist.terflg"
style=
"width: 100%"
>
placeholder=
"请选择Automatic Termination Flag"
<c-select
>
v-model=
"model.wfetsk.tsklist.terflg"
<el-option
style=
"width: 100%"
v-for=
"item in codes.terflg"
placeholder=
"请选择Automatic Termination Flag"
:key=
"item.value"
>
:label=
"item.label"
<el-option
:value=
"item.value"
v-for=
"item in codes.terflg"
>
:key=
"item.value"
</el-option>
:label=
"item.label"
</c-select>
:value=
"item.value"
</el-form-item>
>
</c-col>
</el-option>
<c-col
:span=
"4"
:offset=
"1"
>
</c-select>
<el-form-item
</el-form-item>
label=
"h"
</c-col>
prop=
"wfetsk.tsklist.downtimehh"
<c-col
:span=
"4"
:offset=
"1"
>
label-width=
"20px"
<el-form-item
>
label=
"h"
<c-input
prop=
"wfetsk.tsklist.downtimehh"
v-model=
"model.wfetsk.tsklist.downtimehh"
label-width=
"20px"
disabled
>
placeholder=
"请输入"
<c-input
></c-input>
v-model=
"model.wfetsk.tsklist.downtimehh"
</el-form-item>
disabled
</c-col>
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"4"
:offset=
"1"
>
<c-col
:span=
"4"
:offset=
"1"
>
<el-form-item
label=
"min"
prop=
""
label-width=
"20px"
>
<el-form-item
label=
"min"
prop=
""
label-width=
"20px"
>
<c-input
<c-input
v-model=
"model.wfetsk.tsklist.downtimemm"
v-model=
"model.wfetsk.tsklist.downtimemm"
disabled
disabled
placeholder=
""
placeholder=
""
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"16"
>
<!--
<c-col
:span=
"16"
>
<span
<span
v-text=
"model.wfetsk.tsklist.ininam"
v-text=
"model.wfetsk.tsklist.ininam"
data-path=
".wfetsk.tsklist.ininam"
data-path=
".wfetsk.tsklist.ininam"
...
@@ -148,18 +177,21 @@
...
@@ -148,18 +177,21 @@
</span>
</span>
</c-col>
-->
</c-col>
-->
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Restart Period"
prop=
"wfetsk.tsklist.redotime"
>
<el-form-item
<c-input
label=
"Restart Period"
v-model=
"model.wfetsk.tsklist.redotime"
prop=
"wfetsk.tsklist.redotime"
placeholder=
"请输入Redotime"
>
></c-input>
<c-input
</el-form-item>
v-model=
"model.wfetsk.tsklist.redotime"
placeholder=
"请输入Redotime"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Automatic Start Flag"
prop=
"wfetsk.tsklist.strflg"
>
<el-form-item
label=
"Automatic Start Flag"
prop=
"wfetsk.tsklist.strflg"
>
<c-select
<c-select
v-model=
"model.wfetsk.tsklist.strflg"
v-model=
"model.wfetsk.tsklist.strflg"
...
@@ -261,11 +293,23 @@
...
@@ -261,11 +293,23 @@
E
&
xit
E
&
xit
</c-button>
</c-button>
</c-col>
-->
</c-col>
-->
<c-col
:span=
"22"
:offset=
"1"
>
<c-col
:span=
"22"
:offset=
"1"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
</c-istream-table>
<el-table-column
label=
"操作"
>
</c-col>
<template
slot-scope=
"scope"
>
</div>
<el-button
size=
"mini"
type=
"primary"
style=
"text-align:center"
:disabled =
"buttonFlag"
@
click=
"Entry(scope.row.index, scope.row)"
>
Entry
</el-button
>
</
template
>
</el-table-column>
</c-istream-table>
</c-col>
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
...
@@ -274,52 +318,61 @@ import CodeTable from "~/config/CodeTable";
...
@@ -274,52 +318,61 @@ 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
{
stmData
:
{
stmData
:
{
columns
:
[
columns
:
[
"8 1
\"
Entity
\"
100 1 0"
,
'8 1 "Entity" 100 1 0'
,
"7 2
\"
Object Identification
\"
390 1 0"
,
'7 2 "Object Identification" 390 1 0'
,
"6 3
\"
Ident
\"
100 1 0"
,
'6 3 "Ident" 100 1 0'
,
"1 4
\"
Service
\"
100 1 0 3 SRVTXT"
,
'1 4 "Service" 100 1 0 3 SRVTXT'
,
"2 5
\"
Status
\"
100 1 0 2 WFE:STA"
,
'2 5 "Status" 100 1 0 2 WFE:STA'
,
"3 6
\"
Retries
\"
100 2 20:1 1 FormatRTR"
,
'3 6 "Retries" 100 2 20:1 1 FormatRTR'
,
"4 7
\"
Target
\"
auto 20 30 1"
'4 7 "Target" auto 20 30 1'
,
],
],
data
:
[
data
:
[],
]
},
},
};
buttonFlag
:
true
,
},
};
methods
:
{
...
Event
,
Start
(){
console
.
log
(
123
)
let
rtnmsg
=
this
.
executeRule
(
"wfetsk.tsklist.butstr"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
},
},
Stop
(){
methods
:
{
let
rtnmsg
=
this
.
executeRule
(
"wfetsk.tsklist.butstp"
)
...
Event
,
if
(
rtnmsg
.
respCode
==
SUCCESS
)
Entry
()
{
{
let
rtnmsg
=
this
.
executeRule
(
"wfetsk.tsklist.butexe"
);
//TODO 处理数据逻辑
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
}
},
Update
()
{
let
rtnmsg
=
this
.
executeRule
(
"wfetsk.tsklist.butupd"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
},
Start
()
{
this
.
buttonFlag
=
true
;
let
rtnmsg
=
this
.
executeRule
(
"wfetsk.tsklist.butstr"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
},
Stop
()
{
this
.
buttonFlag
=
false
;
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
;
},
},
},
},
created
:
function
()
{
},
watch
:
{
'model.wfetsk.wfestm'
:
function
()
{
this
.
stmData
.
data
=
this
.
model
.
wfetsk
.
wfestm
.
rows
;
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
...
...
src/views/Business/Mgrtsk/index.vue
View file @
80f06a60
<
template
>
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<c-page
title=
""
>
<el-form
<el-form
:model=
"model"
:model=
"model"
:rules=
"rules"
:rules=
"rules"
...
@@ -90,6 +91,7 @@
...
@@ -90,6 +91,7 @@
</el-tab-pane>
-->
</el-tab-pane>
-->
</c-tabs>
</c-tabs>
</el-form>
</el-form>
</c-page>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
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