|
|
@@ -35,9 +35,9 @@
|
|
|
size="default" label-width="0px" class="mt5 mb5">
|
|
|
|
|
|
<ext-d-select
|
|
|
- type="Equipment.netStatus"
|
|
|
+ type="Connector.status"
|
|
|
v-model="state.formQuery.status"
|
|
|
- placeholder="网络状态"
|
|
|
+ placeholder="状态"
|
|
|
clearable
|
|
|
@change="loadData(true)"
|
|
|
class="wd150 mr10"/>
|
|
|
@@ -101,12 +101,12 @@
|
|
|
<template v-else-if="'equipmentType'===field.prop">
|
|
|
<ext-d-label type="Equipment.type" v-model="row[field.prop]"/>
|
|
|
</template>
|
|
|
- <template v-else-if="'serviceStatus'===field.prop">
|
|
|
- <ext-d-label type="Equipment.serviceStatus" v-model="row[field.prop]"/>
|
|
|
- </template>
|
|
|
- <template v-else-if="'netStatus'===field.prop">
|
|
|
- <ext-d-label type="Equipment.netStatus" v-model="row[field.prop]"/>
|
|
|
+ <template v-else-if="'status'===field.prop">
|
|
|
+ <ext-d-label type="Connector.status" v-model="row[field.prop]"/>
|
|
|
</template>
|
|
|
+<!-- <template v-else-if="'netStatus'===field.prop">-->
|
|
|
+<!-- <ext-d-label type="Equipment.netStatus" v-model="row[field.prop]"/>-->
|
|
|
+<!-- </template>-->
|
|
|
<template v-else-if="'equipmentId'===field.prop">
|
|
|
<el-button link type="primary" @click="handleGotoOrder(row)">{{row[field.prop]}} </el-button>
|
|
|
</template>
|
|
|
@@ -171,14 +171,16 @@ const state = reactive({
|
|
|
{label: '充电桩编号', prop: 'shortId', resizable: true, width: 110, fixed: 'left'},
|
|
|
{label: '车位编号', prop: 'parkingNo', resizable: true, width: 90, fixed: 'left'},
|
|
|
{label: '充电桩序列号', prop: 'equipmentId', width: 180, resizable: true},
|
|
|
- {label: '设备型号', prop: 'equipmentModel', width: 150, resizable: true},
|
|
|
- {label: '服务状态', prop: 'serviceStatus', resizable: true, width: 130},
|
|
|
- {label: '设备类型', prop: 'equipmentType', resizable: true, width: 130},
|
|
|
+ {label: '充电桩接口编号', prop: 'connectorId', width: 180, resizable: true},
|
|
|
+ // {label: '设备型号', prop: 'equipmentModel', width: 150, resizable: true},
|
|
|
+ // {label: '服务状态', prop: 'status', resizable: true, width: 130},
|
|
|
+ // {label: '设备类型', prop: 'equipmentType', resizable: true, width: 130},
|
|
|
// {label: '位置坐标', prop: 'location', resizable: true, width: 150},
|
|
|
- {label: '网络状态', prop: 'netStatus', resizable: true, width: 130},
|
|
|
+ // {label: '网络状态', prop: 'netStatus', resizable: true, width: 130},
|
|
|
+ {label: '状态', prop: 'status', resizable: true, width: 130},
|
|
|
// {label: '设备生产商组织机构代码', prop: 'manufacturerId', width: 200, resizable: true},
|
|
|
// {label: '设备生产商名称', prop: 'manufacturerName', width: 160, resizable: true},
|
|
|
- {label: '设备生产日期', prop: 'productionDate', width: 160, resizable: true},
|
|
|
+ // {label: '设备生产日期', prop: 'productionDate', width: 160, resizable: true},
|
|
|
{label: '更新时间', prop: 'updateTime', sortable: 'custom', resizable: true, width: 180},
|
|
|
/*{
|
|
|
label: '操作', prop: 'action', width: 1, align: 'center', fixed: 'right',
|
|
|
@@ -237,7 +239,7 @@ const loadData = (refresh: boolean = false) => {
|
|
|
state.pageQuery.pageNum = 1;
|
|
|
}
|
|
|
state.tableData.loading = true;
|
|
|
- $get(`/equipment/listEquipment`, {...state.formQuery, ...state.pageQuery}).then((res: any) => {
|
|
|
+ $get(`/connector/listConnectors`, {...state.formQuery, ...state.pageQuery}).then((res: any) => {
|
|
|
let {list, total} = res;
|
|
|
state.tableData.data = list;
|
|
|
state.pageQuery.total = total;
|