| | |
| | | :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) |