|
@@ -10,8 +10,8 @@
|
|
|
<el-form-item label="名称" prop="name">
|
|
|
<el-input v-model="formData.name" placeholder="请输入名称" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="编号" prop="code">
|
|
|
- <el-input v-model="formData.code" placeholder="请输入编号" />
|
|
|
+ <el-form-item label="视频编号" prop="code">
|
|
|
+ <el-input v-model="formData.code" placeholder="请输入视频编号" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="排序" prop="sort">
|
|
|
<el-input-number v-model="formData.sort" :min="1" :max="1000" controls-position="right" />
|
|
@@ -110,7 +110,7 @@ const formData = ref({
|
|
|
})
|
|
|
const formRules = reactive({
|
|
|
name: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
|
|
|
- code: [{ required: true, message: '编号不能为空', trigger: 'blur' }],
|
|
|
+ code: [{ required: true, message: '视频编号不能为空', trigger: 'blur' }],
|
|
|
serverId: [{ required: true, message: '后端设备不能为空', trigger: 'change' }],
|
|
|
})
|
|
|
const formRef = ref() // 表单 Ref
|