@@ -326,14 +245,14 @@
{ label: '雨量', value: 'rainfall' },
{ label: '管网', value: 'pipeline' },
{ label: '内涝点', value: 'waterlogging' },
- { label: '排口', value: 'drain_outlet' },
+ // { label: '排口', value: 'drain_outlet' },
{ label: '河道', value: 'river' },
]);
const { queryParams, form, rules, dialogFormDetail } = toRefs(data);
/** 查询站点和摄像头关联列表 */
-function getList () {
+function getList() {
loading.value = true;
pagesiteCameraRelation(queryParams.value).then(response => {
siteCameraRelationList.value = response.data;
@@ -343,7 +262,7 @@
}
// 获得所有人的接口
-function getallpeople () {
+function getallpeople() {
let params = {
pageNum: 1,
pageSize: 9999,
@@ -354,13 +273,13 @@
}
// 获取所有摄像头的接口
-function Getallvideo () {
+function Getallvideo() {
cameraInfolist().then(res => {
cameraList.value = res.data;
});
}
-function peoplechange (value) {
+function peoplechange(value) {
var obj = allpeople.value.filter(item => {
return item.userId == value;
})[0];
@@ -368,7 +287,7 @@
form.value.dutyUserPhone = obj.phonenumber;
}
-function indexCodechange (value) {
+function indexCodechange(value) {
var obj = cameraList.value.filter(item => {
return item.id == value;
})[0];
@@ -381,7 +300,7 @@
// }
// 筛选站点编号
-function stationTypechange () {
+function stationTypechange() {
stCodeList.value = [];
// console.log(form, 'form');
// console.log(form.value.monitorTargetType, 'form.value.monitorTargetType');
@@ -409,7 +328,7 @@
// });
}
-async function rtuSiteInfolistM (value) {
+async function rtuSiteInfolistM(value) {
// var obj = stationList.value.filter(item => { return item.id == value })[0]
let { data } = await rtuSiteInfolist();
stationList.value = data;
@@ -417,7 +336,7 @@
console.log(stationList.value, 'stationList.value');
}
// 切换站点点位
-function stationchange (params) {
+function stationchange(params) {
stationList.value.forEach(element => {
if (element.stCode == params) {
form.value.stName = element.stName;
@@ -427,14 +346,14 @@
}
// 取消按钮
-function cancel () {
+function cancel() {
open.value = false;
detailOpen.value = false;
reset();
}
// 表单重置
-function reset () {
+function reset() {
form.value = {
id: null,
type: null,
@@ -459,26 +378,26 @@
}
/** 搜索按钮操作 */
-function handleQuery () {
+function handleQuery() {
queryParams.value.pageNum = 1;
getList();
}
/** 重置按钮操作 */
-function resetQuery () {
+function resetQuery() {
proxy.resetForm('queryRef');
handleQuery();
}
// 多选框选中数据
-function handleSelectionChange (selection) {
+function handleSelectionChange(selection) {
ids.value = selection.map(item => item.id);
single.value = selection.length != 1;
multiple.value = !selection.length;
}
/** 新增按钮操作 */
-function handleAdd () {
+function handleAdd() {
reset();
open.value = true;
title.value = '添加站点和摄像头关联';
@@ -487,7 +406,7 @@
}
/** 修改按钮操作 */
-function handleUpdate (row) {
+function handleUpdate(row) {
reset();
// open.value = true;
// title.value = '修改站点和摄像头关联';
@@ -514,7 +433,7 @@
}
/** 提交按钮 */
-function submitForm () {
+function submitForm() {
console.log(form.value, 'form.value');
proxy.$refs['siteCameraRelationRef'].validate(valid => {
if (valid) {
@@ -536,7 +455,7 @@
}
/** 删除按钮操作 */
-function handleDelete (row) {
+function handleDelete(row) {
const _ids = row.id || ids.value;
proxy.$modal
.confirm('是否确认删除站点和摄像头关联编号为"' + _ids + '"的数据项?')
@@ -547,10 +466,10 @@
getList();
proxy.$modal.msgSuccess('删除成功');
})
- .catch(() => { });
+ .catch(() => {});
}
//查看详情操作
-function handleDetail (row) {
+function handleDetail(row) {
detailOpen.value = true;
dialogFormDetail.value = row;
}
diff --git a/src/views/gisMapPage/LegendDataMain.js b/src/views/gisMapPage/LegendDataMain.js
index 4b66667..f3e3f98 100644
--- a/src/views/gisMapPage/LegendDataMain.js
+++ b/src/views/gisMapPage/LegendDataMain.js
@@ -161,15 +161,15 @@
type: 'point',
data: pipeSupervise,
},
- {
- isCheck: false,
- name: '排口监测',
- layername: 'PKsupervise',
- url: 'YQGXMX s.png', //图层+json √
- mapUrl: 'YQGXMX.png',
- type: 'point',
- data: PKsupervise,
- },
+ // {
+ // isCheck: false,
+ // name: '排口监测',
+ // layername: 'PKsupervise',
+ // url: 'YQGXMX s.png', //图层+json √
+ // mapUrl: 'YQGXMX.png',
+ // type: 'point',
+ // data: PKsupervise,
+ // },
{
isCheck: false,
name: '内涝积水点',
diff --git a/src/views/gisMapPage/commonLegend.js b/src/views/gisMapPage/commonLegend.js
index cdd271b..71a615a 100644
--- a/src/views/gisMapPage/commonLegend.js
+++ b/src/views/gisMapPage/commonLegend.js
@@ -267,15 +267,15 @@
url: 'natureWaters.png',
type: 'dynamicWater',
},
- {
- isCheck: false,
- name: '溢流口',
- layername: 'drainOutlet', //图层+json √
- url: 'DFHZ1.png',
- mapUrl: 'DFHZ2.png',
- type: 'point',
- data: drainOutlet,
- },
+ // {
+ // isCheck: false,
+ // name: '溢流口',
+ // layername: 'drainOutlet', //图层+json √
+ // url: 'DFHZ1.png',
+ // mapUrl: 'DFHZ2.png',
+ // type: 'point',
+ // data: drainOutlet,
+ // },
],
},
{
@@ -318,15 +318,15 @@
type: 'point',
data: pipeSupervise,
},
- {
- isCheck: false,
- name: '排口',
- layername: 'PKsupervise',
- url: 'YQGXMX s.png', //图层+json √
- mapUrl: 'YQGXMX.png',
- type: 'point',
- data: PKsupervise,
- },
+ // {
+ // isCheck: false,
+ // name: '排口',
+ // layername: 'PKsupervise',
+ // url: 'YQGXMX s.png', //图层+json √
+ // mapUrl: 'YQGXMX.png',
+ // type: 'point',
+ // data: PKsupervise,
+ // },
{
isCheck: false,
name: '内涝积水点',
diff --git a/src/views/floodSys/floodOneMap/tabRightPS.vue b/src/views/floodSys/floodOneMap/tabRightPS.vue
index b31ad83..7dd3e01 100644
--- a/src/views/floodSys/floodOneMap/tabRightPS.vue
+++ b/src/views/floodSys/floodOneMap/tabRightPS.vue
@@ -79,7 +79,7 @@
{{ allData.jcjObj.total.count }} 个