如果是多个安全措施确认人,某个人打回,则其他确认人不显示打回作业

pull/5/head
chenxinying 2024-01-25 17:39:35 +08:00
parent 2a84c69ea0
commit 7288ed869b
6 changed files with 28 additions and 15 deletions

View File

@ -1087,6 +1087,7 @@
font-weight: bold; font-weight: bold;
color: #000000; color: #000000;
font-size: 28upx; font-size: 28upx;
height: auto;
/* white-space: nowrap; */ /* white-space: nowrap; */
} }

View File

@ -11,10 +11,11 @@
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;"> <view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">完工验收</view> <view class="cu-form-title">完工验收</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea> <textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
</view>
<view style="border-bottom: 1px dashed #eee;">
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title">验收时间</view> <view class="title">验收时间</view>
<ruiDatePicker <ruiDatePicker fields="minute"
fields="minute"
:value="pd.ACCEPT_TIME?pd.ACCEPT_TIME:''" :value="pd.ACCEPT_TIME?pd.ACCEPT_TIME:''"
@change="changeStartDate" @change="changeStartDate"
></ruiDatePicker> ></ruiDatePicker>

View File

@ -8,7 +8,7 @@
<view class="form"> <view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail> <detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="wui-form-list"> <view class="wui-form-list">
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;"> <view style="border-bottom: 1px dashed #eee;">
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title">作业结束时间</view> <view class="title">作业结束时间</view>
<ruiDatePicker fields="minute" <ruiDatePicker fields="minute"

View File

@ -316,6 +316,7 @@
CREATOR:_this.flow === '提交申请'?loginUser.USER_ID : '', CREATOR:_this.flow === '提交申请'?loginUser.USER_ID : '',
GASCHECK:_this.flow === '气体检测'?loginUser.USER_ID : '', GASCHECK:_this.flow === '气体检测'?loginUser.USER_ID : '',
STEP_NAME: (_this.flow === '提交申请' || _this.flow === '气体检测')?'' : _this.flow, STEP_NAME: (_this.flow === '提交申请' || _this.flow === '气体检测')?'' : _this.flow,
measures: _this.flow === '安全措施确认'?1 : '', //
STEP_ID: _this.STEP_ID, STEP_ID: _this.STEP_ID,
KEYWORDS : _this.KEYWORDS, // KEYWORDS : _this.KEYWORDS, //
CORPINFO_ID:loginUser.CORPINFO_ID, CORPINFO_ID:loginUser.CORPINFO_ID,

View File

@ -256,6 +256,7 @@
this.uploadImgFaults(files,signtime) this.uploadImgFaults(files,signtime)
formData.APPLY_STATUS = APPLY_STATUS formData.APPLY_STATUS = APPLY_STATUS
formData.HOTWORK_ID = _this.pd.HOTWORK_ID formData.HOTWORK_ID = _this.pd.HOTWORK_ID
formData.DESCR = _this.pd.DESCR
formData.SIGNTIME = signtime.join(",") formData.SIGNTIME = signtime.join(",")
formData.USER_ID = loginUser.USER_ID formData.USER_ID = loginUser.USER_ID
formData.MEASURES = JSON.stringify(this.measuresList) formData.MEASURES = JSON.stringify(this.measuresList)

View File

@ -2,12 +2,21 @@
<view > <view >
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" > <cu-custom bgColor="bg-gradual-blueness" :isBack="true" >
<block slot="backText">返回</block> <block slot="backText">返回</block>
<block slot="content">完工验收</block> <block slot="content">作业开始时间选择</block>
</cu-custom> </cu-custom>
<scroll-view scroll-y="false" > <scroll-view scroll-y="false" >
<view class="form"> <view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail> <detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="wui-form-list"> <view class="wui-form-list">
<view style="border-bottom: 1px dashed #eee;">
<view class="cu-form-group">
<view class="title">作业开始时间</view>
<ruiDatePicker fields="minute"
:value="pd.WORK_START_DATE?pd.WORK_START_DATE:''"
@change="changeStartDate"
></ruiDatePicker>
</view>
</view>
<view class="wui-sign"> <view class="wui-sign">
<view class="title">填写作业开始时间负责人</view> <view class="title">填写作业开始时间负责人</view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button> <button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>