From 69a1b3bf45738f048361ee4ccb6bdc64fce35720 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 12 三月 2025 11:31:46 +0800
Subject: [PATCH] 更新

---
 admin/src/views/platform/platformGroup.vue |   88 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git a/admin/src/views/platform/platformGroup.vue b/admin/src/views/platform/platformGroup.vue
new file mode 100644
index 0000000..1538aa5
--- /dev/null
+++ b/admin/src/views/platform/platformGroup.vue
@@ -0,0 +1,88 @@
+<template>
+  <TableLayout :permissions="['business:platformgroup:query']">
+    <!-- 琛ㄦ牸鍜屽垎椤� -->
+    <template v-slot:table-wrap>
+      <ul class="toolbar" v-permissions="['business:platformgroup:create','business:platformgroup:delete']">
+        <li><el-button type="primary" @click="$refs.operaPlatformGroupWindow.open('鏂板缓鏈堝彴鍒嗙粍')" icon="el-icon-plus" v-permissions="['business:platformgroup:create']">鏂板缓</el-button></li>
+        <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:platformgroup:delete']">鍒犻櫎</el-button></li>
+      </ul>
+      <el-table
+          :height="tableHeightNew"
+        v-loading="isWorking.search"
+        :data="tableData.list"
+        stripe
+        @selection-change="handleSelectionChange"
+      >
+        <el-table-column type="selection" width="55"></el-table-column>
+        <el-table-column prop="name" label="鏈堝彴缁勫悕绉�" fixed min-width="150px" align="center"></el-table-column>
+        <el-table-column prop="startTime" label="宸ヤ綔鏃堕棿" min-width="150px"  align="center">
+          <template scope="{row}">
+            {{row.startTime || ' '}} - {{row.endTime || ' '}}
+          </template>
+        </el-table-column>
+        <el-table-column prop="type" label="涓氬姟绫诲瀷"  align="center" min-width="150px">
+          <template scope="{row}">
+            <span v-if="row.type == 0">瀹夋嘲鐗╂祦鍗歌揣</span>
+            <span v-if="row.type == 1">瀹夋嘲鐗╂祦瑁呰揣</span>
+            <span v-if="row.type == 2">甯傚叕鍙稿嵏璐�</span>
+          </template>
+        </el-table-column>
+        <el-table-column prop="waitCallTime" label="鍙彿绛夊緟鏃堕棿锛堝垎閽燂級" min-width="140px"  align="center"></el-table-column>
+        <el-table-column prop="editDate" label="鏈�杩戞洿鏂版椂闂�" min-width="150px"  align="center"></el-table-column>
+        <el-table-column
+          v-if="containPermissions(['business:platformgroup:update', 'business:platformgroup:delete'])"
+          label="鎿嶄綔"
+          min-width="120"
+          align="center"
+          fixed="right"
+        >
+          <template slot-scope="{row}">
+            <el-button type="text" @click="$refs.operaPlatformGroupWindow.open('缂栬緫鏈堝彴鍒嗙粍', row)" icon="el-icon-edit" v-permissions="['business:platformgroup:update']">缂栬緫</el-button>
+            <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:platformgroup:delete']">鍒犻櫎</el-button>
+          </template>
+        </el-table-column>
+      </el-table>
+      <pagination
+        @size-change="handleSizeChange"
+        @current-change="handlePageChange"
+        :pagination="tableData.pagination"
+      >
+      </pagination>
+    </template>
+    <!-- 鏂板缓/淇敼 -->
+    <OperaPlatformGroupWindow ref="operaPlatformGroupWindow" @success="handlePageChange"/>
+  </TableLayout>
+</template>
+
+<script>
+import BaseTable from '@/components/base/BaseTable'
+import TableLayout from '@/layouts/TableLayout'
+import Pagination from '@/components/common/Pagination'
+import OperaPlatformGroupWindow from '@/components/business/OperaPlatformGroupWindow'
+export default {
+  name: 'Platform',
+  extends: BaseTable,
+  components: { TableLayout, Pagination, OperaPlatformGroupWindow },
+  data () {
+    return {
+      // 鎼滅储
+      working: false,
+      working1: false,
+      searchForm: {
+        name: ''
+      }
+    }
+  },
+  created () {
+    this.config({
+      module: '鏈堝彴淇℃伅琛�',
+      api: '/platform/platformGroup',
+      'field.id': 'id',
+      'field.main': 'id'
+    })
+    this.search()
+  },
+  methods: {
+  }
+}
+</script>

--
Gitblit v1.9.3