Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 231ed719
authored
Jun 20, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
d3a9d951
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
91 additions
and
95 deletions
src/router/modules/913_contentManager.js
src/views/contentManager/SopContentAdd.vue
src/views/contentManager/components/findStaffTagCourseDialog/index.vue
src/views/contentManager/components/selectTagSop/index.vue
src/views/contentManager/labelCourse/findStaffTagCourseDialog/index.vue
src/views/contentManager/labelCourse/index.vue
src/views/contentManager/labelCourse/labelCourseDialog.vue
src/views/contentManager/labelCourse/selectTag/index.vue
src/views/contentManager/listOfPenalties/index.vue
src/views/contentManager/massSendingStatisticsPage/learningSituation.vue
src/views/contentManager/massSendingStatisticsPage/readStatistics.vue
src/views/contentManager/staffMassSending/index.vue
src/views/contentManager/staffMassSending/massSendingStatisticsPage.vue
src/views/pointManagement/pointParticulars.vue
src/router/modules/913_contentManager.js
View file @
231ed71
...
@@ -237,6 +237,18 @@ export const routerName = {
...
@@ -237,6 +237,18 @@ export const routerName = {
parentId
:
"91305"
,
parentId
:
"91305"
,
label
:
"统计"
,
label
:
"统计"
,
handle
:
"goStatisticsPage"
,
handle
:
"goStatisticsPage"
,
// attr
ruleObj
:
{
attr
:
"contentType"
,
rule
:
{
0
:
"统计"
,
1
:
"统计"
,
2
:
"统计"
,
3
:
"统计"
,
4
:
"统计"
,
5
:
"详情"
}
},
addRoutePath
:
[
addRoutePath
:
[
{
{
authId
:
"9130506"
,
authId
:
"9130506"
,
...
...
src/views/contentManager/SopContentAdd.vue
View file @
231ed71
This diff is collapsed.
Click to expand it.
src/views/contentManager/components/findStaffTagCourseDialog/index.vue
View file @
231ed71
...
@@ -90,8 +90,7 @@ export default {
...
@@ -90,8 +90,7 @@ export default {
findStaffTagCoursePage
({
findStaffTagCoursePage
({
...
this
.
storeSearchForm
,
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
// isFlag: true
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
selectingData
=
res
.
list
this
.
selectingData
=
res
.
list
this
.
total
=
res
.
total
this
.
total
=
res
.
total
...
...
src/views/contentManager/components/selectTagSop/index.vue
View file @
231ed71
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<el-checkbox-group
class=
"tag-group"
v-model=
"item.tagChecked"
<el-checkbox-group
class=
"tag-group"
v-model=
"item.tagChecked"
@
change=
"handleCheckedChange(item.tagChecked, index)"
v-if=
"item.checked"
>
@
change=
"handleCheckedChange(item.tagChecked, index)"
v-if=
"item.checked"
>
<el-checkbox
v-for=
"(itm, idx) in item.labelList"
:label=
"itm"
:key=
"idx"
>
{{
itm
.
name
||
itm
.
labelName
<el-checkbox
v-for=
"(itm, idx) in item.labelList"
:label=
"itm"
:key=
"idx"
>
{{
itm
.
name
||
itm
.
labelName
}}
</el-checkbox>
}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</div>
</div>
</div>
</div>
...
@@ -116,7 +116,7 @@ export default {
...
@@ -116,7 +116,7 @@ export default {
tree
:
{
tree
:
{
6
:
[{
id
:
6
,
name
:
'运营模式'
,
child
:
[{
id
:
0
,
name
:
'非直营'
},
{
id
:
1
,
name
:
'直营'
}]
}],
6
:
[{
id
:
6
,
name
:
'运营模式'
,
child
:
[{
id
:
0
,
name
:
'非直营'
},
{
id
:
1
,
name
:
'直营'
}]
}],
7
:
[{
id
:
7
,
name
:
'展业场景'
,
child
:
[{
id
:
0
,
name
:
'售前'
},
{
id
:
1
,
name
:
'售后'
},
{
id
:
2
,
name
:
'存量电销'
}]
}],
7
:
[{
id
:
7
,
name
:
'展业场景'
,
child
:
[{
id
:
0
,
name
:
'售前'
},
{
id
:
1
,
name
:
'售后'
},
{
id
:
2
,
name
:
'存量电销'
}]
}],
9
:
[{
id
:
9
,
name
:
'业务类型 '
,
child
:
[{
id
:
0
,
name
:
'
非直营'
},
{
id
:
1
,
name
:
'直营
'
}]
}],
9
:
[{
id
:
9
,
name
:
'业务类型 '
,
child
:
[{
id
:
0
,
name
:
'
轻改'
},
{
id
:
1
,
name
:
'权益'
},
{
id
:
2
,
name
:
'权益
'
}]
}],
10
:
[{
id
:
0
,
name
:
'短课程学习'
,
child
:
[{
id
:
0
,
name
:
'进行中'
},
{
id
:
1
,
name
:
'已改善'
},
{
id
:
2
,
name
:
'未改善'
}]
},
{
id
:
1
,
name
:
'长课程学习'
,
child
:
[{
id
:
0
,
name
:
'进行中'
},
{
id
:
3
,
name
:
'已结束'
}]
}]
10
:
[{
id
:
0
,
name
:
'短课程学习'
,
child
:
[{
id
:
0
,
name
:
'进行中'
},
{
id
:
1
,
name
:
'已改善'
},
{
id
:
2
,
name
:
'未改善'
}]
},
{
id
:
1
,
name
:
'长课程学习'
,
child
:
[{
id
:
0
,
name
:
'进行中'
},
{
id
:
3
,
name
:
'已结束'
}]
}]
}
}
}
}
...
...
src/views/contentManager/labelCourse/findStaffTagCourseDialog/index.vue
View file @
231ed71
...
@@ -90,8 +90,7 @@ export default {
...
@@ -90,8 +90,7 @@ export default {
findStaffTagCoursePage
({
findStaffTagCoursePage
({
...
this
.
storeSearchForm
,
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
isFlag
:
true
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
selectingData
=
res
.
list
this
.
selectingData
=
res
.
list
this
.
total
=
res
.
total
this
.
total
=
res
.
total
...
...
src/views/contentManager/labelCourse/index.vue
View file @
231ed71
...
@@ -26,9 +26,13 @@
...
@@ -26,9 +26,13 @@
</div>
</div>
</
template
>
</
template
>
<
template
slot=
"courseList"
scope=
"scope"
>
<
template
slot=
"courseList"
scope=
"scope"
>
<div
v-for=
"(item, index) in scope.scope.tagList.split(',')"
:key=
"index"
>
<el-tooltip
v-for=
"(item, index) in scope.scope.courseList.split(',')"
:key=
"index"
class=
"item"
effect=
"dark"
{{
item
}}
:content=
"item"
placement=
"top"
>
</div>
<div
class=
"one-line-ellipsis"
>
{{
item
}}
</div>
</el-tooltip>
</
template
>
</
template
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</d2-table>
...
@@ -100,19 +104,12 @@ export default {
...
@@ -100,19 +104,12 @@ export default {
{
{
label
:
"标签"
,
label
:
"标签"
,
prop
:
"tagList"
,
prop
:
"tagList"
,
minWidth
:
260
,
addHtml
:
"tagName"
,
addHtml
:
"tagName"
,
// formatter: (cellValue) => {
// if (cellValue.tagList) {
// // 使用逗号分割,然后用换行符连接
// return cellValue.tagList.split(',').join('</br>')
// }
// }
},
},
{
{
label
:
"课程列表"
,
label
:
"课程列表"
,
minWidth
:
144
,
//
minWidth: 144,
prop
:
"courseList"
addHtml
:
"courseList"
},
},
// {
// {
// label: "销售姓名",
// label: "销售姓名",
...
@@ -156,7 +153,7 @@ export default {
...
@@ -156,7 +153,7 @@ export default {
?
Util
.
dateFormate
(
cellValue
.
createdDate
,
"YYYY-MM-DD HH:mm:ss"
)
?
Util
.
dateFormate
(
cellValue
.
createdDate
,
"YYYY-MM-DD HH:mm:ss"
)
:
"-"
:
"-"
},
},
minWidth
:
18
0
width
:
14
0
},
},
{
{
label
:
"最后更新时间"
,
label
:
"最后更新时间"
,
...
@@ -165,7 +162,7 @@ export default {
...
@@ -165,7 +162,7 @@ export default {
?
Util
.
dateFormate
(
cellValue
.
updatedDate
,
"YYYY-MM-DD HH:mm:ss"
)
?
Util
.
dateFormate
(
cellValue
.
updatedDate
,
"YYYY-MM-DD HH:mm:ss"
)
:
"-"
:
"-"
},
},
minWidth
:
18
0
width
:
14
0
}
}
]
]
}
}
...
@@ -179,27 +176,6 @@ export default {
...
@@ -179,27 +176,6 @@ export default {
beforeSearchFn
(
type
=
1
)
{
beforeSearchFn
(
type
=
1
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
// if (this.searchForm?.searchdate?.length) {
// let [searchStartDate, searchEndDate] = this.searchForm.searchdate
// this.searchFormSearch.startTime = Util.dateFormate(
// searchStartDate,
// "YYYY-MM-DD"
// )
// this.searchFormSearch.endTime = Util.dateFormate(
// searchEndDate,
// "YYYY-MM-DD"
// )
// const date1 = dayjs(searchStartDate),
// date2 = dayjs(searchEndDate),
// day = date2.diff(date1, "day") + 1
// if (day > 30) {
// reject(
// `${type == 1 ? "查询" : "导出"
// }的时间跨度最大为30天,请重新选择日期范围`
// )
// }
// }
// delete this.searchFormSearch.searchdate
resolve
()
resolve
()
})
})
},
},
...
...
src/views/contentManager/labelCourse/labelCourseDialog.vue
View file @
231ed71
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<!--
<div
v-for=
"(subItem, subIdx) in formData.courseIds"
:key=
"subIdx"
>
-->
<!--
<div
v-for=
"(subItem, subIdx) in formData.courseIds"
:key=
"subIdx"
>
-->
<el-tag
v-for=
"(k, n) in formData.courseIds"
:key=
"n"
class=
"customer-tag"
size=
"small"
type=
"info"
<el-tag
v-for=
"(k, n) in formData.courseIds"
:key=
"n"
class=
"customer-tag"
size=
"small"
type=
"info"
:closable=
"true"
:disable-transitions=
"false"
@
close=
"handleDeleteCustomer(n,
subItem,
'courseIds')"
>
:closable=
"true"
:disable-transitions=
"false"
@
close=
"handleDeleteCustomer(n, 'courseIds')"
>
<span>
{{
k
.
catalogName
+
":"
+
k
.
courseTitle
}}
</span>
<span>
{{
k
.
catalogName
+
":"
+
k
.
courseTitle
}}
</span>
</el-tag>
</el-tag>
</div>
</div>
...
@@ -72,6 +72,20 @@ export default {
...
@@ -72,6 +72,20 @@ export default {
}
}
},
},
data
()
{
data
()
{
// var validatorTagIds = (rule, value, callback) => {
// if (this.storeSearchForm?.configList && this.storeSearchForm.configList.length > 0) {
// callback()
// } else {
// callback(new Error("请选择员工"))
// }
// }
// var validatorForm = (rule, value, callback) => {
// if (this.storeSearchForm?.configList && this.storeSearchForm.configList.length > 0) {
// callback()
// } else {
// callback(new Error("请选择员工"))
// }
// }
return
{
return
{
savecourserelation
,
savecourserelation
,
updatecourserelation
,
updatecourserelation
,
...
@@ -86,7 +100,7 @@ export default {
...
@@ -86,7 +100,7 @@ export default {
},
},
rules
:
{
rules
:
{
tagIds
:
[
tagIds
:
[
{
required
:
true
,
message
:
"请选择员工标签对象"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"请选择员工标签对象"
,
trigger
:
"change"
}
,
],
],
courseIds
:
[
courseIds
:
[
{
required
:
true
,
message
:
"请选择课程列表对象"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"请选择课程列表对象"
,
trigger
:
"change"
}
...
@@ -130,7 +144,7 @@ export default {
...
@@ -130,7 +144,7 @@ export default {
selectTagDialog
(
type
)
{
selectTagDialog
(
type
)
{
this
.
$refs
.
selectTagForm
.
init
(
this
.
$refs
.
selectTagForm
.
init
(
{
{
type
,
type
:
true
,
item
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
.
tagIds
))
item
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
.
tagIds
))
}
}
)
)
...
@@ -152,6 +166,9 @@ export default {
...
@@ -152,6 +166,9 @@ export default {
},
},
handleDelete
(
idx
,
pIdx
)
{
handleDelete
(
idx
,
pIdx
)
{
this
.
formData
.
tagIds
[
pIdx
].
labelList
.
splice
(
idx
,
1
)
this
.
formData
.
tagIds
[
pIdx
].
labelList
.
splice
(
idx
,
1
)
if
(
this
.
formData
.
tagIds
[
pIdx
].
labelList
.
length
==
0
)
{
this
.
formData
.
tagIds
.
splice
(
pIdx
,
1
)
}
},
},
handleAddConfirm
()
{
handleAddConfirm
()
{
this
.
$refs
.
channelForm
.
validate
(
valid
=>
{
this
.
$refs
.
channelForm
.
validate
(
valid
=>
{
...
@@ -180,7 +197,6 @@ export default {
...
@@ -180,7 +197,6 @@ export default {
})
})
},
},
handleClose
()
{
handleClose
()
{
// this.$emit("closeDialogFn")
this
.
show
=
false
this
.
show
=
false
}
}
}
}
...
...
src/views/contentManager/labelCourse/selectTag/index.vue
View file @
231ed71
...
@@ -166,14 +166,11 @@ export default {
...
@@ -166,14 +166,11 @@ export default {
console
.
log
(
"selectItem"
,
selectItem
)
console
.
log
(
"selectItem"
,
selectItem
)
this
.
loading
=
true
this
.
loading
=
true
findAllLabel
({
findAllLabel
({
// labelTreeReq: {
tagName
:
this
.
tagName
,
currentPage
:
1
,
isFlag
:
this
.
type
pageNum
:
1
,
pageSize
:
999999
,
tagName
:
this
.
tagName
// }
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"res"
)
console
.
log
(
res
,
"res"
)
res
=
res
.
filter
(
item
=>
item
.
groupAtt
!=
3
)
if
(
selectItem
&&
selectItem
.
length
>
0
)
{
if
(
selectItem
&&
selectItem
.
length
>
0
)
{
this
.
labelTreeRets
=
res
.
map
((
item
)
=>
{
this
.
labelTreeRets
=
res
.
map
((
item
)
=>
{
return
{
return
{
...
@@ -271,6 +268,7 @@ export default {
...
@@ -271,6 +268,7 @@ export default {
handleClose
()
{
handleClose
()
{
this
.
labelTreeRetSelect
=
[]
this
.
labelTreeRetSelect
=
[]
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
this
.
$emit
(
"closeDialogFn"
)
},
},
remove
(
items
,
idx
)
{
remove
(
items
,
idx
)
{
items
.
tagChecked
.
splice
(
idx
,
1
)
items
.
tagChecked
.
splice
(
idx
,
1
)
...
...
src/views/contentManager/listOfPenalties/index.vue
View file @
231ed71
...
@@ -103,11 +103,12 @@ export default {
...
@@ -103,11 +103,12 @@ export default {
name
:
"staffPhone"
,
name
:
"staffPhone"
,
type
:
"input"
,
type
:
"input"
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
20
maxlength
:
11
,
inputType
:
"number"
},
},
{
{
label
:
"学习任务"
,
label
:
"学习任务"
,
name
:
"t
askT
itle"
,
name
:
"title"
,
type
:
"input"
,
type
:
"input"
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
20
maxlength
:
20
...
...
src/views/contentManager/massSendingStatisticsPage/learningSituation.vue
View file @
231ed71
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
<div
class=
"numberOfCompletedPersons count"
>
<div
class=
"numberOfCompletedPersons count"
>
<div
class=
"label"
>
学习完成人数
</div>
<div
class=
"label"
>
学习完成人数
</div>
<span
class=
"end"
>
{{
staticData
.
finishStudyCount
}}
</span>
人
<span
class=
"end"
>
{{
staticData
.
finishStudyCount
||
0
}}
</span>
人
</div>
</div>
<div
class=
"time"
>
数据同步时间:
{{
staticData
.
updatedDate
}}
</div>
<div
class=
"time"
>
数据同步时间:
{{
staticData
.
updatedDate
}}
</div>
</div>
</div>
...
@@ -103,8 +103,9 @@ export default {
...
@@ -103,8 +103,9 @@ export default {
label
:
"员工手机号"
,
label
:
"员工手机号"
,
name
:
"staffPhone"
,
name
:
"staffPhone"
,
type
:
"input"
,
type
:
"input"
,
maxlength
:
"20"
,
isClear
:
true
,
isClear
:
true
maxlength
:
11
,
inputType
:
"number"
},
},
{
{
label
:
"课程名称"
,
label
:
"课程名称"
,
...
...
src/views/contentManager/massSendingStatisticsPage/readStatistics.vue
View file @
231ed71
...
@@ -70,8 +70,9 @@ export default {
...
@@ -70,8 +70,9 @@ export default {
label
:
"员工手机号"
,
label
:
"员工手机号"
,
name
:
"phoneNumber"
,
name
:
"phoneNumber"
,
type
:
"input"
,
type
:
"input"
,
maxlength
:
"20"
,
isClear
:
true
,
isClear
:
true
maxlength
:
11
,
inputType
:
"number"
}
}
],
],
getListApi
:
studyStaffPage
,
getListApi
:
studyStaffPage
,
...
...
src/views/contentManager/staffMassSending/index.vue
View file @
231ed71
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
<span
style=
"margin-right: 10px"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9130502']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9130502']"
/>
</span>
</span>
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.sendStatus == 1 || scope.scope.sendStatus == 2"
>
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.sendStatus == 1 || scope.scope.sendStatus == 2 || scope.scope.contentType == 5"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9130503']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9130503']"
/>
</span>
</span>
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.sendStatus == 3"
>
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.sendStatus == 3"
>
...
...
src/views/contentManager/staffMassSending/massSendingStatisticsPage.vue
View file @
231ed71
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<div
class=
"performance-list-wrap"
>
<div
class=
"performance-list-wrap"
>
<div
class=
"title"
>
<div
class=
"title"
>
问界原厂权益销售重要通知
{{
title
}}
<el-button
size=
"small"
@
click=
"black"
>
返回
</el-button>
<el-button
size=
"small"
@
click=
"black"
>
返回
</el-button>
</div>
</div>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
slot=
"header"
>
...
@@ -39,6 +39,11 @@ export default {
...
@@ -39,6 +39,11 @@ export default {
tabName
:
"readStatistics"
tabName
:
"readStatistics"
}
}
},
},
computed
:
{
title
()
{
return
this
.
$route
.
query
.
title
}
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
params
.
tabPane
)
{
if
(
this
.
$route
.
params
.
tabPane
)
{
this
.
activeName
=
this
.
$route
.
params
.
tabPane
this
.
activeName
=
this
.
$route
.
params
.
tabPane
...
...
src/views/pointManagement/pointParticulars.vue
View file @
231ed71
<
template
>
<
template
>
<d2-container
class=
"point-list"
>
<d2-container
class=
"point-list"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:label-width=
"'150px'"
ref=
"showSearch"
:form-data=
"showFormData"
/>
class=
"show-search"
:search-form=
"searchForm"
:label-width=
"'150px'"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
@
click=
"handleSearch"
size=
"small"
type=
"primary"
>
<el-button
@
click=
"handleSearch"
size=
"small"
type=
"primary"
>
查询
查询
...
@@ -16,20 +11,12 @@
...
@@ -16,20 +11,12 @@
</div>
</div>
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header
<d2-table-header
:title=
"'积分明细列表'"
:title-class-name=
"'tableHeaderTitle'"
>
:title=
"'积分明细列表'"
<auth-button
category=
"Button"
:show-btn-ids=
"['9140202']"
/>
:title-class-name=
"'tableHeaderTitle'"
>
<auth-button
category=
"Button"
:show-btn-ids=
"['9140202']"
/>
</d2-table-header>
</d2-table-header>
<d2-table
<d2-table
ref=
"pointTable"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
ref=
"pointTable"
:before-search-fn=
"beforeSearchFn"
>
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- 查看 -->
<!-- 查看 -->
<span
style=
"margin-right: 10px"
>
<span
style=
"margin-right: 10px"
>
...
@@ -40,8 +27,8 @@
...
@@ -40,8 +27,8 @@
</div>
</div>
</d2-container>
</d2-container>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getScorePage
,
getShopMerchantList
,
exportScore
}
from
"@api/point"
import
{
getScorePage
,
getShopMerchantList
,
exportScore
}
from
"@api/point"
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
Util
,
deepClone
}
from
"@/common/util"
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -50,12 +37,12 @@ export default {
...
@@ -50,12 +37,12 @@ export default {
staffName
:
""
,
staffName
:
""
,
staffPhone
:
""
,
staffPhone
:
""
,
merchantId
:
""
,
merchantId
:
""
,
rewardTime
:[],
rewardTime
:
[],
reviewTime
:[],
reviewTime
:
[],
successTime
:[]
successTime
:
[]
},
},
searchFormSearch
:{
searchFormSearch
:
{
},
},
getListApi
:
getScorePage
,
getListApi
:
getScorePage
,
showFormData
:
[
showFormData
:
[
...
@@ -172,7 +159,7 @@ export default {
...
@@ -172,7 +159,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"pointDetail"
,
name
:
"pointDetail"
,
query
:
{
query
:
{
staffId
:
data
.
staffId
staffId
:
data
.
staffId
}
}
})
})
},
},
...
@@ -182,7 +169,7 @@ export default {
...
@@ -182,7 +169,7 @@ export default {
if
(
if
(
this
.
baseData
[
item
.
optionsName
].
length
&&
this
.
baseData
[
item
.
optionsName
].
length
&&
this
.
baseData
[
item
.
optionsName
][
0
][
this
.
baseData
[
item
.
optionsName
][
0
][
this
.
showFormData
[
index
].
optionLabel
this
.
showFormData
[
index
].
optionLabel
]
!==
"全部"
]
!==
"全部"
)
{
)
{
const
temp
=
{}
const
temp
=
{}
...
@@ -201,7 +188,7 @@ export default {
...
@@ -201,7 +188,7 @@ export default {
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
if
(
this
.
searchFormSearch
.
rewardTime
&&
this
.
searchFormSearch
.
rewardTime
.
length
)
{
if
(
this
.
searchFormSearch
.
rewardTime
&&
this
.
searchFormSearch
.
rewardTime
.
length
)
{
this
.
searchFormSearch
.
rewardBeginTime
=
this
.
searchFormSearch
.
rewardBeginTime
=
Util
.
dateFormate
(
Util
.
dateFormate
(
this
.
searchFormSearch
.
rewardTime
[
0
],
this
.
searchFormSearch
.
rewardTime
[
0
],
...
@@ -213,7 +200,7 @@ export default {
...
@@ -213,7 +200,7 @@ export default {
"YYYY-MM-DD"
"YYYY-MM-DD"
)
+
" 23:59:59"
)
+
" 23:59:59"
}
}
if
(
this
.
searchFormSearch
.
reviewTime
&&
this
.
searchFormSearch
.
reviewTime
.
length
)
{
if
(
this
.
searchFormSearch
.
reviewTime
&&
this
.
searchFormSearch
.
reviewTime
.
length
)
{
this
.
searchFormSearch
.
reviewBeginTime
=
this
.
searchFormSearch
.
reviewBeginTime
=
Util
.
dateFormate
(
Util
.
dateFormate
(
this
.
searchFormSearch
.
reviewTime
[
0
],
this
.
searchFormSearch
.
reviewTime
[
0
],
...
@@ -225,7 +212,7 @@ export default {
...
@@ -225,7 +212,7 @@ export default {
"YYYY-MM-DD"
"YYYY-MM-DD"
)
+
" 23:59:59"
)
+
" 23:59:59"
}
}
if
(
this
.
searchFormSearch
.
successTime
&&
this
.
searchFormSearch
.
successTime
.
length
)
{
if
(
this
.
searchFormSearch
.
successTime
&&
this
.
searchFormSearch
.
successTime
.
length
)
{
this
.
searchFormSearch
.
successBeginTime
=
this
.
searchFormSearch
.
successBeginTime
=
Util
.
dateFormate
(
Util
.
dateFormate
(
this
.
searchFormSearch
.
successTime
[
0
],
this
.
searchFormSearch
.
successTime
[
0
],
...
@@ -251,11 +238,11 @@ export default {
...
@@ -251,11 +238,11 @@ export default {
staffName
:
""
,
staffName
:
""
,
staffPhone
:
""
,
staffPhone
:
""
,
merchantId
:
""
,
merchantId
:
""
,
rewardTime
:[],
rewardTime
:
[],
reviewTime
:[],
reviewTime
:
[],
successTime
:[]
successTime
:
[]
}
}
this
.
searchFormSearch
=
{}
this
.
searchFormSearch
=
{}
this
.
$refs
.
pointTable
.
refreshTable
(
true
,
true
)
this
.
$refs
.
pointTable
.
refreshTable
(
true
,
true
)
}
}
}
}
...
...
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