yxq hace 1 mes
padre
commit
f5a1defe5d
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      SafeCampus.WEB/src/views/monitor/live/components/form.vue

+ 3
- 3
SafeCampus.WEB/src/views/monitor/live/components/form.vue Ver fichero

@@ -18,8 +18,8 @@
<s-form-item label="摄像头名称" prop="sensorName">
<s-input v-model="orgProps.record.sensorName"></s-input>
</s-form-item>
<s-form-item label="所属学校" prop="fieldName">
<org-selector v-model:org-value="orgProps.record.fieldName" :org-tree-api="bizOrgApi.tree" :show-all="false" />
<s-form-item label="所属学校" prop="fieldNames">
<org-selector v-model:org-value="orgProps.record.fieldNames" :org-tree-api="bizOrgApi.tree" :show-all="false" />
</s-form-item>
<s-form-item label="设备IP" prop="directUrlIp">
<s-input v-model="orgProps.record.directUrlIp" clearable></s-input>
@@ -62,7 +62,7 @@ const orgProps = reactive<FormProps.Base<any>>({
// 表单验证规则
const rules = reactive({
sensorName: [required("请输入摄像头名称")],
fieldName: [required("请选择所属学校")],
fieldNames: [required("请选择所属学校")],
directUrlIp: [required("请选择设备IP")],
resWidth: [required("请输入分辨率(width)")],
resHeight: [required("请输入分辨率(height)")]


Cargando…
Cancelar
Guardar