diff --git a/jwtech-admin-page/src/api/warn/rectification.js b/jwtech-admin-page/src/api/warn/rectification.js new file mode 100644 index 00000000..668aaf3a --- /dev/null +++ b/jwtech-admin-page/src/api/warn/rectification.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询整改通知书列表 +export function listRectification(query) { + return request({ + url: '/warn/rectification/list', + method: 'post', + data: query + }) +} + +// 查询整改通知书详细 +export function getRectification(id) { + return request({ + url: '/warn/rectification/' + id, + method: 'get' + }) +} + +// 新增整改通知书 +export function addRectification(data) { + return request({ + url: '/warn/rectification', + method: 'post', + data: data + }) +} + +// 修改整改通知书 +export function updateRectification(data) { + return request({ + url: '/warn/rectification', + method: 'put', + data: data + }) +} + +// 删除整改通知书 +export function delRectification(id) { + return request({ + url: '/warn/rectification/' + id, + method: 'delete' + }) +} + +// 导出整改通知书 +export function exportRectification(query) { + return request({ + url: '/warn/rectification/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/jwtech-admin-page/src/api/warn/zrdw.js b/jwtech-admin-page/src/api/warn/zrdw.js new file mode 100644 index 00000000..908e0a33 --- /dev/null +++ b/jwtech-admin-page/src/api/warn/zrdw.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询责任单位列表 +export function listZrdw(query) { + return request({ + url: '/warn/zrdw/list', + method: 'post', + data: query + }) +} + +// 查询责任单位详细 +export function getZrdw(id) { + return request({ + url: '/warn/zrdw/' + id, + method: 'get' + }) +} + +// 新增责任单位 +export function addZrdw(data) { + return request({ + url: '/warn/zrdw', + method: 'post', + data: data + }) +} + +// 修改责任单位 +export function updateZrdw(data) { + return request({ + url: '/warn/zrdw', + method: 'put', + data: data + }) +} + +// 删除责任单位 +export function delZrdw(id) { + return request({ + url: '/warn/zrdw/' + id, + method: 'delete' + }) +} + +// 导出责任单位 +export function exportZrdw(query) { + return request({ + url: '/warn/zrdw/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/jwtech-admin-page/src/views/building/projectInfo/index.vue b/jwtech-admin-page/src/views/building/projectInfo/index.vue index 7894da46..7a40e7e9 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/index.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/index.vue @@ -930,15 +930,8 @@ import { updateInfo, exportInfo, } from "@/api/build/projectInfo"; -import { - listProposal, - getProposal, - delProposal, - addProposal, - updateProposal, - exportProposal, - getProjectCode, -} from "@/api/earlyStage/proposal"; +// import {listProposal,getProposal,delProposal,addProposal,updateProposal,exportProposal,getProjectCode } from "@/api/earlyStage/proposal"; +import { listProDesign, getProDesign } from "@/api/earlyStage/preDesign"; import { getAreasData } from "@/api/areas/index"; import { regionData, codeToText, TextToCode } from "element-china-area-data"; export default { @@ -1020,6 +1013,36 @@ export default { sortBy: "desc", }, }, + proQueryParams: { + pageNum: 1, + pageSize: 10, + ids: null, + data: { + projectName: null, + constructionNature: null, + constructionLocation: null, + projectUnitName: null, + briefIntroduction: null, + projectLandSituation: null, + designEstimateReport: null, + relatedAttachment: null, + projectCode: null, + proNo: null, + createUid: null, + createTime: null, + updateUid: null, + updateTime: null, + owerDept: null, + }, + cv: {}, + // 排序方式 + params: { + // 按哪个字段排序 + orderBy: "create_time", + // desc降序,升序asc + sortBy: "desc", + }, + }, // 表单参数 form: {}, adcdArr: [], @@ -1380,7 +1403,7 @@ export default { }, getId(res) { // console.log(res) - getProposal(res.id).then((response) => { + getProDesign(res.id).then((response) => { // console.log(response.data) this.proNo = response.data.proNo; this.proCode = response.data.projectCode; @@ -1539,7 +1562,7 @@ export default { /** 新增按钮操作 */ handleAdd() { this.reset(); - listProposal(this.queryParams).then((response) => { + listProDesign(this.proQueryParams).then((response) => { this.projectNameOptions = response.records; }); this.radio = "zd"; diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue index 4228305c..7b7b46ee 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue @@ -647,6 +647,7 @@ import { exportProposal, getProjectCode, } from "@/api/earlyStage/proposal"; +import { listProDesign, getProDesign } from "@/api/earlyStage/preDesign"; import { getAreasData } from "@/api/areas/index"; import { regionData, codeToText, TextToCode } from "element-china-area-data"; @@ -733,6 +734,36 @@ export default { sort: "desc", }, }, + proQueryParams: { + pageNum: 1, + pageSize: 10, + ids: null, + data: { + projectName: null, + constructionNature: null, + constructionLocation: null, + projectUnitName: null, + briefIntroduction: null, + projectLandSituation: null, + designEstimateReport: null, + relatedAttachment: null, + projectCode: null, + proNo: null, + createUid: null, + createTime: null, + updateUid: null, + updateTime: null, + owerDept: null, + }, + cv: {}, + // 排序方式 + params: { + // 按哪个字段排序 + orderBy: "create_time", + // desc降序,升序asc + sortBy: "desc", + }, + }, // 表单参数 form: {}, copyForm: {}, @@ -1067,7 +1098,7 @@ export default { }, getId(res) { // console.log(res) - getProposal(res.id).then((response) => { + getProDesign(res.id).then((response) => { // console.log(response.data) this.proNo = response.data.proNo; this.proCode = response.data.projectCode; @@ -1146,7 +1177,7 @@ export default { this.reset(); this.form = { ...this.proMsg }; if (this.form) { - listProposal(this.queryParams).then((response) => { + listProDesign(this.proQueryParams).then((response) => { this.projectNameOptions = response.records; }); } diff --git a/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/editPart.vue b/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/editPart.vue new file mode 100644 index 00000000..4f5f042f --- /dev/null +++ b/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/editPart.vue @@ -0,0 +1,482 @@ + + + + diff --git a/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/index.vue b/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/index.vue index f3b54485..aa47ab8a 100644 --- a/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/index.vue +++ b/jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/index.vue @@ -1,5 +1,14 @@