From d916dfba2efa2d9359f5b432350a15e5ed1a0af4 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期五, 18 十月 2024 13:58:31 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/model/pre/result/index.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/views/model/pre/result/index.vue b/src/views/model/pre/result/index.vue
index 49d2411..271e8d6 100644
--- a/src/views/model/pre/result/index.vue
+++ b/src/views/model/pre/result/index.vue
@@ -30,7 +30,7 @@
           type="primary"
           plain
           @click="openForm('create')"
-          v-hasPermi="['system:tenant:create']"
+          v-hasPermi="['model:pre-result:create']"
         >
           <Icon icon="ep:plus" class="mr-5px" />
           新增
@@ -50,7 +50,7 @@
             link
             type="primary"
             @click="openForm('update', scope.row.id)"
-            v-hasPermi="['system:tenant:update']"
+            v-hasPermi="['model:pre-result:update']"
           >
             编辑
           </el-button>
@@ -58,7 +58,7 @@
             link
             type="danger"
             @click="handleDelete(scope.row.id)"
-            v-hasPermi="['system:tenant:delete']"
+            v-hasPermi="['model:pre-result:delete']"
           >
             删除
           </el-button>
@@ -75,14 +75,14 @@
   </ContentWrap>
 
   <!-- 表单弹窗:添加/修改 -->
-  <MmPredictItemForm ref="formRef" @success="getList" />
+  <MmResultTableForm ref="formRef" @success="getList" />
 
 </template>
 <script lang="ts" setup>
-import MmPredictItemForm from './MmResultTableForm.vue'
-import * as MmPredictItem from '@/api/model/pre/dm'
+import MmResultTableForm from './MmResultTableForm.vue'
+import * as MmResultTable from '@/api/model/pre/result'
 
-defineOptions({name: 'DataMmPredictItem'})
+defineOptions({name: 'DataMmResultTable'})
 
   const message = useMessage() // 消息弹窗
   const {t} = useI18n() // 国际化
@@ -102,7 +102,7 @@
   const getList = async () => {
     loading.value = true
     try {
-      const page = await MmPredictItem.getMmPredictItemPage(queryParams)
+      const page = await MmResultTable.getMmResultTablePage(queryParams)
       list.value = page.list
       total.value = page.total
     } finally {
@@ -134,7 +134,7 @@
       // 删除的二次确认
       await message.delConfirm()
       // 发起删除
-      await MmPredictItem.deleteMmPredictItem(id)
+      await MmResultTable.deleteMmResultTable(id)
       message.success(t('common.delSuccess'))
       // 刷新列表
       await getList()

--
Gitblit v1.9.3