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 156ce09c
authored
Aug 01, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第四轮bug修复
1 parent
024a9f20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
5 deletions
src/views/serviceCentre/longCourse/components/indicatorInfo.vue
src/views/serviceCentre/longCourse/components/lastWeekReplay.vue
src/views/serviceCentre/longCourse/components/longDetailDialog.vue
src/views/serviceCentre/longCourse/components/indicatorInfo.vue
View file @
156ce09
...
...
@@ -17,6 +17,7 @@
:tableData=
"tableData"
:search-form=
"searchForm"
:table-params=
"tableParams"
v-if=
"show"
>
<div
slot=
"mainBrand"
slot-scope=
"scope"
>
<template
...
...
@@ -70,6 +71,7 @@ export default {
name
:
"indicatorInfo"
,
data
()
{
return
{
show
:
false
,
isFlag
:
true
,
hasPage
:
false
,
noDataImg
,
...
...
@@ -147,11 +149,18 @@ export default {
}
},
watch
:
{
'queryData.isDisabled'
:{
handler
(
val
){
}
},
queryData
:
{
handler
(
val
)
{
if
(
val
.
isDisabled
){
console
.
log
(
val
.
isDisabled
,
'isDisabled'
)
// if(val.isDisabled){
console
.
log
(
'watch'
)
this
.
refreshTable
()
}
//
}
// this.findStoreInfoByMerchantNoData()
},
...
...
@@ -165,6 +174,7 @@ export default {
methods
:
{
refreshTable
()
{
console
.
log
(
this
.
queryData
.
isDisabled
)
this
.
show
=
false
let
arr
=
[
{
label
:
"驻店人数"
,
prop
:
"staffCount"
...
...
@@ -173,10 +183,62 @@ export default {
label
:
"已配课程人数"
,
prop
:
"courseConfiguredCount"
}]
let
tableColumns
=
[
{
label
:
"门店名称"
,
prop
:
"storeName"
},
{
label
:
"商户号"
,
prop
:
"merchantNo"
// minWidth: 144,
},
{
label
:
"是否直营"
,
prop
:
"isDirectOperated"
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
directOperateOpt
.
find
(
(
item
)
=>
item
.
confId
===
cellValue
.
isDirectOperated
)?.
confValue
}
},
{
label
:
"展业时间"
,
prop
:
"businessDevDate"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
businessDevDate
?
Util
.
dateFormate
(
cellValue
.
businessDevDate
,
"YYYY-MM-DD"
)
:
""
}
},
{
label
:
"归属业务"
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
businessOpt
.
find
(
(
item
)
=>
item
.
confId
==
this
.
queryData
.
scene
)?.
confValue
}
},
{
label
:
"主营品牌"
,
prop
:
"mainBrand"
,
addHtml
:
"mainBrand"
},
{
label
:
"区域运营经理"
,
prop
:
"regionalManager"
}
]
if
(
this
.
queryData
.
isDisabled
){
this
.
tableParams
.
mutiSelectName
=
'indicatorIndex'
this
.
tableParams
.
tableColumns
=
[...
this
.
tableParams
.
tableColumns
,
...
arr
]
this
.
tableParams
.
tableColumns
=
[...
tableColumns
,
...
arr
]
}
else
{
this
.
tableParams
.
mutiSelectName
=
''
this
.
tableParams
.
tableColumns
=
[...
tableColumns
]
}
this
.
$nextTick
(()
=>
{
this
.
show
=
true
})
},
findStoreInfoByMerchantNoData
()
{
console
.
log
(
this
.
queryData
,
"queryData"
)
...
...
src/views/serviceCentre/longCourse/components/lastWeekReplay.vue
View file @
156ce09
...
...
@@ -70,6 +70,7 @@
<!-- 查看课程 -->
</d2-table>
<long-detail-dialog
:longForm=
"longForm"
:longVisible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"recordInfo"
...
...
src/views/serviceCentre/longCourse/components/longDetailDialog.vue
View file @
156ce09
...
...
@@ -185,6 +185,24 @@
环 {{ scope.scope.customerUnitPriceRate === 0 ? 0 + "%" : "-" }}
</div>
</div>
<div
class=
"text-box"
slot=
"courseName"
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"scope.scope[scope.prop]"
placement=
"right"
>
<span>
{{
scope.scope[scope.prop]
? scope.scope[scope.prop].length > 23
? scope.scope[scope.prop].slice(0, 23) + "..."
: scope.scope[scope.prop]
: "-"
}}
</span>
</el-tooltip>
</div>
</d2-table>
</div>
</div>
...
...
@@ -240,6 +258,10 @@ export default {
{
title
:
"导师:"
,
key
:
"mentors"
},
{
title
:
"最后出单门店:"
,
key
:
"latestSuccessMerchant"
}
],
hasNum
:
false
,
...
...
@@ -274,7 +296,8 @@ export default {
tableColumns
:
[
{
label
:
"课程名称"
,
prop
:
"courseName"
prop
:
"courseName"
,
addHtml
:
"courseName"
},
{
label
:
"课程时长"
,
...
...
@@ -330,6 +353,10 @@ export default {
paramsObj
:
{
type
:
Object
,
default
:
{}
},
longForm
:
{
type
:
Object
,
default
:
()
=>
({})
}
},
computed
:
{
...
...
@@ -358,7 +385,10 @@ export default {
getStaffInfo
()
{
var
params
=
{
staffPhone
:
this
.
paramsObj
.
staffPhone
,
queryIndicator
:
true
queryIndicator
:
true
,
bizs
:
this
.
longForm
.
scene
,
startTime
:
this
.
longForm
.
startTime
+
" 00:00:00"
,
endTime
:
this
.
longForm
.
endTime
+
" 23:59:59"
}
staffInfo
(
params
).
then
((
res
)
=>
{
if
(
res
)
{
...
...
@@ -465,4 +495,8 @@ export default {
.normal
{
font-size
:
12px
;
}
.text-box
{
font-size
:
14px
;
padding
:
0
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