@@ -4,7 +4,7 @@ NODE_ENV=development
VITE_DEV=true
# 请求路径 http://192.168.188.200:48080 https://iot.deepoil.cc:5443 http://172.26.0.56:48080
-VITE_BASE_URL='http://192.168.188.198:48080'
+VITE_BASE_URL='https://iot.deepoil.cc:5443'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
@@ -175,7 +175,7 @@ export const formSections: ConstructionDailyReportSection[] = [
editableInEdit: true
},
{ prop: 'weather', label: '天气', editableInEdit: true },
- { prop: 'temperature', label: '气温(℃)', type: 'number', editableInEdit: true }
+ { prop: 'temperature', label: '气温(℃)', editableInEdit: true }
]
}
@@ -1326,7 +1326,8 @@ const openDeviceDialogForForm = async () => {
try {
const params = {
- deptIds: currentTask.value.deptIds
+ deptIds: currentTask.value.deptIds,
+ deptId: deptId.value
const data = await IotDeviceApi.getDevicesByDepts(params)