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 b1e8e02d
authored
Feb 27, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工资
1 parent
d829d7c5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
243 additions
and
113 deletions
components/HomeFrame/components/Income/DayTips.vue
components/HomeFrame/components/Income/Detail.vue
components/HomeFrame/components/Income/MyStore.vue
components/HomeFrame/components/Income/index.vue
manifest.json
components/HomeFrame/components/Income/DayTips.vue
View file @
b1e8e02
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 09:51:43
* @Date: 2025-01-08 09:51:43
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-0
1-20 10:03:51
* @LastEditTime: 2025-0
2-24 16:33:17
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Tips.vue
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Tips.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -57,18 +57,19 @@
...
@@ -57,18 +57,19 @@
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"input-box"
>
<view
class=
"input-box"
>
<view
class=
"input-item"
>
<view
class=
"input-item"
>
<view
class=
"input-label width-320
"
>
应触客台数
</view>
<view
:class=
"['input-label label-mark ', form.goodsTypeList.length && form.goodsTypeList[0].showName ? 'mr-120' : 'label-m']
"
>
应触客台数
</view>
<input
type=
"number"
class=
"input"
maxlength=
"3"
@
input=
"form.shouldToShopCount = form.shouldToShopCount.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"form.shouldToShopCount"
/>
<input
type=
"number"
class=
"input"
maxlength=
"3"
@
input=
"form.shouldToShopCount = form.shouldToShopCount.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"form.shouldToShopCount"
/>
</view>
</view>
</view>
</view>
<view
class=
"input-box num-second"
v-if=
"form.goodsTypeList.length"
>
<view
class=
"input-box num-second"
v-if=
"form.goodsTypeList.length"
>
<
template
v-for=
"(item, index) in form.goodsTypeList"
>
<
template
v-for=
"(item, index) in form.goodsTypeList"
>
<view
class=
"input-item"
:key=
"index"
>
<view
class=
"input-item"
:key=
"index"
>
<view
class=
"input-label width-320"
>
{{
item
.
showName
}}
订单数
</view>
<view
:class=
"
{ 'label-mark': true, 'label-m': !item.showName }">
{{
item
.
showName
}}
</view>
<view
class=
"input-label"
>
订单数
</view>
<input
type=
"number"
class=
"input"
maxlength=
"3"
@
input=
"item.subOrderCount = item.subOrderCount.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"item.subOrderCount"
/>
<input
type=
"number"
class=
"input"
maxlength=
"3"
@
input=
"item.subOrderCount = item.subOrderCount.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"item.subOrderCount"
/>
</view>
</view>
<view
class=
"input-item"
>
<view
class=
"input-item"
>
<view
class=
"input-label
width-320"
>
{{
item
.
showName
}}
产值
</view>
<view
class=
"input-label
"
>
产值
</view>
<input
type=
"number"
class=
"input"
maxlength=
"7"
@
input=
"item.totalPrice = item.totalPrice.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"item.totalPrice"
/>
<input
type=
"number"
class=
"input"
maxlength=
"7"
@
input=
"item.totalPrice = item.totalPrice.replace(/\D/g, '')"
placeholder=
"请输入"
v-model=
"item.totalPrice"
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -82,11 +83,51 @@
...
@@ -82,11 +83,51 @@
</Dailog>
</Dailog>
<Dailog
@
close=
"show = false"
v-if=
"show"
width=
"1500rpx"
title=
"收入测算结果"
>
<Dailog
@
close=
"show = false"
v-if=
"show"
width=
"1500rpx"
title=
"收入测算结果"
>
<view
class=
"dailog-body flex"
slot=
"content"
>
<view
class=
"dailog-body flex"
slot=
"content"
>
<view
class=
"output-box"
>
<view
:class=
"{ 'output-box': true, 'output-one': form.sceneType == 1 }"
>
<view
class=
"month-box"
v-if=
"form.sceneType == 1"
>
<view
class=
"month-mark flex"
>
<view
class=
"sprite-icon icon-qg-tips"
></view>
<text>
轻改
</text>
</view>
<view
class=
"value-box"
>
<view
class=
"value-desc flex"
>
<view
class=
"value-title"
>
本月产值
</view>
<view
class=
"value-price"
>
<text>
¥
</text>
{{ salaryDetail.commissionRecord.orderTotalPrice }}
</view>
</view>
<view
class=
"value-desc flex"
>
<view
class=
"value-title"
>
成交
</view>
<view
class=
"value-price"
>
{{ salaryDetail.commissionRecord.orderCount }}
<text>
单
</text>
</view>
</view>
</view>
<view
class=
"value-detail value-two"
>
<view
class=
"detail-item"
>
<view
class=
"detail-label"
>
渗透率
</view>
<view
class=
"detail-num"
>
--
</view>
</view>
<view
class=
"detail-item"
>
<view
class=
"detail-label"
>
提成系数
</view>
<view
class=
"detail-num"
>
{{ salaryDetail.commissionRecord.avgCustomerCalculateValue || '--' }}
</view>
</view>
</view>
<view
class=
"ratio-panel"
>
<view
class=
"ratio-item flex-between"
v-for=
"(output, i) in salaryDetail.goodsTypeList"
>
<view
class=
"ratio-label"
>
{{ output.showName }}提成比例
</view>
<view
class=
"ratio-num"
>
{{ output.outputCommissionRatio }}%
</view>
</view>
</view>
</view>
<
template
v-else
>
<view
class=
"month-box"
v-for=
"(item, index) in form.goodsTypeList"
:key=
"index"
>
<view
class=
"month-box"
v-for=
"(item, index) in form.goodsTypeList"
:key=
"index"
>
<view
class=
"month-mark flex"
>
<view
class=
"month-mark flex"
>
<view
:class=
"`sprite-icon icon-$
{item.showName ? 'yw-icon' : 'qg-tips'}`">
</view>
<view
:class=
"`sprite-icon icon-$
{item.showName ? 'yw-icon' : 'qg-tips'}`">
</view>
<text>
{{ item.showName || '轻改'
}}
</text>
<text>
{{
form
.
sceneType
==
1
?
'轻改'
:
item
.
showName
}}
</text>
</view>
</view>
<view
class=
"value-box"
>
<view
class=
"value-box"
>
<view
class=
"value-desc flex"
>
<view
class=
"value-desc flex"
>
...
@@ -105,12 +146,15 @@
...
@@ -105,12 +146,15 @@
</view>
</view>
</view>
</view>
<view
class=
"value-detail"
>
<view
class=
"value-detail"
>
<view
class=
"detail-item"
v-for=
"(output, i) in outputDetail"
>
<template
v-for=
"(output, i) in outputDetail"
>
<view
class=
"detail-item"
>
<view
class=
"detail-label"
>
{{
output
.
label
}}
</view>
<view
class=
"detail-label"
>
{{
output
.
label
}}
</view>
<view
class=
"detail-num"
>
{{
getOutput
(
output
,
item
)
}}{{
output
.
unit
}}
</view>
<view
class=
"detail-num"
>
{{
getOutput
(
output
,
item
)
}}{{
output
.
unit
}}
</view>
</view>
</view>
</
template
>
</view>
</view>
</view>
</view>
</template>
</view>
</view>
<view
class=
"month-mid"
><uni-icons
type=
"right"
:size=
"14"
color=
"#fff"
></uni-icons></view>
<view
class=
"month-mid"
><uni-icons
type=
"right"
:size=
"14"
color=
"#fff"
></uni-icons></view>
...
@@ -121,13 +165,12 @@
...
@@ -121,13 +165,12 @@
<view
class=
"result-label"
>
基本工资
</view>
<view
class=
"result-label"
>
基本工资
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.basicSalary) }}
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.basicSalary) }}
</view>
</view>
</view>
<
template
v-if=
"form.sceneType == 1"
>
<
!-- <
template v-if="form.sceneType == 1">
<view class="result-item">
<view class="result-item">
<view class="result-label">轻改提成</view>
<view class="result-label">轻改提成</view>
<view class="result-price">{{ formatNumber(salaryDetail.commissionPrice) }}</view>
<view class="result-price">{{ formatNumber(salaryDetail.commissionPrice) }}</view>
</view>
</view>
</
template
>
</template> -->
<
template
v-else
>
<view
class=
"result-item"
v-for=
"(item, index) in form.goodsTypeList"
:key=
"index"
>
<view
class=
"result-item"
v-for=
"(item, index) in form.goodsTypeList"
:key=
"index"
>
<view
class=
"result-label"
>
{{ item.showName }}提成
</view>
<view
class=
"result-label"
>
{{ item.showName }}提成
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.goodsTypeList[getIndex(item)] ? salaryDetail.goodsTypeList[getIndex(item)].commissionPrice : 0) }}
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.goodsTypeList[getIndex(item)] ? salaryDetail.goodsTypeList[getIndex(item)].commissionPrice : 0) }}
</view>
...
@@ -136,7 +179,6 @@
...
@@ -136,7 +179,6 @@
<view
class=
"result-label"
>
合计提成
</view>
<view
class=
"result-label"
>
合计提成
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.commissionPrice) }}
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.commissionPrice) }}
</view>
</view>
</view>
</
template
>
<view
class=
"result-item"
>
<view
class=
"result-item"
>
<view
class=
"result-label"
>
本月递延金
</view>
<view
class=
"result-label"
>
本月递延金
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.deferExpenses) }}
</view>
<view
class=
"result-price"
>
{{ formatNumber(salaryDetail.deferExpenses) }}
</view>
...
@@ -318,6 +360,9 @@ export default {
...
@@ -318,6 +360,9 @@ export default {
if
(
fL
.
length
==
4
&&
this
.
form
.
sceneType
==
0
)
{
if
(
fL
.
length
==
4
&&
this
.
form
.
sceneType
==
0
)
{
this
.
getLatestConfigDetail
()
this
.
getLatestConfigDetail
()
}
}
if
(
fL
.
length
>=
3
&&
this
.
form
.
sceneType
==
1
)
{
this
.
getLatestConfigDetail
()
}
},
},
deep
:
true
deep
:
true
},
},
...
@@ -372,10 +417,13 @@ export default {
...
@@ -372,10 +417,13 @@ export default {
}
}
const
{
phone
:
staffPhone
}
=
uni
.
$storage
.
get
(
'userInfo'
)
const
{
phone
:
staffPhone
}
=
uni
.
$storage
.
get
(
'userInfo'
)
const
params
=
{
staffPhone
,
...
this
.
form
}
const
params
=
{
staffPhone
,
...
this
.
form
}
if
(
params
.
sceneType
==
1
)
{
// if (params.sceneType == 1) {
const
{
subOrderCount
,
totalPrice
}
=
params
.
goodsTypeList
[
0
]
// const { subOrderCount, totalPrice } = params.goodsTypeList[0]
params
.
lightOrderCount
=
subOrderCount
// params.lightOrderCount = subOrderCount
params
.
lightTotalPrice
=
totalPrice
// params.lightTotalPrice = totalPrice
// delete params.goodsTypeList
// }
if
(
params
.
goodsTypeList
[
0
]
&&
!
params
.
goodsTypeList
[
0
].
showName
)
{
delete
params
.
goodsTypeList
delete
params
.
goodsTypeList
}
}
uni
.
$api
.
pointApi
.
monthSalaryCalculation
(
params
).
then
(
res
=>
{
uni
.
$api
.
pointApi
.
monthSalaryCalculation
(
params
).
then
(
res
=>
{
...
@@ -554,7 +602,7 @@ export default {
...
@@ -554,7 +602,7 @@ export default {
max-height
:
50vh
;
max-height
:
50vh
;
overflow-y
:
auto
;
overflow-y
:
auto
;
.output-box
{
.output-box
{
height
:
652
rpx
;
max-
height
:
652
rpx
;
background
:
#e6f1ff
;
background
:
#e6f1ff
;
border
:
2
rpx
solid
#ffffff
;
border
:
2
rpx
solid
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
48
rpx
;
...
@@ -562,6 +610,9 @@ export default {
...
@@ -562,6 +610,9 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
padding
:
44
rpx
48
rpx
;
padding
:
44
rpx
48
rpx
;
&.output-one
{
//
min-height
:
420
rpx
;
}
}
}
.line
{
.line
{
...
@@ -574,7 +625,6 @@ export default {
...
@@ -574,7 +625,6 @@ export default {
padding
:
0
64
rpx
;
padding
:
0
64
rpx
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-bottom
:
40
rpx
;
margin-bottom
:
40
rpx
;
&.select-container
{
&.select-container
{
display
:
grid
;
display
:
grid
;
gap
:
40
rpx
;
gap
:
40
rpx
;
...
@@ -590,7 +640,6 @@ export default {
...
@@ -590,7 +640,6 @@ export default {
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.input-item
{
.input-item
{
width
:
50%
;
margin-bottom
:
40
rpx
;
margin-bottom
:
40
rpx
;
}
}
}
}
...
@@ -599,12 +648,34 @@ export default {
...
@@ -599,12 +648,34 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.label-mark
{
position
:
relative
;
font-size
:
32
rpx
;
color
:
#808291
;
width
:
250
rpx
;
text-align
:
left
!important
;
height
:
40
rpx
;
&.mr-120
{
margin-right
:
114
rpx
;
}
&
.label-m
{
width
:
auto
;
}
&
::before
{
content
:
''
;
position
:
absolute
;
left
:
-28
rpx
;
top
:
4
rpx
;
width
:
8
rpx
;
height
:
32
rpx
;
background-image
:
linear-gradient
(
169deg
,
#75bcff
6%
,
#2c66f7
100%
);
}
}
.input-label
{
.input-label
{
font-size
:
32
rpx
;
font-size
:
32
rpx
;
color
:
#808291
;
color
:
#808291
;
text-align
:
right
;
text-align
:
right
;
margin-right
:
24
rpx
;
margin-right
:
24
rpx
;
&.width-320
{
&.width-320
{
min-width
:
320
rpx
;
min-width
:
320
rpx
;
}
}
...
@@ -647,7 +718,7 @@ export default {
...
@@ -647,7 +718,7 @@ export default {
.month-box
{
.month-box
{
width
:
540
rpx
;
width
:
540
rpx
;
height
:
260
rpx
;
min-
height
:
260
rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
margin-bottom
:
40
rpx
;
margin-bottom
:
40
rpx
;
border-radius
:
24
rpx
;
border-radius
:
24
rpx
;
...
@@ -669,7 +740,7 @@ export default {
...
@@ -669,7 +740,7 @@ export default {
.value-desc
{
.value-desc
{
&:first-child
{
&:first-child
{
width
:
70
%
;
width
:
65
%
;
}
}
text-align
:
center
;
text-align
:
center
;
padding
:
20rpx
0
0
;
padding
:
20rpx
0
0
;
...
@@ -698,7 +769,16 @@ export default {
...
@@ -698,7 +769,16 @@ export default {
display
:
grid
;
display
:
grid
;
grid-template-columns
:
30%
40%
30%
;
grid-template-columns
:
30%
40%
30%
;
padding
:
16
rpx
32
rpx
;
padding
:
16
rpx
32
rpx
;
&.value-two
{
grid-template-columns
:
50%
50%
;
background
:
#f5f7fa
;
border-radius
:
12
rpx
;
padding
:
8
rpx
32
rpx
;
margin
:
10
rpx
20
rpx
;
.detail-item
{
text-align
:
center
;
}
}
.detail-item
{
.detail-item
{
.detail-label
{
.detail-label
{
font-size
:
24
rpx
;
font-size
:
24
rpx
;
...
@@ -713,6 +793,19 @@ export default {
...
@@ -713,6 +793,19 @@ export default {
}
}
}
}
}
}
.ratio-panel
{
padding
:
0
rpx
32
rpx
16
rpx
;
.ratio-item
{
.ratio-label
{
font-size
:
24
rpx
;
color
:
#adb0b8
;
}
.ratio-num
{
font-size
:
28
rpx
;
color
:
#292d33
;
}
}
}
}
}
.month-mid
{
.month-mid
{
...
...
components/HomeFrame/components/Income/Detail.vue
View file @
b1e8e02
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<th
v-for=
"(item, index) in tabelTh"
:key=
"index"
:style=
"
{ width: item.width + '%' }">
{{
item
.
title
}}
</th>
<th
v-for=
"(item, index) in tabelTh"
:key=
"index"
:style=
"
{ width: item.width + '%' }">
{{
item
.
title
}}
</th>
</tr>
</tr>
<tr
class=
"tr"
v-for=
"(item, index) in detail.recordList"
:key=
"index"
>
<tr
class=
"tr"
v-for=
"(item, index) in detail.recordList"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td
v-if=
"tabelTh[0].title == '序号'"
>
{{
index
+
1
}}
</td>
<td
v-for=
"(colValue, colKey) in tabelTr"
:key=
"colKey"
>
<td
v-for=
"(colValue, colKey) in tabelTr"
:key=
"colKey"
>
<text
class=
"car-box"
v-if=
"colValue.style"
:style=
"colValue.style(item[colValue.type])"
>
{{
colValue
.
text
(
item
[
colValue
.
type
])
}}
</text>
<text
class=
"car-box"
v-if=
"colValue.style"
:style=
"colValue.style(item[colValue.type])"
>
{{
colValue
.
text
(
item
[
colValue
.
type
])
}}
</text>
{{
colValue
.
format
?
colValue
.
format
(
item
[
colValue
.
key
])
:
colValue
.
name
?
colValue
.
name
(
item
)
:
item
[
colValue
]
}}
{{
colValue
.
format
?
colValue
.
format
(
item
[
colValue
.
key
])
:
colValue
.
name
?
colValue
.
name
(
item
)
:
item
[
colValue
]
}}
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</tr>
</tr>
</table>
</table>
</view>
</view>
<view
class=
"table-footer flex"
>
<view
class=
"table-footer flex"
v-if=
"detail.total"
>
<text>
{{
detail
.
label
}}
合计:
</text>
<text>
{{
detail
.
label
}}
合计:
</text>
<text
class=
"price"
>
{{
detail
.
showUnit
}}
¥
{{
detail
.
total
}}
</text>
<text
class=
"price"
>
{{
detail
.
showUnit
}}
¥
{{
detail
.
total
}}
</text>
</view>
</view>
...
...
components/HomeFrame/components/Income/MyStore.vue
View file @
b1e8e02
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<text>
{{
v
.
label
}}
</text>
<text>
{{
v
.
label
}}
</text>
<uni-icons
type=
"help"
size=
"15"
color=
"#A2A2A8"
v-if=
"v.content"
@
click=
"clickTips(v)"
></uni-icons>
<uni-icons
type=
"help"
size=
"15"
color=
"#A2A2A8"
v-if=
"v.content"
@
click=
"clickTips(v)"
></uni-icons>
</view>
</view>
<view
class=
"detail-link flex"
@
click=
"show
Detail(v)"
v-if=
"
v.isLink && !item.showGoodsTypeName"
>
<view
class=
"detail-link flex"
@
click=
"show
ProductDetail(item)"
v-if=
"item.specificGoodsType &&
v.isLink && !item.showGoodsTypeName"
>
<text>
产品明细
</text>
<text>
产品明细
</text>
<view
class=
"link-icon"
></view>
<view
class=
"link-icon"
></view>
</view>
</view>
...
@@ -291,6 +291,25 @@ export default {
...
@@ -291,6 +291,25 @@ export default {
desc
:
'如门店只有一名零售驻店,则应触客台数=门店交付数'
desc
:
'如门店只有一名零售驻店,则应触客台数=门店交付数'
})
})
},
},
showProductDetail
(
val
)
{
this
.
detail
=
{
label
:
'产品提成比例明细'
,
icon
:
'info-icon'
,
tabelTh
:
[
{
title
:
'产品名称'
},
{
title
:
'提成比例'
,
width
:
20
}
],
tabelTr
:
[
'showGoodsTypeName'
,
'commissionRatio'
],
recordList
:
val
.
goodsTypeCommissions
}
console
.
log
(
this
.
detail
,
11
)
this
.
show
=
true
},
showDetail
(
item
)
{
showDetail
(
item
)
{
console
.
log
(
this
.
salaryDetail
)
console
.
log
(
this
.
salaryDetail
)
const
total
=
this
.
salaryDetail
[
item
.
value
]
const
total
=
this
.
salaryDetail
[
item
.
value
]
...
@@ -479,7 +498,17 @@ export default {
...
@@ -479,7 +498,17 @@ export default {
color
:
#adb0b8
;
color
:
#adb0b8
;
line-height
:
toRpx
(
36
);
line-height
:
toRpx
(
36
);
}
}
.detail-link
{
margin-top
:
toRpx
(
4
);
font-size
:
toRpx
(
24
);
color
:
#3773f8
;
.link-icon
{
border-left
:
toRpx
(
10
)
solid
#3773f8
;
border-bottom
:
toRpx
(
10
)
solid
transparent
;
border-top
:
toRpx
(
10
)
solid
transparent
;
margin-left
:
toRpx
(
10
);
}
}
.detail-num
{
.detail-num
{
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
color
:
#292d33
;
color
:
#292d33
;
...
...
components/HomeFrame/components/Income/index.vue
View file @
b1e8e02
...
@@ -53,7 +53,7 @@ export default {
...
@@ -53,7 +53,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
// showPassword: true
// showPassword: true
showPassword
:
tru
e
,
showPassword
:
fals
e
,
jobTypeList
:
{
jobTypeList
:
{
0
:
'实习生(理论)'
,
0
:
'实习生(理论)'
,
1
:
'实习生(实践)'
,
1
:
'实习生(实践)'
,
...
@@ -81,17 +81,17 @@ export default {
...
@@ -81,17 +81,17 @@ export default {
inject
:
[
'hideFooter'
,
'showPage'
],
inject
:
[
'hideFooter'
,
'showPage'
],
async
mounted
()
{
async
mounted
()
{
this
.
hideFooter
(
false
)
this
.
hideFooter
(
false
)
const
{
phone
}
=
uni
.
$storage
.
get
(
'userInfo'
)
//
const { phone } = uni.$storage.get('userInfo')
const
res
=
await
uni
.
$api
.
pointApi
.
incomeMeasurementConfig
({
staffPhone
:
phone
})
//
const res = await uni.$api.pointApi.incomeMeasurementConfig({ staffPhone: phone })
const
phoneList
=
res
.
whiteConfig
||
{}
//
const phoneList = res.whiteConfig || {}
if
(
res
.
configFlag
==
0
||
(
res
.
configFlag
==
2
&&
phoneList
.
staffPhone
==
phone
))
{
//
if (res.configFlag == 0 || (res.configFlag == 2 && phoneList.staffPhone == phone)) {
this
.
isShow
=
true
//
this.isShow = true
}
else
{
//
} else {
this
.
isShow
=
false
//
this.isShow = false
return
//
return
}
//
}
this
.
incomeCalculation
()
this
.
incomeCalculation
()
this
.
start
()
//
this.start()
},
},
destroyed
()
{
destroyed
()
{
this
.
hideFooter
(
true
)
this
.
hideFooter
(
true
)
...
...
manifest.json
View file @
b1e8e02
{
{
"name"
:
"展业助手"
,
"name"
:
"展业助手"
,
"appid"
:
"__UNI__D3BD3DF"
,
"appid"
:
"__UNI__D3BD3DF"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"2.4
.0"
,
"versionName"
:
"2.5
.0"
,
"versionCode"
:
"10
0"
,
"versionCode"
:
"11
0"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
"app-plus"
:
{
"app-plus"
:
{
"bounce"
:
"none"
,
"cache"
:
false
,
"usingComponents"
:
true
,
"bounce"
:
"none"
,
"nvueStyleCompiler"
:
"uni-app"
,
"usingComponents"
:
true
,
"compilerVersion"
:
3
,
"nvueStyleCompiler"
:
"uni-app"
,
"compatible"
:
{
"compilerVersion"
:
3
,
"ignoreVersion"
:
true
"compatible"
:
{
"ignoreVersion"
:
true
},
},
"screenOrientation"
:
"landscape"
,
"screenOrientation"
:
"landscape"
,
"splashscreen"
:
{
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
true
,
"alwaysShowBeforeRender"
:
true
,
"waiting"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
"delay"
:
0
},
},
/*
模块配置
*/
/*
模块配置
*/
"modules"
:
{
"modules"
:
{
"Camera"
:
{},
"Camera"
:
{},
"Record"
:
{},
"Record"
:
{},
"VideoPlayer"
:
{},
"VideoPlayer"
:
{},
"AudioPlayer"
:
{},
"AudioPlayer"
:
{},
"SQLite"
:
{}
"SQLite"
:
{}
},
},
/*
应用发布信息
*/
/*
应用发布信息
*/
"distribute"
:
{
"distribute"
:
{
/*
android打包配置
*/
/*
android打包配置
*/
"android"
:
{
"android"
:
{
"permissions"
:
[
"permissions"
:
[
"<uses-feature android:name=
\"
android.hardware.camera
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera.autofocus
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera.autofocus
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.ACCESS_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.ACCESS_NETWORK_STATE
\"
/>"
,
...
@@ -48,76 +49,83 @@
...
@@ -48,76 +49,83 @@
"<uses-permission android:name=
\"
android.permission.WAKE_LOCK
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WAKE_LOCK
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WRITE_SETTINGS
\"
/>"
"<uses-permission android:name=
\"
android.permission.WRITE_SETTINGS
\"
/>"
],
],
"abiFilters"
:
[
"armeabi-v7a"
,
"arm64-v8a"
,
"x86"
],
"abiFilters"
:
[
"targetSdkVersion"
:
30
"armeabi-v7a"
,
"arm64-v8a"
,
"x86"
],
"targetSdkVersion"
:
30
},
},
/*
ios打包配置
*/
/*
ios打包配置
*/
"ios"
:
{
"ios"
:
{
"dSYMs"
:
false
,
"dSYMs"
:
false
,
"UIBackgroundModes"
:
"audio"
"UIBackgroundModes"
:
"audio"
},
},
/*
SDK配置
*/
/*
SDK配置
*/
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"ad"
:
{},
"ad"
:
{},
"speech"
:
{},
"speech"
:
{},
"geolocation"
:
{
"geolocation"
:
{
"system"
:
{
"system"
:
{
"__platform__"
:
[
"ios"
,
"android"
]
"__platform__"
:
[
"ios"
,
"android"
]
}
}
}
}
},
},
"icons"
:
{
"icons"
:
{
"android"
:
{
"android"
:
{
"hdpi"
:
"static/72.png"
,
"hdpi"
:
"static/72.png"
,
"xhdpi"
:
"static/96.png"
,
"xhdpi"
:
"static/96.png"
,
"xxhdpi"
:
"static/144.png"
"xxhdpi"
:
"static/144.png"
}
}
}
}
},
},
"nativePlugins"
:
{
"nativePlugins"
:
{
"Ba-KeepAliveSuit"
:
{
"Ba-KeepAliveSuit"
:
{
"__plugin_info__"
:
{
"__plugin_info__"
:
{
"name"
:
"安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)"
,
"name"
:
"安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)"
,
"description"
:
"在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)"
,
"description"
:
"在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)"
,
"platforms"
:
"Android"
,
"platforms"
:
"Android"
,
"url"
:
"https://ext.dcloud.net.cn/plugin?id=11765"
,
"url"
:
"https://ext.dcloud.net.cn/plugin?id=11765"
,
"android_package_name"
:
"uni.gltap"
,
"android_package_name"
:
"uni.gltap"
,
"ios_bundle_id"
:
""
,
"ios_bundle_id"
:
""
,
"isCloud"
:
true
,
"isCloud"
:
true
,
"bought"
:
1
,
"bought"
:
1
,
"pid"
:
"11765"
,
"pid"
:
"11765"
,
"parameters"
:
{}
"parameters"
:
{}
}
}
}
}
}
}
},
},
/*
快应用特有相关
*/
/*
快应用特有相关
*/
"quickapp"
:
{},
"quickapp"
:
{},
/*
小程序特有相关
*/
/*
小程序特有相关
*/
"mp-weixin"
:
{
"mp-weixin"
:
{
"appid"
:
"wx79d1ff39bee3d047"
,
"appid"
:
"wx79d1ff39bee3d047"
,
"setting"
:
{
"setting"
:
{
"urlCheck"
:
false
"urlCheck"
:
false
},
},
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-baidu"
:
{
"mp-baidu"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-toutiao"
:
{
"mp-toutiao"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"uniStatistics"
:
{
"uniStatistics"
:
{
"enable"
:
false
"enable"
:
false
},
},
"vueVersion"
:
"2"
,
"vueVersion"
:
"2"
,
"h5"
:
{
"h5"
:
{
"devServer"
:
{
"devServer"
:
{
"port"
:
8080
,
"port"
:
8080
,
"https"
:
false
"https"
:
false
}
}
}
}
}
}
\ No newline at end of file
\ No newline at end of file
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