diff --git a/.env.development b/.env.development index 1db4544..eb8185a 100644 --- a/.env.development +++ b/.env.development @@ -6,13 +6,15 @@ VITE_APP_ENV = 'development' # 开发环境 # 李陈杰 209 -VITE_APP_BASE_API = 'http://192.168.110.180:8899' +VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 曾涛 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 罗成 -# VITE_APP_BASE_API = 'http://192.168.110.213:8899' +# VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 朱银 -# VITE_APP_BASE_API = 'http://192.168.110.180:8899' +# VITE_APP_BASE_API = 'http://192.168.110.149:8899' +#曾涛 +# VITE_APP_BASE_API = 'http://192.168.110.171:8899' # 无人机接口地址 diff --git a/package.json b/package.json index 67291cb..58746c4 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "await-to-js": "3.0.0", "axios": "1.7.8", "crypto-js": "4.2.0", + "date-fns": "^4.1.0", "diagram-js": "12.3.0", "didi": "9.0.2", "echarts": "5.5.0", diff --git a/public/assets/demo/Sunny.png b/public/assets/demo/Sunny.png new file mode 100644 index 0000000..14c94d4 Binary files /dev/null and b/public/assets/demo/Sunny.png differ diff --git a/public/assets/demo/avatar.png b/public/assets/demo/avatar.png new file mode 100644 index 0000000..68ae32a Binary files /dev/null and b/public/assets/demo/avatar.png differ diff --git a/public/assets/demo/back.png b/public/assets/demo/back.png new file mode 100644 index 0000000..6b6a2ac Binary files /dev/null and b/public/assets/demo/back.png differ diff --git a/public/assets/demo/back2.png b/public/assets/demo/back2.png new file mode 100644 index 0000000..19253bd Binary files /dev/null and b/public/assets/demo/back2.png differ diff --git a/public/assets/demo/back3.png b/public/assets/demo/back3.png new file mode 100644 index 0000000..538a083 Binary files /dev/null and b/public/assets/demo/back3.png differ diff --git a/public/assets/demo/back4.png b/public/assets/demo/back4.png new file mode 100644 index 0000000..c296fae Binary files /dev/null and b/public/assets/demo/back4.png differ diff --git a/public/assets/demo/fengshu.png b/public/assets/demo/fengshu.png new file mode 100644 index 0000000..23ea230 Binary files /dev/null and b/public/assets/demo/fengshu.png differ diff --git a/public/assets/demo/qiangdu.png b/public/assets/demo/qiangdu.png new file mode 100644 index 0000000..75c64f6 Binary files /dev/null and b/public/assets/demo/qiangdu.png differ diff --git a/public/assets/demo/rain.png b/public/assets/demo/rain.png new file mode 100644 index 0000000..e9263d6 Binary files /dev/null and b/public/assets/demo/rain.png differ diff --git a/public/assets/demo/rain1.png b/public/assets/demo/rain1.png new file mode 100644 index 0000000..592efea Binary files /dev/null and b/public/assets/demo/rain1.png differ diff --git a/public/assets/demo/rain_show.png b/public/assets/demo/rain_show.png new file mode 100644 index 0000000..4974324 Binary files /dev/null and b/public/assets/demo/rain_show.png differ diff --git a/public/assets/demo/riluo.png b/public/assets/demo/riluo.png new file mode 100644 index 0000000..401a9cf Binary files /dev/null and b/public/assets/demo/riluo.png differ diff --git a/public/assets/demo/sb1.png b/public/assets/demo/sb1.png new file mode 100644 index 0000000..33d2fc7 Binary files /dev/null and b/public/assets/demo/sb1.png differ diff --git a/public/assets/demo/sb2.png b/public/assets/demo/sb2.png new file mode 100644 index 0000000..965bc01 Binary files /dev/null and b/public/assets/demo/sb2.png differ diff --git a/public/assets/demo/sb3.png b/public/assets/demo/sb3.png new file mode 100644 index 0000000..9dd844f Binary files /dev/null and b/public/assets/demo/sb3.png differ diff --git a/public/assets/demo/sb4.png b/public/assets/demo/sb4.png new file mode 100644 index 0000000..c4e2ee1 Binary files /dev/null and b/public/assets/demo/sb4.png differ diff --git a/public/assets/demo/sbi1.png b/public/assets/demo/sbi1.png new file mode 100644 index 0000000..638af49 Binary files /dev/null and b/public/assets/demo/sbi1.png differ diff --git a/public/assets/demo/sbi2.png b/public/assets/demo/sbi2.png new file mode 100644 index 0000000..ef1af9c Binary files /dev/null and b/public/assets/demo/sbi2.png differ diff --git a/public/assets/demo/shidu.png b/public/assets/demo/shidu.png new file mode 100644 index 0000000..d318124 Binary files /dev/null and b/public/assets/demo/shidu.png differ diff --git a/public/assets/demo/sunny_s.png b/public/assets/demo/sunny_s.png new file mode 100644 index 0000000..f051d50 Binary files /dev/null and b/public/assets/demo/sunny_s.png differ diff --git a/public/assets/demo/wcl.png b/public/assets/demo/wcl.png new file mode 100644 index 0000000..7dd4161 Binary files /dev/null and b/public/assets/demo/wcl.png differ diff --git a/public/assets/demo/ycl.png b/public/assets/demo/ycl.png new file mode 100644 index 0000000..1808905 Binary files /dev/null and b/public/assets/demo/ycl.png differ diff --git a/public/assets/demo/yin.png b/public/assets/demo/yin.png new file mode 100644 index 0000000..afe131f Binary files /dev/null and b/public/assets/demo/yin.png differ diff --git a/public/assets/demo/zgjxx.png b/public/assets/demo/zgjxx.png new file mode 100644 index 0000000..019151e Binary files /dev/null and b/public/assets/demo/zgjxx.png differ diff --git a/public/assets/demo/zzcl.png b/public/assets/demo/zzcl.png new file mode 100644 index 0000000..ad406d9 Binary files /dev/null and b/public/assets/demo/zzcl.png differ diff --git a/public/billOfQuantities.xlsx b/public/billOfQuantities.xlsx new file mode 100644 index 0000000..0437516 Binary files /dev/null and b/public/billOfQuantities.xlsx differ diff --git a/public/daolu.xlsx b/public/daolu.xlsx new file mode 100644 index 0000000..b7f00ac Binary files /dev/null and b/public/daolu.xlsx differ diff --git a/public/dikuai.xlsx b/public/dikuai.xlsx new file mode 100644 index 0000000..25d39e0 Binary files /dev/null and b/public/dikuai.xlsx differ diff --git a/public/materialsEquipment.xlsx b/public/materialsEquipment.xlsx new file mode 100644 index 0000000..eaa0762 Binary files /dev/null and b/public/materialsEquipment.xlsx differ diff --git a/src/App.vue b/src/App.vue index a0780e4..8621d55 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,14 +8,12 @@ import useSettingsStore from '@/store/modules/settings'; import { handleThemeStyle } from '@/utils/theme'; import useAppStore from '@/store/modules/app'; -import { getProjectTeam } from './utils/projectTeam'; const appStore = useAppStore(); onMounted(() => { nextTick(() => { // 初始化主题样式 handleThemeStyle(useSettingsStore().theme); - getProjectTeam(); }); }); diff --git a/src/api/bidding/appointment/index.ts b/src/api/bidding/appointment/index.ts index 8f58106..4db7a6e 100644 --- a/src/api/bidding/appointment/index.ts +++ b/src/api/bidding/appointment/index.ts @@ -21,7 +21,7 @@ export const AddbiddingUser = (data) => { data }); }; -// 新增招投标人员 +// 查询招投标人员 export const biddingUserList = (projectId) => { return request({ url: '/bidding/biddingUser/list', diff --git a/src/api/design/volumeCatalog/index.ts b/src/api/design/volumeCatalog/index.ts index c7c3a01..be533ae 100644 --- a/src/api/design/volumeCatalog/index.ts +++ b/src/api/design/volumeCatalog/index.ts @@ -116,6 +116,17 @@ export const getileDetail = (id) => { method: 'get' }); }; +/** + * 获取专业列表 + * @param query + */ +export const majorList = (params) => { + return request({ + url: '/design/volumeCatalog/majorList', + method: 'get', + params: params + }); +}; /** * 获取二维码信息 * @param query diff --git a/src/api/materials/overallPlanMaterialSupply/index.ts b/src/api/materials/overallPlanMaterialSupply/index.ts index ae73e0b..f28216e 100644 --- a/src/api/materials/overallPlanMaterialSupply/index.ts +++ b/src/api/materials/overallPlanMaterialSupply/index.ts @@ -21,7 +21,7 @@ export const totalsupplyplan = (params: any): AxiosPromise => { export const totalSupplyplanDetails = (id: any): AxiosPromise => { return request({ url: '/design/totalsupplyplan/' + id, - method: 'get', + method: 'get' }); }; // 修改物资-总供应计划 @@ -33,4 +33,11 @@ export const materialChangeSupplyplan = (data: any): AxiosPromise => { }); }; - +// 总供应计划-批量编辑 +export const totalSupplyplanBatchEdit = (data: any): AxiosPromise => { + return request({ + url: '/design/totalsupplyplan/batchEdit', + method: 'put', + data + }); +}; diff --git a/src/api/project/project/index.ts b/src/api/project/project/index.ts index 04d5b65..cd3d1d7 100644 --- a/src/api/project/project/index.ts +++ b/src/api/project/project/index.ts @@ -96,8 +96,6 @@ export const addProjectFacilities = (data: any) => { * @param data */ export const addProjectPilePoint = (data: any) => { - console.log('🚀 ~ addProjectPilePoint ~ data:', data); - return request({ url: '/facility/photovoltaicPanelPoint/parts/geoJson', method: 'post', diff --git a/src/api/system/post/index.ts b/src/api/system/post/index.ts index 54a64b2..9f028ab 100644 --- a/src/api/system/post/index.ts +++ b/src/api/system/post/index.ts @@ -12,9 +12,9 @@ export function listPost(query: { pageNum: number; pageSize: number }): AxiosPro } // 查询岗位列表 -export function listTreeByProject(projectId: string): AxiosPromise { +export function listTreeByProject(): AxiosPromise { return request({ - url: '/system/dept/list/treeByProjectId/' + projectId, + url: '/system/dept/list/tree', method: 'get' }); } diff --git a/src/assets/demo/avatar.png b/src/assets/demo/avatar.png new file mode 100644 index 0000000..68ae32a Binary files /dev/null and b/src/assets/demo/avatar.png differ diff --git a/src/assets/demo/back.png b/src/assets/demo/back.png new file mode 100644 index 0000000..6b6a2ac Binary files /dev/null and b/src/assets/demo/back.png differ diff --git a/src/assets/demo/gaojing.png b/src/assets/demo/gaojing.png new file mode 100644 index 0000000..019151e Binary files /dev/null and b/src/assets/demo/gaojing.png differ diff --git a/src/assets/demo/rain.png b/src/assets/demo/rain.png new file mode 100644 index 0000000..592efea Binary files /dev/null and b/src/assets/demo/rain.png differ diff --git a/src/assets/demo/wcl.png b/src/assets/demo/wcl.png new file mode 100644 index 0000000..7dd4161 Binary files /dev/null and b/src/assets/demo/wcl.png differ diff --git a/src/assets/demo/yichuli.png b/src/assets/demo/yichuli.png new file mode 100644 index 0000000..1808905 Binary files /dev/null and b/src/assets/demo/yichuli.png differ diff --git a/src/assets/demo/zzcl.png b/src/assets/demo/zzcl.png new file mode 100644 index 0000000..ad406d9 Binary files /dev/null and b/src/assets/demo/zzcl.png differ diff --git a/src/components/Process/submitVerify.vue b/src/components/Process/submitVerify.vue index f678b11..3fefa25 100644 --- a/src/components/Process/submitVerify.vue +++ b/src/components/Process/submitVerify.vue @@ -546,7 +546,7 @@ const handleTerminationTask = async () => { if (isDrawing.value) { isShowTermination.value = true; nextTick(() => { - detailFormTeRef.value.getInfo(props.businessId); + detailFormTeRef.value.getInfo(props.businessId1); }); return; } diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 086d45c..e04a9f5 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -134,6 +134,7 @@ export const useUserStore = defineStore('user', () => { roles.value = projectRole; const projectPermissions = permissionList.value.find((item) => item.projectId == selectedProject.value?.id)?.projectPermissions || []; permissions.value = projectPermissions; + getProjectTeam(); }; // 注销 diff --git a/src/utils/projectTeam.ts b/src/utils/projectTeam.ts index 1134b68..23f482d 100644 --- a/src/utils/projectTeam.ts +++ b/src/utils/projectTeam.ts @@ -2,7 +2,13 @@ import $cache from '@/plugins/cache'; //获取班组列表 import { listProjectTeam } from '@/api/project/projectTeam'; import { ProjectTeamVO } from '@/api/project/projectTeam/types'; +import useUserStore from '@/store/modules/user'; export const getProjectTeam = async () => { + const isPermission = useUserStore().permissions.some((item) => item == 'project:team:list'); + console.log(useUserStore().permissions); + + if (!isPermission && useUserStore().permissions[0] != '*:*:*') return; + const { id } = $cache.local.getJSON('selectedProject'); const res = await listProjectTeam({ pageNum: 1, diff --git a/src/views/ProjectScreen/index.vue b/src/views/ProjectScreen/index.vue index 306c494..612dd7d 100644 --- a/src/views/ProjectScreen/index.vue +++ b/src/views/ProjectScreen/index.vue @@ -14,7 +14,6 @@ import Header from './components/header.vue'; import leftPage from './components/leftPage.vue'; import centerPage from './components/centerPage.vue'; import rightPage from './components/rightPage.vue'; - diff --git a/src/views/ctr/index.vue b/src/views/ctr/index.vue index c46404a..96f5c49 100644 --- a/src/views/ctr/index.vue +++ b/src/views/ctr/index.vue @@ -1,440 +1,439 @@ +
+ 上一步 + 下一步
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/src/views/ctr/update/index.vue b/src/views/ctr/update/index.vue index ca46c2b..4908951 100644 --- a/src/views/ctr/update/index.vue +++ b/src/views/ctr/update/index.vue @@ -1,80 +1,79 @@ diff --git a/src/views/demo/components/1.html b/src/views/demo/components/1.html new file mode 100644 index 0000000..846de09 --- /dev/null +++ b/src/views/demo/components/1.html @@ -0,0 +1,128 @@ + + + + + + + + + + + 天气时间轴 + + + +
+
+
16:00
+
30°C
+ +
+
+
17:00
+
29°C
+ +
+
+
18:00
+
25°C
+ +
+
+
现在
+
25°C
+ +
+
+
20:00
+
25°C
+ +
+
+
21:00
+
20°C
+ +
+
+ + + \ No newline at end of file diff --git a/src/views/demo/components/ChartBox.vue b/src/views/demo/components/ChartBox.vue new file mode 100644 index 0000000..434eb2d --- /dev/null +++ b/src/views/demo/components/ChartBox.vue @@ -0,0 +1,311 @@ + + + + + diff --git a/src/views/demo/components/TitleComponent.vue b/src/views/demo/components/TitleComponent.vue new file mode 100644 index 0000000..dade41a --- /dev/null +++ b/src/views/demo/components/TitleComponent.vue @@ -0,0 +1,30 @@ + + \ No newline at end of file diff --git a/src/views/demo/components/gaojing.vue b/src/views/demo/components/gaojing.vue new file mode 100644 index 0000000..b6f55b2 --- /dev/null +++ b/src/views/demo/components/gaojing.vue @@ -0,0 +1,210 @@ + + + \ No newline at end of file diff --git a/src/views/demo/components/qixiang.vue b/src/views/demo/components/qixiang.vue new file mode 100644 index 0000000..58629bb --- /dev/null +++ b/src/views/demo/components/qixiang.vue @@ -0,0 +1,224 @@ + + + diff --git a/src/views/demo/components/status.vue b/src/views/demo/components/status.vue new file mode 100644 index 0000000..df25b2c --- /dev/null +++ b/src/views/demo/components/status.vue @@ -0,0 +1,107 @@ + + \ No newline at end of file diff --git a/src/views/demo/components/zhiban.vue b/src/views/demo/components/zhiban.vue new file mode 100644 index 0000000..ca5df86 --- /dev/null +++ b/src/views/demo/components/zhiban.vue @@ -0,0 +1,148 @@ + + + \ No newline at end of file diff --git a/src/views/demo/index.vue b/src/views/demo/index.vue new file mode 100644 index 0000000..643b878 --- /dev/null +++ b/src/views/demo/index.vue @@ -0,0 +1,226 @@ + + + diff --git a/src/views/demo1/components/sbqk.vue b/src/views/demo1/components/sbqk.vue new file mode 100644 index 0000000..6a6a560 --- /dev/null +++ b/src/views/demo1/components/sbqk.vue @@ -0,0 +1,186 @@ + + + \ No newline at end of file diff --git a/src/views/demo1/index.vue b/src/views/demo1/index.vue new file mode 100644 index 0000000..5517244 --- /dev/null +++ b/src/views/demo1/index.vue @@ -0,0 +1,23 @@ + + + \ No newline at end of file diff --git a/src/views/design/Professional/index.vue b/src/views/design/Professional/index.vue index 27952ed..25340b2 100644 --- a/src/views/design/Professional/index.vue +++ b/src/views/design/Professional/index.vue @@ -37,7 +37,15 @@