From c1136d8429f660335535afe8ad7c828c16eb7199 Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期一, 10 三月 2025 15:28:41 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev

---
 src/views/performance/staffEvaluate/evaluation.vue |   91 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/src/views/performance/staffEvaluate/evaluation.vue b/src/views/performance/staffEvaluate/evaluation.vue
new file mode 100644
index 0000000..85db9bb
--- /dev/null
+++ b/src/views/performance/staffEvaluate/evaluation.vue
@@ -0,0 +1,91 @@
+<template>
+  <div class="table-item">
+    <lims-table
+      :tableData="tableData"
+      :column="column"
+      :tableLoading="tableLoading"
+      :height="'calc(100vh - 270px)'"
+      :page="page"
+      @pagination="pagination"
+    ></lims-table>
+  </div>
+</template>
+
+<script>
+import limsTable from "@/components/Table/lims-table.vue";
+import {
+  page
+} from '../../../api/cnas/performance/staffEvaluate'
+
+export default {
+  components: {
+    limsTable,
+  },
+  props: {
+     entity : {
+        type: Object,
+        default: () => {
+          return {};
+        },
+      }
+    },
+  data() {
+    return {
+      tableData: [],
+      tableLoading: false,
+      column: [
+        { label: "宸ュ彿", prop: "account" },
+        { label: "濮撳悕", prop: "name" },
+        {
+          label: "鍛樺伐浜掕瘎",
+          prop: "groupTotal",
+        },
+        { label: "缁勯暱璇勫垎", prop: "leaderTotal" },
+        { label: "涓荤璇勫垎", prop: "competentTotal" },
+        { label: "鑰冭瘎寰楀垎", prop: "score" },
+        { label: "鑰冭瘎绛夌骇", prop: "grade" },
+      ],
+      page: {
+        total: 0,
+        size: 10,
+        current: 0,
+      },
+    };
+  },
+  methods: {
+    getList() {
+      this.tableLoading = true;
+      let param = { ...this.entity, ...this.page };
+      delete param.total;
+      page({ ...param })
+        .then((res) => {
+          this.tableLoading = false;
+          if (res.code === 200) {
+            this.tableData = res.data.records;
+            this.page.total = res.data.total;
+          }
+        })
+        .catch((err) => {
+          this.tableLoading = false;
+        });
+    },
+    pagination({ page, limit }) {
+      this.page.current = page;
+      this.page.size = limit;
+      this.getList();
+    },
+    refreshTable() {
+        this.getList();
+    }
+
+  },
+  mounted() {},
+};
+</script>
+
+<style scoped>
+.table-item {
+  width: 100%;
+  height: 100%;
+}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3