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 bb42e030
authored
Mar 18, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
df200abc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
15 deletions
src/assets/mark.png
src/components/d2-table/index.vue
src/views/residentManage/dialogueDetail.vue
src/views/residentManage/el-input-range/index.vue
src/views/residentManage/qualityAnalyse.vue
src/views/residentManage/qualityControlList.vue
src/assets/mark.png
0 → 100644
View file @
bb42e03
479 Bytes
src/components/d2-table/index.vue
View file @
bb42e03
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
:min-width=
"item.minWidth"
:min-width=
"item.minWidth"
:align=
"item.align || 'center'"
:align=
"item.align || 'center'"
:sortable=
"item.sortable"
:sortable=
"item.sortable"
:render-header=
"item.renderHeader"
:show-overflow-tooltip=
"item.showOverFlow"
:show-overflow-tooltip=
"item.showOverFlow"
>
>
<
template
slot=
"header"
>
<
template
slot=
"header"
>
...
...
src/views/residentManage/dialogueDetail.vue
View file @
bb42e03
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<template
v-for=
"item in dialogList"
>
<template
v-for=
"item in dialogList"
>
<div
class=
"dialog-detail"
:key=
"item.id"
>
<div
class=
"dialog-detail"
:key=
"item.id"
>
<div
class=
"name"
>
{{
item
.
role
}}
</div>
<div
class=
"name"
>
{{
item
.
role
}}
</div>
<div
class=
"dig-content"
>
<div
class=
"dig-content"
@
click=
"currentDialog(item)"
>
{{
item
.
content
}}
{{
item
.
content
}}
</div>
</div>
</div>
</div>
...
@@ -80,14 +80,19 @@ export default {
...
@@ -80,14 +80,19 @@ export default {
this
.
conversationDetailPage
()
this
.
conversationDetailPage
()
},
},
methods
:
{
methods
:
{
currentDialog
(
data
)
{
this
.
myAud
.
currentTime
=
data
.
mergedOffset
},
toMinutesAndSeconds
(
seconds
)
{
toMinutesAndSeconds
(
seconds
)
{
const
minutes
=
Math
.
floor
(
seconds
/
60
)
let
minutes
=
Math
.
floor
(
seconds
/
60
)
const
remainingSeconds
=
parseInt
(
seconds
%
60
)
let
remainingSeconds
=
parseInt
(
seconds
%
60
)
minutes
=
minutes
>
10
?
minutes
:
`0
${
minutes
}
`
remainingSeconds
=
remainingSeconds
>
10
?
remainingSeconds
:
`0
${
remainingSeconds
}
`
return
`
${
minutes
}
:
${
remainingSeconds
}
`
return
`
${
minutes
}
:
${
remainingSeconds
}
`
},
},
handleprogress
()
{
handleprogress
()
{
const
progress
=
document
.
getElementById
(
"progress"
)
const
progress
=
document
.
getElementById
(
"progress"
)
const
progressBar
=
document
.
getElementById
(
"progressBar"
)
const
progressBar
=
document
.
getElementById
(
"progressBar"
)
this
.
myAud
.
addEventListener
(
"canplay"
,
()
=>
{
this
.
myAud
.
addEventListener
(
"canplay"
,
()
=>
{
if
(
this
.
myAud
.
duration
>
0
)
{
if
(
this
.
myAud
.
duration
>
0
)
{
this
.
totalTime
=
this
.
toMinutesAndSeconds
(
this
.
myAud
.
duration
)
this
.
totalTime
=
this
.
toMinutesAndSeconds
(
this
.
myAud
.
duration
)
...
@@ -96,7 +101,8 @@ export default {
...
@@ -96,7 +101,8 @@ export default {
this
.
myAud
.
addEventListener
(
"timeupdate"
,
()
=>
{
this
.
myAud
.
addEventListener
(
"timeupdate"
,
()
=>
{
if
(
this
.
myAud
.
duration
>
0
)
{
if
(
this
.
myAud
.
duration
>
0
)
{
this
.
currentTime
=
this
.
toMinutesAndSeconds
(
this
.
myAud
.
currentTime
)
this
.
currentTime
=
this
.
toMinutesAndSeconds
(
this
.
myAud
.
currentTime
)
const
progressDur
=
(
this
.
myAud
.
currentTime
/
this
.
myAud
.
duration
)
*
100
const
progressDur
=
(
this
.
myAud
.
currentTime
/
this
.
myAud
.
duration
)
*
100
progress
.
style
.
width
=
`
${
progressDur
}
%`
progress
.
style
.
width
=
`
${
progressDur
}
%`
}
}
})
})
...
@@ -132,6 +138,7 @@ export default {
...
@@ -132,6 +138,7 @@ export default {
}
}
},
},
conversationDetailPage
()
{
conversationDetailPage
()
{
console
.
log
(
this
.
detailObj
)
conversationDetailPage
({
conversationDetailPage
({
batchId
:
this
.
detailObj
.
id
,
batchId
:
this
.
detailObj
.
id
,
currentPage
:
1
,
currentPage
:
1
,
...
...
src/views/residentManage/el-input-range/index.vue
View file @
bb42e03
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
@
blur=
"handleBlur"
@
blur=
"handleBlur"
@
input=
"handleStartInput"
@
input=
"handleStartInput"
class=
"el-range-input"
class=
"el-range-input"
@
keydown=
"handleKeydown"
></el-input>
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
<el-input
...
@@ -30,7 +29,6 @@
...
@@ -30,7 +29,6 @@
@
focus=
"handleFocus"
@
focus=
"handleFocus"
@
blur=
"handleBlur"
@
blur=
"handleBlur"
class=
"el-range-input"
class=
"el-range-input"
@
keydown=
"handleKeydown"
></el-input>
></el-input>
<i
<i
...
...
src/views/residentManage/qualityAnalyse.vue
View file @
bb42e03
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
{
{
text: "预计营销结果",
text: "预计营销结果",
formatter: (data) => {
formatter: (data) => {
return `
<
span
style
=
"font-weight:700;font-size:2
6
px;"
>
$
{
return `
<
span
style
=
"font-weight:700;font-size:2
2
px;"
>
$
{
data
.
estimatedResult
?
data
.
estimatedResult
:
"--"
data
.
estimatedResult
?
data
.
estimatedResult
:
"--"
}
<
/span>
`
}
<
/span>
`
}
}
...
@@ -128,11 +128,8 @@ export default {
...
@@ -128,11 +128,8 @@ export default {
text: "对话时长",
text: "对话时长",
formatter: (data) => {
formatter: (data) => {
return `
<
span
style
=
"font-weight:700;font-size:26px;"
>
$
{
return `
<
span
style
=
"font-weight:700;font-size:26px;"
>
$
{
this
.
toMinutesAndSeconds
(
data
.
duration
).
h
data
.
duration
}
<
/span>小
时
}
<
/span
>
<
span
style
=
"font-weight:700;font-size:26px;"
>
$
{
this
.
toMinutesAndSeconds
(
data
.
duration
).
m
}
<
/span>分
钟
`
`
}
}
}
}
...
@@ -140,8 +137,8 @@ export default {
...
@@ -140,8 +137,8 @@ export default {
searchForm: {
searchForm: {
firstClassify: "",
firstClassify: "",
secondClassify: "",
secondClassify: "",
qualityTestScore: []
qualityTestScore: []
,
//
hitResult: ""
hitResult: ""
},
},
searchFormSearch: {},
searchFormSearch: {},
showFormData: [
showFormData: [
...
...
src/views/residentManage/qualityControlList.vue
View file @
bb42e03
This diff is collapsed.
Click to expand it.
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