故障的时间查询

main
zz 4 months ago
parent c46b118a8f
commit 429bb28d0b

@ -21,9 +21,7 @@
<el-date-picker v-model="state.queryParams.processTime" type="datetime" placeholder="" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
</el-form-item>
<!-- <el-form-item :label="$t('message.un_repair_info.Device_code')">
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item> -->
<el-form-item>
<el-button-group>
<el-button type="primary" icon="ele-Search" @click="handleQuery"> {{$t('message.un_repair_info.Querying')}} </el-button>

@ -16,10 +16,14 @@
</el-form-item>
<el-form-item>
<label class="label"> {{$t('message.un_repair_info.Start_time')}}</label>
<el-date-picker v-model="state.queryParams.startTime" type="datetime" :placeholder="$t('message.un_repair_info.Please_enter')" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
<el-date-picker v-model="state.queryParams.startTime" type="datetime" placeholder="" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
<!-- <el-input v-model="state.queryParams.startTime" :placeholder="$t('message.un_repair_info.Please_enter')" clearable /> -->
</el-form-item>
<el-form-item :label="$t('message.replace_log.endTime')">
<el-date-picker v-model="state.queryParams.processTime" type="datetime" placeholder="" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" />
</el-form-item>
<!-- <el-form-item :label="$t('message.un_repair_info.Device_code')">
<el-input v-model="state.queryParams.equipCode" :placeholder="$t('message.un_repair_info.Please_enter')" clearable />
</el-form-item> -->
@ -90,6 +94,7 @@ const state = reactive({
equipCode: undefined,
errorLevel:undefined,
startTime:undefined,
processTime:undefined,
},
tableParams: {
pageNum: 1,
@ -118,7 +123,8 @@ const resetQuery = () => {
state.queryParams.equipCode = undefined;
state.queryParams.errorLevel = undefined;
state.queryParams.startTime = undefined;
(state.queryParams.equipCode = undefined,state.queryParams.errorLevel = undefined,state.queryParams.startTime = undefined), handleQuery();
state.queryParams.processTime = undefined;
(state.queryParams.equipCode = undefined,state.queryParams.errorLevel = undefined,state.queryParams.startTime = undefined,state.queryParams.processTime = undefined), handleQuery();
};
const handleExport = async () => {

Loading…
Cancel
Save