Browse Source

工作日志时间修改

test
zxc 3 years ago
parent
commit
6b730dd63d
  1. 9
      src/views/modules/communityService/worklog/workLog.vue

9
src/views/modules/communityService/worklog/workLog.vue

@ -71,15 +71,15 @@
</el-input>
</el-form-item>
<el-form-item label="服务时间"
prop="wantServiceStartTime">
prop="serviceTimeArea">
<el-date-picker v-model="serviceTimeArea"
clearable
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
clearable>
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<el-button style="margin-left:10px"
@ -425,6 +425,9 @@ export default {
if (Array.isArray(this.serviceTimeArea) && this.serviceTimeArea.length > 0) {
this.workLog.serviceTimeStart = this.serviceTimeArea[0];
this.workLog.serviceTimeEnd = this.serviceTimeArea[1];
}else {
this.workLog.serviceTimeStart = '';
this.workLog.serviceTimeEnd = '';
}
const url = "/heart/workdiaryService/record/page"

Loading…
Cancel
Save