福利整改,屏蔽发放时间字段,修改发放地点为发放部门
This commit is contained in:
@@ -18,11 +18,7 @@ const selectView = {
|
||||
<div class="info-value">{{ projectInfo.choiceTimeStart }} 至 {{ projectInfo.choiceTimeEnd }}</div>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<div class="info-label">发放时间</div>
|
||||
<div class="info-value">{{ projectInfo.provideTimeStart }} 至 {{ projectInfo.provideTimeEnd }}</div>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<div class="info-label">发放地点</div>
|
||||
<div class="info-label">发放部门</div>
|
||||
<div class="info-value">{{ projectInfo.provideAddress }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -63,8 +63,8 @@ layout("/layouts/platform.html"){
|
||||
>
|
||||
<template scope="{row}" v-if="column.prop=='choiceTime'">
|
||||
<i class="el-icon-time"></i>
|
||||
  {{$moment(row.choiceTimeStart) .format('YYYY/MM/DD HH:mm')}}
|
||||
<span>- {{$moment(row.choiceTimeEnd) .format('YYYY/MM/DD HH:mm')}}</span>
|
||||
  {{$moment(row.choiceTimeStart) .format('YYYY/MM/DD HH:mm:ss')}}
|
||||
<span>- {{$moment(row.choiceTimeEnd) .format('YYYY/MM/DD HH:mm:ss')}}</span>
|
||||
</template>
|
||||
|
||||
<template scope="{row}" v-else-if="column.prop=='isChoose'">
|
||||
|
||||
@@ -594,14 +594,9 @@ if (this.isSubmitting) return
|
||||
formatTimeRange(start, end) {
|
||||
if (!start || !end) return "未设置"
|
||||
|
||||
const startDate = this.$moment(start).format("YYYY-MM-DD")
|
||||
const endDate = this.$moment(end).format("YYYY-MM-DD")
|
||||
|
||||
if (startDate === endDate) {
|
||||
return startDate + " " + this.$moment(start).format("HH:mm") + "~" + this.$moment(end).format("HH:mm")
|
||||
} else {
|
||||
return startDate + " ~ " + endDate
|
||||
}
|
||||
const startText = this.$moment(start).format("YYYY-MM-DD HH:mm:ss")
|
||||
const endText = this.$moment(end).format("YYYY-MM-DD HH:mm:ss")
|
||||
return startText + " ~ " + endText
|
||||
},
|
||||
|
||||
// 提交选择
|
||||
|
||||
@@ -41,21 +41,8 @@ const selectView = {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info-row info-row--time">
|
||||
<div class="info-row__label">发放时间</div>
|
||||
<div class="info-row__value">
|
||||
<div class="time-item time-item--start">{{
|
||||
$moment(projectInfo.provideTimeStart).format('YYYY-MM-DD HH:mm')
|
||||
}}
|
||||
</div>
|
||||
<div class="time-item time-item--end">{{
|
||||
$moment(projectInfo.provideTimeEnd).format('YYYY-MM-DD HH:mm')
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info-row">
|
||||
<div class="info-row__label">发放地点</div>
|
||||
<div class="info-row__label">发放部门</div>
|
||||
<div class="info-row__value">{{ projectInfo.provideAddress || '暂无'
|
||||
}}
|
||||
</div>
|
||||
|
||||
@@ -601,8 +601,6 @@ layout("/layouts/platform_h5.html"){
|
||||
<div class="welfare-cell-group">
|
||||
<van-cell title="选择时间"
|
||||
:value="formatTimeRange(projectInfo.choiceTimeStart, projectInfo.choiceTimeEnd)"></van-cell>
|
||||
<van-cell title="发放时间"
|
||||
:value="formatTimeRange(projectInfo.provideTimeStart, projectInfo.provideTimeEnd)"></van-cell>
|
||||
<van-cell title="发放部门" :value="projectInfo.provideAddress"></van-cell>
|
||||
</div>
|
||||
</van-collapse-item>
|
||||
@@ -1149,14 +1147,9 @@ layout("/layouts/platform_h5.html"){
|
||||
formatTimeRange(start, end) {
|
||||
if (!start || !end) return "未设置"
|
||||
|
||||
const startDate = this.$moment(start).format("YYYY-MM-DD")
|
||||
const endDate = this.$moment(end).format("YYYY-MM-DD HH:mm")
|
||||
|
||||
if (startDate === endDate) {
|
||||
return startDate + " " + this.$moment(start).format("HH:mm") + "~" + this.$moment(end).format("HH:mm")
|
||||
} else {
|
||||
return startDate + " ~ " + endDate
|
||||
}
|
||||
const startText = this.$moment(start).format("YYYY-MM-DD HH:mm:ss")
|
||||
const endText = this.$moment(end).format("YYYY-MM-DD HH:mm:ss")
|
||||
return startText + " ~ " + endText
|
||||
},
|
||||
|
||||
// 获取发放模式名称
|
||||
|
||||
@@ -86,11 +86,11 @@ layout("/layouts/platform_h5.html"){
|
||||
<div class="wf-card-heading">{{row.name}}</div>
|
||||
<div class="wf-time-row">
|
||||
<span class="wf-time-label">开始时间:</span>
|
||||
{{$moment(row.choiceTimeStart).format('YYYY-MM-DD HH:mm')}}
|
||||
{{$moment(row.choiceTimeStart).format('YYYY-MM-DD HH:mm:ss')}}
|
||||
</div>
|
||||
<div class="wf-time-row">
|
||||
<span class="wf-time-label">结束时间:</span>
|
||||
{{$moment(row.choiceTimeEnd).format('YYYY-MM-DD HH:mm')}}
|
||||
{{$moment(row.choiceTimeEnd).format('YYYY-MM-DD HH:mm:ss')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user