修改首页路径

master
夜笙歌 2 years ago
parent 0b5b30fd87
commit 01024466f0

@ -98,25 +98,6 @@
</el-table-column> </el-table-column>
<el-table-column :label="t('common.createTime')" align="center" prop="createTime"/> <el-table-column :label="t('common.createTime')" align="center" prop="createTime"/>
<el-table-column :label="t('common.createBy')" align="center" prop="createName"/> <el-table-column :label="t('common.createBy')" align="center" prop="createName"/>
<!-- <el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"-->
<!-- width="160">-->
<!-- <template #default="scope">-->
<!-- <el-button-->
<!-- v-hasPermi="['carqueue:carqueue:edit']"-->
<!-- icon="Edit"-->
<!-- type="text"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >{{ t('option.edit') }}-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- v-hasPermi="['carqueue:carqueue:remove']"-->
<!-- icon="Delete"-->
<!-- type="text"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- >{{ t('option.remove') }}-->
<!-- </el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table> </el-table>
<!-- 分页--> <!-- 分页-->

@ -15,7 +15,7 @@
<el-form-item :label="t('baseDevice.baseDevice.simCode')" prop="simCode"> <el-form-item :label="t('baseDevice.baseDevice.simCode')" prop="simCode">
<el-input <el-input
v-model="queryParams.simCode" v-model="queryParams.simCode"
:placeholder="t('common.pleaseEnter') +t('baseDevice.baseDevice.deviceType')" :placeholder="t('common.pleaseEnter') +t('baseDevice.baseDevice.simCode')"
clearable clearable
style="width: 200px" style="width: 200px"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
@ -41,28 +41,6 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="t('baseDevice.baseDevice.activeTime')" prop="activeTime">
<el-date-picker
v-model="queryParams.activeTime"
:size="size"
end-placeholder="结束时间"
range-separator="到"
start-placeholder="开始时间"
type="daterange"
value-format="YYYY-MM-DD"
/>
</el-form-item>
<el-form-item :label="t('baseDevice.baseDevice.lastRunTime')" prop="lastRunTime">
<el-date-picker
v-model="queryParams.lastRunTime"
:size="size"
end-placeholder="结束时间"
range-separator="到"
start-placeholder="开始时间"
type="daterange"
value-format="YYYY-MM-DD"
/>
</el-form-item>
<el-form-item label=" "> <el-form-item label=" ">
<el-button icon="Search" type="primary" @click="handleQuery">{{ t('option.search') }}</el-button> <el-button icon="Search" type="primary" @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>
@ -261,8 +239,6 @@ const queryParams = ref({
simCode: undefined, simCode: undefined,
deviceType: null, deviceType: null,
state: null, state: null,
activeTime: undefined,
lastRunTime: undefined,
isDelete: undefined, isDelete: undefined,
createTime: undefined, createTime: undefined,
createId: undefined, createId: undefined,

@ -118,7 +118,20 @@
<div v-for="(i,index) in warringList" :key='i' ref="warningRef" <div v-for="(i,index) in warringList" :key='i' ref="warningRef"
style="position:relative;color:#fff;height: 120px;"> style="position:relative;color:#fff;height: 120px;">
<img <img
:src="`${i?.ispresslower === 1 ? 'src/assets/icons/ispresslower.png':''}${i?.ispresshigh === 1 ? 'src/assets/icons/ispresshigh.png':''}${i?.istemperaturehigh === 1 ? 'src/assets/icons/highTemperature.png':''}${i?.ispowerinvalue === 1 ? 'src/assets/icons/ispowerinvalue.png':''}`" v-if="i?.ispresslower === 1"
src="../assets/icons/ispresslower.png"
style="width: 40px;height: 40px;position: absolute;top: 10px;left: 0px">
<img
v-if="i?.ispresshigh === 1"
src="../assets/icons/ispresshigh.png"
style="width: 40px;height: 40px;position: absolute;top: 10px;left: 0px">
<img
v-if="i?.istemperaturehigh === 1"
src="../assets/icons/highTemperature.png"
style="width: 40px;height: 40px;position: absolute;top: 10px;left: 0px">
<img
v-if="i?.ispowerinvalue === 1"
src="../assets/icons/ispowerinvalue.png"
style="width: 40px;height: 40px;position: absolute;top: 10px;left: 0px"> style="width: 40px;height: 40px;position: absolute;top: 10px;left: 0px">
<div style="position: absolute;top: 10px;left: 50px;font-size: 16px"> <div style="position: absolute;top: 10px;left: 50px;font-size: 16px">
{{ i?.ispresslower === 1 ? '低压' : '' }} {{ i?.ispresslower === 1 ? '低压' : '' }}

Loading…
Cancel
Save