yxq преди 1 месец
родител
ревизия
f5a1defe5d
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      SafeCampus.WEB/src/views/monitor/live/components/form.vue

+ 3
- 3
SafeCampus.WEB/src/views/monitor/live/components/form.vue Целия файл

@@ -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)")]


Зареждане…
Отказ
Запис