feat: 项目进展统计删除功能添加
This commit is contained in:
parent
ee44870604
commit
a509514d69
@ -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);
|
||||
};
|
||||
|
||||
// 全景计划(政务端)------------
|
||||
// 全景计划分页列表
|
||||
|
||||
@ -60,6 +60,7 @@
|
||||
<img src="@/assets/images/tableIcon/look.png" alt="" class="configureIcon" />
|
||||
<span>重新填报</span>
|
||||
</el-button>
|
||||
<el-button v-auth="'node_plan_del'" type="danger" link :icon="Delete" @click="handleDeleteItem(row)">删除</el-button>
|
||||
</template>
|
||||
<template #fillState="{ row }">
|
||||
<span>{{
|
||||
@ -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<string>("");
|
||||
// 删除用户信息
|
||||
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 }, `是否重新填报`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user