任务列表
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<el-table-column slot="options" label="操作" align="center" width="280" fixed="right">
|
||||
<template slot-scope="{ row }">
|
||||
<!-- <el-button type="text" @click="close(row.id)">停播</el-button> -->
|
||||
<el-button type="text" @click="toTaskList(row.id)">任务列表</el-button>
|
||||
<el-button type="text" @click="toTaskList(row.deviceId)">任务列表</el-button>
|
||||
<el-button type="text" @click="bind(row)">绑定行政区划</el-button>
|
||||
<!-- <el-button type="text" @click="locate=true">地图标绘</el-button>-->
|
||||
</template>
|
||||
@@ -73,13 +73,15 @@ export default {
|
||||
ids: [],
|
||||
colConfigs: [
|
||||
{
|
||||
prop: 'deviceName',
|
||||
prop: 'name',
|
||||
label: '设备名称',
|
||||
width: '200',
|
||||
},
|
||||
{
|
||||
prop: 'areaName',
|
||||
label: '所属行政区划',
|
||||
align: 'center',
|
||||
width: '200',
|
||||
},
|
||||
{
|
||||
prop: 'serialNo',
|
||||
@@ -89,7 +91,7 @@ export default {
|
||||
{
|
||||
prop: 'devStatus',
|
||||
label: '设备状态',
|
||||
width: '100',
|
||||
width: '200',
|
||||
align: 'center',
|
||||
render: (h, {row}) => {
|
||||
return h('span', null, this.dict.getLabel('dlbDevStatus', row.devStatus))
|
||||
@@ -98,10 +100,9 @@ export default {
|
||||
{
|
||||
prop: 'bind',
|
||||
label: '是否绑定区划',
|
||||
width: '120',
|
||||
align: 'center',
|
||||
render: (h, {row}) => {
|
||||
return h('span', null, this.dict.getLabel('yesOrNo', row.bind))
|
||||
return h('span', null, (row.areaId? '是': '否'))
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -175,7 +176,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getList() {
|
||||
this.instance.post(`/app/appdlbquipment/getDlbDeviceList`, null, {
|
||||
this.instance.post(`/app/appdlbquipment/list`, null, {
|
||||
params: {
|
||||
...this.page,
|
||||
...this.search,
|
||||
|
||||
Reference in New Issue
Block a user