修改单车监控界面

master
夜笙歌 2 years ago
parent 7d2266c5c9
commit 7dc7afe4d6

@ -164,12 +164,17 @@
:placeholder="t('common.pleaseEnter') + '物联卡卡号'"/> :placeholder="t('common.pleaseEnter') + '物联卡卡号'"/>
</el-form-item> </el-form-item>
<el-form-item label="设备类型" prop="deviceType"> <el-form-item label="设备类型" prop="deviceType">
<el-input <el-select v-model="form.deviceType" :placeholder="t('common.PleaseSelect')" class="m-2">
v-model="form.deviceType" <el-option
:placeholder="t('common.pleaseEnter') + '设备类型'"/> v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="是否可用" prop="state"> <el-form-item label="是否可用" prop="state">
<el-switch v-model="form.state" :active-value="1" :inactive-value="0"/> <el-switch v-model="form.state" :active-value="0" :inactive-value="1"/>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>
@ -237,7 +242,7 @@ const queryParams = ref({
internetThingsNo: undefined, internetThingsNo: undefined,
simCode: undefined, simCode: undefined,
deviceType: undefined, deviceType: undefined,
state: undefined, state: 0,
activeTime: undefined, activeTime: undefined,
lastRunTime: undefined, lastRunTime: undefined,
isDelete: undefined, isDelete: undefined,
@ -264,7 +269,7 @@ const form = ref({
id: null, id: null,
internetThingsNo: null, internetThingsNo: null,
deviceType: null, deviceType: null,
state: null, state: 0,
}); });
/** 查询岗位列表 */ /** 查询岗位列表 */
@ -290,7 +295,7 @@ function reset() {
id: null, id: null,
internetThingsNo: null, internetThingsNo: null,
deviceType: null, deviceType: null,
state: null, state: 0,
}; };
proxy.resetForm("postRef"); proxy.resetForm("postRef");
} }

Loading…
Cancel
Save