diff --git a/.env.development b/.env.development index d2e0d50..32c0e50 100644 --- a/.env.development +++ b/.env.development @@ -4,11 +4,11 @@ NODE_ENV=development VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://192.168.0.229:12081' +VITE_BASE_URL='http://127.0.0.1:12080' # VITE_BASE_URL='http://192.168.0.165:12080' # 上传路径 -VITE_UPLOAD_URL='http://192.168.0.229:12081/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://127.0.0.1:12080/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH=/dev-api @@ -35,4 +35,4 @@ VITE_OUT_DIR=dist VITE_INTERFACE_URL='http://192.168.0.229:12081/magic/web/index.html' # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://192.168.0.229:12081' \ No newline at end of file +VITE_JMREPORT_BASE_URL='http://127.0.0.1:12080' \ No newline at end of file diff --git a/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts b/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts index d6653f5..fab03ba 100644 --- a/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts +++ b/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts @@ -928,7 +928,7 @@ export const DeviceMaintenanceMainSec = useCrudSchemas(reactive([ valueField: 'id' }, filterable: true, - placeholder: "请先选择设备" + placeholder: "请先选择维修人" }, } }, diff --git a/src/views/eam/device/devicemaintenancejob/index.vue b/src/views/eam/device/devicemaintenancejob/index.vue index 30998ef..7d2a8c8 100644 --- a/src/views/eam/device/devicemaintenancejob/index.vue +++ b/src/views/eam/device/devicemaintenancejob/index.vue @@ -694,6 +694,15 @@ const onChangeSec = (field, cur, item,formRefSec) => { } } + DeviceMaintenanceMainSec.allSchemas.formSchema.find(item => { + return item.field == 'maintenance' + }).componentProps.disabled = false + DeviceMaintenanceMainSec.allSchemas.formSchema.find(item => { + return item.field == 'maintenance' + }).componentProps.optionsAlias = { + labelField: 'nickname', + valueField: 'id' + } }