diff --git a/src/assets/js/api/specialWork.js b/src/assets/js/api/specialWork.js index 673b5e72..edaa09aa 100644 --- a/src/assets/js/api/specialWork.js +++ b/src/assets/js/api/specialWork.js @@ -42,4 +42,6 @@ export const getGroundSafetQueryByIdApi = data => get('xmgl/xzGroundSafet/queryB export const getGroundSafetdeleteApi = data => post('xmgl/xzGroundSafet/delete', data); //删除 // 断路作业 - +export const getOpenCircuitPageApi = data => get('xmgl/xzOpenCircuitSafe/page', data); //列表接口 +export const getOpenCircuitQueryByIdApi = data => get('xmgl/xzOpenCircuitSafe/queryById', data); //查看详情 +export const getOpenCircuitdeleteApi = data => post('xmgl/xzOpenCircuitSafe/delete', data); //删除 diff --git a/src/views/projectFront/specialWork/disconnectionWork.vue b/src/views/projectFront/specialWork/disconnectionWork.vue index 17157e55..33bb5b4f 100644 --- a/src/views/projectFront/specialWork/disconnectionWork.vue +++ b/src/views/projectFront/specialWork/disconnectionWork.vue @@ -3,6 +3,10 @@
@@ -271,10 +282,10 @@ import { } from "@/assets/js/api/dangerousBigProject" import { - getGroundSafetPageApi, + getOpenCircuitPageApi, getEnterpriseInfoListApi, - getGroundSafetQueryByIdApi, - getGroundSafetdeleteApi, + getOpenCircuitQueryByIdApi, + getOpenCircuitdeleteApi, } from "@/assets/js/api/specialWork" import { getCooperatorListApi } from "@/assets/js/api/cooperationUnit"; @@ -289,8 +300,9 @@ export default { formInline: { firemanName: '', enterpriseId: '', + workTicketCode:"", }, - formLabelWidthDetail: "180px", + formLabelWidthDetail: "270px", detailData: {}, responsibilityList: [], planDate: "", @@ -422,6 +434,7 @@ export default { onRefresh() { this.formInline.enterpriseId = ""; this.formInline.firemanName = ""; + this.formInline.workTicketCode = ""; this.pageNo = 1; this.initData(); }, @@ -439,11 +452,12 @@ export default { let data = { jobApplicationUnit: this.formInline.enterpriseId, firemanName: this.formInline.firemanName, + workTicketCode: this.formInline.workTicketCode, pageNo: this.pageNo, pageSize: this.pageSize, projectSn: this.projectSn } - getGroundSafetPageApi(data).then((res) => { + getOpenCircuitPageApi(data).then((res) => { if (res.result) { console.log(res.result.records, 1) // res.result.records.forEach((item) => { @@ -680,7 +694,7 @@ export default { this.deleteDialog = true }, checkDelete() { - getGroundSafetdeleteApi({ id: this.deleteId }).then((res) => { + getOpenCircuitdeleteApi({ id: this.deleteId }).then((res) => { console.log(res) if (res.code == 200) { this.$message.success(res.message) @@ -768,7 +782,7 @@ export default { this.dialogTitle = this.$t('message.dangerousBigProject.detailed') this.detailId = val.id - getGroundSafetQueryByIdApi({ + getOpenCircuitQueryByIdApi({ id: val.id }).then((res) => { if (res.result) { diff --git a/src/views/projectFront/specialWork/riggingOutWork.vue b/src/views/projectFront/specialWork/riggingOutWork.vue index ee915c1b..ceeb9cfb 100644 --- a/src/views/projectFront/specialWork/riggingOutWork.vue +++ b/src/views/projectFront/specialWork/riggingOutWork.vue @@ -3,6 +3,10 @@