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 1e53bf3f
authored
Jun 18, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
9b7a9821
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
68 additions
and
51 deletions
src/views/contentManager/components/findStaffTagCourseDialog/index.vue
src/views/contentManager/components/selectTagSop/index.vue
src/views/contentManager/labelCourse/findStaffTagCourseDialog/index.vue
src/views/contentManager/labelCourse/selectTag/index.vue
src/views/contentManager/listOfPenalties/index.vue
src/views/contentManager/massSendingStatisticsPage/learningSituation.vue
src/views/contentManager/massSendingStatisticsPage/readStatistics.vue
src/views/contentManager/sopContentDetail.vue
src/views/contentManager/staffMassSending/massSendingStatisticsPage.vue
yarn.lock
src/views/contentManager/components/findStaffTagCourseDialog/index.vue
View file @
1e53bf3
...
...
@@ -91,7 +91,7 @@ export default {
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
isFlag
:
true
//
isFlag: true
}).
then
((
res
)
=>
{
this
.
selectingData
=
res
.
list
this
.
total
=
res
.
total
...
...
src/views/contentManager/components/selectTagSop/index.vue
View file @
1e53bf3
...
...
@@ -24,7 +24,7 @@
<el-checkbox-group
class=
"tag-group"
v-model=
"item.tagChecked"
@
change=
"handleCheckedChange(item.tagChecked, index)"
v-if=
"item.checked"
>
<el-checkbox
v-for=
"(itm, idx) in item.labelList"
:label=
"itm"
:key=
"idx"
>
{{
itm
.
name
||
itm
.
labelName
}}
</el-checkbox>
}}
</el-checkbox>
</el-checkbox-group>
</div>
</div>
...
...
@@ -169,7 +169,7 @@ export default {
// }).then((res) => {
// let res
const
res
=
this
.
tree
[
this
.
activeBtnIndex
]
console
.
log
(
res
,
"res"
)
console
.
log
(
res
,
selectItem
,
"res"
)
if
(
selectItem
&&
selectItem
.
length
>
0
)
{
this
.
labelTreeRets
=
res
.
map
((
item
)
=>
{
return
{
...
...
@@ -192,8 +192,9 @@ export default {
selectItem
.
forEach
((
item
)
=>
{
this
.
labelTreeRets
.
forEach
((
tag
)
=>
{
if
(
item
.
labelGroup
.
id
==
tag
.
labelGroup
.
id
)
{
let
labelList
=
[]
item
.
child
.
forEach
((
x
)
=>
{
const
labelList
=
[]
const
tagList
=
item
.
labelList
||
item
.
child
tagList
.
forEach
((
x
)
=>
{
labelList
.
push
(
x
.
id
)
})
this
.
$nextTick
(()
=>
{
...
...
src/views/contentManager/labelCourse/findStaffTagCourseDialog/index.vue
View file @
1e53bf3
...
...
@@ -90,7 +90,8 @@ export default {
findStaffTagCoursePage
({
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
pageSize
:
this
.
pageSize
,
isFlag
:
true
}).
then
((
res
)
=>
{
this
.
selectingData
=
res
.
list
this
.
total
=
res
.
total
...
...
src/views/contentManager/labelCourse/selectTag/index.vue
View file @
1e53bf3
...
...
@@ -23,9 +23,10 @@
<div
style=
"margin: 15px 0"
></div>
<el-checkbox-group
class=
"tag-group"
v-model=
"item.tagChecked"
@
change=
"handleCheckedChange(item.tagChecked, index)"
v-if=
"item.checked"
>
<el-checkbox
v-for=
"(itm, idx) in item.labelList"
:label=
"itm"
:key=
"idx"
>
{{
itm
.
tagName
||
itm
.
name
||
<el-checkbox
v-for=
"(itm, idx) in item.labelList"
:label=
"itm"
:key=
"idx"
>
{{
itm
.
groupName
}}
:
{{
itm
.
tagName
||
itm
.
name
||
itm
.
labelName
}}
</el-checkbox>
}}
</el-checkbox>
</el-checkbox-group>
</div>
</div>
...
...
src/views/contentManager/listOfPenalties/index.vue
View file @
1e53bf3
...
...
@@ -186,7 +186,7 @@ export default {
tableColumns
:
[
{
label
:
"学习任务"
,
prop
:
"t
askT
itle"
prop
:
"title"
},
{
label
:
"员工姓名"
,
...
...
@@ -199,13 +199,13 @@ export default {
},
{
label
:
"任务开始时间"
,
prop
:
"
sendStartTim
e"
,
prop
:
"
createdDat
e"
,
// minWidth: 140
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
sendStartTime
?
Util
.
dateFormate
(
cellValue
.
sendStartTime
,
"YYYY-MM-DD HH:mm:ss"
)
:
"-"
}
//
formatter: (cellValue) => {
//
return cellValue.sendStartTime
//
? Util.dateFormate(cellValue.sendStartTime, "YYYY-MM-DD HH:mm:ss")
//
: "-"
//
}
},
{
label
:
"任务状态"
,
...
...
@@ -213,13 +213,13 @@ export default {
},
{
label
:
"完成时间"
,
prop
:
"finish
EndTim
e"
,
prop
:
"finish
Dat
e"
,
// minWidth: 140
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
finishEndTime
?
Util
.
dateFormate
(
cellValue
.
finishEndTime
,
"YYYY-MM-DD HH:mm:ss"
)
:
"-"
}
//
formatter: (cellValue) => {
//
return cellValue.finishEndTime
//
? Util.dateFormate(cellValue.finishEndTime, "YYYY-MM-DD HH:mm:ss")
//
: "-"
//
}
},
{
label
:
"处罚状态"
,
...
...
src/views/contentManager/massSendingStatisticsPage/learningSituation.vue
View file @
1e53bf3
...
...
@@ -141,7 +141,7 @@ export default {
{
label
:
"员工手机号"
,
minWidth
:
144
,
prop
:
"
phoneNumber
"
prop
:
"
staffPhone
"
},
{
label
:
"课程名称"
,
...
...
@@ -177,6 +177,7 @@ export default {
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
beforeSearchFn
(
type
=
1
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchForm
.
taskId
=
this
.
routerInfo
.
id
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
// if (this.searchForm?.searchdate?.length) {
// let [searchStartDate, searchEndDate] = this.searchForm.searchdate
...
...
src/views/contentManager/massSendingStatisticsPage/readStatistics.vue
View file @
1e53bf3
...
...
@@ -68,7 +68,7 @@ export default {
},
{
label
:
"员工手机号"
,
name
:
"
staffPhone
"
,
name
:
"
phoneNumber
"
,
type
:
"input"
,
maxlength
:
"20"
,
isClear
:
true
...
...
@@ -115,6 +115,7 @@ export default {
{
label
:
"查看次数"
,
minWidth
:
270
,
prop
:
"readCount"
},
]
},
...
...
@@ -139,6 +140,7 @@ export default {
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
beforeSearchFn
(
type
=
1
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchForm
.
taskId
=
this
.
routerInfo
.
id
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
// if (this.searchForm?.searchdate?.length) {
// let [searchStartDate, searchEndDate] = this.searchForm.searchdate
...
...
src/views/contentManager/sopContentDetail.vue
View file @
1e53bf3
...
...
@@ -97,10 +97,8 @@
<div
class=
"label"
>
员工对象:
</div>
<div
class=
"content"
>
<div>
<span
class=
"empTypeBtn"
:class=
"[item.selectStaffValue.length ? 'select' : '', activeBtnIndex == item.selectStaffType ? 'activeBtn' : '']"
v-for=
"(item, index) in empTypeList"
:key=
"index"
effect=
"dark"
@
click=
"activeBtnIndex = item.selectStaffType"
>
<span
class=
"empTypeBtn"
:class=
"[item.selectStaffValue.length ? 'select' : '',]"
v-for=
"(item, index) in empTypeList"
:key=
"index"
effect=
"dark"
>
{{ item.label }}
</span>
</div>
...
...
@@ -194,13 +192,13 @@
<div
class=
"cell"
>
<div
class=
"label"
>
完成标准:
</div>
<div
class=
"value"
>
{{ formData.extendConfig.finishCriteria == 1 ? "完成学习(含考核)" : "" }}
{{ formData.extendConfig.finishCriteria == 1 ? "完成学习(含考核)" : "
无
" }}
</div>
</div>
<div
class=
"cell"
>
<div
class=
"label"
>
惩罚方式:
</div>
<div
class=
"value"
>
{{ formData.extendConfig.punishType
? '禁止录单' : '
' }}
{{ formData.extendConfig.punishType
== 1 ? '禁止录单' : '无
' }}
</div>
</div>
</div>
...
...
@@ -819,6 +817,7 @@ export default {
}
} else if (key == "extendConfig" && res.extendConfig.deadline) {
// [res.extendConfig.deadline]
this.formData[key] = res[key]
this.formData.extendConfig.deadline = Util.dateFormate(
res.extendConfig.deadline,
"YYYY-MM-DD HH:mm:ss"
...
...
@@ -887,7 +886,7 @@ export default {
// this.formData.customerDataList = this.transformLabelList(
// res.labelList
// )
//
this.getCustomerByTagList("filtrate")
this.getCustomerByTagList("filtrate")
// }
try {
const selectStaffValue = JSON.parse(res.selectStaffValue || "{}")
...
...
src/views/contentManager/staffMassSending/massSendingStatisticsPage.vue
View file @
1e53bf3
...
...
@@ -3,7 +3,7 @@
<div
class=
"performance-list-wrap"
>
<div
class=
"title"
>
问界原厂权益销售重要通知
<el-button
size=
"small"
>
返回
</el-button>
<el-button
size=
"small"
@
click=
"black"
>
返回
</el-button>
</div>
<div
class=
"header"
slot=
"header"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
@@ -47,6 +47,11 @@ export default {
},
watch
:
{},
methods
:
{
black
()
{
this
.
$router
.
push
({
path
:
"/staffMassSending"
})
},
handleClick
()
{
const
arr
=
{
0
:
"readStatistics"
,
...
...
yarn.lock
View file @
1e53bf3
...
...
@@ -2523,10 +2523,10 @@ ajv@^8.0.0, ajv@^8.0.1, ajv@^8.8.0:
require-from-string "^2.0.2"
uri-js "^4.2.2"
ali-oss@^6.2
0
.0:
version "6.2
0
.0"
resolved "https://registry.npmjs.org/ali-oss/-/ali-oss-6.2
0.0.tgz
"
integrity sha512-
TzFXgGlw81sy2JvcCveSYsa2b2+6kv+HA6WTc+cXg6bu8nUAmVPfncRGbn3x2getSOniOFA+TyGy3V4l3Fks+
Q==
ali-oss@^6.2
2.0, ali-oss@^6.23
.0:
version "6.2
3
.0"
resolved "https://registry.npmjs.org/ali-oss/-/ali-oss-6.2
3.0.tgz#0bb236428307986ece0bf9243d77d7029d7b6ed2
"
integrity sha512-
FipRmyd16Pr/tEey/YaaQ/24Pc3HEpLM9S1DRakEuXlSLXNIJnu1oJtHM53eVYpvW3dXapSjrip3xylZUTIZV
Q==
dependencies:
address "^1.2.2"
agentkeepalive "^3.4.1"
...
...
@@ -2550,7 +2550,7 @@ ali-oss@^6.20.0:
sdk-base "^2.0.1"
stream-http "2.8.2"
stream-wormhole "^1.0.4"
urllib "
2.41
.0"
urllib "
^2.44
.0"
utility "^1.18.0"
xml2js "^0.6.2"
...
...
@@ -5461,6 +5461,13 @@ globby@^11.0.2, globby@^11.0.3:
merge2 "^1.4.1"
slash "^3.0.0"
glsk-oss-jssdk@^1.0.1:
version "1.0.2"
resolved "https://registry.npmjs.org/glsk-oss-jssdk/-/glsk-oss-jssdk-1.0.2.tgz#2666abe1181983ee83ed96fc40f93cd81d9bd4ec"
integrity sha512-oFbouNPVFrSv7ACunWdAlR1oJ4jpxMiK7ORGvd8BMpCeI6sMAJ6IneFKON5mp3GceOK6jxDtKub0UTKKx/W6lQ==
dependencies:
ali-oss "^6.23.0"
glsx-common-sdk@^0.3.0:
version "0.3.0"
resolved "https://registry.npmmirror.com/glsx-common-sdk/-/glsx-common-sdk-0.3.0.tgz"
...
...
@@ -5806,13 +5813,20 @@ humanize-ms@^1.2.0, humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"
iconv-lite@0.4.24
, iconv-lite@^0.4.15
:
iconv-lite@0.4.24:
version "0.4.24"
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
dependencies:
safer-buffer ">= 2.1.2 < 3"
iconv-lite@^0.6.3:
version "0.6.3"
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
dependencies:
safer-buffer ">= 2.1.2 < 3.0.0"
icss-utils@^5.0.0, icss-utils@^5.1.0:
version "5.1.0"
resolved "https://registry.npmmirror.com/icss-utils/-/icss-utils-5.1.0.tgz"
...
...
@@ -5913,11 +5927,6 @@ invariant@^2.2.2:
dependencies:
loose-envify "^1.0.0"
ip@^1.1.5:
version "1.1.9"
resolved "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz"
integrity sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==
ipaddr.js@1.9.1:
version "1.9.1"
resolved "https://registry.npmmirror.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz"
...
...
@@ -9367,9 +9376,9 @@ safe-regex@^1.1.0:
dependencies:
ret "~0.1.10"
"safer-buffer@>= 2.1.2 < 3":
"safer-buffer@>= 2.1.2 < 3"
, "safer-buffer@>= 2.1.2 < 3.0.0"
:
version "2.1.2"
resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"
resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz
#44fa161b0187b9549dd84bb91802f9bd8385cd6a
"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
sass-loader@^7.3.1:
...
...
@@ -10613,21 +10622,19 @@ url-slug@2.0.0:
dependencies:
unidecode "0.1.8"
urllib@
2.41
.0:
version "2.4
1
.0"
resolved "https://registry.npmjs.org/urllib/-/urllib-2.4
1.0.tgz
"
integrity sha512-
pNXdxEv52L67jahLT+/7QE+Fup1y2Gc6EdmrAhQ6OpQIC2rl14oWwv9hvk1GXOZqEnJNwRXHABuwgPOs1CtL7g
==
urllib@
^2.44
.0:
version "2.4
4
.0"
resolved "https://registry.npmjs.org/urllib/-/urllib-2.4
4.0.tgz#0da4b037550bdc03eb9a408de498fb4025ddc0b4
"
integrity sha512-
zRCJqdfYllRDA9bXUtx+vccyRqtJPKsw85f44zH7zPD28PIvjMqIgw9VwoTLV7xTBWZsbebUFVHU5ghQcWku2A
==
dependencies:
any-promise "^1.3.0"
content-type "^1.0.2"
debug "^2.6.9"
default-user-agent "^1.0.0"
digest-header "^1.0.0"
ee-first "~1.1.1"
formstream "^1.1.0"
humanize-ms "^1.2.0"
iconv-lite "^0.4.15"
ip "^1.1.5"
iconv-lite "^0.6.3"
pump "^3.0.0"
qs "^6.4.0"
statuses "^1.3.1"
...
...
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