添加辽宁周期检测功能
This commit is contained in:
30
src/main.ts
30
src/main.ts
@@ -37,21 +37,21 @@ const setupAll = async () => {
|
|||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
//开启离线地图
|
//开启离线地图
|
||||||
// app.use(BaiduMapOffline, {
|
app.use(BaiduMapOffline, {
|
||||||
// offline: true,
|
offline: true,
|
||||||
// offlineConfig: {
|
offlineConfig: {
|
||||||
// imgext: '.png',
|
imgext: '.png',
|
||||||
// customstyle: '',
|
customstyle: '',
|
||||||
// tiles_dir: '',
|
tiles_dir: '',
|
||||||
// tiles_hybrid: '',
|
tiles_hybrid: '',
|
||||||
// tiles_self: '',
|
tiles_self: '',
|
||||||
// tiles_v_dir: '',
|
tiles_v_dir: '',
|
||||||
// tiles_satellite_dir: '',
|
tiles_satellite_dir: '',
|
||||||
// tiles_road_dir: '',
|
tiles_road_dir: '',
|
||||||
// tiles_v_road_dir: '',
|
tiles_v_road_dir: '',
|
||||||
// home: './plugin/offline/'
|
home: './plugin/offline/'
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
app.use(BaiduMap, {
|
app.use(BaiduMap, {
|
||||||
// ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
|
// ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
|
||||||
ak: 'RpQi6WNFZ9tseKzhdwOQsXwFsoVntnsN',
|
ak: 'RpQi6WNFZ9tseKzhdwOQsXwFsoVntnsN',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="default-main">
|
<div class="default-main">
|
||||||
<TableHeader ref="TableHeaderRef">
|
<TableHeader ref="TableHeaderRef" showExport>
|
||||||
<template #select>
|
<template #select>
|
||||||
<el-form-item label="地市">
|
<el-form-item label="地市">
|
||||||
<el-select v-model="tableStore.table.params.city" clearable placeholder="请选择地市">
|
<el-select v-model="tableStore.table.params.city" clearable placeholder="请选择地市">
|
||||||
@@ -12,21 +12,11 @@
|
|||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="变电站">
|
<el-form-item label="监测对象">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
placeholder="请输入变电站"
|
placeholder="请输入监测对象名称"
|
||||||
v-model="tableStore.table.params.substation"
|
v-model="tableStore.table.params.searchValue"
|
||||||
clearable
|
|
||||||
maxlength="32"
|
|
||||||
show-word-limit
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="终端名称">
|
|
||||||
<el-input
|
|
||||||
style="width: 200px"
|
|
||||||
placeholder="请输入终端名称"
|
|
||||||
v-model="tableStore.table.params.terminalName"
|
|
||||||
clearable
|
clearable
|
||||||
maxlength="32"
|
maxlength="32"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
@@ -37,7 +27,7 @@
|
|||||||
<!-- <el-button icon="el-icon-Plus" type="primary" @click="addFormModel">新增定检记录</el-button>-->
|
<!-- <el-button icon="el-icon-Plus" type="primary" @click="addFormModel">新增定检记录</el-button>-->
|
||||||
</template>
|
</template>
|
||||||
</TableHeader>
|
</TableHeader>
|
||||||
<Table ref="tableRef" @cell-click="cellClickEvent" />
|
<Table ref="tableRef" @cell-click="cellClickEvent" />
|
||||||
|
|
||||||
<checkForm ref="checkFormRef" @onSubmit="tableStore.index()" />
|
<checkForm ref="checkFormRef" @onSubmit="tableStore.index()" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ const tableStore = new TableStore({
|
|||||||
},
|
},
|
||||||
{ field: 'city', title: '所在地市', minWidth: 100 },
|
{ field: 'city', title: '所在地市', minWidth: 100 },
|
||||||
/* { field: 'substation', title: '厂站名称', minWidth: 100 },*/
|
/* { field: 'substation', title: '厂站名称', minWidth: 100 },*/
|
||||||
{ field: 'projectName', title: '项目名称', minWidth: 150 },
|
{ field: 'projectName', title: '监测对象名称', minWidth: 150 },
|
||||||
{
|
{
|
||||||
field: 'userType',
|
field: 'userType',
|
||||||
title: '用户性质',
|
title: '用户性质',
|
||||||
@@ -104,7 +104,7 @@ const tableStore = new TableStore({
|
|||||||
|
|
||||||
// { field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 },
|
// { field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 },
|
||||||
{ field: 'ratePower', title: '装机容量(MW)', minWidth: 80 },
|
{ field: 'ratePower', title: '装机容量(MW)', minWidth: 80 },
|
||||||
{ field: 'stationId', title: '所属电站', minWidth: 150 },
|
{ field: 'stationId', title: '并网电站', minWidth: 150 },
|
||||||
{
|
{
|
||||||
field: 'checkUrl',
|
field: 'checkUrl',
|
||||||
title: '电能质量设备检测报告',
|
title: '电能质量设备检测报告',
|
||||||
@@ -244,7 +244,7 @@ const addFormModel = () => {
|
|||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
addForms.value.open({
|
addForms.value.open({
|
||||||
title: '用户档案录入'
|
title: '新能源场站档案录入'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user