diff --git a/src/api/longoPeration/Inspectionplana.js b/src/api/longoPeration/Inspectionplana.js index 934f156..0d63d49 100644 --- a/src/api/longoPeration/Inspectionplana.js +++ b/src/api/longoPeration/Inspectionplana.js @@ -8,15 +8,13 @@ }); } -// 列表 -export function FloodPreventionMaterialList(query) { +// 激活 +export function activation(ids) { return request({ - url: '/business/floodPreventionMaterial/list', - method: 'get', - params: query, + url: '/business/patrolPlan/activation/' + ids, + method: 'put', }); } - // 新增 export function patrolPlanadd(data) { return request({ @@ -25,20 +23,19 @@ data: data, }); } - -// 修改排水防涝--防汛物资 -export function FloodPreventionMaterialedit(data) { +// 修改 +export function patrolPlanedit(data) { return request({ - url: '/business/floodPreventionMaterial/edit', + url: '/business/patrolPlan/edit', method: 'put', data: data, }); } -// 删除排水防涝--防汛物资 -export function FloodPreventionMaterialdelete(id) { +// 删除 +export function patrolPlandelete(ids) { return request({ - url: '/business/floodPreventionMaterial/' + id, + url: '/business/patrolPlan/' + ids, method: 'delete', }); } diff --git a/src/api/longoPeration/Inspectionplana.js b/src/api/longoPeration/Inspectionplana.js index 934f156..0d63d49 100644 --- a/src/api/longoPeration/Inspectionplana.js +++ b/src/api/longoPeration/Inspectionplana.js @@ -8,15 +8,13 @@ }); } -// 列表 -export function FloodPreventionMaterialList(query) { +// 激活 +export function activation(ids) { return request({ - url: '/business/floodPreventionMaterial/list', - method: 'get', - params: query, + url: '/business/patrolPlan/activation/' + ids, + method: 'put', }); } - // 新增 export function patrolPlanadd(data) { return request({ @@ -25,20 +23,19 @@ data: data, }); } - -// 修改排水防涝--防汛物资 -export function FloodPreventionMaterialedit(data) { +// 修改 +export function patrolPlanedit(data) { return request({ - url: '/business/floodPreventionMaterial/edit', + url: '/business/patrolPlan/edit', method: 'put', data: data, }); } -// 删除排水防涝--防汛物资 -export function FloodPreventionMaterialdelete(id) { +// 删除 +export function patrolPlandelete(ids) { return request({ - url: '/business/floodPreventionMaterial/' + id, + url: '/business/patrolPlan/' + ids, method: 'delete', }); } diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 962ce20..21db720 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -57,8 +57,12 @@ 查看 - 发布整改通知 - 提交整改回复单 + 发布整改通知 + 提交整改回复单 @@ -262,7 +266,7 @@ rectifyType: [{ required: true, message: '请输入整改方式', trigger: 'blur' }], supervisionWork: [{ required: true, message: '请输入督办事项', trigger: 'blur' }], haveProblem: [{ required: true, message: '请输入存在问题', trigger: 'blur' }], - // fileListToNotice: [{ required: true, message: '请上传整改书', trigger: 'blur' }], + fileListToNotice: [{ required: true, message: '请上传整改书', trigger: 'blur' }], rectifyTime: [{ required: true, message: '请选择整改时限', trigger: 'blur' }], projectCompanyId: [{ required: true, message: '请选择建设单位', trigger: 'blur' }], leaderName: [{ required: true, message: '请输入责任领导', trigger: 'blur' }], @@ -298,8 +302,11 @@ }, ], }, + rulesOne: { + fileListToReply: [{ required: true, message: '请上传整改回复单', trigger: 'blur' }], + }, }); -const { queryParams, form, rules, formOne } = toRefs(AllData); +const { queryParams, form, rules, formOne, rulesOne } = toRefs(AllData); //搜索 function handleQuery() { diff --git a/src/api/longoPeration/Inspectionplana.js b/src/api/longoPeration/Inspectionplana.js index 934f156..0d63d49 100644 --- a/src/api/longoPeration/Inspectionplana.js +++ b/src/api/longoPeration/Inspectionplana.js @@ -8,15 +8,13 @@ }); } -// 列表 -export function FloodPreventionMaterialList(query) { +// 激活 +export function activation(ids) { return request({ - url: '/business/floodPreventionMaterial/list', - method: 'get', - params: query, + url: '/business/patrolPlan/activation/' + ids, + method: 'put', }); } - // 新增 export function patrolPlanadd(data) { return request({ @@ -25,20 +23,19 @@ data: data, }); } - -// 修改排水防涝--防汛物资 -export function FloodPreventionMaterialedit(data) { +// 修改 +export function patrolPlanedit(data) { return request({ - url: '/business/floodPreventionMaterial/edit', + url: '/business/patrolPlan/edit', method: 'put', data: data, }); } -// 删除排水防涝--防汛物资 -export function FloodPreventionMaterialdelete(id) { +// 删除 +export function patrolPlandelete(ids) { return request({ - url: '/business/floodPreventionMaterial/' + id, + url: '/business/patrolPlan/' + ids, method: 'delete', }); } diff --git a/src/views/longoPeration/CaseIssues.vue b/src/views/longoPeration/CaseIssues.vue index 962ce20..21db720 100644 --- a/src/views/longoPeration/CaseIssues.vue +++ b/src/views/longoPeration/CaseIssues.vue @@ -34,7 +34,7 @@ - + @@ -57,8 +57,12 @@ 查看 - 发布整改通知 - 提交整改回复单 + 发布整改通知 + 提交整改回复单 @@ -262,7 +266,7 @@ rectifyType: [{ required: true, message: '请输入整改方式', trigger: 'blur' }], supervisionWork: [{ required: true, message: '请输入督办事项', trigger: 'blur' }], haveProblem: [{ required: true, message: '请输入存在问题', trigger: 'blur' }], - // fileListToNotice: [{ required: true, message: '请上传整改书', trigger: 'blur' }], + fileListToNotice: [{ required: true, message: '请上传整改书', trigger: 'blur' }], rectifyTime: [{ required: true, message: '请选择整改时限', trigger: 'blur' }], projectCompanyId: [{ required: true, message: '请选择建设单位', trigger: 'blur' }], leaderName: [{ required: true, message: '请输入责任领导', trigger: 'blur' }], @@ -298,8 +302,11 @@ }, ], }, + rulesOne: { + fileListToReply: [{ required: true, message: '请上传整改回复单', trigger: 'blur' }], + }, }); -const { queryParams, form, rules, formOne } = toRefs(AllData); +const { queryParams, form, rules, formOne, rulesOne } = toRefs(AllData); //搜索 function handleQuery() { diff --git a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue index cc67429..41b65ac 100644 --- a/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue +++ b/src/views/longoPeration/Patrolmanagement/Inspectionplan.vue @@ -6,9 +6,9 @@ - - - + + + @@ -22,6 +22,7 @@ - - - + + + + + {{ scope.row.status == '0' ? '未激活' : scope.row.status == '1' ? '已激活' : '' }} + + + + + + {{ item.projectAbbreviation }} + + + + + {{ item.userName }} + + - - - - - - - - + + + + + + + + + - + 激活 详情 - + 修改 - + 删除 @@ -98,7 +119,7 @@ - + - + - + @@ -123,13 +144,7 @@ - + @@ -137,14 +152,14 @@ - + - + - + @@ -184,7 +199,7 @@ @@ -192,12 +207,7 @@
{{ item.projectAbbreviation }}
{{ item.userName }}