From c767ea92abec1e85900ca92cfb67f9a03c4dcf08 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期六, 21 三月 2026 14:14:58 +0800
Subject: [PATCH] #
---
src/main/webapp/views/basMap/basMap.html | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/basMap/basMap.html b/src/main/webapp/views/basMap/basMap.html
index b5f6011..f152002 100644
--- a/src/main/webapp/views/basMap/basMap.html
+++ b/src/main/webapp/views/basMap/basMap.html
@@ -412,6 +412,29 @@
<div class="toolbar-ops">
<el-button size="small" type="primary" plain icon="el-icon-plus" @click="openCreateDialog">鏂板</el-button>
<el-button size="small" type="danger" plain icon="el-icon-delete" :disabled="selection.length === 0" @click="removeSelection">鍒犻櫎</el-button>
+ <el-button
+ size="small"
+ plain
+ icon="el-icon-upload2"
+ :loading="importingMap"
+ @click="triggerMapImport">
+ 瀵煎叆鍦板浘
+ </el-button>
+ <el-button
+ size="small"
+ plain
+ icon="el-icon-edit-outline"
+ @click="openVisualEditorByPrompt">
+ 鍙鍖栫紪杈�
+ </el-button>
+ <el-button
+ size="small"
+ plain
+ icon="el-icon-refresh"
+ :loading="initializingLocMast"
+ @click="promptInitLocMast">
+ 鍒濆鍖栧簱浣�
+ </el-button>
<el-popover
placement="bottom"
width="320"
@@ -552,8 +575,9 @@
<span v-else>{{ valueOrDash(getTableValue(scope.row, field)) }}</span>
</template>
</el-table-column>
- <el-table-column label="鎿嶄綔" width="160" fixed="right" align="center">
+ <el-table-column label="鎿嶄綔" width="220" fixed="right" align="center">
<template slot-scope="scope">
+ <el-button type="text" @click="openVisualEditor(scope.row)">鍙鍖栫紪杈�</el-button>
<el-button type="text" @click="openEditDialog(scope.row)">淇敼</el-button>
<el-button type="text" style="color:#f56c6c;" @click="removeRows([scope.row[primaryKeyField]])">鍒犻櫎</el-button>
</template>
@@ -580,7 +604,7 @@
<el-dialog
class="dialog-panel"
- :title="dialog.mode === 'create' ? '鏂板 BasMap' : '淇敼 BasMap'"
+ :title="dialog.mode === 'create' ? '鏂板鍦板浘' : '淇敼鍦板浘'"
:visible.sync="dialog.visible"
width="760px"
:close-on-click-modal="false">
@@ -659,6 +683,12 @@
<el-button type="primary" :loading="dialog.submitting" @click="submitDialog">淇濆瓨</el-button>
</div>
</el-dialog>
+
+ <input
+ ref="mapUploadInput"
+ type="file"
+ style="display:none;"
+ @change="handleMapFileChange">
</div>
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
--
Gitblit v1.9.1