diff --git a/.env.development b/.env.development index 07ca8d5..5e5fd53 100644 --- a/.env.development +++ b/.env.development @@ -7,11 +7,11 @@ VITE_APP_ENV = 'development' # 开发环境 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 李陈杰 209 -VITE_APP_BASE_API = 'http://192.168.110.209:8899' +VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 李陈杰 209 - VITE_APP_BASE_API = 'http://192.168.110.209:8899' +# VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 曾涛 -# VITE_APP_BASE_API = 'http://192.168.110.209:8899' +# VITE_APP_BASE_API = 'http://192.168.110.149:8899' # 罗成 # VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 朱银 diff --git a/public/xx.xlsx b/public/xx.xlsx index fb25b99..95009db 100644 Binary files a/public/xx.xlsx and b/public/xx.xlsx differ diff --git a/public/供应商导入模板(1).xlsx b/public/供应商导入模板(1).xlsx new file mode 100644 index 0000000..6f6cfb3 Binary files /dev/null and b/public/供应商导入模板(1).xlsx differ diff --git a/src/api/project/constructionUser/index.ts b/src/api/project/constructionUser/index.ts index 9c20a99..aad0902 100644 --- a/src/api/project/constructionUser/index.ts +++ b/src/api/project/constructionUser/index.ts @@ -186,7 +186,7 @@ export const dowloadConstructionUserTemplate = (query: ConstructionUserTemplateF */ export const delConstructionUserMember = (data: ConstructionUserMembeForm) => { return request({ - url: '/contractor/projectTeamMember/', + url: '/project/projectTeamMember/', method: 'delete', data }); diff --git a/src/views/design/billofQuantities/index.vue b/src/views/design/billofQuantities/index.vue index 2130d23..e428c0d 100644 --- a/src/views/design/billofQuantities/index.vue +++ b/src/views/design/billofQuantities/index.vue @@ -170,6 +170,7 @@ async function getVersionNums(isSheet = true) { state.loading.versions = true; state.error = null; + console.log('🚀 ~ handleSheetName ~ currentProject.value?.id:', currentProject.value?.id); const res = await obtainAllVersionNumbers({ projectId: currentProject.value?.id, workOrderType: state.work_order_type, @@ -375,6 +376,16 @@ const downloadTemplate = (type) => { alert('下载失败,请重试'); } }; +const resetState = () => { + state.tableData = []; + state.options = []; + state.sheets = []; + state.queryForm.versions = ''; + state.queryForm.sheet = ''; + state.versionsData = {}; + state.error = null; + isExpandAll.value = true; +}; onMounted(async () => { await getVersionNums(); }); @@ -382,6 +393,8 @@ onMounted(async () => { const listeningProject = watch( () => currentProject.value?.id, (nid, oid) => { + resetState(); + state.queryForm.projectId = nid; getVersionNums(); } ); diff --git a/src/views/dhr_demo/InspectionManagement.vue b/src/views/dhr_demo/InspectionManagement.vue index 69c9de5..4cfceaf 100644 --- a/src/views/dhr_demo/InspectionManagement.vue +++ b/src/views/dhr_demo/InspectionManagement.vue @@ -4,10 +4,11 @@
本月报修数
+24
+较上月 +4.2%
+平均处理时长
+3.5小时
+较上月 -0.6小时
+待处理报修
+15
+需及时处理
+完成率
+92%
+较上月 +2.1%
+本月抢修总数
+18
+较上月 +8.7%
+平均抢修时长
+58分钟
+较上月 -2.5分钟
+待处理抢修
+3
+需要尽快处理
+按时完成率
+92%
+较上月 +2.4%
+已完成巡检
+{{ statData.completed }}
+发现问题数
+{{ statData.problems }}
+已解决问题
+{{ statData.resolved }}
+平均完成时间
+{{ statData.avgTime }}
+问题解决率
+解决率
+{{ statData.resolveRate }}%
+显示1到{{ pageSize }}条,共{{ totalRecords }}条记录
+截止至 {{ currentDate }}
+ + +本月完成试验
+{{ statData.completed }}较上月 ↑2.4%
+试验通过率
+{{ statData.passRate }}%较上月 ↑5.6%
+待分析记录
+{{ statData.pendingAnalysis }}需要及时处理
+平均试验时长
+{{ statData.avgDuration }}较上月 ↓9.4分钟
++ {{ testRecords[0].date }} 耗时: {{ testRecords[0].duration }} +
+ 通过 +系统在100%负载下稳定运行1小时,CPU平均使用率92%,内存使用率88%,无崩溃或异常重启现象。
++ 平均响应时间: {{ testRecords[0].responseTime }} | 错误率: {{ testRecords[0].errorRate }} | 温度值: {{ testRecords[0].temperature }} +
++ {{ testRecords[1].date }} 耗时: {{ testRecords[1].duration }} +
+ 失败 +当并发用户数达到780人时,数据库连接耗尽,新用户无法建立数据库连接,导致系统响应超时。
+ + +建议: 增加数据库连接池最大连接数,优化长连接超时时间,增加连接复用机制分析评估。
+显示1到{{ pageSize }}条,共{{ totalRecords }}条记录
+