diff --git a/package.json b/package.json
index 6e235b5..5e4a9ad 100644
--- a/package.json
+++ b/package.json
@@ -59,6 +59,7 @@
"js-beautify": "1.10.2",
"js-cookie": "2.2.0",
"jsencrypt": "^3.2.0",
+ "jspdf": "^2.5.1",
"jsplumb": "^2.15.6",
"less": "^4.1.1",
"less-loader": "^7.0.0",
diff --git a/src/api/management/sluice.js b/src/api/management/sluice.js
index 753e085..fe6f019 100644
--- a/src/api/management/sluice.js
+++ b/src/api/management/sluice.js
@@ -1,6 +1,44 @@
// 水闸相关接口
import request from '@/utils/request'
+// 水闸动态监测列表
+export function postSZDevice(data) {
+ return request({
+ url: '/run/sz/device',
+ method: 'post',
+ data
+ })
+}
+// 水闸动态监测列表
+export function postSZDeviceList(data) {
+ return request({
+ url: '/run/sz/device/list',
+ method: 'post',
+ data
+ })
+}
+// 查询水闸动态检测设备详情
+export function getSZDevice(id) {
+ return request({
+ url: `/run/sz/device/${id}`,
+ method: 'get'
+ })
+}
+// 查询水闸动态检测设备详情
+export function delSZDevice(id) {
+ return request({
+ url: `/run/sz/device/${id}`,
+ method: 'delete'
+ })
+}
+// 修改水闸动态检测设备
+export function putSZDevice(data) {
+ return request({
+ url: `/run/sz/device/`,
+ method: 'put',
+ data
+ })
+}
// 巡查项目管理-巡视检查列表
export function postSZInspectionProjectList(data) {
return request({
diff --git a/src/api/sluice/index.js b/src/api/sluice/index.js
index 5935e71..0baa8dd 100644
--- a/src/api/sluice/index.js
+++ b/src/api/sluice/index.js
@@ -9,6 +9,22 @@ export function getRunProjectList(data) {
data
})
}
+// 水闸动态检测设备记录
+export function getRunSzDeviceRecord(data) {
+ return request({
+ url: `/run/sz/device/record`,
+ method: 'post',
+ data
+ })
+}
+// 查询水闸动态检测设备记录列表
+export function getRunSzDeviceRecordList(data) {
+ return request({
+ url: `/run/sz/device/record/list`,
+ method: 'post',
+ data
+ })
+}
// 获取维修养护工程列表
export function getSluiceYhProjectList(data) {
@@ -274,11 +290,11 @@ export function updateSuperviseWayItemData(data){
}
// 督检查办法-获取启用中的督检查办法
-export function getEnableSuperviseWayData(data){
+export function getEnableSuperviseWayData(params){
return request({
url: `/run/sz/superviseWay/enable`,
method: 'get',
- data
+ params
})
}
@@ -324,3 +340,46 @@ export function putSuperviseWayTaskDetailsData(data){
data
})
}
+
+// 监督检查-新增工程问题上报
+export function addSuperviseEngineeringReportData(data){
+ return request({
+ url: `/run/sz/superviseEngineering/add`,
+ method: 'post',
+ data
+ })
+}
+
+// 监督检查-工程详情
+export function getSuperviseEngineeringReportDetailsData(id){
+ return request({
+ url: `/run/sz/superviseEngineering/detail/${id}`,
+ method: 'get'
+ })
+}
+
+// 监督检查-工程问题列表
+export function getSuperviseEngineeringProblemListData(data){
+ return request({
+ url: `/run/sz/superviseEngineering/list`,
+ method: 'post',
+ data
+ })
+}
+
+// 监督检查-工程问题详情
+export function getSuperviseEngineeringProblemDetailsData(id){
+ return request({
+ url: `/run/sz/superviseEngineering/problemDetail/${id}`,
+ method: 'get'
+ })
+}
+
+// 监督检查-工程问题问题处理和状态修改
+export function updateSuperviseEngineeringProblemStatusAndData(data){
+ return request({
+ url: `/run/sz/superviseEngineering/updateStatus`,
+ method: 'put',
+ data
+ })
+}
diff --git a/src/assets/styles/flex.scss b/src/assets/styles/flex.scss
index 78c7f88..ef2bfe9 100644
--- a/src/assets/styles/flex.scss
+++ b/src/assets/styles/flex.scss
@@ -1,6 +1,12 @@
.flex {
display: flex;
}
+.flex-3{
+ flex: 3;
+}
+.flex-2{
+ flex: 2;
+}
.flex-1{
flex: 1;
}
diff --git a/src/views/dike/runManage/maintenance/maintenancePlan/index.vue b/src/views/dike/runManage/maintenance/maintenancePlan/index.vue
index 63fbe7d..9fba6c5 100644
--- a/src/views/dike/runManage/maintenance/maintenancePlan/index.vue
+++ b/src/views/dike/runManage/maintenance/maintenancePlan/index.vue
@@ -124,6 +124,11 @@ export default {
this.$message.success("删除成功");
});
},
+ addPlan() {
+ this.ruleForm.dikeCode = this.$route.query.dikeCode;
+ this.dialogVisible = true;
+
+ },
// 查看或编辑计划详情
viewOrEditPlanDetails(row, edit = false) {
if (!edit) {
@@ -302,7 +307,7 @@ export default {
class="search-btn"
style="margin-right: 16px; margin-bottom: 8px; float: right"
type="success"
- @click="dialogVisible = true"
+ @click="addPlan"
>添加
diff --git a/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue b/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue
index 2349b2f..355bf51 100644
--- a/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue
+++ b/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue
@@ -212,6 +212,7 @@ export default {
timeView: {
timeField: "create_time",
},
+ dikeCode: this.$route.query.dikeCode,
},
cv: {
name: "name",
diff --git a/src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue b/src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue
index cc943f7..d15fbfd 100644
--- a/src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue
+++ b/src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue
@@ -319,6 +319,7 @@ export default {
timeView: {
timeField: "create_time",
},
+ dikeCode: this.$route.query.dikeCode,
},
cv: {
name: "name",
diff --git a/src/views/dike/runManage/pestAnimalControl/planManagement/index.vue b/src/views/dike/runManage/pestAnimalControl/planManagement/index.vue
index 93ab42d..95037b4 100644
--- a/src/views/dike/runManage/pestAnimalControl/planManagement/index.vue
+++ b/src/views/dike/runManage/pestAnimalControl/planManagement/index.vue
@@ -131,6 +131,7 @@ export default {
},
// 打开新增弹窗
openAddDialog() {
+ this.ruleForm.dikeCode = this.$route.query.dikeCode;
// 获取字典数据
this.getDicts("xc_w_month").then((res) => {
this.workMonth = res.data;
diff --git a/src/views/sluice/runManage/dispatch/index.vue b/src/views/sluice/runManage/dispatch/index.vue
new file mode 100644
index 0000000..7bf6148
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/views/sluice/runManage/dispatch/plan/components/edit.vue b/src/views/sluice/runManage/dispatch/plan/components/edit.vue
new file mode 100644
index 0000000..14b5c15
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/plan/components/edit.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+ 只能上传doc/docx/pdf/png/JPG文件,且不能超过50m
+
+
+
+
+
+
+ 点击上传
+ 只能上传pdf/png/JPG文件,且不能超过50m
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/dispatch/plan/index.vue b/src/views/sluice/runManage/dispatch/plan/index.vue
new file mode 100644
index 0000000..1aceffe
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/plan/index.vue
@@ -0,0 +1,317 @@
+
+
+
+
+
+
水闸操作记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/dispatch/record/components/edit.vue b/src/views/sluice/runManage/dispatch/record/components/edit.vue
new file mode 100644
index 0000000..dd657b2
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/record/components/edit.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/dispatch/record/index.vue b/src/views/sluice/runManage/dispatch/record/index.vue
new file mode 100644
index 0000000..4472f97
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/record/index.vue
@@ -0,0 +1,293 @@
+
+
+
+
+
+
水闸操作记录
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/dispatch/utilize/index.vue b/src/views/sluice/runManage/dispatch/utilize/index.vue
new file mode 100644
index 0000000..3f24cae
--- /dev/null
+++ b/src/views/sluice/runManage/dispatch/utilize/index.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
基础信息管理
+
+
+ 水闸名称:
+
+ 巡查类型:
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 计划管理
+ 巡查记录
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/maintenance/maintenancePlan/index.vue b/src/views/sluice/runManage/maintenance/maintenancePlan/index.vue
index ed15388..29e11cc 100644
--- a/src/views/sluice/runManage/maintenance/maintenancePlan/index.vue
+++ b/src/views/sluice/runManage/maintenance/maintenancePlan/index.vue
@@ -103,6 +103,11 @@ export default {
},
});
},
+ addPlan() {
+ this.ruleForm.wagaCode = this.$route.query.wagaCode;
+ this.dialogVisible = true;
+
+ },
// 保存维修计划
submitForm(formName) {
this.$refs[formName].validate((valid) => {
@@ -250,7 +255,7 @@ export default {
class="search-btn"
style="margin-right: 16px; margin-bottom: 8px; float: right"
type="success"
- @click="dialogVisible = true"
+ @click="addPlan"
>添加
diff --git a/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue b/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue
index faf2c18..1e6fd02 100644
--- a/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue
+++ b/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue
@@ -202,6 +202,7 @@ export default {
getSluiceYhPlanList({
data: {
name: value || null,
+ wagaCode: this.$route.query.wagaCode,
},
cv: {
name: "name",
diff --git a/src/views/sluice/runManage/monitoring/index.vue b/src/views/sluice/runManage/monitoring/index.vue
new file mode 100644
index 0000000..7bf6148
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/views/sluice/runManage/monitoring/sluice/index.vue b/src/views/sluice/runManage/monitoring/sluice/index.vue
new file mode 100644
index 0000000..d8e0b5d
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/sluice/index.vue
@@ -0,0 +1,258 @@
+
+
+
+
+
+
基础信息管理
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.waterAdministrativeDepartment | filterSluice }}
+
+
+
+
+ {{ scope.row.adcd | filterAdcd }}
+
+
+
+
+
+
+ 动态监测管理
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/monitoring/sluice/manage/components/edit.vue b/src/views/sluice/runManage/monitoring/sluice/manage/components/edit.vue
new file mode 100644
index 0000000..1fe7d59
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/sluice/manage/components/edit.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/monitoring/sluice/manage/index.vue b/src/views/sluice/runManage/monitoring/sluice/manage/index.vue
new file mode 100644
index 0000000..e5c3413
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/sluice/manage/index.vue
@@ -0,0 +1,367 @@
+
+
+
+
+
+
水闸动态监测管理
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+ 新增
+
+
+
+
+
+
+
+
+ {{ scope.row.type | filterdeviceType }}
+
+
+
+
+ {{ scope.row.warningType | filterwarnningType }}
+
+
+
+
+ {{ scope.row.warningLevel | filterwarnningLevel }}
+
+
+
+
+
+
+
+ 查看
+
+
+ 编辑
+
+
+ 历史记录
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/monitoring/sluice/record/components/edit.vue b/src/views/sluice/runManage/monitoring/sluice/record/components/edit.vue
new file mode 100644
index 0000000..dd657b2
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/sluice/record/components/edit.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/monitoring/sluice/record/index.vue b/src/views/sluice/runManage/monitoring/sluice/record/index.vue
new file mode 100644
index 0000000..9137494
--- /dev/null
+++ b/src/views/sluice/runManage/monitoring/sluice/record/index.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
水闸动态监测历史记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+ {{ scope.row.warningType | filterwarnningType }}
+
+
+
+
+ {{ scope.row.warningLevel | filterwarnningLevel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sluice/runManage/supervisionInspetion/projectManage/index.vue b/src/views/sluice/runManage/supervisionInspetion/projectManage/index.vue
index cac0a01..14a748b 100644
--- a/src/views/sluice/runManage/supervisionInspetion/projectManage/index.vue
+++ b/src/views/sluice/runManage/supervisionInspetion/projectManage/index.vue
@@ -43,6 +43,7 @@ export default {
path: "supervisionProjectReport",
query: {
type: "preview",
+ wayId: row.wayId,
id: row.id,
},
});
@@ -53,6 +54,17 @@ export default {
path: "supervisionProjectReport",
query: {
type: "edit",
+ wayId: row.wayId,
+ id: row.id,
+ },
+ });
+ },
+ // 跳转报告页面
+ handleCheckReport(row) {
+ this.$router.push({
+ path: "supervisionProjectReportPage",
+ query: {
+ wayId: row.wayId,
id: row.id,
},
});
@@ -90,7 +102,9 @@ export default {
}).then((res) => {
if (res) {
this.tableData = res.records.map((item) => {
- item.deadTime = this.calcDeadLine(item.doneTime);
+ if (item.state != "1") {
+ item.deadTime = this.calcDeadLine(item.doneTime);
+ }
return item;
});
this.pageData.total = res.total;
@@ -170,9 +184,20 @@ export default {
查看
- 巡查
+ 报告
diff --git a/src/views/sluice/runManage/supervisionInspetion/projectManage/projectReport.vue b/src/views/sluice/runManage/supervisionInspetion/projectManage/projectReport.vue
index f0441ff..7904d10 100644
--- a/src/views/sluice/runManage/supervisionInspetion/projectManage/projectReport.vue
+++ b/src/views/sluice/runManage/supervisionInspetion/projectManage/projectReport.vue
@@ -1,22 +1,39 @@
+
diff --git a/src/views/sluice/runManage/supervisionInspetion/questionManage/index.vue b/src/views/sluice/runManage/supervisionInspetion/questionManage/index.vue
index 3df60ec..8eef244 100644
--- a/src/views/sluice/runManage/supervisionInspetion/questionManage/index.vue
+++ b/src/views/sluice/runManage/supervisionInspetion/questionManage/index.vue
@@ -1,20 +1,28 @@
-
+
@@ -374,70 +268,88 @@ export default {
基础信息管理
-
-
-
- 任务名称:
-
- 管理单位:
-
- 工程对象:
-
-
-
- 检查项目:
-
- 问题等级:
-
- 操作状态:
-
-
-
展开
-
-
搜索
-
-
+ 任务名称:
+
+ 管理单位:
+
+ 工程对象:
+
+ 搜索
+ 重置
+
+
-
-
-
-
-
-
-
+
+ {{ formatAdcd(row.adcd) }}
+
+
+
+
+
- 查看
- {{ levelMap[scope.row.level] }}
+
+
+
+
+ 查看
+ 下发
+ 处理
+ 确认
+ 完成
@@ -449,314 +361,71 @@ export default {
:page-sizes="pageData.pageSizes"
layout="total, prev, pager, next, sizes, jumper"
:total="pageData.total"
- @size-change="getTableData()"
+ @size-change="(e) => handlePageSizeChange(e)"
+ @current-change="(e) => handleCurrentPageChange(e)"
>
-
+
+
-
-
-
-
-
-
-
- 详情
- 打开地图
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ :rows="4"
+ placeholder="请输入问题描述"
+ v-model="dealForm.handleRecord"
+ >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加
-
- 删除
-
-
-
-
-
-
-
- /次
-
-
-
-
-
- /日期
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 星期一
- 星期二
- 星期三
- 星期四
- 星期五
- 星期六
- 星期日
-
-
-
-
- 每月号
-
-
-
-
-
+
+
+ 图片加载失败
+
+
+
-
+
+ 上传
+
+
+
+ 取消
+ 提交
+
-
@@ -791,12 +460,6 @@ export default {
height: calc(680px - 34px);
}
}
-
- .filter-list {
- transition: all 0.5s;
- height: 40px;
- overflow: hidden;
- }
.search-input {
width: 202px;
margin-right: 10px;
@@ -804,23 +467,10 @@ export default {
.search-btn {
margin-left: 10px;
- background-color: #37b29e;
- border: none;
-
- &:hover {
- background-color: #5ac6b9;
- }
-
- &:active {
- background-color: #2b8070;
- }
}
-}
-/deep/.el-input__count {
- height: 15px;
- line-height: 15px;
- margin-right: 10px;
- margin-bottom: -4px;
+ .warning-time {
+ color: red;
+ }
}
diff --git a/src/views/sluice/runManage/supervisionInspetion/tasksManage/tasksDetails.vue b/src/views/sluice/runManage/supervisionInspetion/tasksManage/tasksDetails.vue
index 3c9568b..930a424 100644
--- a/src/views/sluice/runManage/supervisionInspetion/tasksManage/tasksDetails.vue
+++ b/src/views/sluice/runManage/supervisionInspetion/tasksManage/tasksDetails.vue
@@ -1,13 +1,7 @@