diff --git a/public/projecthome/close_button.png b/public/projecthome/close_button.png index cc3c1c6..92165ca 100644 Binary files a/public/projecthome/close_button.png and b/public/projecthome/close_button.png differ diff --git a/src/api/demo/projecthome.ts b/src/api/demo/projecthome.ts new file mode 100644 index 0000000..5f7fd39 --- /dev/null +++ b/src/api/demo/projecthome.ts @@ -0,0 +1,18 @@ +import { defHttp } from '@/utils/http/axios'; +enum Api { + GetUavList = '/api/Manage/GetUavList', + AddWorkspace = '/api/Manage/AddWorkspace' +} + +export function GetUavList(params?) { + return defHttp.get({ + url: Api.GetUavList, + params + }); +} +export function AddWorkspace(params) { + return defHttp.post({ + url: Api.AddWorkspace, + params + }); +} \ No newline at end of file diff --git a/src/views/demo/workmanagement/projecthome/Map/index.vue b/src/views/demo/workmanagement/projecthome/Map/index.vue new file mode 100644 index 0000000..3d766e2 --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/Map/index.vue @@ -0,0 +1,330 @@ + + + \ No newline at end of file diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/DeviceSetting/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/DeviceSetting/index.vue new file mode 100644 index 0000000..e1b749c --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/DeviceSetting/index.vue @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Record/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Record/index.vue new file mode 100644 index 0000000..82fd270 --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Record/index.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/RequestCode/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/RequestCode/index.vue new file mode 100644 index 0000000..afda775 --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/RequestCode/index.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/ShareSetting/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/ShareSetting/index.vue new file mode 100644 index 0000000..d60f895 --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/ShareSetting/index.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/UserSetting/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/UserSetting/index.vue new file mode 100644 index 0000000..786c87b --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/UserSetting/index.vue @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Weather/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Weather/index.vue new file mode 100644 index 0000000..32bb7e4 --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/Weather/index.vue @@ -0,0 +1,282 @@ + + + + + + diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/index.vue index ae4bb26..cb53137 100644 --- a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/index.vue +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/index.vue @@ -1,23 +1,23 @@ diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/utils.ts b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/utils.ts new file mode 100644 index 0000000..055dc6c --- /dev/null +++ b/src/views/demo/workmanagement/projecthome/ProjectList/AddProject/utils.ts @@ -0,0 +1,53 @@ +export const defaultPorject = { + id: '', + workspaceName: '', + workspaceDesc: '', + platformName: '', + createTime: '', + createId: '', + bindCode: '', + centerLng: '', + centerLat: '', + isAllowRequestCode: false, + requestCode: '', + requestCodeCutOffTime: '', + isCloudBlockFlight: true, + isWeatherBlockFlight: true, + isMultipleAircraft: false, + isAirportRecord: false, + isAircraftRecord: false, + isLiveShare: true, + isMediaShare: true, + isDeviceTrans: false, + isDeicePlaneTrans: false, + sate: 0, + isDelete: true, + lockfly:[ + { + id: "", + name: '大疆机场', + windSpeed: 12, + weatherWindSpeed: 15, + rainFall: '大雨', + workSpaceId: "", + }, + { + id: "", + name: '大疆机场2', + windSpeed: 8, + weatherWindSpeed: 12, + rainFall: '大雨', + workSpaceId: "", + }, + { + id: "", + name: '大疆机场3', + windSpeed: 12, + weatherWindSpeed: 12, + rainFall: '大雨', + workSpaceId: "", + }, + ], + userIds:[], + deviceIds:[], +} \ No newline at end of file diff --git a/src/views/demo/workmanagement/projecthome/ProjectList/index.vue b/src/views/demo/workmanagement/projecthome/ProjectList/index.vue index b4d5ae4..9eb6260 100644 --- a/src/views/demo/workmanagement/projecthome/ProjectList/index.vue +++ b/src/views/demo/workmanagement/projecthome/ProjectList/index.vue @@ -35,16 +35,19 @@ - + diff --git a/src/views/demo/workmanagement/projecthome/index.vue b/src/views/demo/workmanagement/projecthome/index.vue index 07b2db9..e262095 100644 --- a/src/views/demo/workmanagement/projecthome/index.vue +++ b/src/views/demo/workmanagement/projecthome/index.vue @@ -1,11 +1,11 @@