Browse Source

SBBJ-966设备维修-维修工单,转办-类型转办,维修人不能选择

master
zhaoyiran 3 weeks ago
parent
commit
5d76055c15
  1. 6
      .env.development
  2. 2
      src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts
  3. 9
      src/views/eam/device/devicemaintenancejob/index.vue

6
.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'
VITE_JMREPORT_BASE_URL='http://127.0.0.1:12080'

2
src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts

@ -928,7 +928,7 @@ export const DeviceMaintenanceMainSec = useCrudSchemas(reactive<CrudSchema[]>([
valueField: 'id'
},
filterable: true,
placeholder: "请先选择设备"
placeholder: "请先选择维修人"
},
}
},

9
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'
}
}

Loading…
Cancel
Save