强制静置
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">设备号</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-datetime-picker type="datetime" v-model="val1" @change="changeLog" />
|
||||
<input type="text" class="filter_input" v-model="val1">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -27,9 +27,8 @@
|
||||
<td>{{e.point_code}}</td>
|
||||
<td>{{e.device_code}}</td>
|
||||
<td>{{e.standing_time}}</td>
|
||||
<td>{{e.plan_start_date}}</td>
|
||||
<td>{{e.timeDifferenceMinutes}}</td>
|
||||
<td>{{e.estimatedCompletionTimeString}}></td>
|
||||
<td>{{e.estimatedCompletionTimeString}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -40,14 +39,6 @@
|
||||
<button class="submit-button" @tap="_forcedRestingShow">刷新</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !pkId}" :disabled="disabled" @tap="toSure">确认</button>
|
||||
</view>
|
||||
<!-- <view>
|
||||
<uni-calendar
|
||||
ref="calendar"
|
||||
:insert="false"
|
||||
:date="val1"
|
||||
@confirm="confirm"
|
||||
/>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -61,7 +52,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
val1: dateTimeFtt(new Date()),
|
||||
val1: '',
|
||||
dataList: [],
|
||||
pkId: '',
|
||||
pkObj: {},
|
||||
@@ -72,12 +63,6 @@
|
||||
this._forcedRestingShow()
|
||||
},
|
||||
methods: {
|
||||
changeLog(e) {
|
||||
// console.log('----change事件:', e);
|
||||
if (!e) {
|
||||
this.val1 = ''
|
||||
}
|
||||
},
|
||||
/** grid查询 */
|
||||
async _forcedRestingShow () {
|
||||
let res = await forcedRestingShow()
|
||||
@@ -95,7 +80,7 @@
|
||||
this.disabled = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
this.val1 = dateTimeFtt(new Date())
|
||||
this.val1 = ''
|
||||
this._forcedRestingShow()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user