diff --git a/src/api/modules/huizhou.ts b/src/api/modules/huizhou.ts
index eddcef6..6721b3e 100644
--- a/src/api/modules/huizhou.ts
+++ b/src/api/modules/huizhou.ts
@@ -200,6 +200,10 @@ export const globalPlanGovermentEdit = (params: any) => {
export const globalPlanGovermentAudit = (params: any) => {
return http.post(BASEURL + `/gov/projectNodePlan/examine`, params);
};
+// 全景计划删除
+export const globalPlanGovermentDelete = (params: any) => {
+ return http.post(BASEURL + `/gov/projectNodePlan/delete`, params);
+};
// 全景计划(政务端)------------
// 全景计划分页列表
diff --git a/src/views/goverment/huizhou/progressManagement/panoramicPlan/index.vue b/src/views/goverment/huizhou/progressManagement/panoramicPlan/index.vue
index 1735876..35fbf73 100644
--- a/src/views/goverment/huizhou/progressManagement/panoramicPlan/index.vue
+++ b/src/views/goverment/huizhou/progressManagement/panoramicPlan/index.vue
@@ -60,6 +60,7 @@
重新填报
+ 删除
{{
@@ -118,12 +119,14 @@ import {
globalPlanEngList,
globalPlanGovermentAdd,
globalPlanGovermentEdit,
- globalPlanGovermentAudit
+ globalPlanGovermentAudit,
+ globalPlanGovermentDelete
} from "@/api/modules/huizhou";
import { getDicList } from "@/api/modules/jxjview";
import { ElMessage } from "element-plus";
import { useRoute } from "vue-router";
import { useHandleData } from "@/hooks/useHandleData";
+import { Delete } from "@element-plus/icons-vue";
const rowId = ref("");
const aproveVisible = ref(false);
const route = useRoute();
@@ -214,7 +217,7 @@ const columns: ColumnProps[] = [
// return scoped.row.isSendBack == 1 ? "是" : "否";
// }
// },
- { prop: "operation", label: "操作", width: 340, fixed: "right" }
+ { prop: "operation", label: "操作", width: 360, fixed: "right" }
];
const formData = ref({
nodeNumber: "",
@@ -344,6 +347,11 @@ const formConfig = {
};
// 项目或者工程名字
const searchName = ref("");
+// 删除用户信息
+const handleDeleteItem = async (params: any) => {
+ await useHandleData(globalPlanGovermentDelete, { id: params.id }, `删除【${params.subItemName}】`);
+ proTable.value.getTableList();
+};
// 重新填报
const againApply = async (row: any) => {
await useHandleData(globalPlanGovermentAudit, { id: row.id, fillState: 4 }, `是否重新填报`);