|
|
|
@ -3,134 +3,182 @@
|
|
|
|
|
<!-- 搜索栏-->
|
|
|
|
|
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch"
|
|
|
|
|
:label-width=" locale ? '100px':'140px'">
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireFactoryCode')" prop="tyreFacCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.tyreFacCode"
|
|
|
|
|
:placeholder=" t('common.pleaseEnter') + t('tireManagement.tireFactoryCode')"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.enterpriseCode')" prop="companyCode">
|
|
|
|
|
<el-form-item label="外胎号" prop="tureCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.companyCode"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.enterpriseCode')"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.plateNumber')" prop="carLicense">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.carLicense"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.plateNumber')"
|
|
|
|
|
v-model="queryParams.tureCode"
|
|
|
|
|
placeholder="请输入外胎号"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireNo')" prop="tureCode">
|
|
|
|
|
<el-form-item label="品牌" prop="tureCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.tureCode"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.tireNo')"
|
|
|
|
|
placeholder="请输入品牌"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="RFID" prop="tyreRfid">
|
|
|
|
|
<el-form-item label="花纹" prop="tureCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.tyreRfid"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') +'RFID'"
|
|
|
|
|
v-model="queryParams.tureCode"
|
|
|
|
|
placeholder="请输入花纹"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.wheelPosition')" prop="tyrePosition">
|
|
|
|
|
<el-form-item label="轮胎规格型号" prop="tureCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.tyrePosition"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.wheelPosition')"
|
|
|
|
|
v-model="queryParams.tureCode"
|
|
|
|
|
placeholder="请输入型号规格"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.tireSensorID')" prop="sensorId">
|
|
|
|
|
<el-form-item label="传感器编号" prop="sensorId">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.sensorId"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.tireSensorID')"
|
|
|
|
|
placeholder="请输入传感器编号"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('tireManagement.treadDepth')" prop="currentTextureDepth">
|
|
|
|
|
<el-form-item label="车牌号" prop="sensorId">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.currentTextureDepth"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('tireManagement.treadDepth')"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.state')" prop="state">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.state"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('common.state')"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</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.creatorName')" prop="createName">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.createName"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('common.creatorName')"
|
|
|
|
|
v-model="queryParams.sensorId"
|
|
|
|
|
placeholder="请输入车牌号"
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.editTime')" prop="modifyTime">
|
|
|
|
|
<el-form-item label="创建时间" style="width: 308px;">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 200px"
|
|
|
|
|
v-model="queryParams.modifyTime"
|
|
|
|
|
type="date"
|
|
|
|
|
format="YYYY/MM/DD"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:placeholder="t('common.PleaseSelect') + t('common.editTime')"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('common.editAccount')" prop="modifyBy">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.modifyBy"
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('common.editAccount')"
|
|
|
|
|
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"
|
|
|
|
|
/>
|
|
|
|
|
v-model="dateRange"
|
|
|
|
|
value-format="YYYY-MM-DD"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.tireFactoryCode')" prop="tyreFacCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyreFacCode"-->
|
|
|
|
|
<!-- :placeholder=" t('common.pleaseEnter') + t('tireManagement.tireFactoryCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.enterpriseCode')" prop="companyCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.companyCode"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.enterpriseCode')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.plateNumber')" prop="carLicense">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.carLicense"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.plateNumber')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="RFID" prop="tyreRfid">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyreRfid"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') +'RFID'"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.wheelPosition')" prop="tyrePosition">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.tyrePosition"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.wheelPosition')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-form-item :label="t('tireManagement.treadDepth')" prop="currentTextureDepth">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.currentTextureDepth"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('tireManagement.treadDepth')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.state')" prop="state">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.state"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.state')"-->
|
|
|
|
|
<!-- style="width: 200px"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </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.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"-->
|
|
|
|
|
<!-- type="date"-->
|
|
|
|
|
<!-- format="YYYY/MM/DD"-->
|
|
|
|
|
<!-- value-format="yyyy-MM-dd"-->
|
|
|
|
|
<!-- :placeholder="t('common.PleaseSelect') + t('common.editTime')"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item :label="t('common.editAccount')" prop="modifyBy">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.modifyBy"-->
|
|
|
|
|
<!-- :placeholder="t('common.pleaseEnter') + t('common.editAccount')"-->
|
|
|
|
|
<!-- 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>
|
|
|
|
@ -187,30 +235,36 @@
|
|
|
|
|
<!-- 表格主体-->
|
|
|
|
|
<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('tireManagement.tireFactoryCode')" align="center" prop="tyreFacCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.enterpriseCode')" align="center" prop="companyCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.carId')" align="center" prop="carId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.plateNumber')" align="center" prop="carLicense" width="150"/>
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.tireFactoryCode')" align="center" prop="tyreFacCode" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.enterpriseCode')" align="center" prop="companyCode" width="150"/>-->
|
|
|
|
|
<el-table-column :label="t('tireManagement.tireNo')" align="center" prop="tureCode" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.tireModel')" align="center" prop="tureModel" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.tireModelId')" align="center" prop="tureModelId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.brandId')" align="center" prop="tureBrandId" width="150"/>
|
|
|
|
|
<el-table-column label="RFID" align="center" prop="tyreRfid" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.wheelPosition')" align="center" prop="tyrePosition" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.tireSensorID')" align="center" prop="sensorId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('tireManagement.treadDepth')" align="center" prop="currentTextureDepth" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.state')" align="center" prop="state" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.isRemove')" align="center" prop="isDelete" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.creatorId')" align="center" prop="createId" 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">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.modifyTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :label="t('common.editID')" align="center" prop="modifyId" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.editAccount')" align="center" prop="modifyBy" width="150"/>
|
|
|
|
|
<el-table-column :label="t('common.creatorName')" align="center" prop="modifyName" width="150"/>
|
|
|
|
|
<el-table-column label="品牌" align="center" prop="tureBrandId" width="150"/>
|
|
|
|
|
<el-table-column label="规格型号" align="center" prop="tureModel" width="150"/>
|
|
|
|
|
<el-table-column label="花纹" align="center" prop="tureModel" width="150"/>
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.carId')" align="center" prop="carId" width="150"/>-->
|
|
|
|
|
<el-table-column label="目前所安装车辆" align="center" prop="carLicense" width="150"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column :label="t('tireManagement.tireModelId')" align="center" prop="tureModelId" width="150"/>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column label="RFID" align="center" prop="tyreRfid" width="150"/>-->
|
|
|
|
|
<el-table-column label="安装轮位" align="center" prop="tyrePosition" width="150"/>
|
|
|
|
|
<el-table-column label="传感器编号" align="center" prop="sensorId" width="150"/>
|
|
|
|
|
<el-table-column label="最新花纹深度" align="center" prop="currentTextureDepth" width="150"/>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createName" width="150"/>
|
|
|
|
|
<el-table-column label="创建者" align="center" prop="createName" width="150"/>
|
|
|
|
|
<!-- <el-table-column :label="t('common.state')" align="center" prop="state" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.isRemove')" align="center" prop="isDelete" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.creatorId')" align="center" prop="createId" width="150"/>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column :label="t('common.editTime')" align="center" prop="modifyTime" width="150">-->
|
|
|
|
|
<!-- <template #default="scope">-->
|
|
|
|
|
<!-- <span>{{ parseTime(scope.row.modifyTime, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.editID')" align="center" prop="modifyId" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.editAccount')" align="center" prop="modifyBy" width="150"/>-->
|
|
|
|
|
<!-- <el-table-column :label="t('common.creatorName')" align="center" prop="modifyName" width="150"/>-->
|
|
|
|
|
<el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"
|
|
|
|
|
width="160">
|
|
|
|
|
<template #default="scope">
|
|
|
|
@ -326,6 +380,7 @@ const {sys_normal_disable} = proxy.useDict("sys_normal_disable");
|
|
|
|
|
|
|
|
|
|
// 表格数据
|
|
|
|
|
const postList = ref([]);
|
|
|
|
|
const dateRange = ref([]);
|
|
|
|
|
// 模态框开关标识
|
|
|
|
|
const open = ref(false);
|
|
|
|
|
// 表格加载状态开关标识
|
|
|
|
|