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
6fd20162
Commit
6fd20162
authored
Mar 02, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
74777364
effc4f4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
54 deletions
+61
-54
Tskmgr.vue
src/views/Business/Mgrtsk/Tskmgr.vue
+16
-14
index.vue
src/views/Business/Mgrtsk/index.vue
+45
-40
No files found.
src/views/Business/Mgrtsk/Tskmgr.vue
View file @
6fd20162
...
...
@@ -254,18 +254,8 @@
</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-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
</c-istream-table>
</c-col>
</div>
</
template
>
...
...
@@ -281,8 +271,20 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
data
:
[],
};
stmData
:
{
columns
:
[
"8 1
\"
Entity
\"
100 1 0"
,
"7 2
\"
Object Identification
\"
390 1 0"
,
"6 3
\"
Ident
\"
100 1 0"
,
"1 4
\"
Service
\"
100 1 0 3 SRVTXT"
,
"2 5
\"
Status
\"
100 1 0 2 WFE:STA"
,
"3 6
\"
Retries
\"
100 2 20:1 1 FormatRTR"
,
"4 7
\"
Target
\"
auto 20 30 1"
],
data
:
[
]
},
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
...
...
src/views/Business/Mgrtsk/index.vue
View file @
6fd20162
...
...
@@ -110,46 +110,51 @@ import Prttst from "./Prttst";
import
Prtswtr
from
"./Prtswtr"
;
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
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"tskmgr"
,
trnName
:
"mgrtsk"
,
model
:
new
Mgrtsk
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
};
},
methods
:
{
tabClick
()
{},
},
created
:
async
function
()
{
console
.
log
(
"进入mgrtsk交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
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
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"tskmgr"
,
trnName
:
"mgrtsk"
,
model
:
new
Mgrtsk
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{...
CodeTable
},
}
},
methods
:{
tabClick
(){
}
},
created
:
async
function
(){
console
.
log
(
"进入mgrtsk交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
};
</
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