无人机管理后台前端(已迁走)
chenyao
2025-09-19 38c6f5cea8ada2b2dfe167e75ea627514523d0f8
feat:弹窗统一查漏补缺
7 files modified
34 ■■■■ changed files
src/option/system/dict.js 2 ●●● patch | view | raw | blame | history
src/option/system/dictbiz.js 2 ●●● patch | view | raw | blame | history
src/views/license/license.vue 11 ●●●● patch | view | raw | blame | history
src/views/resource/components/spotDetails.vue 3 ●●●● patch | view | raw | blame | history
src/views/resource/patchManagement.vue 2 ●●● patch | view | raw | blame | history
src/views/tickets/orderLog.vue 6 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue 8 ●●●● patch | view | raw | blame | history
src/option/system/dict.js
@@ -6,7 +6,7 @@
  index: true,
  selection: true,
  viewBtn: true,
  menuWidth: 250,
  menuWidth: 280,
  dialogWidth: 880,
  dialogClickModal: false,
src/option/system/dictbiz.js
@@ -6,7 +6,7 @@
  index: true,
  selection: true,
  viewBtn: true,
  menuWidth: 250,
  menuWidth: 280,
  dialogWidth: 880,
  dialogClickModal: false,
src/views/license/license.vue
@@ -79,8 +79,8 @@
            </el-form>
            <template #footer>
                <div class="dialog-footer">
                    <el-button @click="addDialogVisible = false">取消</el-button>
                    <el-button type="primary" @click="createLicense">保存</el-button>
                  <el-button type="primary" @click="createLicense" :icon="CircleCheck">保存</el-button>
                  <el-button @click="addDialogVisible = false"  :icon="CircleClose">取消</el-button>
                </div>
            </template>
@@ -91,6 +91,7 @@
<script>
import { getList, add } from '@/api/license/license'
import { mapGetters } from 'vuex'
import { CircleCheck, CircleClose } from '@element-plus/icons-vue';
export default {
    data () {
@@ -269,6 +270,12 @@
        }
    },
    computed: {
      CircleClose() {
        return CircleClose
      },
      CircleCheck() {
        return CircleCheck
      },
        ...mapGetters(['userInfo', 'permission']),
        permissionList () {
            return {
src/views/resource/components/spotDetails.vue
@@ -1,10 +1,11 @@
<template>
  <el-dialog
    class="spotDialog"
    class="spotDialog ztzf-dialog-mange"
    :title="props.title"
    v-model="uploadPatchDialog"
    width="78%"
    align-center
  >
    <div class="container">
      <!-- 信息展示区 -->
src/views/resource/patchManagement.vue
@@ -41,7 +41,7 @@
      </template>
    </avue-crud>
    <el-dialog title="上传图斑" append-to-body align-center v-model="box" width="550px">
    <el-dialog title="上传图斑" class="ztzf-dialog-mange" append-to-body align-center v-model="box" width="550px">
      <el-form
        ref="ruleFormRef"
        style="max-width: 600px"
src/views/tickets/orderLog.vue
@@ -397,7 +397,7 @@
        <div class="dialog-footer">
          <el-button type="danger" @click="submitForm(1)">发起</el-button>
          <el-button type="primary" @click="submitForm(0)">存草稿</el-button>
          <el-button @click="dialogVisible = false">取消</el-button>
          <el-button @click="dialogVisible = false" :icon="CircleClose">取消</el-button>
        </div>
      </template>
    </el-dialog>
@@ -846,6 +846,7 @@
import 'dayjs/locale/zh-cn'; // 导入中文语言包
import weekday from 'dayjs/plugin/weekday';
import elTooltipCopy from '@/components/ElTooltipCopy.vue';
import { CircleClose } from '@element-plus/icons-vue';
dayjs.extend(weekday);
dayjs.locale('zh-cn');
@@ -1076,6 +1077,9 @@
    }
  },
  computed: {
    CircleClose() {
      return CircleClose
    },
    ...mapGetters(['userInfo', 'permission']),
    filteredTabs() {
      // rejection_and_draft 权限控制“已驳回”和“草稿”tab
src/views/tickets/ticket.vue
@@ -420,7 +420,7 @@
            >存草稿</el-button
          >
          <el-button @click="handleCancel">取 消</el-button>
          <el-button @click="handleCancel" :icon="CircleClose">取 消</el-button>
        </div>
      </template>
    </el-dialog>
@@ -745,7 +745,7 @@
                @click="rejectTicket"
                >不通过</el-button
              >
              <el-button @click="detailVisible = false">取消</el-button>
              <el-button @click="detailVisible = false":icon="CircleClose">取消</el-button>
            </template>
            <template v-else-if="currentDetail.status === 0">
              <el-button
@@ -958,6 +958,7 @@
import elTooltipCopy from '@/components/ElTooltipCopy.vue';
import getBaseConfig from '@/buildConfig/config';
import CreateQRcode from '@/components/CreateQRcode/CreateQRcode.vue';
import { CircleClose } from '@element-plus/icons-vue';
const { envName } = getBaseConfig();
function regExp(label, name) {
  var reg = new RegExp(label + '=([^&]*)(&|$)', 'g');
@@ -1249,6 +1250,9 @@
    this.fetchTableData();
  },
  computed: {
    CircleClose() {
      return CircleClose
    },
    firstRowData() {
      return this.tableData.length > 0 ? this.tableData[0] : null;
    },