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 724c0ed4
authored
Apr 24, 2025
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
收入
1 parent
19ee7a50
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
21 deletions
api/module/point.js
components/HomeFrame/components/Income/History.vue
components/HomeFrame/components/Income/MyStore.vue
components/HomeFrame/components/Income/baseDialog.vue
api/module/point.js
View file @
724c0ed
/*
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-19 11:02:01
* @LastEditors:
前端 qianduan01
@didihu.com.cn
* @LastEditTime: 2025-0
3-07 16:28:37
* @LastEditors:
yangming@didihu.com.cn yangming
@didihu.com.cn
* @LastEditTime: 2025-0
4-23 17:19:15
* @FilePath: \gl-tape\api\module\point.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -205,5 +205,12 @@ module.exports = {
projectName
:
'boutique'
,
...
data
})
},
appealExist
(
data
)
{
return
http
.
post
({
method
:
'dj.api.car.boutique.clock.in.staff.appeal.exist'
,
projectName
:
'boutique'
,
...
data
})
}
}
components/HomeFrame/components/Income/History.vue
View file @
724c0ed
...
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-07 13:49:15
* @LastEditors: yangming@didihu.com.cn yangming@didihu.com.cn
* @LastEditTime: 2025-04-2
3 14:05:42
* @LastEditTime: 2025-04-2
4 10:38:29
* @FilePath: \gl-tape\components\HomeFrame\components\Income\History.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -49,7 +49,7 @@
<view
class=
"item-label"
@
click=
"handleShow(item)"
>
{{
item
.
label
}}
</view>
<uni-icons
type=
"help"
size=
"18"
color=
"#A2A2A8"
@
click=
"clickTips(item)"
></uni-icons>
<view
class=
"item-price"
>
{{
item
.
showUnit
}}{{
formatNumber
(
salaryDetail
[
item
.
value
]
||
'0'
)
}}
</view>
<view
class=
"item-expand"
@
click=
"showDetail(item)"
></view>
<view
class=
"item-expand"
@
click=
"showDetail(item)"
v-if=
"salaryDetail[item.value] && item.tabelTh"
></view>
</view>
</
template
>
</view>
...
...
@@ -58,19 +58,23 @@
<view
class=
"sprite-icon icon-time-icon"
></view>
生成时间:{{ salaryDetail.createdDate }}
</view>
<!-- <view class="income-tips">
<view class="sprite-icon icon-tips-b"></view>
<text>人工核验冲减,并已扣除个人所得税和社保</text>
</view> -->
<view
class=
"income-warning"
>
<view
class=
"sprite-icon icon-warning-icon"
></view>
<text>
以上测算未包括 个人所得税、社保等事项
</text>
</view>
<!-- <view class="finish-box flex-center">
<view class="sprite-icon icon-finish-icon"></view>
已提交申诉
</view> -->
<view
class=
"verify-btn"
@
click=
"handleVerify"
>
我要校核
</view>
<
template
v-if=
"isExist"
>
<view
class=
"income-tips"
>
<view
class=
"sprite-icon icon-tips-b"
></view>
<text>
人工核验冲减,并已扣除个人所得税和社保
</text>
</view>
<view
class=
"finish-box flex-center"
>
<view
class=
"sprite-icon icon-finish-icon"
></view>
已提交申诉
</view>
</
template
>
<
template
v-else
>
<view
class=
"income-warning"
>
<view
class=
"sprite-icon icon-warning-icon"
></view>
<text>
以上测算未包括 个人所得税、社保等事项
</text>
</view>
<view
class=
"verify-btn"
@
click=
"handleVerify"
>
我要校核
</view>
</
template
>
</view>
</template>
<view
class=
"empty-body"
v-else
>
...
...
@@ -131,6 +135,7 @@ export default {
return
{
title
:
'学习数据'
,
show
:
false
,
isExist
:
false
,
tipsShow
:
false
,
baseShow
:
false
,
baseDetailShow
:
false
,
...
...
@@ -205,6 +210,7 @@ export default {
}
uni
.
$api
.
pointApi
.
appealCommit
(
params
).
then
(
res
=>
{
this
.
showVerify
=
false
this
.
appealExist
()
})
},
getDetail
(
date
)
{
...
...
@@ -259,6 +265,12 @@ export default {
uni
.
$api
.
pointApi
.
attendanceDetail
(
params
).
then
(
res
=>
{
this
.
baseSalaryDetail
=
res
})
this
.
appealExist
()
},
appealExist
()
{
uni
.
$api
.
pointApi
.
appealExist
({
staffPhone
,
appealType
:
2
,
appealDate
:
this
.
salaryMonth
}).
then
(
res
=>
{
this
.
isExist
=
res
})
},
/**
...
...
components/HomeFrame/components/Income/MyStore.vue
View file @
724c0ed
...
...
@@ -88,7 +88,7 @@
<view
class=
"item-label"
>
{{
item
.
label
}}
</view>
<uni-icons
type=
"help"
size=
"15"
color=
"#A2A2A8"
@
click=
"clickTips(item)"
></uni-icons>
<view
class=
"item-value"
>
{{
item
.
showUnit
}}{{
formatNumber
(
salaryDetail
[
item
.
value
]
||
'0'
)
}}
</view>
<view
class=
"item-next"
@
click=
"showDetail(item)"
></view>
<view
class=
"item-next"
@
click=
"showDetail(item)"
v-if=
"salaryDetail[item.value] && item.tabelTh"
></view>
</view>
</
template
>
</view>
...
...
components/HomeFrame/components/Income/baseDialog.vue
View file @
724c0ed
...
...
@@ -23,9 +23,9 @@
</view>
<view
class=
"base-box flex"
>
<view
class=
"base-item"
v-for=
"(item, index) in baseList"
:key=
"index"
>
<view
class=
"item-label"
@
click=
"showDetail(item)"
>
<view
class=
"item-label"
@
click=
"showDetail(item
, item.exceptionCount && item.tips
)"
>
{{ item.label }}
<text
class=
"item-next"
v-if=
"item.
value
"
></text>
<text
class=
"item-next"
v-if=
"item.
exceptionCount && item.tips
"
></text>
</view>
<view
class=
"item-num"
>
{{ item.exceptionCount || 0 }}
...
...
@@ -147,7 +147,8 @@ export default {
close
()
{
this
.
$emit
(
'close'
)
},
showDetail
(
item
)
{
showDetail
(
item
,
show
)
{
if
(
!
show
)
return
this
.
$emit
(
'showBaseDetail'
,
item
)
}
}
...
...
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