From 73c154cba6f95745bdfde79508b7e624f083f838 Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 14 十月 2024 14:15:08 +0800
Subject: [PATCH] 定时任务修改

---
 src/views/energy/job/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/job/index.vue b/src/views/energy/job/index.vue
similarity index 96%
rename from src/views/job/index.vue
rename to src/views/energy/job/index.vue
index a68f174..59f38b7 100644
--- a/src/views/job/index.vue
+++ b/src/views/energy/job/index.vue
@@ -30,7 +30,7 @@
           type="primary"
           plain
           @click="openForm('create')"
-          v-hasPermi="['data:schedule:create']"
+          v-hasPermi="['shasteel:schedule:create']"
         >
           <Icon icon="ep:plus" class="mr-5px" />
           新增
@@ -58,7 +58,7 @@
             link
             type="primary"
             @click="openForm('update', scope.row.id)"
-            v-hasPermi="['data:schedule:update']"
+            v-hasPermi="['shasteel:schedule:update']"
           >
             编辑
           </el-button>
@@ -66,7 +66,7 @@
             link
             type="danger"
             @click="handleDelete(scope.row.id)"
-            v-hasPermi="['data:schedule:delete']"
+            v-hasPermi="['shasteel:schedule:delete']"
           >
             删除
           </el-button>
@@ -132,6 +132,7 @@
   const getList = async () => {
     loading.value = true
     try {
+      debugger
       const page = await ScheduleJobApi.getScheduleJobPage(queryParams)
       list.value = page.list
       total.value = page.total

--
Gitblit v1.9.3