| | |
| | | @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"> |
| | |
| | | </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> |
| | | |
| | |
| | | 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() |
| | |
| | | |
| | | // 上传图斑 |
| | | const uploadPatch = () => { |
| | | uploadPatchDialog.value.open() |
| | | uploadPatchDialog.value = true |
| | | } |
| | | |
| | | // 跳转至图斑类型管理页面 |