修改轮胎信息

master
夜笙歌 2 years ago
parent b1c19a1188
commit f404a6e044

@ -3,24 +3,6 @@
<!-- 搜索栏--> <!-- 搜索栏-->
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch"
:label-width=" locale ? '100px':'140px'"> :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-form-item :label="t('baseDevice.baseDevice.internetThingsNo')" prop="internetThingsNo">
<el-input <el-input
v-model="queryParams.internetThingsNo" v-model="queryParams.internetThingsNo"
@ -31,13 +13,14 @@
/> />
</el-form-item> </el-form-item>
<el-form-item :label="t('baseDevice.baseDevice.simCode')" prop="simCode"> <el-form-item :label="t('baseDevice.baseDevice.simCode')" prop="simCode">
<el-input <el-select v-model="queryParams.simCode" class="m-2" placeholder="Select">
v-model="queryParams.simCode" <el-option
:placeholder="t('common.pleaseEnter') + t('baseDevice.baseDevice.simCode')" v-for="item in options"
style="width: 200px" :key="item.value"
clearable :label="item.label"
@keyup.enter.native="handleQuery" :value="item.value"
/> />
</el-select>
</el-form-item> </el-form-item>
<el-form-item :label="t('baseDevice.baseDevice.deviceType')" prop="deviceType"> <el-form-item :label="t('baseDevice.baseDevice.deviceType')" prop="deviceType">
<el-input <el-input
@ -70,100 +53,14 @@
</el-form-item> </el-form-item>
<el-form-item :label="t('baseDevice.baseDevice.lastRunTime')" prop="lastRunTime"> <el-form-item :label="t('baseDevice.baseDevice.lastRunTime')" prop="lastRunTime">
<el-date-picker <el-date-picker
clearable v-model="value1"
style="width: 200px" type="daterange"
v-model="queryParams.lastRunTime" range-separator="To"
:placeholder="t('common.PleaseSelect') + t('baseDevice.baseDevice.lastRunTime')" start-placeholder="Start date"
type="date" end-placeholder="End date"
format="YYYY/MM/DD" :size="size"
value-format="YYYY-MM-DD"
/> />
</el-form-item> </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-form-item label=" ">
<el-button type="primary" icon="Search" @click="handleQuery">{{ t('option.search') }}</el-button> <el-button type="primary" icon="Search" @click="handleQuery">{{ t('option.search') }}</el-button>
<el-button icon="Refresh" @click="resetQuery">{{ t('option.reset') }}</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 v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" fixed/> <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" <el-table-column :label="t('baseDevice.baseDevice.internetThingsNo')" align="center" prop="internetThingsNo"
width="150"/> 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" <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" <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" <el-table-column :label="t('baseDevice.baseDevice.activeTime')" align="center" prop="activeTime"
width="150"/> width="150"/>
<el-table-column :label="t('baseDevice.baseDevice.lastRunTime')" align="center" prop="lastRunTime" <el-table-column :label="t('baseDevice.baseDevice.lastRunTime')" align="center" prop="lastRunTime"
width="150"/> 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.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" />
<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('option.option')" align="center" class-name="small-padding fixed-width" fixed="right" <el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"
width="160"> width="160">
<template #default="scope"> <template #default="scope">
@ -410,7 +297,28 @@ const {t} = useI18n();
const locale = (Cookies.get('language') || 'zhCn') === 'zhCn' const locale = (Cookies.get('language') || 'zhCn') === 'zhCn'
const {proxy} = getCurrentInstance(); 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([]); const postList = ref([]);

Loading…
Cancel
Save