diff --git a/.gitignore b/.gitignore index 78a752d..70ef311 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,8 @@ selenium-debug.log *.njsproj *.sln *.local +*.zip +*.7z package-lock.json yarn.lock diff --git a/src/api/dataList/laboratory.js b/src/api/dataList/laboratory.js index 598be02..8b243f2 100644 --- a/src/api/dataList/laboratory.js +++ b/src/api/dataList/laboratory.js @@ -32,12 +32,12 @@ export function casLaboratoryDetail(id) { }); } // 删除 -export function casLaboratoryDelete(id) { +export function casLaboratoryDelete(ids) { return request({ url: `/business/casLaboratory`, method: "DELETE", data: { - ids: [id], + ids, }, }); } diff --git a/src/api/thesis/index.js b/src/api/thesis/index.js index 2f26548..5de5953 100644 --- a/src/api/thesis/index.js +++ b/src/api/thesis/index.js @@ -1,34 +1,38 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 获取论文列表 export function expertList(params) { - return request({ - url:"/business/casPaper/list", - method:"get", - params - }); - } + return request({ + url: "/business/casPaper/list", + method: "get", + params, + }); +} // 删除逻辑 -export const delItem=(ids)=>request({ - url:`/business/casPaper/${ids}`, - method:'DELETE' -}) +export const delItem = (ids) => + request({ + url: `/business/casPaper/${ids}`, + method: "DELETE", + }); // 新增接口 -export const addItem=(data)=>request({ - url:'/business/casPaper', - method:'post', - data -}) +export const addItem = (data) => + request({ + url: "/business/casPaper", + method: "post", + data, + }); // 获取详情 -export const editItem=(id)=>request({ - url:`/business/casPaper/${id}`, - method:'GET' -}) +export const editItem = (id) => + request({ + url: `/business/casPaper/${id}`, + method: "GET", + }); // 修改论文 -export const rebtnItem=(data)=>request({ - url:'/business/casPaper', - method:'PUT', - data -}) \ No newline at end of file +export const rebtnItem = (data) => + request({ + url: "/business/casPaper", + method: "PUT", + data, + }); diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 33a092d..7b824ec 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -2,7 +2,14 @@ {{ ["/auditing/serviceDemand"].includes(basePath) - ? `${onlyOneChild.meta.title} (${getCount(basePath)})` + ? `${onlyOneChild.meta.title} (${userStore.serviceDemandTotal})` : onlyOneChild.meta.title }} { return userStore.unApprovedBusiness; } else if (props.basePath == "/approval/dataList/approval") { return userStore.unApprovedExpert; + } else if (props.basePath == "/auditing/achievement") { + return userStore.unApprovedAchivement; + } else if (props.basePath == "/auditing/demand") { + return userStore.unApprovedTechnology; + } else if (props.basePath == "/auditing/Enterpriseproducts") { + return userStore.unApprovedProduct; } else if (props.basePath == "/auditing/serviceDemand") { - return userStore.serviceDemandTotal; + return userStore.unApprovedService; } else { return 0; } diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 96d91cf..abaf4e6 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -5,6 +5,9 @@ import md5 from "js-md5"; import { companyList } from "@/api/dataList/enterprise"; import { expertList } from "@/api/expert/expert"; import { listCasDemand } from "../../api/dataApproval/enterpriseServiceDemand"; +import { expertAchievementList } from "../../api/dataApproval/achivement"; +import { businessList } from "../../api/Businessneeds"; +import { enterpriseProductApprovalList } from "../../api/dataApproval/enterpriseProduct"; const useUserStore = defineStore("user", { state: () => ({ @@ -13,8 +16,12 @@ const useUserStore = defineStore("user", { avatar: "", roles: [], permissions: [], - unApprovedBusiness: 10, - unApprovedExpert: 20, + unApprovedBusiness: 0, + unApprovedExpert: 0, + unApprovedAchivement: 0, + unApprovedTechnology: 0, + unApprovedService: 0, + unApprovedProduct: 0, serviceDemandTotal: 0, }), actions: { @@ -66,25 +73,63 @@ const useUserStore = defineStore("user", { }, async getApprovalCount() { - const resps = await Promise.all([ - companyList({ - examineStatus: 0, - pageSize: 1, - pageNum: 10, - }), - expertList({ - examineStatus: 0, - pageSize: 1, - pageNum: 10, - }), - listCasDemand(), - ]); - this.unApprovedBusiness = resps[0].total; - this.unApprovedExpert = resps[1].total; - this.serviceDemandTotal = resps[2].total; + this.getUnApprovedBusiness(); + this.getUnApprovedExpert(); + this.getUnApprovedAchivement(); + this.getUnApprovedTechnology(); + this.getUnApprovedService(); + this.getUnApprovedProduct(); + this.getServiceDemandTotal(); }, - unApprovedBusinessPlus() { - this.unApprovedBusiness++; + + async getUnApprovedBusiness() { + const resp = await companyList({ + examineStatus: 0, + pageSize: 1, + pageNum: 10, + }); + this.unApprovedBusiness = resp.total; + }, + async getUnApprovedExpert() { + const resp = await expertList({ + examineStatus: 0, + pageSize: 1, + pageNum: 10, + }); + this.unApprovedExpert = resp.total; + }, + async getUnApprovedAchivement() { + const resp = await expertAchievementList({ + status: 0, + pageNum: 1, + pageSize: 10, + }); + this.unApprovedAchivement = resp.total; + }, + async getUnApprovedTechnology() { + const resp = await businessList({ status: 0, pageNum: 1, pageSize: 10 }); + this.unApprovedTechnology = resp.total; + }, + async getUnApprovedService() { + const resp = await listCasDemand({ + pageNum: 1, + pageSize: 10, + status: 0, + }); + this.unApprovedService = resp.total; + }, + async getUnApprovedProduct() { + const resp = await enterpriseProductApprovalList({ + pageNum: 1, + pageSize: 10, + status: 0, + }); + this.unApprovedProduct = resp.total; + }, + + async getServiceDemandTotal() { + const resp = await listCasDemand(); + this.serviceDemandTotal = resp.total; }, // 退出系统 logOut() { diff --git a/src/views/approval/dataList/add.vue b/src/views/approval/dataList/add.vue index 8816a9e..585a2ce 100644 --- a/src/views/approval/dataList/add.vue +++ b/src/views/approval/dataList/add.vue @@ -14,6 +14,7 @@
审核拒绝 通过审核 +
@@ -74,7 +75,7 @@ const submitForm = async (state) => { // if (form.value.id != undefined) { form.value.examineStatus = state; await companyEdit(form.value); - useUserStore().getApprovalCount(); + useUserStore().getUnApprovedBusiness(); cancel(); ElMessage.success("已审核"); // } else { diff --git a/src/views/approval/dataList/index.vue b/src/views/approval/dataList/index.vue index d5afce6..ed14090 100644 --- a/src/views/approval/dataList/index.vue +++ b/src/views/approval/dataList/index.vue @@ -138,6 +138,8 @@ import { reactive, ref } from "vue"; import { ElMessageBox } from "element-plus"; import { cloneDeep } from "lodash"; import { useRouter } from "vue-router"; +import useUserStore from "@/store/modules/user"; + const data = reactive({ queryData: { pageNum: 1, @@ -218,5 +220,6 @@ const handleDetail = (id) => { }; getList(); // getSiteList(); +useUserStore().getUnApprovedBusiness(); diff --git a/src/views/components/Businessneeds/Approvaldetails.vue b/src/views/components/Businessneeds/Approvaldetails.vue index 07f8756..2b0e99a 100644 --- a/src/views/components/Businessneeds/Approvaldetails.vue +++ b/src/views/components/Businessneeds/Approvaldetails.vue @@ -169,6 +169,8 @@ import FieldOptions from "@/views/components/FieldOptions"; import InputBoxAdd from "@/views/components/InputBoxAdd"; import { ElMessage } from "element-plus"; import { ref, toRefs } from "vue"; +import useUserStore from "@/store/modules/user"; +const userStore = useUserStore(); const emit = defineEmits(["update-list"]); const props = defineProps({ isShow: { @@ -186,6 +188,7 @@ const checkList = reactive(demandCategoryList); const approve = async (status) => { let title = status == 1 ? "通过" : "驳回"; await updateTechnologyDemand({ id: modelValue.value.id, status }); + userStore.getUnApprovedTechnology(); ElMessage.success(`已${title}需求`); emit("update:isShow", false); emit("update-list"); diff --git a/src/views/components/ExpertForm/index.vue b/src/views/components/ExpertForm/index.vue index 35785df..9ae6b53 100644 --- a/src/views/components/ExpertForm/index.vue +++ b/src/views/components/ExpertForm/index.vue @@ -267,7 +267,7 @@ ref="keywordsFormRef" /> - + /> - - - - - - - - - diff --git a/src/views/components/InputBoxAdd/index.vue b/src/views/components/InputBoxAdd/index.vue index 1529fe1..4718659 100644 --- a/src/views/components/InputBoxAdd/index.vue +++ b/src/views/components/InputBoxAdd/index.vue @@ -12,6 +12,7 @@ :prop="fieldKey" :rules="[ { + required: true, type: 'array', message: '请输入并添加', trigger: 'change', diff --git a/src/views/components/LaboratoryForm/index.vue b/src/views/components/LaboratoryForm/index.vue index cc9a5f7..3928d9c 100644 --- a/src/views/components/LaboratoryForm/index.vue +++ b/src/views/components/LaboratoryForm/index.vue @@ -141,14 +141,14 @@ placeholder="请输入联系电话" > - + diff --git a/src/views/dataAuditList/Enterpriseproducts/approval.vue b/src/views/dataAuditList/Enterpriseproducts/approval.vue index 088add7..c9868ef 100644 --- a/src/views/dataAuditList/Enterpriseproducts/approval.vue +++ b/src/views/dataAuditList/Enterpriseproducts/approval.vue @@ -242,6 +242,8 @@ import { useRoute, useRouter } from "vue-router"; import saveAs from "file-saver"; import { ElMessage } from "element-plus"; import { customDownload, downloadFile } from "@/utils/request"; +import useUserStore from "@/store/modules/user"; +const userStore = useUserStore(); // import WangEditor from "@/components/WangEditor/index.vue"; // const isAdd = ref(false); const route = useRoute(); @@ -300,6 +302,7 @@ const submitForm = async (status) => { case "2": successMessage = "已驳回"; } + userStore.getUnApprovedProduct(); ElMessage.success(successMessage); router.back(); }; diff --git a/src/views/dataAuditList/Enterpriseproducts/index.vue b/src/views/dataAuditList/Enterpriseproducts/index.vue index 9a208ec..92dd63e 100644 --- a/src/views/dataAuditList/Enterpriseproducts/index.vue +++ b/src/views/dataAuditList/Enterpriseproducts/index.vue @@ -194,7 +194,7 @@ const handleDelete = async (...ids) => { ElMessageBox.confirm(`是否确认删除编号为${ids.join(",")}的数据项?`) .then(async () => { await deleteEnterpriseProduct(ids); - userStore.getApprovalCount(); + userStore.getUnApprovedProduct(); getList(); ElMessage.success("删除成功"); }) @@ -207,11 +207,12 @@ const handleBatchApproval = async () => { ) .then(async () => { await batchEnterpriseProduct(selectedIds.value); - userStore.getApprovalCount(); + userStore.getUnApprovedProduct(); getList(); ElMessage.success("批量审核成功"); }) .catch(() => {}); }; +userStore.getUnApprovedProduct(); diff --git a/src/views/dataAuditList/achievement/approval.vue b/src/views/dataAuditList/achievement/approval.vue index af9f58a..7ef89d0 100644 --- a/src/views/dataAuditList/achievement/approval.vue +++ b/src/views/dataAuditList/achievement/approval.vue @@ -183,6 +183,8 @@ import { cooperationOptions, } from "@/utils/parameter"; import { downloadFile } from "../../../utils/request"; +import useUserStore from "@/store/modules/user"; +const userStore = useUserStore(); const router = useRouter(); const route = useRoute(); const data = reactive({ @@ -216,6 +218,7 @@ const submitForm = async (status) => { case "2": successMessage = "已驳回"; } + userStore.getUnApprovedAchivement(); ElMessage.success(successMessage); router.back(); }; diff --git a/src/views/dataAuditList/achievement/index.vue b/src/views/dataAuditList/achievement/index.vue index 2d16a54..720bba2 100644 --- a/src/views/dataAuditList/achievement/index.vue +++ b/src/views/dataAuditList/achievement/index.vue @@ -186,7 +186,8 @@ const handleDelete = async (...ids) => { ElMessageBox.confirm(`是否确认删除编号为${ids.join(",")}的数据项?`) .then(async () => { await deleteAchievementByIds(ids); - userStore.getApprovalCount(); + // userStore.getApprovalCount(); + userStore.getUnApprovedAchivement(); getList(); ElMessage.success("删除成功"); }) @@ -199,11 +200,12 @@ const handleBatchApproval = async () => { ) .then(async () => { await batchAchievement(selectedIds.value); - userStore.getApprovalCount(); + userStore.getUnApprovedAchivement(); getList(); ElMessage.success("批量审核成功"); }) .catch(() => {}); }; +userStore.getUnApprovedAchivement(); diff --git a/src/views/dataAuditList/demand/approval.vue b/src/views/dataAuditList/demand/approval.vue index b3bb0cd..df7fffd 100644 --- a/src/views/dataAuditList/demand/approval.vue +++ b/src/views/dataAuditList/demand/approval.vue @@ -161,6 +161,8 @@ import InputBoxAdd from "@/views/components/InputBoxAdd"; import { ElMessage } from "element-plus"; import { ref, toRefs } from "vue"; import { useRoute, useRouter } from "vue-router"; +import useUserStore from "@/store/modules/user"; +const userStore = useUserStore(); const labelWidth = ref(120); const router = useRouter(); const route = useRoute(); @@ -175,9 +177,10 @@ const submitForm = async (status) => { case "2": successMessage = "已驳回"; } + ElMessage.success(successMessage); router.back(); }; -const getDemandInfo = async () => {}; +// const getDemandInfo = async () => {}; diff --git a/src/views/dataAuditList/demand/index.vue b/src/views/dataAuditList/demand/index.vue index 11fdeec..033e9cd 100644 --- a/src/views/dataAuditList/demand/index.vue +++ b/src/views/dataAuditList/demand/index.vue @@ -192,6 +192,7 @@ const getSiteList = async () => { }; const handleQuery = () => { + // userStore.getUnApprovedTechnology(); queryParams.value.pageNum = 1; getList(); }; @@ -213,7 +214,7 @@ const handleDelete = async (...ids) => { ElMessageBox.confirm(`是否确认删除编号为${ids.join(",")}的数据项?`) .then(async () => { await deleteTechnologyDemand(ids); - userStore.getApprovalCount(); + userStore.getUnApprovedTechnology(); getList(); ElMessage.success("删除成功"); }) @@ -225,7 +226,7 @@ const handleBatchApproval = async () => { ) .then(async () => { await batchTechnologyDemand(selectedIds.value); - userStore.getApprovalCount(); + userStore.getUnApprovedTechnology(); getList(); ElMessage.success("批量审核成功"); }) @@ -237,7 +238,7 @@ const complete = (id) => { ElMessageBox.confirm(`是否确认结束编号为${id}的数据项?`) .then(async () => { await updateTechnologyDemand({ id, status: 4 }); - userStore.getApprovalCount(); + userStore.getUnApprovedTechnology(); getList(); ElMessage.success("删除成功"); }) @@ -245,5 +246,6 @@ const complete = (id) => { }; getSiteList(); getList(); +userStore.getUnApprovedTechnology(); diff --git a/src/views/dataAuditList/serviceDemand/approval.vue b/src/views/dataAuditList/serviceDemand/approval.vue index 87b785e..963c986 100644 --- a/src/views/dataAuditList/serviceDemand/approval.vue +++ b/src/views/dataAuditList/serviceDemand/approval.vue @@ -121,6 +121,8 @@ import { uniqueId } from "lodash"; import { ElMessage } from "element-plus"; import { useRoute, useRouter } from "vue-router"; import { demandCategoryList } from "@/utils/parameter"; +import useUserStore from "@/store/modules/user"; +const userStore = useUserStore(); const router = useRouter(); const route = useRoute(); const data = reactive({ @@ -166,6 +168,7 @@ const submitForm = async (status) => { case "2": successMessage = "已驳回"; } + userStore.getUnApprovedService(); ElMessage.success(successMessage); router.back(); }; diff --git a/src/views/dataAuditList/serviceDemand/index.vue b/src/views/dataAuditList/serviceDemand/index.vue index caed58e..9649482 100644 --- a/src/views/dataAuditList/serviceDemand/index.vue +++ b/src/views/dataAuditList/serviceDemand/index.vue @@ -236,7 +236,8 @@ const handleDelete = async (...ids) => { ElMessageBox.confirm(`是否确认删除编号为${ids.join(",")}的数据项?`) .then(async () => { await deleteCasDemand(ids); - userStore.getApprovalCount(); + userStore.getServiceDemandTotal(); + userStore.getUnApprovedService(); getList(); ElMessage.success("删除成功"); }) @@ -248,7 +249,8 @@ const handleBatchApproval = async () => { ) .then(async () => { await batchCasDemand(selectedIds.value); - userStore.getApprovalCount(); + userStore.getServiceDemandTotal(); + userStore.getUnApprovedService(); getList(); ElMessage.success("批量审核成功"); }) @@ -259,7 +261,8 @@ const complete = (id) => { ElMessageBox.confirm(`是否确认结束编号为${id}的数据项?`) .then(async () => { await updateCasDemand({ id, status: 4 }); - userStore.getApprovalCount(); + userStore.getServiceDemandTotal(); + userStore.getUnApprovedService(); getList(); ElMessage.success("删除成功"); }) @@ -267,5 +270,7 @@ const complete = (id) => { }; getSiteList(); getList(); +userStore.getServiceDemandTotal(); +userStore.getUnApprovedService(); diff --git a/src/views/dataList/enterprise/index.vue b/src/views/dataList/enterprise/index.vue index 6c44918..b2bef5d 100644 --- a/src/views/dataList/enterprise/index.vue +++ b/src/views/dataList/enterprise/index.vue @@ -66,13 +66,27 @@ >导出 + + 批量删除 + - + + @@ -365,6 +379,11 @@ const loading = ref(true); const total = ref(0); const dataList = ref([]); +const ids = ref([]); +const handleSelectionChange = (selection) => { + ids.value = selection.map((el) => el.id); +}; + /** 查询企业列表 */ const getList = async () => { loading.value = true; @@ -569,9 +588,10 @@ function submitFileForm() { uploadRef.value.submit(); } const handleDelete = async (id) => { - ElMessageBox.confirm(`是否确认删除编号为${id}的数据项?`) + const delIds = id || ids.value.join(","); + ElMessageBox.confirm(`是否确认删除编号为${delIds}的数据项?`) .then(async () => { - await companyDelete(id); + await companyDelete(delIds); getList(); ElMessage.success("删除成功"); }) diff --git a/src/views/dataList/expert/add.vue b/src/views/dataList/expert/add.vue index d3f9d36..9d4704d 100644 --- a/src/views/dataList/expert/add.vue +++ b/src/views/dataList/expert/add.vue @@ -76,32 +76,10 @@ const getDetailById = async () => { const { data } = await companyDetail(route.query.id); form.value = data; form.value.keywords = data.keyword ? data.keyword.split(",") : []; + form.value.researchs = data.research ? data.research.split(",") : []; console.log(form.value); form.value.district = data.area; } }; getDetailById(); - - diff --git a/src/views/dataList/expert/index.vue b/src/views/dataList/expert/index.vue index c88ea2f..674c3a1 100644 --- a/src/views/dataList/expert/index.vue +++ b/src/views/dataList/expert/index.vue @@ -50,16 +50,15 @@ >导入 - + - + + @@ -273,6 +277,10 @@ const data = reactive({ }, }); const loading = ref(true); +const ids = ref([]); +const handleSelectionChange = (selection) => { + ids.value = selection.map((el) => el.id); +}; /*** 用户导入参数 */ const upload = reactive({ // 是否显示弹出层(用户导入) @@ -450,10 +458,10 @@ function submitFileForm() { uploadRef.value.submit(); } const handleDelete = async (id) => { - ElMessageBox.confirm(`是否确认删除编号为${id}的数据项?`) + const delIds = id || ids.value.join(","); + ElMessageBox.confirm(`是否确认删除编号为${delIds}的数据项?`) .then(async () => { - console.log(id); - await expertDelete(id); + await expertDelete(delIds); getList(); ElMessage.success("删除成功"); }) diff --git a/src/views/dataList/laboratory/index.vue b/src/views/dataList/laboratory/index.vue index e905d37..d141bb4 100644 --- a/src/views/dataList/laboratory/index.vue +++ b/src/views/dataList/laboratory/index.vue @@ -50,16 +50,15 @@ >导入 - + + 批量删除 + - + + @@ -390,6 +394,10 @@ const { queryParams } = toRefs(data); // ElMessage.success("密码重置成功"); // showResetPassword.value = false; // }; +const ids = ref([]); +const handleSelectionChange = (selection) => { + ids.value = selection.map((el) => el.id); +}; // 获取站点列表 const getSiteList = async () => { @@ -472,9 +480,15 @@ function submitFileForm() { uploadRef.value.submit(); } const handleDelete = async (id) => { - ElMessageBox.confirm(`是否确认删除编号为${id}的数据项?`) + let delIds; + if (id) { + delIds = [id]; + } else { + delIds = ids.value; + } + ElMessageBox.confirm(`是否确认删除编号为${delIds.join(",")}的数据项?`) .then(async () => { - await casLaboratoryDelete(id); + await casLaboratoryDelete(delIds); getList(); ElMessage.success("删除成功"); }) diff --git a/src/views/dataList/patent/index.vue b/src/views/dataList/patent/index.vue index 7fe16e2..eed3db0 100644 --- a/src/views/dataList/patent/index.vue +++ b/src/views/dataList/patent/index.vue @@ -42,23 +42,27 @@ >新增 - + - + + @@ -97,7 +101,7 @@ size="small" type="text" icon="delete" - @click="handleDelete(row)" + @click="handleDelete(row.id)" >删除 @@ -399,10 +403,11 @@ const submitForm = async () => { } }; /** 删除按钮操作 */ -const handleDelete = (row) => { - ElMessageBox.confirm(`是否确认删除编号为${row.id}的数据项?`) +const handleDelete = (id) => { + const delIds = id || ids.value.join(","); + ElMessageBox.confirm(`是否确认删除编号为${delIds}的数据项?`) .then(async () => { - await patentDelete(row.id); + await patentDelete(delIds); getList(); ElMessage.success("删除成功"); }) @@ -410,147 +415,3 @@ const handleDelete = (row) => { }; getList(); - - diff --git a/src/views/dataList/thesis/index.vue b/src/views/dataList/thesis/index.vue index b6e7690..f05f042 100644 --- a/src/views/dataList/thesis/index.vue +++ b/src/views/dataList/thesis/index.vue @@ -22,13 +22,17 @@ >重置 - - 新增论文 - + - + + 新增论文 + 批量删除 + - + + @@ -175,6 +179,7 @@ const { formData } = toRefs(form); const dataList = ref([]); const total = ref(0); const isShow = ref(false); +const ids = ref([]); const { queryData } = toRefs(data); // const tags = ref([]); // 获取论文列表 @@ -183,6 +188,10 @@ const getList = async () => { dataList.value = res.rows; total.value = res.total; }; + +const handleSelectionChange = (selection) => { + ids.value = selection.map((el) => el.id); +}; // 搜索查询 const handleQuery = () => { getList(queryData.value); @@ -198,9 +207,10 @@ const resetQuery = () => { }; // 删除按钮 const delList = async (id) => { - ElMessageBox.confirm(`是否确认删除编号为${id}的数据项?`) + const delIds = id || ids.value.join(","); + ElMessageBox.confirm(`是否确认删除编号为${delIds}的数据项?`) .then(async () => { - await delItem(id); + await delItem(delIds); getList(); ElMessage.success("删除成功"); }) diff --git a/src/views/expert/dataList/approval.vue b/src/views/expert/dataList/approval.vue index 1ea5138..e67dd6f 100644 --- a/src/views/expert/dataList/approval.vue +++ b/src/views/expert/dataList/approval.vue @@ -13,6 +13,7 @@
审核拒绝 通过审核 +
@@ -62,11 +63,11 @@ const submitForm = async (state) => { // if (form.value.id != undefined) { form.value.examineStatus = state; await companyEdit(form.value); + useUserStore().getUnApprovedExpert(); cancel(); ElMessage.success("已审核"); // } else { // await companyAdd(form.value); - // useUserStore().getApprovalCount(); // cancel(); // ElMessage.success("新增成功"); // } diff --git a/src/views/expert/dataList/index.vue b/src/views/expert/dataList/index.vue index 0803a26..92263b1 100644 --- a/src/views/expert/dataList/index.vue +++ b/src/views/expert/dataList/index.vue @@ -51,12 +51,11 @@
- + + + @@ -32,10 +32,6 @@ import { useRoute, useRouter } from "vue-router"; import { ElMessage } from "element-plus"; import useUserStore from "@/store/modules/user"; -const testCount = () => { - useUserStore().unApprovedBusinessPlus(); -}; - const router = useRouter(); const route = useRoute(); const formType = ref(2); diff --git a/src/views/userAuditList/expert/index.vue b/src/views/userAuditList/expert/index.vue index b2235d1..6114f2f 100644 --- a/src/views/userAuditList/expert/index.vue +++ b/src/views/userAuditList/expert/index.vue @@ -51,12 +51,12 @@ - + + diff --git a/src/views/website/activity/active/FieldOptions/index.vue b/src/views/website/activity/active/FieldOptions/index.vue deleted file mode 100644 index 618a906..0000000 --- a/src/views/website/activity/active/FieldOptions/index.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - - diff --git a/src/views/website/activity/active/index.vue b/src/views/website/activity/active/index.vue index fd527f8..9c2d217 100644 --- a/src/views/website/activity/active/index.vue +++ b/src/views/website/activity/active/index.vue @@ -386,8 +386,8 @@