Merge remote-tracking branch 'origin/master'
| | |
| | | }) |
| | | } |
| | | |
| | | // ???? |
| | | // 告警收藏 |
| | | export const alarmFavoriteSaveApi = (data) => { |
| | | return request({ |
| | | url: '/drone-fw/record/fwAlarmFavorite/save', |
| | |
| | | }) |
| | | } |
| | | |
| | | // ?????? |
| | | // 取消收藏 |
| | | export const alarmFavoriteRemoveApi = (ids) => { |
| | | const formattedIds = Array.isArray(ids) ? ids.join(',') : ids |
| | | return request({ |
| | |
| | | method: 'get', |
| | | params, |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | handleMouseMove(movement) { |
| | | if (!this.tooltip?.isVisible) { |
| | | this.tooltip.show('????????????', movement.endPosition) |
| | | this.tooltip.show('拖动顶点编辑', movement.endPosition) |
| | | } else { |
| | | this.tooltip.show('????????????') |
| | | this.tooltip.show('拖动顶点编辑') |
| | | this.tooltip.move(movement.endPosition) |
| | | } |
| | | if (!this.isDragging || this.draggedIndex < 0) return |
| | |
| | | |
| | | const formData = ref(initForm()) // 弹框显隐 |
| | | const visible = defineModel() // 弹框模式 |
| | | const dialogMode = ref('view') // ???? |
| | | const dialogMode = ref('view') // 弹窗模式 |
| | | const titleEnum = ref({ view: '查看' }) |
| | | const dictObj = inject('dictObj') |
| | | |
| | |
| | | const titleEnum = ref({ edit: '编辑', view: '查看', add: '新增' }) |
| | | const effectiveDateRange = ref([]) // 有效时间范围 |
| | | const sceneConfigList = ref([]) // 场景配置列表 |
| | | const areaList = ref([]) // ???? |
| | | const areaList = ref([]) // 区域列表 |
| | | const mapRef = ref(null) |
| | | const route = useRoute() |
| | | let viewer |
| | |
| | | } |
| | | |
| | | // 获取场景配置列表 |
| | | // ????? |
| | | // 区域展示数据源 |
| | | function ensureAreaDisplaySource() { |
| | | if (!viewer) return null |
| | | if (!areaDisplaySource) { |
| | |
| | | }) |
| | | } |
| | | |
| | | // ?????????? |
| | | // 加载区域列表 |
| | | async function loadAreaList(sceneId) { |
| | | if (!sceneId) { |
| | | areaList.value = [] |
| | |
| | | }) |
| | | startDroneEntity && geometricSource.entities.remove(startDroneEntity) |
| | | startDroneEntity = geometricSource.entities.add({ |
| | | position: positions[0], |
| | | position: positions[positions.length - 1], |
| | | billboard: { |
| | | image: droneIcon, |
| | | width: 40, |
| | |
| | | return request({ |
| | | url: `/drone-fw/record/fwDroneFlightRecordDetail/page`, |
| | | method: 'get', |
| | | params: { descs: 'update_time', ...params, size: 9999 }, |
| | | params: { asc: 'point_time', ...params, size: 9999 }, |
| | | }) |
| | | } |
| | | |
| | |
| | | .gd-date-picker { |
| | | height: 36px; |
| | | } |
| | | |
| | | .gd-input { |
| | | height: 36px; |
| | | } |
| | | .gd-upload-btn { |
| | | height: 36px; |
| | | } |
| | | .el-input, |
| | | .el-input-number { |
| | | min-width: 200px; |
| | |
| | | :model="formData" |
| | | :rules="rules" |
| | | :disabled="dialogReadonly" |
| | | label-width="140px" |
| | | :label-width="pxToRem(112)" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | gdApplicationInnovationDetailApi, |
| | | gdApplicationInnovationSubmitApi, |
| | | } from '@/views/orderView/orderDataManage/appInnovation/appInnovationApi' |
| | | import { pxToRem } from '@/utils/rem' |
| | | |
| | | // 初始化表单数据 |
| | | const initForm = () => ({ |
| | |
| | | :model="formData" |
| | | :rules="rules" |
| | | :disabled="dialogReadonly" |
| | | label-width="180px" |
| | | :label-width="pxToRem(144)" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | class="upload-demo" |
| | | > |
| | | <template #trigger> |
| | | <el-button type="primary">选择文件</el-button> |
| | | <el-button class="gd-upload-btn" type="primary">选择文件</el-button> |
| | | </template> |
| | | <template #tip> |
| | | <div class="el-upload__tip">支持上传 (.zip/.rar/.7z/.tar/.gz)格式</div> |
| | |
| | | import { putFileAttachApi } from '@/views/orderView/orderDataManage/supplyAdd/supplyAddApi' |
| | | import { pxToRem } from '@/utils/rem' |
| | | import { useStore } from 'vuex' |
| | | |
| | | const store = useStore() |
| | | const permission = computed(() => store.state.user.permission); |
| | | // const requesterProvider = computed(() => store.state.user.userInfo?.role_id === '2014158512610869250') |
| | |
| | | </el-row> |
| | | |
| | | <el-form class="gd-dialog-form" v-else ref="formRef" :model="formData" :rules="rules" :disabled="dialogReadonly" |
| | | label-width="140px"> |
| | | :label-width="pxToRem(112)" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="标题" prop="title"> |
| | |
| | | gdDataEvaluationDetailApi, |
| | | gdDataEvaluationSubmitApi, |
| | | } from '@/views/orderView/orderDataManage/evaluate/evaluateApi' |
| | | import { pxToRem } from '@/utils/rem' |
| | | |
| | | // 初始化表单数据 |
| | | const initForm = () => ({ |
| | |
| | | :model="formData" |
| | | :rules="rules" |
| | | :disabled="dialogReadonly" |
| | | :label-width="pxToRem(190)" |
| | | :label-width="pxToRem(124)" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="上传文件" prop="link" v-if="titleTxt === '上传巡查报告'"> |
| | | <el-upload class="avatar-uploader" action="" :show-file-list="false" :before-upload="onUploadFileBefore"> |
| | | <el-button size="small" type="primary">点击上传</el-button> |
| | | <el-button class="gd-upload-btn" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | <div class="upload-tip"> |
| | | {{ uploadName }} |
| | |
| | | <el-form-item label="导出模板"> |
| | | <el-button |
| | | color="#F2F3F5" |
| | | type="primary" |
| | | type="primary" |
| | | class="gd-upload-btn" |
| | | @click="handleExportTemplate" |
| | | > |
| | | 下载模板 |
| | |
| | | <el-form-item label="上传文件" prop="file"> |
| | | |
| | | <el-upload class="avatar-uploader" action="" :show-file-list="false" :before-upload="onImportFileBefore"> |
| | | <el-button type="primary">点击上传</el-button> |
| | | <el-button class="gd-upload-btn" type="primary">点击上传</el-button> |
| | | </el-upload> |
| | | <div class="upload-tip"> |
| | | {{ importFileName }} |
| | |
| | | name: fieldRules(true,50), |
| | | parentCode: fieldRules(true), |
| | | regionLevel: fieldRules(true), |
| | | sort: fieldRules(true,50), |
| | | sort: [ |
| | | { required: true, message: '请输入'}, |
| | | |
| | | ], |
| | | status: fieldRules(true), |
| | | } |
| | | |
| | |
| | | font-style: normal; |
| | | font-display: swap; |
| | | } |
| | | |
| | | @font-face { |
| | | font-family: "PangMen"; |
| | | src: url("PANGMENZHENGDAOBIAOTITIMIANFEIBAN-2.TTF") format("truetype"); |
| | | font-weight: normal; |
| | | font-style: normal; |
| | | font-display: swap; |
| | | } |