Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-quality
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 b4554d91
authored
Apr 07, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix_4.37.2' into 'master'
上线合并 See merge request
!8
2 parents
19e2aecd
ea82fd1b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
43 deletions
src/assets/role-one.png
src/assets/role-two.png
src/config/index.js
src/views/qualityManage/dialogueDetail.vue
src/views/qualityManage/el-input-range/index.vue
src/views/qualityManage/index.vue
src/views/qualityManage/qualityAnalyse.vue
src/assets/role-one.png
View file @
b4554d9
2.03 KB
|
W:
|
H:
2.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/role-two.png
View file @
b4554d9
2.19 KB
|
W:
|
H:
2.16 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/config/index.js
View file @
b4554d9
...
...
@@ -19,8 +19,6 @@ export const fetchConfig = function(isEnv = true) {
// }
let
params
=
{
moduleName
:
'quality'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/64560a989bfdc8942feaa6f1/ordermanage/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
return
utils
.
getConfig
(
params
)
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/views/qualityManage/dialogueDetail.vue
View file @
b4554d9
...
...
@@ -30,7 +30,7 @@
<div
:class=
"
{ 'dialog-detail': true, 'nth-child': item.role % 2 === 1 }" :key="item.id">
<div
class=
"name"
>
<img
class=
"role"
src=
"@/assets/role-one.png"
v-if=
"item.role % 2 === 0"
/>
角色
{{
(
item
.
role
%
2
)
+
1
}}
{{
item
.
role
%
2
===
0
?
'车主'
:
'销售'
}}
<img
class=
"role"
src=
"@/assets/role-two.png"
v-if=
"item.role % 2 === 1"
/>
</div>
<div
class=
"dig-content"
@
click=
"currentDialog(item)"
>
...
...
@@ -260,7 +260,7 @@ export default {
}
.dig-content
{
width
:
404px
;
background
:
#
ffffff
;
background
:
#
EBEBFF
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#333333
;
...
...
@@ -276,8 +276,8 @@ export default {
text-align
:
right
;
.dig-content
{
display
:
inline-block
;
background
:
#
ebebff
;
margin-right
:
5
6
px
;
background
:
#
FFFFFF
;
margin-right
:
5
8
px
;
}
}
}
...
...
src/views/qualityManage/el-input-range/index.vue
View file @
b4554d9
...
...
@@ -14,23 +14,39 @@
@
mousemove=
"handleMove"
ref=
"reference"
>
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
<template
v-if=
"infinity"
>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"startPlaceholder"
v-model=
"userInput[0]"
@
blur=
"handleBlur(0)"
></el-input-number>
<span
class=
"el-range-separator"
>
至
</span>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"endPlaceholder"
v-model=
"userInput[1]"
@
blur=
"handleBlur(1)"
></el-input-number>
</
template
>
<
template
v-else
>
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
</
template
>
<i
v-show=
"showClose"
@
click=
"handleClickIcon"
...
...
@@ -42,7 +58,7 @@
</template>
<
script
>
export
default
{
data
()
{
data
()
{
return
{
pickerVisible
:
false
,
showClose
:
false
,
...
...
@@ -54,17 +70,18 @@ export default {
displayValue
:
Array
,
placeholder
:
String
,
startPlaceholder
:
String
,
endPlaceholder
:
String
endPlaceholder
:
String
,
infinity
:
Boolean
},
watch
:
{
displayValue
(
val
)
{
displayValue
(
val
)
{
if
(
val
)
{
this
.
userInput
=
val
}
}
},
methods
:
{
handleStartInput
(
event
)
{
handleStartInput
(
event
)
{
let
isNumber
=
/^
\d
+$/
.
test
(
event
)
if
(
!
isNumber
)
{
event
=
null
...
...
@@ -73,7 +90,7 @@ export default {
this
.
userInput
[
0
]
=
event
},
handleEndInput
(
event
)
{
handleEndInput
(
event
)
{
let
isNumber
=
/^
\d
+$/
.
test
(
event
)
if
(
!
isNumber
)
{
event
=
null
...
...
@@ -81,11 +98,11 @@ export default {
if
(
event
>
100
)
event
=
100
this
.
userInput
[
1
]
=
event
},
handleClickIcon
(
event
)
{
handleClickIcon
(
event
)
{
this
.
userInput
[
0
]
=
null
this
.
userInput
[
1
]
=
null
},
valueIsEmpty
()
{
valueIsEmpty
()
{
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
for
(
let
i
=
0
,
len
=
val
.
length
;
i
<
len
;
i
++
)
{
...
...
@@ -96,28 +113,28 @@ export default {
}
return
true
},
handleRangeClick
()
{
handleRangeClick
()
{
this
.
pickerVisible
=
true
},
handleMove
()
{
handleMove
()
{
if
(
this
.
valueIsEmpty
())
{
this
.
showClose
=
false
}
else
{
this
.
showClose
=
true
}
},
handleFocus
()
{
handleFocus
()
{
if
(
!
this
.
pickerVisible
)
{
this
.
pickerVisible
=
true
this
.
$emit
(
"focus"
,
this
)
}
},
handleBlur
(
index
)
{
handleBlur
(
index
)
{
this
.
pickerVisible
=
false
this
.
contrastValue
()
},
contrastValue
()
{
contrastValue
()
{
let
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
if
(
val
[
0
]
>
val
[
1
])
{
...
...
@@ -143,5 +160,15 @@ export default {
color
:
#dcdfe6
;
margin-left
:
10px
;
}
.hide-btn
{
::v-deep{
span{
display
:
none
;
}
input
{
padding
:
0
;
}
}
}
}
</
style
>
\ No newline at end of file
src/views/qualityManage/index.vue
View file @
b4554d9
...
...
@@ -30,7 +30,7 @@
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.toStoreCount"
></el-input-range>
</div>
-->
<div
slot=
"AbnormalProportion"
>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.AbnormalProportion"
></el-input-range>
<el-input-range
start-placeholder=
"请输入"
end-placeholder=
"请输入"
:displayValue=
"searchForm.AbnormalProportion"
infinity
></el-input-range>
</div>
</GLCombiForm>
...
...
@@ -197,11 +197,11 @@ export default {
// name: 'toStoreCount',
// addHtml: 'toStoreCount'
// },
{
label
:
'异常占比'
,
name
:
'AbnormalProportion'
,
addHtml
:
'AbnormalProportion'
}
//
{
//
label: '异常占比',
//
name: 'AbnormalProportion',
//
addHtml: 'AbnormalProportion'
//
}
],
searchForm
:
{
searchdate
:
''
,
...
...
@@ -250,7 +250,7 @@ export default {
{
label
:
'工牌编号'
,
prop
:
'badgeId'
,
width
:
'
14
0px'
width
:
'
20
0px'
},
{
label
:
'录音时长'
,
...
...
src/views/qualityManage/qualityAnalyse.vue
View file @
b4554d9
...
...
@@ -29,7 +29,7 @@
<el-radio-button
label=
"0"
>
未命中
</el-radio-button>
</el-radio-group>
</div>
<GLTable
ref=
"analyseTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
:pageConf=
"pageConf"
:noDataImg=
"url"
>
<GLTable
ref=
"analyseTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
:pageConf=
"pageConf"
:
hasPage=
"false"
:
noDataImg=
"url"
>
<
template
slot=
"suggestions"
slot-scope=
"scope"
>
<div
v-html=
"formatSrt(scope.scope.suggestions)"
></div>
</
template
>
...
...
@@ -223,6 +223,7 @@ export default {
return
new
Promise
(
resolve
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
.
batchId
=
this
.
detailObj
.
id
this
.
searchFormSearch
.
pageSize
=
99999
if
(
this
.
searchFormSearch
.
qualityTestScore
)
{
this
.
searchFormSearch
.
qualityTestScoreBegin
=
this
.
searchFormSearch
.
qualityTestScore
[
0
]
this
.
searchFormSearch
.
qualityTestScoreEnd
=
this
.
searchFormSearch
.
qualityTestScore
[
1
]
...
...
@@ -308,6 +309,14 @@ export default {
font-size
:
14px
;
margin
:
0
auto
;
}
.gre
{
color
:
#2cca74
;
background
:
#e9f9f1
;
}
.red
{
color
:
#eb4e4e
;
background
:
#fdeded
;
}
}
</
style
>
<
style
>
...
...
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