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 5ce10f3e
authored
Oct 15, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
质检优化
1 parent
f4362e08
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
354 additions
and
37 deletions
src/api/resident.js
src/assets/open-time.png
src/views/contentManager/packageConfig/edit.vue
src/views/residentManage/components/qualityAnalyse.vue
src/views/residentManage/components/qualityIndex.vue
src/views/residentManage/components/recepDetail.vue
src/api/resident.js
View file @
5ce10f3
...
@@ -8,6 +8,16 @@ export function getReclistWithPage(data) {
...
@@ -8,6 +8,16 @@ export function getReclistWithPage(data) {
data
.
method
=
`
${
path
}
badge.employeeBadgeReclistWithPage`
data
.
method
=
`
${
path
}
badge.employeeBadgeReclistWithPage`
return
request
(
data
,
"post"
)
return
request
(
data
,
"post"
)
}
}
// 质检统计
export
function
receptionStaffStatic
(
data
)
{
data
.
method
=
`
${
path
}
badge.receptionStaffStatic`
return
request
(
data
,
"post"
)
}
// 安心包明细
export
function
findAxbByBatchId
(
data
)
{
data
.
method
=
`
${
path2
}
inspection.defence.findAxbByBatchId`
return
request
(
data
,
"post"
)
}
// 分页查询接待批次列表
// 分页查询接待批次列表
export
function
conversationPage
(
data
)
{
export
function
conversationPage
(
data
)
{
...
...
src/assets/open-time.png
0 → 100644
View file @
5ce10f3
914 Bytes
src/views/contentManager/packageConfig/edit.vue
View file @
5ce10f3
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
>
恢复门店上架此专区
</span
>
恢复门店上架此专区
</span
>
>
</div>
</div>
<div
class=
"child-tab"
>
<div
class=
"child-tab"
v-if=
"sIndex != 3"
>
<div
class=
"add-tab"
v-if=
"sItem.length != 20"
>
<div
class=
"add-tab"
v-if=
"sItem.length != 20"
>
<el-button
<el-button
size=
"small"
size=
"small"
...
@@ -95,18 +95,25 @@
...
@@ -95,18 +95,25 @@
>
>
<tr>
<tr>
<th>
序号
</th>
<th>
序号
</th>
<th
v-if=
"isShowBand(sIndex, sub)"
>
<template
v-if=
"sIndex != 3"
>
<span
class=
"required"
>
*
</span>
品牌
<th
v-if=
"isShowBand(sIndex, sub)"
>
<i
<span
class=
"required"
>
*
</span>
品牌
class=
"el-icon-edit-outline"
<i
v-if=
"configType == 0"
class=
"el-icon-edit-outline"
@
click=
"handleEditBrand(sub.infoList)"
v-if=
"configType == 0"
></i>
@
click=
"handleEditBrand(sub.infoList)"
</th>
></i>
<th><span
class=
"required"
>
*
</span>
车型展示图
</th>
</th>
<th><span
class=
"required"
>
*
</span>
选购卡名称
</th>
<th><span
class=
"required"
>
*
</span>
车型展示图
</th>
<th><span
class=
"required"
>
*
</span>
选购卡描述
</th>
<th><span
class=
"required"
>
*
</span>
选购卡名称
</th>
<th><span
class=
"required"
>
*
</span>
详图
</th>
<th><span
class=
"required"
>
*
</span>
选购卡描述
</th>
<th><span
class=
"required"
>
*
</span>
详图
</th>
</
template
>
<
template
v-else
>
<th><span
class=
"required"
>
*
</span>
产品名称
</th>
<th><span
class=
"required"
>
*
</span>
质保
</th>
<th><span
class=
"required"
>
*
</span>
售价
</th>
</
template
>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(pItem, pindex) in sub.infoList"
>
<tr
v-for=
"(pItem, pindex) in sub.infoList"
>
...
@@ -206,6 +213,66 @@
...
@@ -206,6 +213,66 @@
</Tab-pane>
</Tab-pane>
</Tabs>
</Tabs>
</div>
</div>
<div
class=
"child-tab"
v-else
>
<table
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
class=
"table-box"
>
<tr>
<th>
序号
</th>
<th><span
class=
"required"
>
*
</span>
产品名称
</th>
<th><span
class=
"required"
>
*
</span>
质保
</th>
<th><span
class=
"required"
>
*
</span>
售价
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"(pItem, pindex) in sItem"
>
<td>
{{ pindex + 1 }}
</td>
<td>
<el-input
v-model=
"pItem.name"
maxlength=
"50"
placeholder=
"请输入产品名称"
></el-input>
</td>
<td>
<el-input
v-model=
"pItem.price"
maxlength=
"50"
placeholder=
"请输入质保"
></el-input>
</td>
<td>
<el-input
v-model=
"pItem.warranty"
maxlength=
"50"
placeholder=
"请输入售价"
></el-input>
</td>
<td>
<el-button
type=
"text"
v-if=
"
pindex == sItem.length - 1 &&
pindex < PACKAGE[sIndex + 1].maxNum - 1
"
@
click=
"handleAdd(sItem, pindex)"
>
新增一行
</el-button>
<el-button
:disabled=
"getDisabled(sIndex)"
type=
"text"
v-if=
"sItem.length != 1"
@
click=
"handleDel(sItem, pindex)"
>
删除此项
</el-button>
</td>
</tr>
</table>
</div>
</div>
</div>
<div
class=
"tab-content"
>
<div
class=
"tab-content"
>
<div
class=
"tab-header"
>
<div
class=
"tab-header"
>
...
@@ -424,6 +491,11 @@ const PACKAGE = {
...
@@ -424,6 +491,11 @@ const PACKAGE = {
tips
:
"每个类目最大支持上传20个产品"
,
tips
:
"每个类目最大支持上传20个产品"
,
name
:
"精品专区"
,
name
:
"精品专区"
,
maxNum
:
20
maxNum
:
20
},
4
:
{
tips
:
"最大新增20个"
,
name
:
"选装清单"
,
maxNum
:
20
}
}
}
}
const
imgSrc
=
[
const
imgSrc
=
[
...
@@ -644,7 +716,12 @@ export default {
...
@@ -644,7 +716,12 @@ export default {
this
.
configInfo
=
res
.
materials
this
.
configInfo
=
res
.
materials
this
.
caseInfo
=
res
.
cases
this
.
caseInfo
=
res
.
cases
this
.
configInfo
.
forEach
((
item
)
=>
{
this
.
configInfo
.
forEach
((
item
)
=>
{
this
.
$set
(
item
,
"subItem"
,
[
item
.
packages
,
item
.
films
,
item
.
products
])
this
.
$set
(
item
,
"subItem"
,
[
item
.
packages
,
item
.
films
,
item
.
products
,
item
.
optionals
])
})
})
this
.
caseName
=
this
.
caseInfo
[
0
].
category
this
.
caseName
=
this
.
caseInfo
[
0
].
category
this
.
packageName
=
this
.
configInfo
[
0
].
carModelName
this
.
packageName
=
this
.
configInfo
[
0
].
carModelName
...
@@ -825,7 +902,8 @@ export default {
...
@@ -825,7 +902,8 @@ export default {
let
packageList
=
{
let
packageList
=
{
packageInfoList
:
[],
packageInfoList
:
[],
filmInfoList
:
[],
filmInfoList
:
[],
productInfoList
:
[]
productInfoList
:
[],
optionalInfoList
:
[]
}
}
/**
/**
* infoList[]转为packageInfoList:[],productInfoList:[],filmInfoList:[]
* infoList[]转为packageInfoList:[],productInfoList:[],filmInfoList:[]
...
@@ -833,7 +911,16 @@ export default {
...
@@ -833,7 +911,16 @@ export default {
const
keys
=
Object
.
keys
(
packageList
)
const
keys
=
Object
.
keys
(
packageList
)
this
.
configInfo
.
forEach
((
i
)
=>
{
this
.
configInfo
.
forEach
((
i
)
=>
{
i
.
subItem
.
forEach
((
sub
,
k
)
=>
{
i
.
subItem
.
forEach
((
sub
,
k
)
=>
{
sub
.
forEach
((
info
)
=>
{
console
.
log
(
sub
)
if
(
!
sub
)
return
sub
.
forEach
((
info
,
i
)
=>
{
if
(
k
==
3
)
{
if
(
!
this
.
validateForm
(
sub
,
i
))
{
throw
new
Error
(
"请完善信息"
)
}
console
.
log
(
sub
,
"info.infoList"
)
return
}
info
.
infoList
.
forEach
((
d
,
dIndex
)
=>
{
info
.
infoList
.
forEach
((
d
,
dIndex
)
=>
{
if
(
k
==
0
&&
!
this
.
isUpStatus
)
{
if
(
k
==
0
&&
!
this
.
isUpStatus
)
{
}
else
{
}
else
{
...
@@ -846,8 +933,12 @@ export default {
...
@@ -846,8 +933,12 @@ export default {
})
})
packageList
[
keys
[
k
]].
push
(...
info
.
infoList
)
packageList
[
keys
[
k
]].
push
(...
info
.
infoList
)
})
})
if
(
k
==
3
)
{
packageList
[
keys
[
k
]].
push
(...
sub
)
}
})
})
})
})
console
.
log
(
packageList
)
const
{
merchantId
,
merchantName
,
id
}
=
this
.
$route
.
query
const
{
merchantId
,
merchantName
,
id
}
=
this
.
$route
.
query
return
{
return
{
id
,
id
,
...
@@ -871,15 +962,24 @@ export default {
...
@@ -871,15 +962,24 @@ export default {
})
})
},
},
validateForm
(
item
,
i
,
type
=
0
)
{
validateForm
(
item
,
i
,
type
=
0
)
{
const
validateList
=
{
const
keys
=
Object
.
keys
(
item
[
i
])
let
validateList
=
{
modelDisplayPicurl
:
"请上传车型展示图"
,
modelDisplayPicurl
:
"请上传车型展示图"
,
name
:
[
"请输入选购卡名称"
,
"请输入素材名称"
],
name
:
[
"请输入选购卡名称"
,
"请输入素材名称"
],
description
:
"请输入选购卡描述"
,
description
:
"请输入选购卡描述"
,
detailPicurl
:
"请上传详图"
,
detailPicurl
:
"请上传详图"
,
thumbnailUrl
:
"请上传缩略图"
,
thumbnailUrl
:
"请上传缩略图"
,
materialUrl
:
"请上传视频或者图片"
price
:
"请输入价格"
,
materialUrl
:
"请上传视频或者图片"
,
warranty
:
"请输入质保价"
}
if
(
keys
.
includes
(
"warranty"
))
{
validateList
=
{
name
:
"请输入名称"
,
price
:
"请输入价格"
,
warranty
:
"请输入质保价"
}
}
}
const
keys
=
Object
.
keys
(
item
[
i
])
const
{
carModelId
,
carModelName
,
category
}
=
item
[
i
]
const
{
carModelId
,
carModelName
,
category
}
=
item
[
i
]
let
obj
=
{
let
obj
=
{
category
category
...
...
src/views/residentManage/components/qualityAnalyse.vue
View file @
5ce10f3
<
template
>
<
template
>
<div
class=
"analyse"
v-loading=
"loading"
>
<div
class=
"analyse"
v-loading=
"loading"
>
<el-tabs
v-model=
"activeName"
>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
label=
"质检明细"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"质检明细"
name=
"first"
></el-tab-pane>
<el-tab-pane
label=
"攻防明细"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"攻防明细"
name=
"second"
></el-tab-pane>
<el-tab-pane
label=
"开口明细"
name=
"third"
></el-tab-pane>
</el-tabs>
</el-tabs>
<template
v-if=
"activeName === 'first'"
>
<template
v-if=
"activeName === 'first'"
>
<d2-search
<d2-search
...
@@ -65,7 +66,7 @@
...
@@ -65,7 +66,7 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
<d2-table
<d2-table
class=
"table-wrap"
class=
"table-wrap"
ref=
"analyseTable"
ref=
"analyseTable"
:search-form=
"searchFormSearch"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:table-params=
"tableParams"
...
@@ -117,15 +118,47 @@
...
@@ -117,15 +118,47 @@
</
template
>
</
template
>
</d2-table>
</d2-table>
</template>
</template>
<
template
v-else
>
<
template
v-else
-if=
"activeName === 'second'"
>
<attack-detail
:detailObj=
"detailObj"
/>
<attack-detail
:detailObj=
"detailObj"
/>
</
template
>
</
template
>
<
template
v-else
>
<d2-table
class=
"table-wrap"
ref=
"analyseTable"
:table-params=
"openTableParams"
:hasPage=
"false"
:table-data=
"analyseOpen"
noDataText=
"暂无开口明细"
:noDataImg=
"noDataImg"
height=
"100%"
>
<div
slot=
"mentionedTime"
class=
"open-time"
slot-scope=
"scope"
>
{{
scope
.
scope
.
mentionedTime
}}
<img
src=
"@/assets/open-time.png"
/>
</div>
<template
slot=
"mentionedContext"
slot-scope=
"scope"
>
<el-tooltip
v-if=
"scope.scope.mentionedContext"
effect=
"light"
placement=
"top"
>
<div
slot=
"content"
>
{{
scope
.
scope
.
mentionedContext
}}
</div>
<div
class=
"one-line"
>
{{
scope
.
scope
.
mentionedContext
}}
</div>
</el-tooltip>
<div
v-else
>
--
</div>
</
template
>
</d2-table>
</template>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
ElInputRange
from
"../el-input-range"
import
ElInputRange
from
"../el-input-range"
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
conversationCheckList
,
getPointCategory
}
from
"@api/resident"
import
{
conversationCheckList
,
getPointCategory
,
findAxbByBatchId
}
from
"@api/resident"
import
noDataImg
from
"@/assets/empty-2.png"
import
noDataImg
from
"@/assets/empty-2.png"
import
AttackDetail
from
"./attackDetail"
import
AttackDetail
from
"./attackDetail"
export
default
{
export
default
{
...
@@ -144,6 +177,7 @@ export default {
...
@@ -144,6 +177,7 @@ export default {
activeName
:
"first"
,
activeName
:
"first"
,
noDataImg
,
noDataImg
,
analyseList
:
[],
analyseList
:
[],
analyseOpen
:
[],
spanArr1
:
[],
spanArr1
:
[],
spanIndex1
:
0
,
spanIndex1
:
0
,
searchForm
:
{
searchForm
:
{
...
@@ -212,6 +246,25 @@ export default {
...
@@ -212,6 +246,25 @@ export default {
}
}
]
]
},
},
openTableParams
:
{
tableOption
:
false
,
tableColumns
:
[
{
label
:
"开口时间"
,
prop
:
"mentionedTime"
,
addHtml
:
"mentionedTime"
},
{
label
:
"开口类型"
,
prop
:
"mentionedType"
},
{
label
:
"开口内容"
,
prop
:
"mentionedContext"
,
addHtml
:
"mentionedContext"
}
]
},
baseData
:
{
baseData
:
{
firstClassifyList
:
[],
firstClassifyList
:
[],
secondClassifyList
:
[]
secondClassifyList
:
[]
...
@@ -228,8 +281,14 @@ export default {
...
@@ -228,8 +281,14 @@ export default {
this
.
$refs
.
analyseTable
.
tableHeightValues
=
"100%"
this
.
$refs
.
analyseTable
.
tableHeightValues
=
"100%"
// this.getPointCategory()
// this.getPointCategory()
this
.
getList
()
this
.
getList
()
this
.
findAxbByBatchId
()
},
},
methods
:
{
methods
:
{
findAxbByBatchId
()
{
findAxbByBatchId
({
batchId
:
this
.
detailObj
.
id
}).
then
((
res
)
=>
{
this
.
analyseOpen
=
res
||
[]
})
},
async
getList
()
{
async
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
try
{
try
{
...
@@ -398,8 +457,8 @@ export default {
...
@@ -398,8 +457,8 @@ export default {
font-weight
:
600
;
font-weight
:
600
;
}
}
}
}
.table-wrap
{
.table-wrap
{
height
:
calc
(
100%
-
150px
);
height
:
calc
(
100%
-
150px
);
//
overflow-y
:
auto
;
//
overflow-y
:
auto
;
}
}
.up-btns
{
.up-btns
{
...
@@ -435,4 +494,16 @@ export default {
...
@@ -435,4 +494,16 @@ export default {
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
.open-time
{
img
{
width
:
16px
;
height
:
16px
;
vertical-align
:
middle
;
}
}
.one-line
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
</
style
>
src/views/residentManage/components/qualityIndex.vue
View file @
5ce10f3
...
@@ -39,6 +39,14 @@
...
@@ -39,6 +39,14 @@
</div>
</div>
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<div
class=
"view-panel"
>
<div
class=
"view-item"
v-for=
"(item, index) in viewList"
:key=
"index"
>
<div
class=
"view-item-label"
>
{{
item
.
label
}}
</div>
<div
class=
"view-item-value"
:style=
"
{ color: item.color }">
{{
staffStatic
[
item
.
value
]
||
"-"
}}
</div>
</div>
</div>
<div
class=
"d2-container-title"
>
<div
class=
"d2-container-title"
>
质检管理
质检管理
<div
class=
"btns"
>
<div
class=
"btns"
>
...
@@ -164,7 +172,11 @@ import ElInputRange from "../el-input-range"
...
@@ -164,7 +172,11 @@ import ElInputRange from "../el-input-range"
import
{
listShop4sByRef
}
from
"@api/merchant"
import
{
listShop4sByRef
}
from
"@api/merchant"
import
{
getList
}
from
"@api/serviceManage"
import
{
getList
}
from
"@api/serviceManage"
import
{
getReclistWithPage
,
exportReclistList
}
from
"@api/resident"
import
{
getReclistWithPage
,
exportReclistList
,
receptionStaffStatic
}
from
"@api/resident"
import
VoiceDialog
from
"./VoiceDialog"
import
VoiceDialog
from
"./VoiceDialog"
import
dayjs
from
"dayjs"
import
dayjs
from
"dayjs"
export
default
{
export
default
{
...
@@ -174,6 +186,58 @@ export default {
...
@@ -174,6 +186,58 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
viewList
:
[
{
label
:
"接待数"
,
color
:
"#185EFE"
,
value
:
"totalVisits"
},
{
label
:
"成交数"
,
color
:
"#27CD5A"
,
value
:
"successfulConversions"
},
{
label
:
"转化率"
,
color
:
"#F47F13"
,
value
:
"conversionRate"
},
{
label
:
"转化率(非企业)"
,
color
:
"#F47F13"
,
value
:
"nonCorporateConversionRate"
},
{
label
:
"转化率(企业)"
,
color
:
"#F47F13"
,
value
:
"corporateConversionRate"
},
{
label
:
"安心包开口数"
,
color
:
"#185EFE"
,
value
:
"mentionedPackages"
},
{
label
:
"安心包开口率"
,
color
:
"#27CD5A"
,
value
:
"packageMentionRate"
},
{
label
:
"安心包成交率"
,
color
:
"#F47F13"
,
value
:
"packageConversionRate"
},
{
label
:
"安心包成交率(非企业)"
,
color
:
"#F47F13"
,
value
:
"nonCorporatePackageConversionRate"
},
{
label
:
"安心包成交率(企业)"
,
color
:
"#F47F13"
,
value
:
"corporatePackageConversionRate"
}
],
showFormData
:
[
showFormData
:
[
{
{
label
:
"接待日期"
,
label
:
"接待日期"
,
...
@@ -267,6 +331,40 @@ export default {
...
@@ -267,6 +331,40 @@ export default {
prop
:
"num"
,
prop
:
"num"
,
width
:
"50px"
width
:
"50px"
},
},
{
label
:
"成交数"
,
name
:
"successfulConversions"
,
width
:
"80px"
},
{
label
:
"转化率"
,
name
:
"conversionRate"
,
width
:
"80px"
},
{
label
:
"转化率(非企业)"
,
name
:
"nonCorporateConversionRate"
,
width
:
"120px"
},
{
label
:
"转化率(企业)"
,
name
:
"corporateConversionRate"
,
width
:
"120px"
},
{
label
:
"安心包开口数"
,
name
:
"mentionedPackages"
,
width
:
"120px"
},
{
label
:
"安心包开口率"
,
name
:
"packageMentionRate"
,
width
:
"120px"
},
{
label
:
"安心包成交率"
,
name
:
"packageConversionRate"
,
width
:
"120px"
},
{
label
:
"安心包成交率(非企业)"
,
name
:
"nonCorporatePackageConversionRate"
,
width
:
"160px"
},
{
label
:
"安心包成交率(企业)"
,
name
:
"corporatePackageConversionRate"
,
width
:
"150px"
},
{
{
label
:
"接待日期"
,
label
:
"接待日期"
,
prop
:
"searchdate"
,
prop
:
"searchdate"
,
...
@@ -470,6 +568,7 @@ export default {
...
@@ -470,6 +568,7 @@ export default {
}
}
]
]
},
},
staffStatic
:
{},
voiceVisible
:
false
,
voiceVisible
:
false
,
spanArr1
:
[],
spanArr1
:
[],
spanIndex1
:
0
,
spanIndex1
:
0
,
...
@@ -488,6 +587,7 @@ export default {
...
@@ -488,6 +587,7 @@ export default {
this
.
getOptionsList
()
this
.
getOptionsList
()
this
.
getServiceStore
()
this
.
getServiceStore
()
this
.
getSaasList
()
this
.
getSaasList
()
this
.
receptionStaffStatic
()
},
},
methods
:
{
methods
:
{
getSaasList
()
{
getSaasList
()
{
...
@@ -496,7 +596,7 @@ export default {
...
@@ -496,7 +596,7 @@ export default {
currentPage
:
1
currentPage
:
1
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
baseData
.
parkServiceList
=
res
.
list
this
.
baseData
.
parkServiceList
=
res
.
list
this
.
getOptionsList
(
true
,
'parkServiceList'
)
this
.
getOptionsList
(
true
,
"parkServiceList"
)
})
})
},
},
getServiceStore
(
merchantId
)
{
getServiceStore
(
merchantId
)
{
...
@@ -504,7 +604,12 @@ export default {
...
@@ -504,7 +604,12 @@ export default {
yqMerchantId
:
merchantId
yqMerchantId
:
merchantId
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
baseData
.
storeIdList
=
res
||
[]
this
.
baseData
.
storeIdList
=
res
||
[]
this
.
getOptionsList
(
true
,
'storeIdList'
)
this
.
getOptionsList
(
true
,
"storeIdList"
)
})
},
receptionStaffStatic
()
{
receptionStaffStatic
(
this
.
searchFormSearch
).
then
((
res
)
=>
{
this
.
staffStatic
=
res
})
})
},
},
recepDetail
(
row
)
{
recepDetail
(
row
)
{
...
@@ -579,10 +684,10 @@ export default {
...
@@ -579,10 +684,10 @@ export default {
resolve()
resolve()
})
})
},
},
getOptionsList(isAll,optionsName) {
getOptionsList(isAll,
optionsName) {
this.showFormData.forEach((item, index) => {
this.showFormData.forEach((item, index) => {
if (item.type === "select") {
if (item.type === "select") {
if (isAll
&&item.optionsName==
optionsName) {
if (isAll
&& item.optionsName ==
optionsName) {
if (
if (
this.baseData[item.optionsName]?.length &&
this.baseData[item.optionsName]?.length &&
this.baseData[item.optionsName][0][
this.baseData[item.optionsName][0][
...
@@ -603,7 +708,6 @@ export default {
...
@@ -603,7 +708,6 @@ export default {
)
)
}
}
})
})
},
},
handleSearch() {
handleSearch() {
if (
if (
...
@@ -618,6 +722,7 @@ export default {
...
@@ -618,6 +722,7 @@ export default {
}
}
this.$refs.qualityTable.page.currentPage = 1
this.$refs.qualityTable.page.currentPage = 1
this.getTableList()
this.getTableList()
this.receptionStaffStatic()
},
},
handleReset() {
handleReset() {
this.searchForm = this.$options.data.call(this).searchForm
this.searchForm = this.$options.data.call(this).searchForm
...
@@ -788,6 +893,26 @@ export default {
...
@@ -788,6 +893,26 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
.view-panel
{
display
:
grid
;
grid-template-columns
:
repeat
(
5
,
1
fr
);
gap
:
16px
12px
;
margin-bottom
:
20px
;
.view-item
{
padding
:
16px
20px
;
background
:
#f8faff
;
border-radius
:
5px
;
&-label
{
font-size
:
14px
;
color
:
#333333
;
}
&
-value
{
line-height
:
36px
;
font-size
:
24px
;
font-weight
:
700
;
}
}
}
::v-deep
.d2-container-full
{
::v-deep
.d2-container-full
{
left
:
16px
!important
;
left
:
16px
!important
;
right
:
0
!important
;
right
:
0
!important
;
...
...
src/views/residentManage/components/recepDetail.vue
View file @
5ce10f3
...
@@ -97,10 +97,7 @@
...
@@ -97,10 +97,7 @@
</template>
</template>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
-
</
template
>
</div>
</div>
<div
<div
slot=
"estimatedResult"
slot-scope=
"scope"
>
slot=
"estimatedResult"
slot-scope=
"scope"
>
<div
<div
v-if=
"scope.scope.bussinessType != 2"
v-if=
"scope.scope.bussinessType != 2"
:class=
"['tag', setTagColor(scope.scope.estimatedResult)]"
:class=
"['tag', setTagColor(scope.scope.estimatedResult)]"
...
@@ -264,13 +261,27 @@ export default {
...
@@ -264,13 +261,27 @@ export default {
addHtml
:
"durationHtml"
addHtml
:
"durationHtml"
},
},
{
{
label
:
"安心包是否开口"
,
prop
:
"axbOpenFlag"
,
formatter
(
row
)
{
return
row
.
axbOpenFlag
?
"是"
:
"否"
}
},
{
label
:
"安心包是否成交"
,
prop
:
"isFinishFlag"
,
formatter
(
row
)
{
return
row
.
finishFlag
?
"是"
:
"否"
}
},
{
label
:
"开始接待时间"
,
label
:
"开始接待时间"
,
prop
:
"startTime"
prop
:
"startTime"
},
},
{
{
label
:
"结束接待时间"
,
label
:
"结束接待时间"
,
prop
:
"endTime"
prop
:
"endTime"
}
}
]
]
},
},
baseData
:
{
baseData
:
{
...
...
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