|
|
|
@ -3,24 +3,6 @@
|
|
|
|
|
<!-- 搜索栏-->
|
|
|
|
|
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch"
|
|
|
|
|
:label-width=" locale ? '100px':'140px'">
|
|
|
|
|
<!-- <el-form-item :label="t('baseDevice.baseDevice.tyreFacCode')" prop="tyreFacCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyreFacCode"-->
|
|
|
|
|
<!-- :placeholder=" t('common.pleaseEnter') + t('baseDevice.baseDevice.tyreFacCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('baseDevice.baseDevice.companyCode')" prop="companyCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.companyCode"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('baseDevice.baseDevice.companyCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item :label="t('baseDevice.baseDevice.internetThingsNo')" prop="internetThingsNo">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.internetThingsNo"
|
|
|
|
@ -31,13 +13,14 @@
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('baseDevice.baseDevice.simCode')" prop="simCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.simCode"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('baseDevice.baseDevice.simCode')"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
<el-select v-model="queryParams.simCode" class="m-2" placeholder="Select">
|
|
|
|
|
<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="t('baseDevice.baseDevice.deviceType')" prop="deviceType">
|
|
|
|
|
<el-input
|
|
|
|
@ -70,100 +53,14 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('baseDevice.baseDevice.lastRunTime')" prop="lastRunTime">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
v-model="queryParams.lastRunTime"
|
|
|
|
|
:placeholder="t('common.PleaseSelect') + t('baseDevice.baseDevice.lastRunTime')"
|
|
|
|
|
type="date"
|
|
|
|
|
format="YYYY/MM/DD"
|
|
|
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
v-model="value1"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="To"
|
|
|
|
|
start-placeholder="Start date"
|
|
|
|
|
end-placeholder="End date"
|
|
|
|
|
:size="size"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item :label="t('common.isRemove')" prop="isDelete">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.isDelete"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.isRemove')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.createTime')" prop="createTime">-->
|
|
|
|
|
<!-- <el-date-picker-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- v-model="queryParams.createTime"-->
|
|
|
|
|
<!-- :placeholder="t('common.PleaseSelect') + t('common.createTime')"-->
|
|
|
|
|
<!-- type="date"-->
|
|
|
|
|
<!-- format="YYYY/MM/DD"-->
|
|
|
|
|
<!-- value-format="YYYY-MM-DD"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.creatorId')" prop="createId">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.createId"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.creatorId')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.createBy')" prop="createBy">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.createBy"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.createBy')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.creatorName')" prop="createName">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.createName"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.creatorName')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editTime')" prop="modifyTime">-->
|
|
|
|
|
<!-- <el-date-picker-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- v-model="queryParams.modifyTime"-->
|
|
|
|
|
<!-- :placeholder="t('common.PleaseSelect') + t('common.editTime')"-->
|
|
|
|
|
<!-- type="date"-->
|
|
|
|
|
<!-- format="YYYY/MM/DD"-->
|
|
|
|
|
<!-- value-format="YYYY-MM-DD"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editID')" prop="modifyId">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyId"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editID')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editBy')" prop="modifyBy">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyBy"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editBy')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editName')" prop="modifyName">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyName"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editName')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label=" ">
|
|
|
|
|
<el-button type="primary" icon="Search" @click="handleQuery">{{ t('option.search') }}</el-button>
|
|
|
|
|
<el-button icon="Refresh" @click="resetQuery">{{ t('option.reset') }}</el-button>
|
|
|
|
@ -220,28 +117,18 @@
|
|
|
|
|
<!-- 表格主体-->
|
|
|
|
|
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" fixed/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.tyreFacCode')" align="center" prop="tyreFacCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.companyCode')" align="center" prop="companyCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.internetThingsNo')" align="center" prop="internetThingsNo"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.simCode')" align="center" prop="simCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.deviceType')" align="center" prop="deviceType"
|
|
|
|
|
width="150"/>
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.state')" align="center" prop="state"
|
|
|
|
|
width="150"/>
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.activeTime')" align="center" prop="activeTime"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseDevice.baseDevice.lastRunTime')" align="center" prop="lastRunTime"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.isRemove')" align="center" prop="isDelete" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.createTime')" align="center" prop="createTime" width="160"/>
|
|
|
|
|
<el-table-column :label="t('common.creatorId')" align="center" prop="createId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.createBy')" align="center" prop="createBy" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.creatorName')" align="center" prop="createName" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.editTime')" align="center" prop="modifyTime" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.editID')" align="center" prop="modifyId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.editBy')" align="center" prop="modifyBy" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.editName')" align="center" prop="modifyName" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.createBy')" align="center" prop="createBy" />
|
|
|
|
|
<el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"
|
|
|
|
|
width="160">
|
|
|
|
|
<template #default="scope">
|
|
|
|
@ -410,7 +297,28 @@ const {t} = useI18n();
|
|
|
|
|
|
|
|
|
|
const locale = (Cookies.get('language') || 'zhCn') === 'zhCn'
|
|
|
|
|
const {proxy} = getCurrentInstance();
|
|
|
|
|
|
|
|
|
|
const options = [
|
|
|
|
|
{
|
|
|
|
|
value: 'Option1',
|
|
|
|
|
label: 'Option1',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 'Option2',
|
|
|
|
|
label: 'Option2',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 'Option3',
|
|
|
|
|
label: 'Option3',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 'Option4',
|
|
|
|
|
label: 'Option4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: 'Option5',
|
|
|
|
|
label: 'Option5',
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
// 表格数据
|
|
|
|
|
const postList = ref([]);
|
|
|
|
|