diff --git a/.env.development b/.env.development index 595e335..beee2bd 100644 --- a/.env.development +++ b/.env.development @@ -5,14 +5,14 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.149:8899' # 李陈杰 209 +VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 曾涛 # 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.149:8899' #曾涛 # VITE_APP_BASE_API = 'http://192.168.110.171:8899' diff --git a/src/api/progress/progressCategory/index.ts b/src/api/progress/progressCategory/index.ts index 1f593bb..9d0e9ae 100644 --- a/src/api/progress/progressCategory/index.ts +++ b/src/api/progress/progressCategory/index.ts @@ -8,10 +8,11 @@ import { ProgressCategoryVO, ProgressCategoryForm, ProgressCategoryQuery } from * @returns {*} */ -export const listProgressCategory = (id?: string | number): AxiosPromise => { +export const listProgressCategory = (parentId?: string | number,name?:string): AxiosPromise => { return request({ - url: '/progress/progressCategory/listByParent/' + id, - method: 'get' + url: '/progress/progressCategory/listByParent', + method: 'get', + params:{parentId,name} }); }; diff --git a/src/api/progress/progressCategoryTemplate/index.ts b/src/api/progress/progressCategoryTemplate/index.ts index 86e86e1..7ebeb8c 100644 --- a/src/api/progress/progressCategoryTemplate/index.ts +++ b/src/api/progress/progressCategoryTemplate/index.ts @@ -78,9 +78,10 @@ export const getTabList = (id: string) => { * @param parentId * @returns {*} */ -export const listProgressCategoryTemplateByParent = (parentId: string | number): AxiosPromise => { +export const listProgressCategoryTemplateByParent = (parentId: string | number,name:string): AxiosPromise => { return request({ - url: '/progress/progressCategoryTemplate/listByParent/' + parentId, - method: 'get' + url: '/progress/progressCategoryTemplate/listByParent' , + method: 'get', + params:{parentId,name} }); }; diff --git a/src/api/project/constructionUser/index.ts b/src/api/project/constructionUser/index.ts index c3c543c..9c20a99 100644 --- a/src/api/project/constructionUser/index.ts +++ b/src/api/project/constructionUser/index.ts @@ -164,7 +164,7 @@ export const updateConstructionUserSalary = (data: ConstructionUserSalaryForm) = */ export const getConstructionUserExit = (query: ConstructionUserExitForm) => { return request({ - url: '/contractor/constructionUserExit/list', + url: '/project/constructionUserExit/list', method: 'get', params: query }); @@ -204,7 +204,6 @@ export const importConstructionUserInfo = (file: string) => { }); }; - // 获取项目列表 export const ProjectList = (query) => { return request({ @@ -216,7 +215,7 @@ export const ProjectList = (query) => { // 获取班组列表 export const TeamList = (query) => { - return request({ + return request({ url: '/contractor/constructionUser/teamList', method: 'get', params: query @@ -230,4 +229,4 @@ export const TeamDistribution = (data) => { method: 'post', data: data }); -}; \ No newline at end of file +}; diff --git a/src/api/project/constructionUserFile/index.ts b/src/api/project/constructionUserFile/index.ts index ef40d02..8916b3b 100644 --- a/src/api/project/constructionUserFile/index.ts +++ b/src/api/project/constructionUserFile/index.ts @@ -10,7 +10,7 @@ import { ConstructionUserFileVO, ConstructionUserFileForm, ConstructionUserFileQ export const listConstructionUserFile = (query?: ConstructionUserFileQuery): AxiosPromise => { return request({ - url: '/project/constructionUserFile/list', + url: '/contractor/constructionUserFile/list', method: 'get', params: query }); @@ -22,7 +22,7 @@ export const listConstructionUserFile = (query?: ConstructionUserFileQuery): Axi */ export const setConstructionUserFile = (data: ConstructionUserFileForm): AxiosPromise => { return request({ - url: '/project/constructionUserFile/save', + url: '/contractor/constructionUserFile/save', method: 'post', data }); @@ -34,7 +34,7 @@ export const setConstructionUserFile = (data: ConstructionUserFileForm): AxiosPr */ export const delConstructionUserFile = (id: string | number | Array) => { return request({ - url: '/project/constructionUserFile/' + id, + url: '/contractor/constructionUserFile/' + id, method: 'delete' }); }; diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 265c016..bd0b93c 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -203,6 +203,7 @@ watch( }); } else { fileList.value = []; + return []; } }, @@ -293,7 +294,7 @@ const handleChange = (file: any, filelist: any) => { } } // 记录 status = 'ready' 的文件 - if (file.status === 'ready') { + if (file.status === 'ready' && !props.isConstruction) { pendingFiles.value.push(file); fileList.value = pendingFiles.value; } diff --git a/src/views/design/appointment/index.vue b/src/views/design/appointment/index.vue index 89cce9e..b28a087 100644 --- a/src/views/design/appointment/index.vue +++ b/src/views/design/appointment/index.vue @@ -47,9 +47,9 @@ 专业 设计人员(可多选) - 校审人员 + 校审人员 审核人员 审定人员 - 审核人员 + @@ -209,61 +209,7 @@ - -
-
-
- - - - - - -
-
-
- 点击"添加" -
-
-
+ @@ -321,6 +267,61 @@ + +
+
+
+ + + + + + +
+
+
+ 点击"添加" +
+
+
diff --git a/src/views/out/outTable/index.vue b/src/views/out/outTable/index.vue index b0463db..65a7ff4 100644 --- a/src/views/out/outTable/index.vue +++ b/src/views/out/outTable/index.vue @@ -85,7 +85,7 @@ const handleQuery = () => { /** 重置按钮操作 */ const resetQuery = () => { - queryParams.value.month = ''; + resetMonth(); handleQuery(); }; // 获取列表 @@ -102,14 +102,17 @@ const getList = async () => { total.value = res.total; } }; -onMounted(() => { - const currentDate = new Date(); +const resetMonth=()=>{ + const currentDate = new Date(); const year = currentDate.getFullYear(); const month = currentDate.getMonth() + 1; // 月份从0开始,所以需要加1 // 形成"YYYY-M"格式 const formattedDate = `${year}-${String(month).padStart(2, '0')}`; queryParams.value.month = formattedDate; +} +onMounted(() => { + resetMonth(); getList(); }); diff --git a/src/views/progress/constructionSchedulePlan/index.vue b/src/views/progress/constructionSchedulePlan/index.vue index 5342916..d99a8fe 100644 --- a/src/views/progress/constructionSchedulePlan/index.vue +++ b/src/views/progress/constructionSchedulePlan/index.vue @@ -120,17 +120,17 @@ - + - + @@ -138,8 +138,8 @@ diff --git a/src/views/progress/progressCategoryTemplate/index.vue b/src/views/progress/progressCategoryTemplate/index.vue index a4bc971..ac28ac1 100644 --- a/src/views/progress/progressCategoryTemplate/index.vue +++ b/src/views/progress/progressCategoryTemplate/index.vue @@ -216,7 +216,7 @@ const { queryParams, form, rules } = toRefs(data); /** 查询进度类别模版列表 */ const getList = async () => { loading.value = true; - const res = await listProgressCategoryTemplateByParent(activeTab.value); + const res = await listProgressCategoryTemplateByParent(activeTab.value,queryParams.value.name); const data = proxy?.handleTree(res.data, 'id', 'parentId'); if (data) { progressCategoryTemplateList.value = data; diff --git a/src/views/project/constructionUser/component/ConstructionUserDetail.vue b/src/views/project/constructionUser/component/ConstructionUserDetail.vue index 73907f6..69ddba5 100644 --- a/src/views/project/constructionUser/component/ConstructionUserDetail.vue +++ b/src/views/project/constructionUser/component/ConstructionUserDetail.vue @@ -44,11 +44,11 @@ {{ userDetail?.sfzNumber }} - + {{ dayjs(userDetail?.sfzStart).format('YYYY 年 MM 月 DD 日') }} @@ -59,7 +59,7 @@ {{ dayjs(userDetail?.sfzEnd).format('YYYY 年 MM 月 DD 日') }} - + {{ userDetail?.sfzSite }} diff --git a/src/views/project/projectUser/component/ConstructionUserDetail.vue b/src/views/project/projectUser/component/ConstructionUserDetail.vue index 73907f6..ca1c4e2 100644 --- a/src/views/project/projectUser/component/ConstructionUserDetail.vue +++ b/src/views/project/projectUser/component/ConstructionUserDetail.vue @@ -44,14 +44,14 @@ {{ userDetail?.sfzNumber }} - + - {{ dayjs(userDetail?.sfzStart).format('YYYY 年 MM 月 DD 日') }} + {{ dayjs(userDetail?.sfzStart).format('YYYY年 MM 月 DD 日') }} diff --git a/src/views/project/projectUser/index.vue b/src/views/project/projectUser/index.vue index 7df404d..25df7e4 100644 --- a/src/views/project/projectUser/index.vue +++ b/src/views/project/projectUser/index.vue @@ -1,7 +1,6 @@