|
@@ -34,7 +34,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="sn">
|
|
|
<el-select v-model="queryParams.sn" placeholder="请选择编号" @change="handleQuery" clearable>
|
|
|
- <el-option v-for="item in snList" :key="item.id" :label="item.id" :value="item.id"></el-option>
|
|
|
+ <el-option v-for="item in snList" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -74,8 +74,8 @@
|
|
|
<el-table-column label="时间" align="center" prop="checktime"></el-table-column>
|
|
|
<el-table-column label="设备编号" align="center" prop="sn">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{scope.row.sn}}</span>
|
|
|
- <!-- <span v-if="scope.row.sn == 'COIV223360001'">#19</span> -->
|
|
|
+ <span v-if="scope.row.sn != 'COIV223360001'">{{scope.row.sn}}</span>
|
|
|
+ <span v-if="scope.row.sn == 'COIV223360001'">#19</span>
|
|
|
<!-- <span v-if="scope.row.sn=='COIV223360001'">#19</span>
|
|
|
<span v-if="scope.row.sn=='COIV223360001'">#19</span>-->
|
|
|
</template>
|
|
@@ -112,8 +112,9 @@ export default {
|
|
|
total: 0,
|
|
|
forms: {},
|
|
|
snList: [
|
|
|
- { id: "COIV223360129", name: "#19" },
|
|
|
- { id: "COIV223360045", name: "#18" }
|
|
|
+ { id: "COIV223360001", name: "#19" },
|
|
|
+ { id: "COIV223360129", name: "COIV223360129" },
|
|
|
+ { id: "COIV223360045", name: "COIV223360045" }
|
|
|
],
|
|
|
starttimes: "",
|
|
|
endtimes: ""
|