Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
a88149a6
Commit
a88149a6
authored
Nov 21, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
延期审核
parent
cf8e4f74
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
0 deletions
+59
-0
customer.js
src/api/ecw/customer.js
+9
-0
detail.vue
src/views/bpm/processInstance/detail.vue
+6
-0
Delay.vue
src/views/ecw/customer/components/Delay.vue
+44
-0
No files found.
src/api/ecw/customer.js
View file @
a88149a6
...
...
@@ -285,3 +285,12 @@ export function cancelDelayApproval(data) {
data
:
data
,
})
}
// 获取客户审批详情
export
function
getApproval
(
id
)
{
return
request
({
url
:
'
/ecw/customer-approval/get
'
,
method
:
'
get
'
,
params
:
{
id
}
})
}
\ No newline at end of file
src/views/bpm/processInstance/detail.vue
View file @
a88149a6
...
...
@@ -331,6 +331,12 @@ export default {
id
:
this
.
processInstance
.
businessKey
,
path
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
// 客户延期
customer_delay
:{
component
:
()
=>
import
(
'
@/views/ecw/customer/components/Delay
'
),
id
:
this
.
processInstance
.
businessKey
,
path
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
}
console
.
log
(
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
return
map
[
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
()]
...
...
src/views/ecw/customer/components/Delay.vue
0 → 100644
View file @
a88149a6
<
template
>
<div>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"客户编号"
>
{{
detail
.
customerId
}}
</el-descriptions-item>
<el-descriptions-item
label=
"客户名称"
>
{{
detail
.
customerName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"跟进客服"
>
{{
detail
.
followUpSalesmanName
}}
</el-descriptions-item>
<el-descriptions-item
label=
"创建时间"
>
{{
detail
.
createTime
|
parseTime
}}
</el-descriptions-item>
<el-descriptions-item
label=
"申请凭证"
:span=
"4"
>
<el-image
v-for=
"(item, index) in pictures"
:key=
"index"
:src=
"item"
style=
"width:100px; height:100px"
:preview-src-list=
"pictures"
></el-image>
</el-descriptions-item>
<el-descriptions-item
label=
"申请原因"
:span=
"4"
>
{{
detail
.
reason
}}
</el-descriptions-item>
</el-descriptions>
</div>
</
template
>
<
script
>
import
{
getApproval
}
from
'
@/api/ecw/customer
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
filters
:
{
parseTime
},
props
:{
id
:
[
String
,
Number
]
},
data
(){
return
{
info
:
null
}
},
computed
:{
detail
(){
if
(
!
this
.
info
)
return
null
return
JSON
.
parse
(
this
.
info
.
details
)
},
pictures
(){
if
(
!
this
.
detail
)
return
[]
return
this
.
detail
.
voucher
.
split
(
'
,
'
).
filter
(
item
=>
!!
item
)
}
},
created
(){
getApproval
(
this
.
id
).
then
(
res
=>
{
this
.
info
=
res
.
data
})
}
}
</
script
>
\ No newline at end of file
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