Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 414754ee
authored
Jan 17, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改记录
1 parent
897088a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
1 deletions
src/api/modules/beforeSale.js
src/views/beforeSale/equityList.vue
src/api/modules/beforeSale.js
View file @
414754e
...
...
@@ -425,4 +425,14 @@ const getSummaryExportApi = params => {
})
}
export
default
{
getOrdersummary
,
getChannelTypeApi
,
getSummaryPackage
,
getSummaryExportApi
,
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getNewPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
}
const
getUpdateRecordApi
=
params
=>
{
params
.
method
=
`scrm.api.equity.service.order.update.details`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
getOrdersummary
,
getChannelTypeApi
,
getSummaryPackage
,
getSummaryExportApi
,
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getNewPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
,
getUpdateRecordApi
}
src/views/beforeSale/equityList.vue
View file @
414754e
...
...
@@ -50,6 +50,17 @@
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSecondConfirm"
>
确 定
</el-button>
</span>
</el-dialog>
<GLDialog
class=
"dialog_wrap"
:hasFooter=
"false"
title=
"修改记录"
mode=
"mid"
:visible
.
sync=
"updateDetailVisible"
:before-close=
"handleClose"
@
onOk=
"onOk"
>
<div
style=
"text-align: center;"
v-if=
"!updateList.length"
>
暂无修改记录
</div>
<template
v-else
>
<div
class=
"step-item"
v-for=
"(item, index) in updateList"
:key=
"index"
>
<span
class=
"circle"
></span>
<span
class=
"line"
></span>
<p
class=
"value"
v-for=
"ele in item.detailList"
:key=
"ele.id"
>
{{
ele
.
fieldName
}}
:
{{
ele
.
beforeValue
}}
→
{{
ele
.
afterValue
}}
</p>
<p
class=
"info"
>
{{
item
.
createdBy
}}
{{
item
.
createdDate
}}
</p>
</div>
</
template
>
</GLDialog>
</div>
</template>
...
...
@@ -63,6 +74,7 @@ export default {
name
:
'equityList'
,
data
()
{
return
{
updateList
:
[],
size
:
'small'
,
newKey
:
new
Date
(),
buttonList
:
[
...
...
@@ -159,8 +171,24 @@ export default {
listeners
:
{
click
:
row
=>
this
.
handleEdit
(
4
,
row
.
scope
)
}
},
{
type
:
'el-button'
,
name
:
row
=>
{
return
'修改记录'
},
condition
:
row
=>
{
return
[
2
].
includes
(
row
.
scope
.
orderStatus
)
},
attrs
:
{
type
:
'text'
},
listeners
:
{
click
:
row
=>
this
.
viewUpdateDetail
(
row
.
scope
)
}
}
],
updateDetailVisible
:
false
,
noCancel
:
true
,
isBlock
:
true
,
isTipVisible
:
false
,
...
...
@@ -718,6 +746,14 @@ export default {
},
methods
:
{
viewUpdateDetail
(
row
)
{
this
.
$apis
.
beforeSale
.
getUpdateRecordApi
({
equityId
:
row
.
id
}).
then
(
res
=>
{
if
(
res
)
{
this
.
updateList
=
res
this
.
updateDetailVisible
=
true
}
})
},
getCountNoData
()
{
this
.
$apis
.
beforeSale
.
getCountNoDataApi
({}).
then
(
res
=>
{
this
.
countNoData
=
res
...
...
@@ -1167,4 +1203,51 @@ export default {
.tips-dialog
.el-dialog__body
{
padding
:
10px
15px
20px
!important
;
}
.step-item
{
position
:
relative
;
padding-left
:
16px
;
padding-bottom
:
24px
;
&:first-child
{
.circle
{
background
:
#5850ff
;
}
}
&
:last-child
{
.line
{
display
:
none
;
}
}
.circle
{
top
:
2px
;
position
:
absolute
;
display
:
inline-block
;
left
:
-3px
;
width
:
7px
;
height
:
7px
;
z-index
:
2
;
border-radius
:
50%
;
background
:
#999999
;
}
.line
{
top
:
2px
;
position
:
absolute
;
left
:
0
;
width
:
1px
;
height
:
calc
(
100%
+
4px
);
background
:
#e5e5e5
;
}
.value
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#333333
;
margin-bottom
:
4px
;
}
.info
{
font-weight
:
400
;
font-size
:
12px
;
color
:
#999999
;
line-height
:
20px
;
}
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment