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