Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c274bd01
authored
Jan 21, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 回补日报修改
1 parent
5742113d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletions
packageEquity/pages/salaryAppeal/components/appealSelector/appealSelector.js
packageEquity/pages/salaryAppeal/salaryAppeal.js
packageEquity/pages/salaryAppeal/salaryAppeal.wxml
packageEquity/pages/salaryAppeal/components/appealSelector/appealSelector.js
View file @
c274bd0
...
@@ -25,6 +25,20 @@ Component({
...
@@ -25,6 +25,20 @@ Component({
scrollTop
:
0
scrollTop
:
0
},
},
lifetimes
:
{
attached
()
{
// 初始化防抖定时器
this
.
confirmTimer
=
null
},
detached
()
{
// 组件销毁时清除定时器
if
(
this
.
confirmTimer
)
{
clearTimeout
(
this
.
confirmTimer
)
this
.
confirmTimer
=
null
}
}
},
methods
:
{
methods
:
{
onClose
()
{
onClose
()
{
this
.
setData
({
this
.
setData
({
...
@@ -257,6 +271,18 @@ Component({
...
@@ -257,6 +271,18 @@ Component({
},
},
onConfirm
()
{
onConfirm
()
{
// 防抖处理:如果已有定时器,清除它
if
(
this
.
confirmTimer
)
{
clearTimeout
(
this
.
confirmTimer
)
}
// 设置新的定时器,500ms 后执行
this
.
confirmTimer
=
setTimeout
(()
=>
{
this
.
handleConfirm
()
},
500
)
},
handleConfirm
()
{
const
{
appealNum
,
imageList
,
remarks
,
otherIssues
,
actualDays
}
=
this
.
data
const
{
appealNum
,
imageList
,
remarks
,
otherIssues
,
actualDays
}
=
this
.
data
const
{
appealLabel
,
unit
,
maxValue
,
appealType
}
=
this
.
properties
const
{
appealLabel
,
unit
,
maxValue
,
appealType
}
=
this
.
properties
...
...
packageEquity/pages/salaryAppeal/salaryAppeal.js
View file @
c274bd0
...
@@ -282,7 +282,10 @@ Page({
...
@@ -282,7 +282,10 @@ Page({
break
break
case
'daily'
:
case
'daily'
:
// 处理去补日报逻辑
// 处理去补日报逻辑
console
.
log
(
'去补日报'
)
wx
.
$router
.
go
(
'tabWorkOrder.upgradeStaffDaily'
,
{
// reportDate: hasNeedReport.date
reportDate
:
"2025-12-10"
})
break
break
case
'recording'
:
case
'recording'
:
// 处理申诉平板逻辑 - 打开申诉弹框
// 处理申诉平板逻辑 - 打开申诉弹框
...
...
packageEquity/pages/salaryAppeal/salaryAppeal.wxml
View file @
c274bd0
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
class="order-card-item"
class="order-card-item"
wx:for="{{orderList}}"
wx:for="{{orderList}}"
wx:key="index"
wx:key="index"
wx:if="{{item.value != '0' && item.value != 0}}"
data-index="{{index}}"
data-index="{{index}}"
>
>
<view class="order-card-item-label">{{item.label}}</view>
<view class="order-card-item-label">{{item.label}}</view>
...
...
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