2 Commits

Auteur SHA1 Bericht Datum
  wwp d86bd660fd Merge branch 'master' of http://8.141.155.183:3000/bjquanjiang/pinganxiaoyuan 2 maanden geleden
  wwp e0963d1692 11 2 maanden geleden
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +3
    -3
      SafeCampus.WEB/src/views/monitor/live/components/form.vue

+ 3
- 3
SafeCampus.WEB/src/views/monitor/live/components/form.vue Bestand weergeven

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


Laden…
Annuleren
Opslaan