Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
weChatFlowApprove
Project
Project
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
刘川
weChatFlowApprove
Commits
25a18d57
Commit
25a18d57
authored
Jun 17, 2022
by
chuan.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交流程参数遗漏补上
parent
0075902c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
monthFlow.vue
src/views/month-flow/monthFlow.vue
+18
-5
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/month-flow/monthFlow.vue
View file @
25a18d57
...
@@ -86,7 +86,11 @@ export default {
...
@@ -86,7 +86,11 @@ export default {
handleOpinion
:
''
,
handleOpinion
:
''
,
handleResult
:
'1'
handleResult
:
'1'
},
},
tablePathData
:
[]
tablePathData
:
[],
taskNode
:
{
procUnitHandlerId
:
''
,
groupId
:
''
}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -108,7 +112,6 @@ export default {
...
@@ -108,7 +112,6 @@ export default {
console
.
log
(
res
.
data
)
console
.
log
(
res
.
data
)
res
.
data
.
pyear
+=
''
res
.
data
.
pyear
+=
''
this
.
conditions
=
{
...
this
.
conditions
,
...
res
.
data
}
this
.
conditions
=
{
...
this
.
conditions
,
...
res
.
data
}
this
.
initCustome
()
})
})
},
},
flowPath
()
{
flowPath
()
{
...
@@ -117,6 +120,7 @@ export default {
...
@@ -117,6 +120,7 @@ export default {
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
tablePathData
=
res
.
data
.
Rows
this
.
tablePathData
=
res
.
data
.
Rows
this
.
stepActive
=
this
.
tablePathData
.
length
this
.
stepActive
=
this
.
tablePathData
.
length
this
.
selectSelfTask
(
res
.
data
.
Rows
)
}
}
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{})
...
@@ -124,8 +128,8 @@ export default {
...
@@ -124,8 +128,8 @@ export default {
async
submit
(
handleResult
)
{
async
submit
(
handleResult
)
{
this
.
conditions
.
handleResult
=
handleResult
this
.
conditions
.
handleResult
=
handleResult
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
conditions
))
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
conditions
))
params
.
currentHandleId
=
''
params
.
currentHandleId
=
this
.
taskNode
.
procUnitHandlerId
params
.
currentHandleGroupId
=
''
params
.
currentHandleGroupId
=
this
.
taskNode
.
groupId
params
.
taskId
=
this
.
$route
.
query
.
taskId
params
.
taskId
=
this
.
$route
.
query
.
taskId
if
(
this
.
conditions
.
id
)
{
if
(
this
.
conditions
.
id
)
{
const
res
=
await
advance
(
params
)
const
res
=
await
advance
(
params
)
...
@@ -156,7 +160,16 @@ export default {
...
@@ -156,7 +160,16 @@ export default {
Toast
(
'下载异常'
)
Toast
(
'下载异常'
)
}
}
},
},
initCustome
()
{},
selectSelfTask
(
list
)
{
if
(
list
.
length
===
0
)
return
const
selfTask
=
list
.
find
(
item
=>
{
return
item
.
id
===
this
.
conditions
.
taskId
})
if
(
selfTask
)
{
this
.
taskNode
=
selfTask
}
},
onClickLeft
()
{}
onClickLeft
()
{}
}
}
}
}
...
...
vue.config.js
View file @
25a18d57
...
@@ -17,8 +17,8 @@ module.exports = {
...
@@ -17,8 +17,8 @@ module.exports = {
devServer
:
{
devServer
:
{
proxy
:
{
proxy
:
{
'/huigou'
:
{
'/huigou'
:
{
target
:
'http://10.0.135.139'
,
//
target: 'http://10.0.135.139',
//
target: 'http://10.2.7.85',
target
:
'http://10.2.7.85'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/huigou'
:
'/crm-app'
// 重写,
'^/huigou'
:
'/crm-app'
// 重写,
...
...
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