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
379164d2
Commit
379164d2
authored
Jun 18, 2022
by
chuan.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交流程参数遗漏补上
parent
25a18d57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
19 deletions
+50
-19
monthFlow.vue
src/views/month-flow/monthFlow.vue
+5
-1
PlanChangeFlow.vue
src/views/plan-change-flow/PlanChangeFlow.vue
+23
-4
ShipApproval.vue
src/views/ship-approval/ShipApproval.vue
+20
-12
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/month-flow/monthFlow.vue
View file @
379164d2
...
...
@@ -170,7 +170,11 @@ export default {
this
.
taskNode
=
selfTask
}
},
onClickLeft
()
{}
onClickLeft
()
{
window
.
opener
=
null
window
.
open
(
''
,
'_self'
,
''
)
window
.
close
()
}
}
}
</
script
>
...
...
src/views/plan-change-flow/PlanChangeFlow.vue
View file @
379164d2
...
...
@@ -85,7 +85,11 @@ export default {
handleOpinion
:
''
,
handleResult
:
'1'
},
tablePathData
:
[]
tablePathData
:
[],
taskNode
:
{
procUnitHandlerId
:
''
,
groupId
:
''
}
}
},
computed
:
{
...
...
@@ -117,6 +121,7 @@ export default {
if
(
res
.
data
)
{
this
.
tablePathData
=
res
.
data
.
Rows
this
.
stepActive
=
this
.
tablePathData
.
length
this
.
selectSelfTask
(
res
.
data
.
Rows
)
}
})
.
catch
(()
=>
{})
...
...
@@ -124,8 +129,8 @@ export default {
async
submit
(
handleResult
)
{
this
.
conditions
.
handleResult
=
handleResult
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
conditions
))
params
.
currentHandleId
=
''
params
.
currentHandleGroupId
=
''
params
.
currentHandleId
=
this
.
taskNode
.
procUnitHandlerId
params
.
currentHandleGroupId
=
this
.
taskNode
.
groupId
params
.
taskId
=
this
.
$route
.
query
.
taskId
if
(
this
.
conditions
.
id
)
{
const
res
=
await
advance
(
params
)
...
...
@@ -156,7 +161,21 @@ export default {
Toast
(
'下载异常'
)
}
},
onClickLeft
()
{}
selectSelfTask
(
list
)
{
if
(
list
.
length
===
0
)
return
const
selfTask
=
list
.
find
(
item
=>
{
return
item
.
id
===
this
.
conditions
.
taskId
})
if
(
selfTask
)
{
this
.
taskNode
=
selfTask
}
},
onClickLeft
()
{
window
.
opener
=
null
window
.
open
(
''
,
'_self'
,
''
)
window
.
close
()
}
}
}
</
script
>
...
...
src/views/ship-approval/ShipApproval.vue
View file @
379164d2
...
...
@@ -40,7 +40,7 @@
<van-field
v-if=
"isShowBase"
v-model=
"form.baseAuditQuantity"
:required=
"taskNode === 'base'"
:required=
"taskNode
.subProcUnitId
=== 'base'"
label=
"基地审批量"
placeholder=
""
/>
...
...
@@ -48,7 +48,7 @@
v-if=
"isShowWarZone"
v-model=
"form.warAuditQuantity"
label=
"战区审批量"
:required=
"taskNode === 'warZone'"
:required=
"taskNode
.subProcUnitId
=== 'warZone'"
placeholder=
""
error-message=
""
/>
...
...
@@ -254,19 +254,23 @@ export default {
planType
:
''
},
tablePathData
:
[],
taskNode
:
''
taskNode
:
{
subProcUnitId
:
''
,
procUnitHandlerId
:
''
,
groupId
:
''
}
}
},
computed
:
{
...
mapGetters
[
'token'
],
isShowBase
()
{
return
this
.
taskNode
===
'base'
||
this
.
isShowWarZone
||
this
.
isShowWork
return
this
.
taskNode
.
subProcUnitId
===
'base'
||
this
.
isShowWarZone
||
this
.
isShowWork
},
isShowWarZone
()
{
return
this
.
taskNode
===
'warZone'
||
this
.
isShowWork
return
this
.
taskNode
.
subProcUnitId
===
'warZone'
||
this
.
isShowWork
},
isShowWork
()
{
return
this
.
taskNode
===
'work'
return
this
.
taskNode
.
subProcUnitId
===
'work'
}
},
created
()
{
...
...
@@ -327,8 +331,8 @@ export default {
this
.
conditions
=
{
...
this
.
conditions
,
...
this
.
form
}
this
.
conditions
.
handleResult
=
handleResult
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
conditions
))
params
.
currentHandleId
=
''
params
.
currentHandleGroupId
=
''
params
.
currentHandleId
=
this
.
taskNode
.
procUnitHandlerId
params
.
currentHandleGroupId
=
this
.
taskNode
.
groupId
params
.
taskId
=
this
.
$route
.
query
.
taskId
if
(
this
.
conditions
.
id
)
{
const
res
=
await
advance
(
params
)
...
...
@@ -351,9 +355,9 @@ export default {
const
selfTask
=
list
.
find
(
item
=>
{
return
item
.
id
===
this
.
conditions
.
taskId
})
if
(
selfTask
.
length
>
0
)
{
if
(
selfTask
[
0
]
.
statusId
===
'ready'
)
{
this
.
taskNode
=
selfTask
[
0
].
subProcUnitId
if
(
selfTask
)
{
if
(
selfTask
.
statusId
===
'ready'
)
{
this
.
taskNode
=
selfTask
}
}
},
...
...
@@ -363,7 +367,11 @@ export default {
1
:
'是'
}[
val
*
1
]
},
onClickLeft
()
{}
onClickLeft
()
{
window
.
opener
=
null
window
.
open
(
''
,
'_self'
,
''
)
window
.
close
()
}
}
}
</
script
>
...
...
vue.config.js
View file @
379164d2
...
...
@@ -17,8 +17,8 @@ module.exports = {
devServer
:
{
proxy
:
{
'/huigou'
:
{
//
target: 'http://10.0.135.139',
target
:
'http://10.2.7.85'
,
target
:
'http://10.0.135.139'
,
//
target: 'http://10.2.7.85',
changeOrigin
:
true
,
pathRewrite
:
{
'^/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