diff --git a/src/api/management/index.js b/src/api/management/index.js new file mode 100644 index 0000000..7adb483 --- /dev/null +++ b/src/api/management/index.js @@ -0,0 +1,112 @@ +import request from '@/utils/request' + +// 获取字典类型列表 +export function getDictionaryList(dictType) { + return request({ + url: `/system/dict/data/type/${dictType}`, + method: 'get' + }) +} + +// 巡查项目管理-查询堤防巡视检查列表 +export function postEmbankmentInspectionChecklist(data) { + return request({ + url: '/run/df/checking/list', + method: 'post', + data + }) +} + +// 巡查项目管理-堤防巡视检查详情 +export function getEmbankmentInspectionCheck(id) { + return request({ + url: `/run/df/checking/${id}`, + method: 'get', + }) +} + +// 巡查项目管理-新增堤防巡视检查 +export function postEmbankmentInspection(data) { + return request({ + url: '/run/df/checking', + method: 'post', + data + }) +} + +// 巡查项目管理-修改堤防巡视检查 +export function putEmbankmentInspection(data) { + return request({ + url: '/run/df/checking', + method: 'put', + data + }) +} + +// 巡查项目管理-删除堤防巡视检查 +export function deleteEmbankmentInspection(id) { + return request({ + url: `/run/df/checking/${id}`, + method: 'delete', + }) +} + +// 巡查计划管理-查询堤防巡视检查列表 +export function postInspectionPlanlist(data) { + return request({ + url: '/run/df/plan/list', + method: 'post', + data + }) +} + +// 巡查计划管理-堤防巡视检查详情 +export function getInspectionPlan(id) { + return request({ + url: `/run/df/plan/${id}`, + method: 'get', + }) +} + +// 巡查计划管理-新增堤防巡视检查 +export function postInspectionPlan(data) { + return request({ + url: '/run/df/plan', + method: 'post', + data + }) +} + +// 巡查计划管理-修改堤防巡视检查 +export function putInspectionPlan(data) { + return request({ + url: '/run/df/plan', + method: 'put', + data + }) +} + +// 巡查计划管理-删除堤防巡视检查 +export function deleteInspectionPlan(id) { + return request({ + url: `/run/df/plan/${id}`, + method: 'delete', + }) +} + +// 巡查计划管理-获取人员信息 +export function getPersonnelInformation(id) { + return request({ + url: `/system/user/${id}`, + method: 'get', + }) +} + +// 巡查计划管理-获取用户列表 +export function postUserList(data) { + return request({ + url: '/system/user/list', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 3ee28b4..376b535 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -10,7 +10,12 @@ - +
+ +
水库运行管理
+
水闸运行管理
+
堤防运行管理
+
- +
@@ -59,7 +61,7 @@ @@ -144,11 +152,9 @@ export default { \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionItems/Reservoir.vue b/src/views/runManage/engineering/inspectionItems/Reservoir.vue new file mode 100644 index 0000000..a1abe78 --- /dev/null +++ b/src/views/runManage/engineering/inspectionItems/Reservoir.vue @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionItems/Sluice.vue b/src/views/runManage/engineering/inspectionItems/Sluice.vue new file mode 100644 index 0000000..d4dd826 --- /dev/null +++ b/src/views/runManage/engineering/inspectionItems/Sluice.vue @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionItems/index.vue b/src/views/runManage/engineering/inspectionItems/index.vue new file mode 100644 index 0000000..6f95d08 --- /dev/null +++ b/src/views/runManage/engineering/inspectionItems/index.vue @@ -0,0 +1,29 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionPlan/Dike.vue b/src/views/runManage/engineering/inspectionPlan/Dike.vue new file mode 100644 index 0000000..ee06f07 --- /dev/null +++ b/src/views/runManage/engineering/inspectionPlan/Dike.vue @@ -0,0 +1,410 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionPlan/Reservoir.vue b/src/views/runManage/engineering/inspectionPlan/Reservoir.vue new file mode 100644 index 0000000..a1abe78 --- /dev/null +++ b/src/views/runManage/engineering/inspectionPlan/Reservoir.vue @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionPlan/Sluice.vue b/src/views/runManage/engineering/inspectionPlan/Sluice.vue new file mode 100644 index 0000000..d4dd826 --- /dev/null +++ b/src/views/runManage/engineering/inspectionPlan/Sluice.vue @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionPlan/index.vue b/src/views/runManage/engineering/inspectionPlan/index.vue new file mode 100644 index 0000000..773740a --- /dev/null +++ b/src/views/runManage/engineering/inspectionPlan/index.vue @@ -0,0 +1,29 @@ + + + + + + \ No newline at end of file diff --git a/src/views/runManage/engineering/inspectionRecords/index.vue b/src/views/runManage/engineering/inspectionRecords/index.vue new file mode 100644 index 0000000..db25110 --- /dev/null +++ b/src/views/runManage/engineering/inspectionRecords/index.vue @@ -0,0 +1,72 @@ + + + + + + \ No newline at end of file