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