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 08206c9f
authored
Oct 18, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 客户档案&标签
1 parent
f83a1691
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
18 deletions
src/router/modules/913_contentManager.js
src/views/contentManager/contentAdd.vue
src/views/contentManager/contentDetail.vue
src/views/contentManager/customerFile/contentDetails.vue → src/views/contentManager/customerFile/customerFileDetails.vue
src/views/contentManager/customerFile/index.vue
src/views/contentManager/customerTags/index.vue
src/router/modules/913_contentManager.js
View file @
08206c9
...
...
@@ -332,8 +332,8 @@ export const routerName = {
component
:
_import
(
"contentManager/customerFile/index"
)
},
9131701
:{
path
:
"/c
ontent
Details"
,
name
:
"c
ontent
Details"
,
path
:
"/c
ustomerFile
Details"
,
name
:
"c
ustomerFile
Details"
,
meta
:
{
title
:
"话术管理"
,
authId
:
"9131701"
,
...
...
@@ -341,6 +341,6 @@ export const routerName = {
cache
:
false
},
auth
:
[],
component
:
_import
(
"contentManager/customerFile/c
ontent
Details"
)
component
:
_import
(
"contentManager/customerFile/c
ustomerFile
Details"
)
}
}
src/views/contentManager/contentAdd.vue
View file @
08206c9
...
...
@@ -568,7 +568,7 @@
>
<el-form-item
prop=
"headings"
label=
"段落标题"
label=
"段落标题
:
"
:style=
"
{ 'margin-bottom': '22px' }"
>
<el-input
...
...
@@ -580,7 +580,7 @@
</el-form-item>
<el-form-item
prop=
"content"
label=
"段落内容"
label=
"段落内容
:
"
:style=
"
{ 'margin-bottom': '22px' }"
>
<el-input
...
...
@@ -647,7 +647,7 @@
<p
class=
"photo-top-tips"
>
支持mp3,大小不超过200M
</p>
</el-form-item>
<el-form-item
label=
"上传多张图片"
label=
"上传多张图片
:
"
:style=
"
{ 'margin-bottom': '22px' }"
>
<glsx-preview
...
...
src/views/contentManager/contentDetail.vue
View file @
08206c9
This diff is collapsed.
Click to expand it.
src/views/contentManager/customerFile/c
ontent
Details.vue
→
src/views/contentManager/customerFile/c
ustomerFile
Details.vue
View file @
08206c9
...
...
@@ -248,7 +248,7 @@ export default {
label
:
'查看时长'
,
minWidth
:
220
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
solutionBrowsingDurationCount
?
secondsToMinutesAndSeconds
(
cellValue
.
solutionBrowsingDurationCount
)
:
`0
分钟0
秒`
return
cellValue
.
solutionBrowsingDurationCount
?
secondsToMinutesAndSeconds
(
cellValue
.
solutionBrowsingDurationCount
)
:
`0秒`
}
},
]
...
...
@@ -306,7 +306,7 @@ export default {
this
.
$router
.
push
({
name
:
"contentAdd"
,
params
:
{
scene
:
query
.
scene
,
scene
:
Number
(
query
.
scene
)
,
showChannel
:
2
,
type
:
3
,
receptionSceneInfoList
:
[{
...
...
src/views/contentManager/customerFile/index.vue
View file @
08206c9
...
...
@@ -93,7 +93,7 @@
</div>
</
template
>
<
template
v-else
>
<span>
{{
scope
.
scope
.
customerTagName
||
'-
-
'
}}
</span>
<span>
{{
scope
.
scope
.
customerTagName
||
'-'
}}
</span>
</
template
>
</template>
<
template
...
...
@@ -392,7 +392,7 @@ export default {
},
jumpDetail
(
row
)
{
this
.
$router
.
push
({
name
:
"c
ontent
Details"
,
name
:
"c
ustomerFile
Details"
,
query
:
{
id
:
row
.
id
,
receptionSceneName
:
row
.
receptionSceneName
,
...
...
@@ -425,6 +425,7 @@ export default {
display
:
flex
;
align-items
:
center
;
padding
:
0
10px
;
justify-content
:
center
;
.tag
{
white-space
:
nowrap
;
overflow
:
hidden
;
...
...
src/views/contentManager/customerTags/index.vue
View file @
08206c9
...
...
@@ -59,6 +59,7 @@
<div
v-if=
"item.addHtml"
:key=
"tableKey"
class=
"label-name"
>
<template
v-if=
"scope.row.level == 2 && scope.row.isEdit"
>
<el-input
...
...
@@ -66,7 +67,7 @@
:maxlength=
"item.maxlength"
:placeholder=
"item.placeholder"
:ref=
"`$
{scope.row.id}`"
size="
small
"
size="
mini
"
:class="scope.row.className"
>
</el-input>
</
template
>
...
...
@@ -231,17 +232,17 @@ export default {
label
:
'序号'
,
prop
:
'num'
,
type
:
'ownSerialNum'
,
w
idth
:
60
,
minW
idth
:
60
,
},
{
label
:
'一级分类'
,
addHtml
:
'labelName'
,
minWidth
:
22
0
,
minWidth
:
30
0
,
maxlength
:
30
,
placeholder
:
'请输入'
},
{
label
:
'业务类型'
,
minWidth
:
22
0
,
minWidth
:
18
0
,
formatter
:
(
cellValue
)
=>
{
return
SCENE_OPTIONS
.
find
(
e
=>
e
.
id
==
cellValue
.
scene
)?.
label
||
'-'
},
...
...
@@ -250,13 +251,13 @@ export default {
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
updatedDate
?
Util
.
dateFormate
(
cellValue
.
updatedDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
},
minWidth
:
2
2
0
minWidth
:
2
0
0
},
{
label
:
'生效时间'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
status
==
-
1
?
'-'
:
cellValue
.
effectiveTime
?
Util
.
dateFormate
(
cellValue
.
effectiveTime
,
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
},
minWidth
:
2
2
0
minWidth
:
2
0
0
}
]
},
...
...
@@ -284,7 +285,6 @@ export default {
...
this
.
page
,
...
this
.
searchForm
})
console
.
log
(
list
)
list
?.
map
((
e
,
index
)
=>
e
.
num
=
this
.
indexNum
(
index
))
this
.
tableTotal
=
total
||
0
this
.
tableData
=
list
||
[]
...
...
@@ -319,13 +319,13 @@ export default {
parentId
:
row
.
id
,
editId
:
childrenId
}
if
(
item
.
nextList
&&
item
.
nextList
.
length
)
item
.
nextList
.
unshift
(
childrenItem
)
else
item
.
nextList
=
[
childrenItem
]
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table
.
toggleRowExpansion
(
row
,
true
)
setTimeout
(()
=>
{
this
.
$refs
[
childrenId
][
0
].
focus
()
this
.
$refs
.
table
.
setCurrentRow
(
childrenItem
)
},
100
)
})
},
...
...
@@ -430,4 +430,7 @@ export default {
border-color
:
red
;
}
}
.label-name
{
padding
:
4px
10px
;
}
</
style
>
\ No newline at end of file
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