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 39e3b77f
authored
Jun 26, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
5ff6c27e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
25 deletions
src/views/contentManager/SopContentAdd.vue
src/views/contentManager/components/selectTagSopAera/index.vue
src/views/contentManager/components/selectTagSopCar/index.vue
src/views/contentManager/constant/index.js
src/views/contentManager/listOfPenalties/index.vue
src/views/contentManager/SopContentAdd.vue
View file @
39e3b77
...
...
@@ -129,7 +129,7 @@
<div>
<span
class=
"empTypeBtn"
:class=
"[item.selectStaffValue.length ? 'select' : '', activeBtnIndex == item.selectStaffType ? 'activeBtn' : '']"
v-for=
"(item, index) in empTypeList"
:key=
"index"
effect=
"dark"
v-for=
"(item, index) in empTypeList
Filter
"
:key=
"index"
effect=
"dark"
@
click=
"activeBtnIndex = item.selectStaffType"
>
{{ item.label }}
</span>
...
...
@@ -141,7 +141,7 @@
<span
class=
"radio-box empTypeBtn"
@
click=
"addEmp"
>
选择标签
</span>
<div
v-loading=
"customerLoading"
>
<div
class=
"customer-box m-t-10"
>
<div
class=
"itemLabel"
v-for=
"(item, iemSubIdx) in empTypeList"
:key=
"iemSubIdx"
>
<div
class=
"itemLabel"
v-for=
"(item, iemSubIdx) in empTypeList
Filter
"
:key=
"iemSubIdx"
>
<span
v-if=
"item.selectStaffValue.length"
>
{{ item.label }}
<div
class=
"el-input-tag input-tag-wrapper"
>
...
...
@@ -745,13 +745,7 @@ export default {
this
.
$refs
.
ruleForm
.
validateField
(
"imageList"
)
},
"formData.contentType"
(
val
)
{
this
.
empTypeList
=
this
.
empTypeList
.
map
(
item
=>
{
item
.
selectStaffValue
=
[]
return
item
})
this
.
groupVisible
=
false
this
.
getCustomerByTagList
(
"filtrate"
)
// this
if
(
val
==
4
||
val
==
5
)
{
this
.
formData
.
sendChannelType
=
2
}
...
...
@@ -773,13 +767,19 @@ export default {
},
filterSopType
()
{
return
this
.
configList
.
map
(
item
=>
item
.
selectStaffType
)
}
},
filters
:
{
},
empTypeListFilter
(
type
)
{
return
this
.
formData
.
contentType
==
5
?
this
.
empTypeList
.
filter
((
i
)
=>
i
.
selectStaffType
!=
10
)
:
this
.
empTypeList
const
list
=
deepClone
(
this
.
empTypeList
)
const
filterList
=
this
.
empTypeList
.
filter
((
i
)
=>
i
.
selectStaffType
!=
10
)
// this.$forceUpdate()
return
this
.
formData
.
contentType
==
5
?
list
:
filterList
}
},
// filters: {
// empTypeListFilter(type) {
// return this.formData.contentType == 5 ? this.empTypeList.filter((i) => i.selectStaffType != 10) : this.empTypeList
// }
// },
mounted
()
{
const
{
id
,
contentType
,
selectStaffType
}
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
...
...
@@ -1004,6 +1004,12 @@ export default {
this
.
formData
.
imageList
=
[]
this
.
formData
.
content
=
""
this
.
uploading
=
false
this
.
empTypeList
=
this
.
empTypeList
.
map
(
item
=>
{
item
.
selectStaffValue
=
[]
return
item
})
this
.
groupVisible
=
false
this
.
getCustomerByTagList
(
"filtrate"
)
},
getTaskRecord
(
taskId
)
{
contentManagerTaskRecordPage
({
...
...
@@ -1053,6 +1059,7 @@ export default {
)
}
else
if
(
key
==
"extendConfig"
&&
res
.
extendConfig
.
deadline
)
{
// [res.extendConfig.deadline]
this
.
formData
.
extendConfig
=
res
.
extendConfig
this
.
formData
.
extendConfig
.
deadline
=
Util
.
dateFormate
(
res
.
extendConfig
.
deadline
,
"YYYY-MM-DD HH:mm:ss"
...
...
src/views/contentManager/components/selectTagSopAera/index.vue
View file @
39e3b77
<
template
>
<d2-dialog
title=
"选择区域"
:appendToBody=
"true"
:is-visible=
"dialogVisible"
class=
"brand-dialog"
width=
"
5
0%"
<d2-dialog
title=
"选择区域"
:appendToBody=
"true"
:is-visible=
"dialogVisible"
class=
"brand-dialog"
width=
"
3
0%"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<el-form
:inline=
"true"
size=
"mini"
class=
"demo-form-inline"
>
<el-form-item
label=
"区域名称:"
>
...
...
@@ -8,6 +8,10 @@
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSearch"
>
查询
</el-button>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"resetChecked"
>
清空
</el-button>
<!--
<el-button
type=
"primary"
@
click=
"onSearch"
>
查询
</el-button>
-->
</el-form-item>
</el-form>
<div
class=
"content"
>
<div
class=
"tree-box"
>
...
...
@@ -15,20 +19,20 @@
<el-tree
ref=
"tree"
node-key=
"id"
:filter-node-method=
"filterNode"
:data=
"brandData"
:props=
"defaultProps"
show-checkbox
@
check-change=
"handleNodeClick"
></el-tree>
</div>
<div
class=
"check-box"
>
<
!--
<
div
class=
"check-box"
>
<div
class=
"title"
>
已选区域
<el-button
type=
"text"
@
click=
"resetChecked"
>
清空
</el-button>
</div>
<template
v-if=
"checkList.length == 0"
>
<div
class=
"no-data"
>
暂无数据
</div>
</
template
>
<
template
v-else
>
<
template
v-else
>
<div
class=
"check-list"
>
<div
class=
"check-item"
v-for=
"item in checkList"
:key=
"item.id"
>
{{
item
.
name
}}
<i
class=
"el-icon-close"
@
click=
"closeChecked(item)"
></i></div>
</div>
</
template
>
</div
>
</div>
--
>
</div>
</d2-dialog>
...
...
@@ -195,7 +199,7 @@ export default {
background
:
#ffffff
;
height
:
324px
;
overflow-y
:
auto
;
width
:
5
0%
;
width
:
10
0%
;
margin-right
:
20px
;
.tree-title
{
...
...
src/views/contentManager/components/selectTagSopCar/index.vue
View file @
39e3b77
<
template
>
<d2-dialog
title=
"选择品牌"
:appendToBody=
"true"
:is-visible=
"dialogVisible"
class=
"brand-dialog"
width=
"
5
0%"
<d2-dialog
title=
"选择品牌"
:appendToBody=
"true"
:is-visible=
"dialogVisible"
class=
"brand-dialog"
width=
"
3
0%"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<el-form
:inline=
"true"
size=
"mini"
class=
"demo-form-inline"
>
<el-form-item
label=
"品牌名称:"
>
...
...
@@ -8,6 +8,9 @@
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSearch"
>
查询
</el-button>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"resetChecked"
>
清空
</el-button>
</el-form-item>
</el-form>
<div
class=
"content"
>
<div
class=
"tree-box"
>
...
...
@@ -15,20 +18,20 @@
<el-tree
ref=
"tree"
node-key=
"id"
:filter-node-method=
"filterNode"
:data=
"brandData"
:props=
"defaultProps"
show-checkbox
@
check-change=
"handleNodeClick"
></el-tree>
</div>
<div
class=
"check-box"
>
<
!--
<
div
class=
"check-box"
>
<div
class=
"title"
>
已选品牌
<el-button
type=
"text"
@
click=
"resetChecked"
>
清空
</el-button>
</div>
<template
v-if=
"checkList.length == 0"
>
<div
class=
"no-data"
>
暂无数据
</div>
</
template
>
<
template
v-else
>
<
template
v-else
>
<div
class=
"check-list"
>
<div
class=
"check-item"
v-for=
"item in checkList"
:key=
"item.id"
>
{{
item
.
name
}}
<i
class=
"el-icon-close"
@
click=
"closeChecked(item)"
></i></div>
</div>
</
template
>
</div
>
</div>
--
>
</div>
</d2-dialog>
...
...
@@ -198,7 +201,7 @@ export default {
background
:
#ffffff
;
height
:
324px
;
overflow-y
:
auto
;
width
:
5
0%
;
width
:
10
0%
;
margin-right
:
20px
;
...
...
src/views/contentManager/constant/index.js
View file @
39e3b77
...
...
@@ -161,7 +161,7 @@ export const PUNISH_OPTIONS = [
{
label
:
"未触发"
,
id
:
"1"
,
backgroundColor
:
"#
#
FDB757"
backgroundColor
:
"#FDB757"
},
{
label
:
"处罚中"
,
...
...
src/views/contentManager/listOfPenalties/index.vue
View file @
39e3b77
...
...
@@ -27,7 +27,6 @@
</div>
</div>
<div
slot=
"punishStatus"
slot-scope=
"scope"
>
<!-- PUNISH_OPTIONS -->
<div
class=
"online-status"
>
<span
class=
"dot"
:style=
"
{ background: PUNISH_OPTIONS.find(item => item.id == scope.scope.punishStatus).backgroundColor }">
</span>
...
...
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