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 7e54013f
authored
Dec 09, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.4.1' into 'SAAS+V5.5.0'
上线合并 See merge request
!455
2 parents
7d961c2e
6f9c3778
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
5 deletions
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
tabWorkOrder/pages/supervisorDaily/supervisorDaily.sass
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
View file @
7e54013
...
@@ -22,6 +22,7 @@ Page({
...
@@ -22,6 +22,7 @@ Page({
IMG_URL
,
IMG_URL
,
imgShow
:
false
,
imgShow
:
false
,
isDisable
:
false
,
isDisable
:
false
,
hasDailyValue
:
false
,
isUpload
:
false
,
isUpload
:
false
,
// userInfo: {},
// userInfo: {},
// 模版表单提交数据
// 模版表单提交数据
...
@@ -207,6 +208,9 @@ Page({
...
@@ -207,6 +208,9 @@ Page({
sDate
:
timeBean
.
reportStartDate
,
sDate
:
timeBean
.
reportStartDate
,
eDate
:
timeBean
.
reportEndDate
eDate
:
timeBean
.
reportEndDate
}
}
this
.
setData
({
hasDailyValue
:
false
})
wx
.
$util
.
showLoading
()
wx
.
$util
.
showLoading
()
api
.
getDateRecord
(
params
).
then
(
res
=>
{
api
.
getDateRecord
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
'res-----'
)
console
.
log
(
res
,
'res-----'
)
...
@@ -221,10 +225,10 @@ Page({
...
@@ -221,10 +225,10 @@ Page({
if
(
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
date
==
new
Date
().
format
(
'yyyy-MM-dd'
))
{
if
(
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
date
==
new
Date
().
format
(
'yyyy-MM-dd'
))
{
//改----------------
//改----------------
this
.
setData
({
this
.
setData
({
isDisable
:
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
hasDailyValue
||
false
isDisable
:
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
hasDailyValue
||
false
,
hasDailyValue
:
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
hasDailyValue
||
false
})
})
}
else
if
(
tmlpEditList
.
includes
(
tmlpCode
))
{
}
else
if
(
tmlpEditList
.
includes
(
tmlpCode
))
{
console
.
log
(
'???'
)
// 往期编辑
// 往期编辑
this
.
setData
({
this
.
setData
({
isDisable
:
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
hasDailyValue
||
false
isDisable
:
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
hasDailyValue
||
false
...
@@ -666,7 +670,7 @@ Page({
...
@@ -666,7 +670,7 @@ Page({
let
that
=
this
let
that
=
this
wx
.
showModal
({
wx
.
showModal
({
title
:
"确认提示"
,
title
:
"确认提示"
,
content
:
"日报提交后将
无法二次修改并将
触发群消息推送,是否确认提交?"
,
content
:
"日报提交后将触发群消息推送,是否确认提交?"
,
// showCancel: false,
// showCancel: false,
cancelText
:
'取消'
,
// '取消
cancelText
:
'取消'
,
// '取消
cancelColor
:
"#292D33"
,
cancelColor
:
"#292D33"
,
...
@@ -714,6 +718,21 @@ Page({
...
@@ -714,6 +718,21 @@ Page({
}
}
},
},
changeVal
(
attr
,
val
)
{
this
.
setData
({
[
attr
]:
val
})
},
handleEdit
()
{
this
.
changeVal
(
'isDisable'
,
false
)
},
handleCancel
()
{
this
.
changeVal
(
'isDisable'
,
true
)
this
.
onLoad
()
},
handleConfirm
()
{
handleConfirm
()
{
let
{
isConfirm
}
=
this
.
data
let
{
isConfirm
}
=
this
.
data
if
(
isConfirm
)
{
if
(
isConfirm
)
{
...
...
tabWorkOrder/pages/supervisorDaily/supervisorDaily.sass
View file @
7e54013
...
@@ -242,6 +242,28 @@ page {
...
@@ -242,6 +242,28 @@ page {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.btns.two-btns
.btns-con
{
justify-content
:
space-between
;
flex-flow
:
row
;
flex-wrap
:
nowrap
;
}
.btns.two-btns
.btns-con
view
{
width
:
45%
;
border
:
var
(
--
fontSize2
)
solid
#0075F9
;
border-radius
:
var
(
--
fontSize12
)
;
height
:
var
(
--
fontSize80
)
;
box-sizing
:
border-box
;
color
:
#fff
;
background-color
:
#347BFF
;
}
.btns-con
.cancel
{
background-color
:
#F2F3F5
!
important
;
border
:
var
(
--
fontSize2
)
solid
#F2F3F5
!
important
;
color
:
#292D33
!
important
;
}
.confirm
{
.confirm
{
border
:
var
(
--
fontSize2
)
solid
#0075F9
;
border
:
var
(
--
fontSize2
)
solid
#0075F9
;
border-radius
:
var
(
--
fontSize12
)
;
border-radius
:
var
(
--
fontSize12
)
;
...
...
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
View file @
7e54013
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<view class="cust-form-box">
<view class="cust-form-box">
<gl-cust-form wx:if="{{tmlpObj && tabChange}}" id="{{tabActive}}" formData="{{ tmlpFormData }}" disable="{{isDisable}}" dataAttrName="{{ dataAttrName }}" formDataList="{{ tmlpObj[tabActive] }}" bind:radioEvent="radioEvent">
<gl-cust-form wx:if="{{tmlpObj && tabChange}}" id="{{tabActive}}" formData="{{ tmlpFormData }}" disable="{{isDisable}}" dataAttrName="{{ dataAttrName }}" formDataList="{{ tmlpObj[tabActive] }}" bind:radioEvent="radioEvent">
<!-- 与会人员 -->
<!-- 与会人员 -->
<view wx:if="{{tabActive == ('organizeTraining' + trainTmlpSuffix)}}" slot='attendingStaff' class="attendingStaff">
<view wx:if="{{tabActive == ('organizeTraining' + trainTmlpSuffix)}}" slot='attendingStaff' class="attendingStaff">
<view class="picker" bindtap="handleStaffPicker" data-name="attendingStaff" data-pname="organizeTraining">
<view class="picker" bindtap="handleStaffPicker" data-name="attendingStaff" data-pname="organizeTraining">
<image class="pickerArrow" src="/components/images/arrow-x.png" />
<image class="pickerArrow" src="/components/images/arrow-x.png" />
<view class="flex" wx:if="{{selectedStr}}">
<view class="flex" wx:if="{{selectedStr}}">
...
@@ -59,6 +59,15 @@
...
@@ -59,6 +59,15 @@
<view class="confirm text-center" bindtap="handleConfirm">提交</view>
<view class="confirm text-center" bindtap="handleConfirm">提交</view>
</view>
</view>
</view>
</view>
<view class="btns two-btns {{ isFullSucreen ? 'isFullSucreen-btn':'' }}" wx:if="{{tmlpCode == 'uuid-temp-001' && hasDailyValue}}">
<view class="btns-con" wx:if="{{isDisable}}">
<view class="confirm text-center" style="width: 100%;" bindtap="handleEdit">修改</view>
</view>
<view wx:else class="btns-con">
<view class="cancel text-center" bindtap="handleCancel">取消</view>
<view class="edit text-center" bindtap="handleConfirm">提交</view>
</view>
</view>
</view>
</view>
<!-- 未配置模版 -->
<!-- 未配置模版 -->
<view wx:else class="empty-box">
<view wx:else class="empty-box">
...
@@ -72,7 +81,7 @@
...
@@ -72,7 +81,7 @@
</view>
</view>
<!-- 与会人员多选 -->
<!-- 与会人员多选 -->
<!-- <select-item-popup show="{{showSelectItemPopup}}" title="{{selectItemTitle}}" optionList="{{mutiOption[selectItemName].optionList}}" index="1" optionLabel="staffName" bindconfirm="changeStaff" bindcancel="closeSlectItemPopup" bindclick="click" /> -->
<!-- <select-item-popup show="{{showSelectItemPopup}}" title="{{selectItemTitle}}" optionList="{{mutiOption[selectItemName].optionList}}" index="1" optionLabel="staffName" bindconfirm="changeStaff" bindcancel="closeSlectItemPopup" bindclick="click" /> -->
<select-popup show="{{showSelectItemPopup}}"
id="staffPopup" title="{{selectItemTitle}}" optionList="{{mutiOption[selectItemName].optionList}}" index="1" optionLabel="staffName" bindconfirm="changeStaff" bindcancel="closeSlectItemPopup" bindclick="click" bindsearch="staffSearch"></select-popup>
<select-popup show="{{showSelectItemPopup}}" id="staffPopup" title="{{selectItemTitle}}" optionList="{{mutiOption[selectItemName].optionList}}" index="1" optionLabel="staffName" bindconfirm="changeStaff" bindcancel="closeSlectItemPopup" bindclick="click" bindsearch="staffSearch"></select-popup>
<van-overlay show="{{ imgShow }}" bind:click="onClickHide" z-index="99999999">
<van-overlay show="{{ imgShow }}" bind:click="onClickHide" z-index="99999999">
<view class="wrapper">
<view class="wrapper">
<image src="{{IMG_URL}}/{{imgName}}.png" mode="widthFix" />
<image src="{{IMG_URL}}/{{imgName}}.png" mode="widthFix" />
...
...
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