From 5d76055c15e651a93ec4b733a3cdb48b003de38d Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Mon, 19 May 2025 09:48:19 +0800 Subject: [PATCH] =?UTF-8?q?SBBJ-966=E8=AE=BE=E5=A4=87=E7=BB=B4=E4=BF=AE-?= =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E5=B7=A5=E5=8D=95=EF=BC=8C=E8=BD=AC=E5=8A=9E?= =?UTF-8?q?-=E7=B1=BB=E5=9E=8B=E8=BD=AC=E5=8A=9E=EF=BC=8C=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=E4=BA=BA=E4=B8=8D=E8=83=BD=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +++--- .../devicemaintenancejob/deviceMaintenanceMain.data.ts | 2 +- src/views/eam/device/devicemaintenancejob/index.vue | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) 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' + } }