Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d46289da
authored
Dec 15, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.5.0
2 parents
50166b1c
3415ea76
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
21 deletions
assets/images/studyCenter/Leaderboard-bg.png
components/HomeFrame/components/LeftSide.vue
components/HomeFrame/components/Study/FailedExam.vue
components/HomeFrame/components/Study/PassedExam.vue
components/OrderPopup/components/Customer.vue
components/OrderPopup/components/EmployeeList.vue
assets/images/studyCenter/Leaderboard-bg.png
View file @
d46289d
30.4 KB
|
W:
|
H:
41.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
components/HomeFrame/components/LeftSide.vue
View file @
d46289d
...
@@ -434,7 +434,9 @@ export default {
...
@@ -434,7 +434,9 @@ export default {
console
.
log
(
res
,
'res'
)
console
.
log
(
res
,
'res'
)
})
})
}
}
if
(
userInfo
.
sceneType
==
7
)
{
this
.
tabs
[
2
].
hidden
=
true
}
if
(
userInfo
.
subLoginUser
.
channelType
==
9
)
{
if
(
userInfo
.
subLoginUser
.
channelType
==
9
)
{
this
.
tabs
[
2
].
hidden
=
true
this
.
tabs
[
2
].
hidden
=
true
this
.
tabs
[
3
].
hidden
=
true
this
.
tabs
[
3
].
hidden
=
true
...
...
components/HomeFrame/components/Study/FailedExam.vue
View file @
d46289d
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
examPopInfo
:
{
examPopInfo
:
{
isExamLoading
:
false
,
isExamLoading
:
false
,
showError
:
false
,
showError
:
false
,
confirmText
:
'确认提交'
confirmText
:
'确认
已
提交'
},
},
currentExam
:
{}
currentExam
:
{}
}
}
...
...
components/HomeFrame/components/Study/PassedExam.vue
View file @
d46289d
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<!-- 考试次数 -->
<!-- 考试次数 -->
<view
class=
"exam-times"
>
<view
class=
"exam-times"
>
<text
class=
"times-value"
>
剩余考试次数
</text>
<text
class=
"times-value"
>
剩余考试次数
</text>
<template
v-if=
"!item.examTimes"
>
不限
次数
</
template
>
<template
v-if=
"!item.examTimes"
>
不限
制
</
template
>
<
template
v-else
>
<
template
v-else
>
<text>
{{
filterValue
(
item
.
remainingTimes
)
}}
/
{{
filterValue
(
item
.
examTimes
)
}}
次
</text>
<text>
{{
filterValue
(
item
.
remainingTimes
)
}}
/
{{
filterValue
(
item
.
examTimes
)
}}
次
</text>
</
template
>
</
template
>
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
examPopInfo
:
{
examPopInfo
:
{
isExamLoading
:
false
,
isExamLoading
:
false
,
showError
:
false
,
showError
:
false
,
confirmText
:
'确认提交'
confirmText
:
'确认
已
提交'
},
},
currentExam
:
{}
currentExam
:
{}
}
}
...
...
components/OrderPopup/components/Customer.vue
View file @
d46289d
<
template
>
<
template
>
<view
class=
"customer-list"
>
<view
class=
"customer-list"
>
<template
v-for=
"(i, index) in listData"
>
<template
v-for=
"(i, index) in listData"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]">
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]"
>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<view
class=
"info flex text-hide"
>
<template
v-if=
"i.customerName || (i.customer && i.customer.customerName)"
>
<template
v-if=
"i.customerName || (i.customer && i.customer.customerName)"
>
{{
i
.
customerName
||
(
i
.
customer
&&
i
.
customer
.
customerName
)
}}
{{
i
.
customerName
||
(
i
.
customer
&&
i
.
customer
.
customerName
)
}}
</
template
>
</
template
>
<
template
v-if=
"i.carSeriesName || i.carType"
>
<
template
v-if=
"i.carSeriesName || i.carType"
>
<view
class=
"car-model
"
>
(
{{
i
.
carType
?
i
.
carType
:
i
.
carChildsBrandName
+
'-'
+
i
.
carSeriesName
||
''
}}
)
</view>
<view
class=
"car-model text-hide
"
>
(
{{
i
.
carType
?
i
.
carType
:
i
.
carChildsBrandName
+
'-'
+
i
.
carSeriesName
||
''
}}
)
</view>
</
template
>
</
template
>
</view>
<
template
v-if=
"i.customerPhone || i.customer.customerPhone"
>
<
template
v-if=
"i.customerPhone || i.customer.customerPhone"
>
<view
class=
"phone"
>
|
{{
i
.
customerPhone
||
(
i
.
customer
&&
i
.
customer
.
customerPhone
)
}}
</view>
<view
class=
"phone"
>
|
{{
i
.
customerPhone
||
(
i
.
customer
&&
i
.
customer
.
customerPhone
)
}}
</view>
</
template
>
</
template
>
...
@@ -23,14 +29,14 @@ export default {
...
@@ -23,14 +29,14 @@ export default {
mixins
:
[
popupmixin
],
mixins
:
[
popupmixin
],
name
:
'Customer'
,
name
:
'Customer'
,
inject
:
[
'userInfo'
],
inject
:
[
'userInfo'
],
data
()
{
data
()
{
return
{
return
{
}
}
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
async
getList
(
searchValue
,
search
)
{
async
getList
(
searchValue
,
search
)
{
const
{
userInfo
,
params
}
=
this
,
const
{
userInfo
,
params
}
=
this
,
{
cacheData
}
=
params
{
cacheData
}
=
params
this
.
currentId
=
''
this
.
currentId
=
''
...
@@ -49,7 +55,7 @@ export default {
...
@@ -49,7 +55,7 @@ export default {
let
apiTargetName
=
!
params
.
defeat
?
'getQuotationCustomerList'
:
'getWorkPackageGoodsList'
let
apiTargetName
=
!
params
.
defeat
?
'getQuotationCustomerList'
:
'getWorkPackageGoodsList'
console
.
log
(
apiTargetName
,
'apiTargetName'
)
console
.
log
(
apiTargetName
,
'apiTargetName'
)
if
(
params
.
defeat
)
{
if
(
params
.
defeat
)
{
apiParams
.
keyword
=
searchValue
apiParams
.
keyword
=
searchValue
}
}
const
{
list
}
=
await
uni
.
$api
.
popupApi
[
apiTargetName
](
apiParams
)
const
{
list
}
=
await
uni
.
$api
.
popupApi
[
apiTargetName
](
apiParams
)
let
customerList
=
list
let
customerList
=
list
...
@@ -65,7 +71,7 @@ export default {
...
@@ -65,7 +71,7 @@ export default {
console
.
log
(
customerList
,
'customerList'
)
console
.
log
(
customerList
,
'customerList'
)
this
.
updateParams
(
params
,
customerList
||
[])
this
.
updateParams
(
params
,
customerList
||
[])
},
},
initData
(
list
)
{
initData
(
list
)
{
const
{
params
:
{
idKey
,
defeat
},
data
}
=
this
const
{
params
:
{
idKey
,
defeat
},
data
}
=
this
let
key
=
defeat
?
'id'
:
'customerPhone'
let
key
=
defeat
?
'id'
:
'customerPhone'
console
.
log
(
data
,
idKey
)
console
.
log
(
data
,
idKey
)
...
@@ -77,17 +83,17 @@ export default {
...
@@ -77,17 +83,17 @@ export default {
this
.
list
=
list
this
.
list
=
list
this
.
$emit
(
'onComplete'
)
this
.
$emit
(
'onComplete'
)
},
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
this
.
list
=
[]
this
.
list
=
[]
this
.
getList
(
searchValue
,
true
)
this
.
getList
(
searchValue
,
true
)
},
},
choose
(
i
)
{
choose
(
i
)
{
let
{
params
}
=
this
let
{
params
}
=
this
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
this
.
currentId
=
i
[
key
]
this
.
currentId
=
i
[
key
]
this
.
$emit
(
'choose'
,
i
)
this
.
$emit
(
'choose'
,
i
)
},
},
checkActive
(
i
)
{
checkActive
(
i
)
{
let
{
currentId
,
data
,
params
}
=
this
let
{
currentId
,
data
,
params
}
=
this
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
return
currentId
?
(
i
[
key
]
==
currentId
)
:
(
i
[
key
])
==
data
[
params
.
idKey
]
return
currentId
?
(
i
[
key
]
==
currentId
)
:
(
i
[
key
])
==
data
[
params
.
idKey
]
...
@@ -99,7 +105,7 @@ export default {
...
@@ -99,7 +105,7 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.customer-list
{
.customer-list
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1
fr
);
grid-template-columns
:
repeat
(
2
,
minmax
(
0
,
1
fr
)
);
gap
:
toRpx
(
32
);
gap
:
toRpx
(
32
);
margin
:
0
toRpx
(
48
);
margin
:
0
toRpx
(
48
);
...
@@ -119,6 +125,12 @@ export default {
...
@@ -119,6 +125,12 @@ export default {
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
}
}
.info
{
max-width
:
70%
;
}
.phone
{
flex-shrink
:
0
;
}
}
}
.active
{
.active
{
...
...
components/OrderPopup/components/EmployeeList.vue
View file @
d46289d
<
template
>
<
template
>
<view
class=
"employee-list"
>
<view
class=
"employee-list"
>
<template
v-for=
"(i, index) in list"
>
<template
v-for=
"(i, index) in listData"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]">
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]"
>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<view
class=
"sprite-icon icon-tag-checked"
></view>
{{
i
.
staffName
}}
{{
i
.
staffName
}}
</view>
</view>
...
@@ -35,11 +39,12 @@ export default {
...
@@ -35,11 +39,12 @@ export default {
this
.
currentId
=
''
this
.
currentId
=
''
if
(
!
search
&&
cacheData
&&
cacheData
.
length
)
{
if
(
!
search
&&
cacheData
&&
cacheData
.
length
)
{
this
.
initData
(
cacheData
)
this
.
initData
(
cacheData
)
if
(
searchValue
)
this
.
handleSearch
(
searchValue
)
return
return
}
}
this
.
componentLoading
(
params
)
this
.
componentLoading
(
params
)
const
{
shopMerchantId
,
sceneType
,
merchantId
}
=
userInfo
,
const
{
shopMerchantId
,
sceneType
,
merchantId
}
=
userInfo
,
apiTargetName
=
sceneType
==
1
||
params
.
defeat
?
'getEmployeeList'
:
'getOrderScreenEmployeeList'
,
apiTargetName
=
sceneType
==
1
||
params
.
defeat
?
'getEmployeeList'
:
'getOrderScreenEmployeeList'
,
apiParams
=
{
apiParams
=
{
merchantId
:
params
.
idKey
==
'sellerUserId'
?
merchantId
:
shopMerchantId
,
merchantId
:
params
.
idKey
==
'sellerUserId'
?
merchantId
:
shopMerchantId
,
sceneList
:
params
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
],
sceneList
:
params
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
],
...
@@ -49,12 +54,10 @@ export default {
...
@@ -49,12 +54,10 @@ export default {
this
.
updateParams
(
params
,
data
||
[])
this
.
updateParams
(
params
,
data
||
[])
},
},
initData
(
list
)
{
initData
(
list
)
{
const
{
idKey
,
data
,
params
}
=
this
const
{
idKey
,
data
}
=
this
console
.
log
(
idKey
,
data
)
if
(
data
[
idKey
])
{
if
(
data
[
idKey
])
{
this
.
currentId
=
data
[
idKey
]
this
.
currentId
=
data
[
idKey
]
let
item
=
list
.
find
(
i
=>
i
.
uuid
==
this
.
currentId
)
let
item
=
list
.
find
(
i
=>
i
.
uuid
==
this
.
currentId
)
console
.
log
(
item
)
console
.
log
(
item
)
this
.
$emit
(
'choose'
,
item
)
this
.
$emit
(
'choose'
,
item
)
}
}
...
@@ -62,8 +65,26 @@ export default {
...
@@ -62,8 +65,26 @@ export default {
this
.
$emit
(
'onComplete'
)
this
.
$emit
(
'onComplete'
)
},
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
const
{
sceneType
}
=
this
if
(
sceneType
==
1
)
{
this
.
list
=
[]
this
.
list
=
[]
this
.
getList
(
searchValue
,
true
)
this
.
getList
(
searchValue
,
true
)
}
else
this
.
originalDataSearch
(
searchValue
)
},
originalDataSearch
(
searchValue
)
{
console
.
log
(
searchValue
,
'==='
)
if
(
!
searchValue
)
this
.
searchStatus
=
false
else
{
searchValue
=
searchValue
.
toUpperCase
()
let
{
list
}
=
this
,
employeeList
=
JSON
.
parse
(
JSON
.
stringify
(
list
)),
arr
=
[]
employeeList
.
map
(
e
=>
{
if
(
e
.
staffName
&&
e
.
staffName
.
toUpperCase
().
indexOf
(
searchValue
)
!=
-
1
)
arr
.
push
(
e
)
})
this
.
searchList
=
arr
this
.
searchStatus
=
true
}
},
},
choose
(
i
)
{
choose
(
i
)
{
let
{
idKey
,
data
}
=
this
,
let
{
idKey
,
data
}
=
this
,
...
...
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