|
|
@ -29,7 +29,19 @@
|
|
|
|
<el-table-column label="时间表类型" show-overflow-tooltip>
|
|
|
|
<el-table-column label="时间表类型" show-overflow-tooltip>
|
|
|
|
<template>时间表类型</template>
|
|
|
|
<template>时间表类型</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column label="时间表规则" width="600">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<ul class="rulesBox" v-for="item in scope.row.list">
|
|
|
|
|
|
|
|
<li><span>开始时间:</span>{{ item.startTime }}</li>
|
|
|
|
|
|
|
|
<li><span>结束时间:</span>{{ item.endTime }}</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<span>时间间隔(分):</span>
|
|
|
|
|
|
|
|
<el-tag>{{ item.span }}</el-tag>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!-- <el-table-column
|
|
|
|
prop="startTime"
|
|
|
|
prop="startTime"
|
|
|
|
label="开始时间"
|
|
|
|
label="开始时间"
|
|
|
|
show-overflow-tooltip
|
|
|
|
show-overflow-tooltip
|
|
|
@ -43,7 +55,7 @@
|
|
|
|
prop="span"
|
|
|
|
prop="span"
|
|
|
|
label="间隔(分)"
|
|
|
|
label="间隔(分)"
|
|
|
|
show-overflow-tooltip
|
|
|
|
show-overflow-tooltip
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column> -->
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="remark"
|
|
|
|
prop="remark"
|
|
|
|
label="备注"
|
|
|
|
label="备注"
|
|
|
@ -125,6 +137,7 @@ export default {
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
this.deviceTableData = res.data.list;
|
|
|
|
this.deviceTableData = res.data.list;
|
|
|
|
this.total = res.data.total;
|
|
|
|
this.total = res.data.total;
|
|
|
|
|
|
|
|
console.log(this.deviceTableData);
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch((err) => {});
|
|
|
|
.catch((err) => {});
|
|
|
@ -209,6 +222,15 @@ export default {
|
|
|
|
margin-top: 16px;
|
|
|
|
margin-top: 16px;
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
//background: #fcc;
|
|
|
|
//background: #fcc;
|
|
|
|
|
|
|
|
.rulesBox {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
margin-right: 24px;
|
|
|
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|