From 80283182ffdce61f3f5ed3f36ede94c00cad2d53 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 25 Aug 2025 15:29:24 +0800
Subject: [PATCH] feat:图斑详情
---
src/views/resource/patchManagement.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/views/resource/patchManagement.vue b/src/views/resource/patchManagement.vue
index 19bc2ab..1a9b072 100644
--- a/src/views/resource/patchManagement.vue
+++ b/src/views/resource/patchManagement.vue
@@ -5,7 +5,7 @@
@search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
@current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
- <el-button type="primary" icon="el-icon-upload" @click="uploadPatch">
+ <el-button type="primary" icon="el-icon-upload" @click=" handleDebug">
上传图斑
</el-button>
<el-button type="primary" icon="el-icon-setting" @click="goTypeManagement">
@@ -17,20 +17,21 @@
</template>
<template #menu="scope">
- <el-button type="primary" text icon="el-icon-video-play" @click="handleDebug(scope.row)">详情
+ <el-button type="primary" text icon="el-icon-view" @click="uploadPatch(scope.row)">详情
</el-button>
- <el-button type="primary" text icon="el-icon-video-play" @click="handleDebug(scope.row)">编辑
+ <el-button type="primary" text icon="el-icon-edit" @click="uploadPatch(scope.row)">编辑
</el-button>
- <el-button type="primary" text icon="el-icon-video-play" @click="handleDebug(scope.row)">删除
+ <el-button type="primary" text icon="el-icon-delete" @click="handleDebug(scope.row)">删除
</el-button>
</template>
</avue-crud>
- <el-dialog title="对象存储上传调试" append-to-body v-model="box" width="550px">
+ <el-dialog title="上传图斑" append-to-body v-model="box" width="550px">
<avue-form ref="form" :option="debugOption" v-model="debugForm" @submit="handleSubmit" />
</el-dialog>
-
- <patchDetails ref="patchDetails" />
+ <!-- 图斑详情 -->
+ <SpotDetails v-model:show="uploadPatchDialog"></SpotDetails>
+ <!-- <patchDetails ref="patchDetails" /> -->
</basic-container>
</template>
@@ -42,6 +43,7 @@
import { getListPage, getDetail, add, update, remove, enable, disable } from '@/api/resource/oss'
import func from '@/utils/func'
import patchDetails from '@/views/resource/components/patchDetails.vue'
+import SpotDetails from '@/views/resource/components/spotDetails.vue';
const store = useStore()
const router = useRouter()
@@ -351,7 +353,7 @@
// 上传图斑
const uploadPatch = () => {
- uploadPatchDialog.value.open()
+ uploadPatchDialog.value = true
}
// 跳转至图斑类型管理页面
--
Gitblit v1.9.3