无人机管理后台前端(已迁走)
张含笑
2025-06-24 5b2bc4884c75a76df569f34330d2267a7f3ed9ad
Merge remote-tracking branch 'origin/master'
4 files modified
3 files deleted
2 files added
67 ■■■■■ changed files
public/fonts/SourceHanSansCN-Bold.otf patch | view | raw | blame | history
public/fonts/SourceHanSansCN-Bold.woff2 patch | view | raw | blame | history
public/fonts/SourceHanSansCN-Medium.otf patch | view | raw | blame | history
public/fonts/SourceHanSansCN-Regular.otf patch | view | raw | blame | history
public/fonts/SourceHanSansCN-Regular.woff2 patch | view | raw | blame | history
public/fonts/font.css 25 ●●●● patch | view | raw | blame | history
src/views/tickets/orderLog.vue 6 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue 12 ●●●●● patch | view | raw | blame | history
src/views/wel/components/statistics.vue 24 ●●●● patch | view | raw | blame | history
public/fonts/SourceHanSansCN-Bold.otf
Binary files differ
public/fonts/SourceHanSansCN-Bold.woff2
Binary files differ
public/fonts/SourceHanSansCN-Medium.otf
Binary files differ
public/fonts/SourceHanSansCN-Regular.otf
Binary files differ
public/fonts/SourceHanSansCN-Regular.woff2
Binary files differ
public/fonts/font.css
@@ -1,6 +1,6 @@
@font-face {
  font-family: "Source Han Sans CN";
  src: url("SourceHanSansCN-Regular.otf") format("opentype");
  src: url("SourceHanSansCN-Regular.woff2") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
@@ -8,15 +8,7 @@
@font-face {
  font-family: "Source Han Sans CN";
  src: url("SourceHanSansCN-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Han Sans CN";
  src: url("SourceHanSansCN-Bold.otf") format("opentype") ;
  src: url("SourceHanSansCN-Bold.woff2") format("opentype") ;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
@@ -25,29 +17,20 @@
@font-face {
  font-family: "Segoe UI";
  src: url("SourceHanSansCN-Regular.otf") format("opentype");
  src: url("SourceHanSansCN-Regular.woff2") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("SourceHanSansCN-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("SourceHanSansCN-Bold.otf") format("opentype") ;
  src: url("SourceHanSansCN-Bold.woff2") format("opentype") ;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 额外的标题字体 */
src/views/tickets/orderLog.vue
@@ -4,9 +4,9 @@
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2025-04-28 11:38:16
 * @FilePath: \drone-web-manage\src\views\tickets\orderLog.vue
 * @Description:
 *
 * Copyright (c) 2025 by shuishen, All Rights Reserved.
 * @Description:
 *
 * Copyright (c) 2025 by shuishen, All Rights Reserved.
-->
<template>
  <basic-container>
src/views/tickets/ticket.vue
@@ -74,7 +74,7 @@
    </el-tabs>
    <!-- 新建工单对话框 -->
    <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm">
    <el-dialog v-model="dialogVisible" v-if="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm">
      <el-form :model="form" :rules="rules" ref="form" label-width="90px" class="create-ticket-form">
        <div class="form-section">
          <el-row :gutter="16">
@@ -1351,14 +1351,10 @@
    handleLocationChange (val) {
      let locationValue = val.value
      console.log('handleLocationChange', locationValue)
      if (locationValue && locationValue.length >= 2) {
        // 兼容第三项为地址
        this.form.location = [
          Number(locationValue[0]),
          Number(locationValue[1]),
          locationValue[2] || '',
        ]
        const [lng, lat] = gcj02ToWgs84(locationValue[0], locationValue[1])
        this.form.location = [Number(lng), Number(lat), locationValue[2] || '',]
        this.form.address = locationValue[2] || ''
      } else {
        this.form.location = []
@@ -1471,6 +1467,8 @@
    handleAdd () {
      this.dialogVisible = true
      this.mapParams.center = null
      this.form.location = []
    },
    resetForm () {
src/views/wel/components/statistics.vue
@@ -198,28 +198,28 @@
// 样式配置对象
const statusStyles = {
  机巢保险: {
    0: { class: 'expired', color: '#7C8091', background: '#7C8091' },
    1: { class: 'normal', color: '#1B94FF', background: '#1B94FF' },
    0: { class: 'expired', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
    1: { class: 'normal', color: 'rgba(27, 148, 255, 1)', background: 'rgba(27, 148, 255, 1)' },
  },
  无人机流量: {
    0: { class: 'offline', color: '#11CE3E', background: '#11CE3E' },
    1: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
    2: { class: 'flying', color: '#7C8091', background: '#7C8091' },
    0: { class: 'offline', color: 'rgba(0, 180, 69, 1)', background: 'rgba(0, 180, 69, 1)' },
    1: { class: 'flying', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
    2: { class: 'flying', color: 'rgba(255, 36, 36, 1)', background: 'rgba(255, 36, 36, 1)' },
  },
  监控设备: {
    0: { class: 'offline', color: '#bababa', background: '#bababa' },
    1: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
    0: { class: 'offline', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
    1: { class: 'flying', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
  },
  移动机巢: {
    '-1': { class: 'offline', color: '#bababa', background: '#bababa' },
    4: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
    '-1': { class: 'offline', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
    4: { class: 'flying', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
  },
  // 默认样式配置
  default: {
    0: { class: 'warning', color: '#1b94ff', background: '#1b94ff' },
    4: { class: 'success', color: '#11ce3e', background: '#11ce3e' },
    '-1': { class: 'success', color: '#bababa', background: '#bababa' },
    0: { class: 'warning', color: 'rgba(0, 180, 69, 1)', background: 'rgba(0, 180, 69, 1)' },
    4: { class: 'success', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
    '-1': { class: 'success', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
  },
};