瀏覽代碼

修改信息

caoyang 6 月之前
父節點
當前提交
ce16cd3690
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      src/views/safe/camera/CameraForm.vue
  2. 3 3
      src/views/safe/camera/index.vue

+ 3 - 3
src/views/safe/camera/CameraForm.vue

@@ -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

+ 3 - 3
src/views/safe/camera/index.vue

@@ -17,10 +17,10 @@
           class="!w-240px"
         />
       </el-form-item>
-      <el-form-item label="编号" prop="code">
+      <el-form-item label="视频编号" prop="code">
         <el-input
           v-model="queryParams.code"
-          placeholder="请输入编号"
+          placeholder="请输入视频编号"
           clearable
           @keyup.enter="handleQuery"
           class="!w-240px"
@@ -95,7 +95,7 @@
   <ContentWrap>
     <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
       <el-table-column label="名称" align="center" prop="name" />
-      <el-table-column label="编号" align="center" prop="code" />
+      <el-table-column label="视频编号" align="center" prop="code" />
       <el-table-column label="类型" align="center" prop="type">
         <template #default="scope">
           <dict-tag :type="DICT_TYPE.SAFE_CAMERA_TYPE" :value="scope.row.type" />