瀏覽代碼

安全检查、履职首尾空格

jiawuxian 2 年之前
父節點
當前提交
bec5358660

+ 1 - 1
src/views/resumption/rule/dialog.edit.vue

@@ -18,7 +18,7 @@
         >
           <el-form-item prop="name" label="履职内容库名称:">
             <el-input
-              v-model="formData.name"
+              v-model.trim="formData.name"
               :maxlength="50"
               placeholder="请输入履职内容库名称"
               clearable

+ 1 - 1
src/views/resumption/ruleManager/dialog.editItem.vue

@@ -8,7 +8,7 @@
             <el-row>
               <el-col :span="20">
                 <el-form-item prop="name" label="履职项">
-                  <el-input v-model="formData.name" :maxlength="255" name="name" placeholder="请输入履职项" clearable />
+                  <el-input v-model.trim="formData.name" :maxlength="255" name="name" placeholder="请输入履职项" clearable />
                 </el-form-item>
               </el-col>
             </el-row>

+ 1 - 1
src/views/resumption/ruleManager/dialog.editPoint.vue

@@ -31,7 +31,7 @@
           </el-form-item> -->
           <el-form-item label="履职内容" prop="name">
             <el-input
-              v-model="formData.name"
+              v-model.trim="formData.name"
               placeholder="请输入履职内容"
               maxlength="255"
             ></el-input>

+ 1 - 1
src/views/safetycheck/rule/dialog.edit.vue

@@ -18,7 +18,7 @@
         >
           <el-form-item prop="name" label="检查内容库名称:">
             <el-input
-              v-model="formData.name"
+              v-model.trim="formData.name"
               :maxlength="50"
               placeholder="请输入检查内容库名称"
               clearable

+ 1 - 1
src/views/safetycheck/ruleManager/dialog.editItem.vue

@@ -17,7 +17,7 @@
           >
             <el-form-item prop="name" label="检查项">
               <el-input
-                v-model="formData.name"
+                v-model.trim="formData.name"
                 :maxlength="50"
                 name="name"
                 placeholder="请输入检查项"

+ 1 - 1
src/views/safetycheck/ruleManager/dialog.editPoint.vue

@@ -31,7 +31,7 @@
           </el-form-item> -->
           <el-form-item label="检查内容" prop="name">
             <el-input
-              v-model="formData.name"
+              v-model.trim="formData.name"
               placeholder="请输入检查内容"
               maxlength="100"
             ></el-input>