Merge remote-tracking branch 'origin/master'
| | |
| | | ## 环境与配置 |
| | | - Node.js >= 20,pnpm >= 9。 |
| | | - 优先使用根目录工作区脚本,除非必要不要在子目录直接运行脚本。 |
| | | |
| | | # AI Rules / AI行为规范 |
| | | |
| | | - 对低风险修改,AI可自主执行,无需批准。 |
| | | AI may proceed autonomously for low-risk changes. |
| | | - 仅当修改可能影响架构、核心模块、公共接口、数据结构或安全性时,才需要请求批准。 |
| | | Ask for approval only for high-impact changes. |
| | | - 若问题不影响系统正确性,应自行做出合理决策,而不是提问。 |
| | | DO NOT ask questions that do not affect correctness. |
| | | - 优先最小化修改范围。 |
| | | Prefer minimal changes. |
| | | - 未被明确要求时,禁止大规模重构。 |
| | | Avoid large refactors unless requested. |
| | |
| | | :model="formData" |
| | | :rules="rules" |
| | | :disabled="dialogReadonly" |
| | | label-width="140px" |
| | | label-width="auto" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | :model="formData" |
| | | :rules="rules" |
| | | :disabled="dialogReadonly" |
| | | label-width="140px" |
| | | > |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | // 小程序相关接口 |
| | | import { request } from "@/utils/request" |
| | | |
| | | // 轮播图 |
| | | export const getLBList = data => { |
| | | return request({ |
| | | url: `/webservice/miniProgramBannerManager/queryList`, |
| | | method: 'post', |
| | | data, |
| | | }) |
| | | } |
| | | |
| | | // 通知公告列表 noticeType=2 政策制度 1法律法规 |
| | | export const sysNoticePageInfoApi = data => { |
| | | return request({ |
| | |
| | | import docSvg from '@/static/images/doc.png' |
| | | import lbBottomPng from '@/static/images/lb_bottom.png' |
| | | import { sysNoticePageInfoApi, droneFlightTaskApi } from '@/api/index' |
| | | import { flightTaskApi,flightRulesApi,flightModeApi,flightPlanApi,flyActivityStatusApi,flyActivityTakeoffStatusApi,proTypeApi} from '@/api/index' |
| | | import { flightTaskApi,flightRulesApi,flightModeApi,flightPlanApi,flyActivityStatusApi,flyActivityTakeoffStatusApi,proTypeApi,getLBList} from '@/api/index' |
| | | |
| | | import { useAppStore } from "@/store"; |
| | | const appStore = useAppStore() |
| | | |
| | | const lbList = reactive([ |
| | | { |
| | | image: lbPng1, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }, |
| | | { |
| | | image: lbPng2, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }, |
| | | { |
| | | image: lbPng3, |
| | | title: '法律政策', |
| | | link: '/pages/legalPolicy/index', |
| | | }, |
| | | ]); |
| | | const lbList = ref([]) |
| | | |
| | | // const lbList = reactive([ |
| | | // { |
| | | // image: lbPng1, |
| | | // title: '法律政策', |
| | | // link: '/pages/legalPolicy/index', |
| | | // }, |
| | | // { |
| | | // image: lbPng2, |
| | | // title: '法律政策', |
| | | // link: '/pages/legalPolicy/index', |
| | | // }, |
| | | // { |
| | | // image: lbPng3, |
| | | // title: '法律政策', |
| | | // link: '/pages/legalPolicy/index', |
| | | // }, |
| | | // ]); |
| | | // lbPng 轮播图 5次 |
| | | // for (let i = 0; i < 5; i++) { |
| | | // lbList.push({ |
| | |
| | | title: '政策制度' |
| | | }, |
| | | ]); |
| | | |
| | | // 获取轮播图 |
| | | async function getLBListTest() { |
| | | const res = await getLBList({}) |
| | | console.log(res, '8898') |
| | | lbList.value = res.data.data.map(item => ({ |
| | | ...item, |
| | | image: item.annexUrl, |
| | | title: item.bannerTitle, |
| | | link: item.annexUrl, |
| | | })) |
| | | } |
| | | |
| | | |
| | | const announcementList = ref([]); |
| | |
| | | } |
| | | |
| | | onMounted(() => { |
| | | getLBListTest() |
| | | |
| | | getFlightAirspaceList() |
| | | getSysNoticeList(2) |
| | | getSysNoticeList(1) |