Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7b990c04
authored
2021-01-26 09:04:12 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
流程数据加载loading
1 parent
9096e8b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/views/zd/lcgz/index.vue
src/views/zd/lcgz/index.vue
View file @
7b990c0
...
...
@@ -39,12 +39,14 @@ export default {
"params"
:
{},
"workflowPeriod"
:
"current"
,
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
}
vm
.
loadingShow
(
'数据获取中'
);
getActivityDetail
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
.
processInstance
.
templetId
);
templateLoad
(
res
.
processInstance
.
templetId
).
then
((
res1
)
=>
{
console
.
log
(
this
.
$x2js
.
xml2js
(
res1
).
Process
,
'Process'
);
getProcessOutline
(
res
.
processInstance
.
id
).
then
((
res2
)
=>
{
vm
.
loadingHide
();
this
.
flowData
=
this
.
$x2js
.
xml2js
(
res1
).
Process
;
console
.
log
(
res2
.
activityOutlines
,
'res.activityOutlines'
);
this
.
flowState
=
res2
.
activityOutlines
;
...
...
@@ -59,7 +61,9 @@ export default {
this
.
flowShow
=
true
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
});
})
.
catch
((
error
)
=>
{});
})
...
...
Please
register
or
sign in
to post a comment