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 07357fc0
authored
Apr 09, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工作日报
1 parent
0147c387
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
7 deletions
components/GLCustForm/GLCustForm.sass
components/GLCustForm/GLCustForm.wxml
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
components/GLCustForm/GLCustForm.sass
View file @
07357fc
...
...
@@ -26,6 +26,18 @@
flex-grow
:
1
;
}
.meeting-box
{
.van-cell
{
line-height
:
auto
!
important
;
border
:
2rpx
solid
#ececec
;
border-radius
:
16rpx
;
margin-top
:
16rpx
;
padding
:
16rpx
24rpx
!
important
;
}
.van-field__control--textarea
{
min-height
:
var
(
--
field-text-area-min-height
,
144rpx
)
!
important
;
}
}
.input-suffix
{
/* height: var(--fontSize88);
line-height: var(--fontSize88); */
...
...
components/GLCustForm/GLCustForm.wxml
View file @
07357fc
...
...
@@ -26,7 +26,7 @@
show-word-limit
noPadding="{{item.noPadding}}">
<!-- slot -->
<slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
<slot wx:if="{{item.type == 'slot'}}" name="{{item.
slotName || item.
name}}" />
<!-- radio -->
<view wx:if="{{item.type == 'radio'}}">
<van-radio-group value="{{formData[item.name]}}" disabled="{{item.disabled||disable}}" class="radio-box" data-attr="{{item.name}}" bindchange="handleRadio">
...
...
@@ -34,7 +34,7 @@
wx:for-index="kIdx" wx:key="kIdx" name="{{k[item.optionLabel]}}">{{k[item.optionLabel]}}</van-radio>
</van-radio-group>
</view>
<!-- input
/ textarea
-->
<!-- input -->
<view wx:if="{{item.type == 'input'}}" class="input-box" style="{{item.customStyle}}">
<!-- rows="1" -->
<van-field
...
...
@@ -56,6 +56,12 @@
bindinput="handleInput" />
<text wx:if="{{item.suffix}}" class="input-suffix">{{item.suffix}}</text>
</view>
<!-- textarea -->
<view wx:if="{{item.type == 'textarea'}}" class="meeting-box">
<view class="meeting-textarea">
<van-field value="{{formData[item.name]}}" hold-keyboard type="textarea" rows="{{item.rows || '4'}}" autosize="{ minHeight: 50 }" show-word-limit placeholder="{{item.placeholder || '请输入'}}" maxlength="{{item.maxlength || 140}}" disabled="{{item.disabled||disable}}" data-attr="{{item.name}}" bindinput="handleInput" />
</view>
</view>
<!-- picker -->
<picker
wx:if="{{item.type == 'select'}}"
...
...
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
View file @
07357fc
This diff is collapsed.
Click to expand it.
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
View file @
07357fc
...
...
@@ -17,7 +17,7 @@
<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">
<!-- 与会人员 -->
<view wx:if="{{tabActive == 'organizeTraining'
}}" 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">
<image class="pickerArrow" src="/components/images/arrow-x.png" />
<view class="flex" wx:if="{{selectedStr}}">
...
...
@@ -28,17 +28,17 @@
</view>
</view>
<!-- 腾讯会议录屏链接 -->
<view wx:if="{{tabActive ==
'organizeTraining'
}}" slot='tencentMeetingRecordingLink' class="meeting-box">
<view wx:if="{{tabActive ==
('organizeTraining' + trainTmlpSuffix)
}}" slot='tencentMeetingRecordingLink' class="meeting-box">
<view class="example-tips">会议录制文件权限需设置为「所有人可查看」<text class="example-btn" bindclick="handleLookPictrue" bind:tap="onClickShow" data-name="example-meeting">示例</text></view>
<view class="meeting-textarea">
<van-field value="{{tmlpFormData
.tencentMeetingRecordingLink
}}" hold-keyboard type="textarea" rows="4" autosize="{ minHeight: 50 }" show-word-limit placeholder="录制:驻店人员预定的会议 录指纹键:http://meeting.tencent.com/crm/2rejORzKc560" maxlength="100" disabled="{{isDisable}}" data-attr="tencentMeetingRecordingLink" bindinput="handleInput" />
<van-field value="{{tmlpFormData
['tencentMeetingRecordingLink' + trainTmlpSuffix]
}}" hold-keyboard type="textarea" rows="4" autosize="{ minHeight: 50 }" show-word-limit placeholder="录制:驻店人员预定的会议 录指纹键:http://meeting.tencent.com/crm/2rejORzKc560" maxlength="100" disabled="{{isDisable}}" data-attr="tencentMeetingRecordingLink" bindinput="handleInput" />
</view>
</view>
<!-- 培训照片 -->
<view wx:if="{{tabActive ==
'organizeTraining'
}}" slot='trainingPhotos' class="trainingPhotos">
<view wx:if="{{tabActive ==
('organizeTraining' + trainTmlpSuffix)
}}" slot='trainingPhotos' class="trainingPhotos">
<view class="example-tips">线下培训上传「与会人员照片」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianxia">示例</text></view>
<view class="example-tips">线上培训上传「会议上线截图」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianshang">示例</text></view>
<van-uploader class="plus" file-list="{{ imgObj
.trainingPhotos
}}" upload-text="上传照片" max-count="1" deletable="{{!isDisable}}" preview-size="var(--fontSize192)" disabled="{{isDisable}}" bind:after-read="upLoad" bind:delete="handleDeleteImg" data-attr="trainingPhotos"></van-uploader>
<van-uploader class="plus" file-list="{{ imgObj
['trainingPhotos'+trainTmlpSuffix]
}}" upload-text="上传照片" max-count="1" deletable="{{!isDisable}}" preview-size="var(--fontSize192)" disabled="{{isDisable}}" bind:after-read="upLoad" bind:delete="handleDeleteImg" data-attr="trainingPhotos"></van-uploader>
</view>
<!-- 工作总结 -->
<view wx:if="{{tabActive == 'workSummary'}}" slot='todaySummary' class="meeting-box">
...
...
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