From 4602cf361fc5689796c13f7b1a7ccb89a61006d0 Mon Sep 17 00:00:00 2001 From: TimSpan Date: Tue, 6 May 2025 16:03:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E8=AE=A1=E5=88=92=E3=80=81?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E9=87=87=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/indexIcon.vue | 54 +--- .../enterpriseStaff/index.vue | 36 ++- .../historicalPurchase/index.vue | 215 +++++++++++++- .../securityStaff/index.vue | 267 +++++++++++++++++- 4 files changed, 516 insertions(+), 56 deletions(-) diff --git a/src/components/indexIcon.vue b/src/components/indexIcon.vue index 3437804..69ed37a 100644 --- a/src/components/indexIcon.vue +++ b/src/components/indexIcon.vue @@ -1,50 +1,18 @@ + + diff --git a/src/views/personnelManagement/enterpriseStaff/index.vue b/src/views/personnelManagement/enterpriseStaff/index.vue index 1af8701..2305a3b 100644 --- a/src/views/personnelManagement/enterpriseStaff/index.vue +++ b/src/views/personnelManagement/enterpriseStaff/index.vue @@ -18,7 +18,7 @@ type TableProInst, Icon, } from "@/components"; - import { NPerformantEllipsis, NTag } from "naive-ui"; + import { NPerformantEllipsis, NPopconfirm, NTag } from "naive-ui"; const tableRef = useTemplateRef("tableRef"); const reqApi: TableType["requestApi"] = (params) => { return new Promise((resolve) => { @@ -60,6 +60,7 @@ label: "商品名称", }, }); + const loading = ref(false); const columns = ref([ // { // key: "index", @@ -84,7 +85,7 @@ }, { key: "company", - title: "商品名称", + title: "单位", width: 200, render: ({ company }) => { return ( @@ -114,6 +115,37 @@ title: "操作者", width: 100, }, + { + key: "", + title: "操作", + width: 200, + render: (value) => { + return ( +
+ {}} + onNegativeClick={() => {}} + showIcon={false} + > + {{ + trigger: () => ( + + 退货 + + ), + default: () => "确认要退货么?", + }} + +
+ ); + }, + }, ]); diff --git a/src/views/personnelManagement/historicalPurchase/index.vue b/src/views/personnelManagement/historicalPurchase/index.vue index 7378d6e..c54f332 100644 --- a/src/views/personnelManagement/historicalPurchase/index.vue +++ b/src/views/personnelManagement/historicalPurchase/index.vue @@ -1,10 +1,213 @@ - + - - \ No newline at end of file + diff --git a/src/views/personnelManagement/securityStaff/index.vue b/src/views/personnelManagement/securityStaff/index.vue index 928bee4..61ec618 100644 --- a/src/views/personnelManagement/securityStaff/index.vue +++ b/src/views/personnelManagement/securityStaff/index.vue @@ -1,9 +1,266 @@ + - - \ No newline at end of file +