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 36ff6239
authored
Apr 08, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
需求开发
1 parent
a06f0cbd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
47 deletions
src/router/modules/912_residentManage.js
src/views/residentManage/sceneClueManagement/detailView.vue
src/views/residentManage/verbalTrickManagement/components/detailDialog.vue
src/views/residentManage/verbalTrickManagement/components/statisticsDialog.vue
src/views/residentManage/verbalTrickManagement/index.vue
src/router/modules/912_residentManage.js
View file @
36ff623
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-01 15:03:31
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2025-04-0
1 10:42:02
* @LastEditTime: 2025-04-0
8 10:33:45
*/
const
_import
=
require
(
"@/libs/util.import."
+
process
.
env
.
NODE_ENV
)
export
const
routerName
=
{
...
...
@@ -932,39 +932,39 @@ export const routerName = {
},
component
:
_import
(
"residentManage/sceneClueManagement/detailView"
)
},
912
19
:
{
912
20
:
{
path
:
"/verbalTrickManagement"
,
name
:
"verbalTrickManagement"
,
meta
:
{
title
:
"话术管理"
,
authId
:
"912
19
"
,
authId
:
"912
20
"
,
parentId
:
"912"
,
cache
:
false
},
auth
:
[
{
authId
:
"912
19
01"
,
parentId
:
"912
19
"
,
authId
:
"912
20
01"
,
parentId
:
"912
20
"
,
label
:
"明细"
,
handle
:
"handleDetail"
,
addRoutePath
:
[
{
authId
:
"912
19
0101"
,
authId
:
"912
20
0101"
,
name
:
"详情"
,
parentId
:
"912
19
"
parentId
:
"912
20
"
}
]
}
],
component
:
_import
(
"residentManage/verbalTrickManagement/index"
)
},
912
19
0101
:
{
912
20
0101
:
{
path
:
"/inVerbalConfigView"
,
name
:
"inVerbalConfigView"
,
meta
:
{
title
:
"明细"
,
authId
:
"912
19
0101"
,
parentId
:
"912
19
"
,
authId
:
"912
20
0101"
,
parentId
:
"912
20
"
,
activePath
:
"/inVerbalConfigView"
},
component
:
_import
(
"residentManage/verbalTrickManagement/detailView"
)
...
...
src/views/residentManage/sceneClueManagement/detailView.vue
View file @
36ff623
...
...
@@ -51,7 +51,7 @@ export default {
label
:
"提报日期"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
createdDate
?
Util
.
dateFormate
(
cellValue
.
createdDate
,
"YYYY
-MM-
DD HH:mm:ss"
)
?
Util
.
dateFormate
(
cellValue
.
createdDate
,
"YYYY
/MM/
DD HH:mm:ss"
)
:
"-"
}
},
...
...
@@ -140,9 +140,11 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
.detail-view
{
min-width
:
1200px
;
min-height
:
706px
;
background-color
:
#fff
;
padding-bottom
:
20px
;
overflow
:
scroll
;
.title
{
height
:
50px
;
padding
:
13.5px
20px
;
...
...
src/views/residentManage/verbalTrickManagement/components/detailDialog.vue
View file @
36ff623
...
...
@@ -10,7 +10,7 @@
<el-form
class=
"edit-sub-block"
label-width=
"110px"
:inline=
"true"
>
<el-row
:gutter=
"20"
>
<template
v-for=
"(item, index) in configData"
>
<el-col
:span=
"12"
:key=
"index"
>
<el-col
:span=
"
item.col ? item.col :
12"
:key=
"index"
>
<el-form-item
:label=
"item.title"
>
<slot
v-if=
"item.addHtml"
...
...
@@ -18,6 +18,10 @@
:scope=
"scope.row"
/>
<div
v-else
>
<div
v-if=
"item.className"
:class=
"[item.className(detailInfo)]"
></div>
{{
detailInfo
[
item
.
key
]
?
detailInfo
[
item
.
key
]
:
"-"
}}
</div>
</el-form-item></el-col
...
...
@@ -28,7 +32,7 @@
</div>
<div
class=
"operate-wrap"
>
<div
class=
"title"
>
操作记录
</div>
<div
class=
"operate-list"
>
<div
class=
"operate-list"
v-if=
"operateData.length>0"
>
<div
v-for=
"(item, index) in operateData"
:key=
"index"
...
...
@@ -46,6 +50,7 @@
</div>
</div>
</div>
<div
v-else
class=
"empty"
>
暂无记录
</div>
</div>
</div>
</baseDialog>
...
...
@@ -107,7 +112,15 @@ export default {
},
{
title
:
"状态:"
,
key
:
"pushStatus"
key
:
"pushStatusName"
,
className
:
(
cellValue
)
=>
{
return
{
1
:
"yellowSpot"
,
2
:
"greenSpot"
,
3
:
"ashSpot"
,
0
:
"ashSpot"
}[
cellValue
.
pushStatus
]
}
},
{
title
:
"更新时间:"
,
...
...
@@ -120,7 +133,8 @@ export default {
},
{
title
:
"话术内容:"
,
key
:
"sourceContent"
key
:
"sourceContent"
,
col
:
24
}
],
dialogConfig
:
{
...
...
@@ -146,12 +160,12 @@ export default {
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
"延保"
res
.
pushStatus
=
res
.
pushStatus
==
1
?
"已推送"
:
"未推送"
res
.
pushStatus
Name
=
res
.
pushStatus
==
1
?
"已推送"
:
"未推送"
res
.
pushTime
=
res
.
pushTime
?
Util
.
dateFormate
(
res
.
pushTime
,
"YYYY
-MM-
DD HH:mm:ss"
)
?
Util
.
dateFormate
(
res
.
pushTime
,
"YYYY
/MM/
DD HH:mm:ss"
)
:
"--"
res
.
inputTime
=
res
.
inputTime
?
Util
.
dateFormate
(
res
.
inputTime
,
"YYYY
-MM-
DD HH:mm:ss"
)
?
Util
.
dateFormate
(
res
.
inputTime
,
"YYYY
/MM/
DD HH:mm:ss"
)
:
"--"
this
.
detailInfo
=
res
...
...
@@ -215,7 +229,7 @@ export default {
border-bottom
:
1px
solid
#e5e5e5
;
}
.operate-list
{
margin
:
20px
;
margin
:
20px
;
.operate-item
{
.header
{
display
:
flex
;
...
...
@@ -229,8 +243,8 @@ export default {
.type
{
color
:
#666666
;
font-size
:
14px
;
line-height
:
20px
;
margin
:
0
12px
0
16px
;
line-height
:
20px
;
margin
:
0
12px
0
16px
;
}
.result
{
color
:
#2cca74
;
...
...
@@ -247,13 +261,19 @@ export default {
font-size
:
12px
;
border-left
:
2px
solid
#e4e8ee
;
margin-left
:
4px
;
span{
margin-left
:
16px
;
span
{
margin-left
:
16px
;
}
}
}
}
}
.empty
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin-top
:
20px
;
}
</
style
>
\ No newline at end of file
src/views/residentManage/verbalTrickManagement/components/statisticsDialog.vue
View file @
36ff623
...
...
@@ -28,6 +28,7 @@
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
:layout=
"'total,prev, pager, next'"
>
</d2-table>
</baseDialog>
...
...
@@ -58,13 +59,7 @@ export default {
}
}
},
watch
:
{
id
(
val
)
{
if
(
val
)
this
.
getDetail
()
}
},
mounted
()
{
this
.
getDetail
()
},
data
()
{
return
{
...
...
@@ -82,13 +77,14 @@ export default {
label
:
"手机号"
,
name
:
"staffPhone"
,
type
:
"input"
,
placeholder
:
"请输入
手机号(至少4位)
"
,
placeholder
:
"请输入"
,
maxlength
:
"11"
,
isClear
:
true
},
{
label
:
"员工名称"
,
name
:
"staffName"
,
placeholder
:
"请输入"
,
type
:
"input"
,
maxlength
:
"40"
,
isClear
:
true
...
...
@@ -96,6 +92,7 @@ export default {
{
label
:
"门店名称"
,
name
:
"merchantName"
,
placeholder
:
"请输入"
,
type
:
"input"
,
isClear
:
true
},
...
...
@@ -181,22 +178,6 @@ export default {
handleDetailClose
()
{
this
.
dialogShow
=
false
},
getDetail
()
{
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
"延保"
res
.
pushStatus
=
res
.
pushStatus
==
1
?
"已推送"
:
"未推送"
res
.
pushTime
=
res
.
pushTime
?
Util
.
dateFormate
(
res
.
pushTime
,
"YYYY-MM-DD HH:mm:ss"
)
:
"--"
res
.
inputTime
=
res
.
inputTime
?
Util
.
dateFormate
(
res
.
inputTime
,
"YYYY-MM-DD HH:mm:ss"
)
:
"--"
this
.
detailInfo
=
res
}
})
},
beforeSearchFn
(
type
=
1
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
...
...
src/views/residentManage/verbalTrickManagement/index.vue
View file @
36ff623
...
...
@@ -28,7 +28,7 @@
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['912
19
01']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['912
20
01']"
/>
</span>
</div>
</d2-table>
...
...
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