From a509514d69a5ed964eb8620a0103ed140c4681ba Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Tue, 19 Mar 2024 17:35:19 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B9=E7=9B=AE=E8=BF=9B=E5=B1=95?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/modules/huizhou.ts | 4 ++++
.../progressManagement/panoramicPlan/index.vue | 12 ++++++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
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 }, `是否重新填报`);