diff --git a/src/api/yg/jbxx.js b/src/api/yg/jbxx.js index 4bf6c5a..945cd00 100644 --- a/src/api/yg/jbxx.js +++ b/src/api/yg/jbxx.js @@ -9,6 +9,15 @@ export function listJbxx(query) { }) } +// 审核页面获取数据 +export function listByStatus(query) { + return request({ + url: '/yg/jbxx/listByStatus', + method: 'post', + data: query + }) +} + // 查询水闸安全管理基本信息详细 export function getJbxx(id) { return request({ diff --git a/src/views/safetyManage/declarationManage/sluice/declare/components/listPage/options/managementSystemFzr.vue b/src/views/safetyManage/declarationManage/sluice/declare/components/listPage/options/managementSystemFzr.vue index ea18a09..9cdac69 100644 --- a/src/views/safetyManage/declarationManage/sluice/declare/components/listPage/options/managementSystemFzr.vue +++ b/src/views/safetyManage/declarationManage/sluice/declare/components/listPage/options/managementSystemFzr.vue @@ -232,6 +232,7 @@ export default { owerDept: null, relation: null, type: null, + // status: "6", }, // 排序方式 params: { @@ -326,7 +327,7 @@ export default { owerDept: null, remark: null, relation: null, - type: "0", + type: null, }; this.resetForm("form"); }, @@ -354,7 +355,8 @@ export default { owerDept: null, remark: null, relation: null, - type: "0", + type: null, + // status: "6", }, params: { // 按哪个字段排序 diff --git a/src/views/safetyManage/floodControlManagement/sluice/power.vue b/src/views/safetyManage/floodControlManagement/sluice/power.vue index d43d8e8..11d2e7f 100644 --- a/src/views/safetyManage/floodControlManagement/sluice/power.vue +++ b/src/views/safetyManage/floodControlManagement/sluice/power.vue @@ -323,7 +323,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { this.wagaNameOptions = res.records; }); this.getDicts("type_of_power").then((response) => { diff --git a/src/views/safetyManage/floodControlManagement/sluice/preplan.vue b/src/views/safetyManage/floodControlManagement/sluice/preplan.vue index 118da48..a0d9d47 100644 --- a/src/views/safetyManage/floodControlManagement/sluice/preplan.vue +++ b/src/views/safetyManage/floodControlManagement/sluice/preplan.vue @@ -377,7 +377,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; }); diff --git a/src/views/safetyManage/floodControlManagement/sluice/supplies.vue b/src/views/safetyManage/floodControlManagement/sluice/supplies.vue index 32f17fd..b1b5c88 100644 --- a/src/views/safetyManage/floodControlManagement/sluice/supplies.vue +++ b/src/views/safetyManage/floodControlManagement/sluice/supplies.vue @@ -417,7 +417,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; }); diff --git a/src/views/safetyManage/floodControlManagement/sluice/tissue.vue b/src/views/safetyManage/floodControlManagement/sluice/tissue.vue index 8ec7916..da7b0ca 100644 --- a/src/views/safetyManage/floodControlManagement/sluice/tissue.vue +++ b/src/views/safetyManage/floodControlManagement/sluice/tissue.vue @@ -450,7 +450,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; }); diff --git a/src/views/safetyManage/responsiblePersonManage/sluice/index.vue b/src/views/safetyManage/responsiblePersonManage/sluice/index.vue index 99246b6..b8de774 100644 --- a/src/views/safetyManage/responsiblePersonManage/sluice/index.vue +++ b/src/views/safetyManage/responsiblePersonManage/sluice/index.vue @@ -419,7 +419,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; }); diff --git a/src/views/safetyManage/safeProduction/sluice/index.vue b/src/views/safetyManage/safeProduction/sluice/index.vue index 290bc9e..c09e025 100644 --- a/src/views/safetyManage/safeProduction/sluice/index.vue +++ b/src/views/safetyManage/safeProduction/sluice/index.vue @@ -421,7 +421,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { this.wagaNameOptions = res.records; }); this.getDicts("type_of_inspection").then((response) => { diff --git a/src/views/safetyManage/safetyAppraisal/sluice/list.vue b/src/views/safetyManage/safetyAppraisal/sluice/list.vue index 82a200c..75d09ea 100644 --- a/src/views/safetyManage/safetyAppraisal/sluice/list.vue +++ b/src/views/safetyManage/safetyAppraisal/sluice/list.vue @@ -335,7 +335,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; }); diff --git a/src/views/safetyManage/safetyAppraisal/sluice/task.vue b/src/views/safetyManage/safetyAppraisal/sluice/task.vue index a18a3e3..3567b3d 100644 --- a/src/views/safetyManage/safetyAppraisal/sluice/task.vue +++ b/src/views/safetyManage/safetyAppraisal/sluice/task.vue @@ -399,7 +399,7 @@ export default { }, created() { this.getList(); - listJbxx({}).then((res) => { + listJbxx({ data: {} }).then((res) => { // console.log(111, res); this.wagaNameOptions = res.records; });