lugang 4 роки тому
батько
коміт
f3edad7399

+ 4 - 0
src/App.vue

@@ -58,6 +58,10 @@ export default {
   .el-form {
     .el-input__inner, .el-textarea__inner {
       width: 400px!important;
+      padding-right: 60px!important;
+    }
+    .el-input, .el-textarea {
+      width: 400px!important;
     }
   }
 }

+ 5 - 5
src/views/candidateManage/candidateAll.vue

@@ -15,7 +15,7 @@
     <el-dialog :visible.sync="dialogVisible" width="600px" :before-close="closeDia" :close-on-click-modal="false">
         <el-form :model="form" ref="uform" label-width="140px" :rules="rules" label-position="right">
             <el-form-item label="姓名" prop="delivererName">
-                <el-input placeholder="请输入姓名" v-model="form.delivererName"></el-input>
+                <el-input placeholder="请输入姓名" v-model="form.delivererName" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="性别" prop="delivererSex">
                 <el-select v-model="form.delivererSex" class="select" placeholder="请选择性别">
@@ -24,10 +24,10 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="简历投递职位" prop="positionApplied">
-                <el-input placeholder="请输入投递职位" v-model="form.positionApplied"></el-input>
+                <el-input placeholder="请输入投递职位" v-model="form.positionApplied" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="工作年限" prop="delivererWorkExp">
-                <el-input placeholder="请输入工作年限" v-model="form.delivererWorkExp"></el-input>
+                <el-input placeholder="请输入工作年限" v-model="form.delivererWorkExp" maxlength="200" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="学历" prop="delivererEducation">
                 <el-select class="select" v-model="form.delivererEducation" placeholder="请选择学历">
@@ -36,10 +36,10 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="联系电话" prop="delivererPhone">
-                <el-input placeholder="请输入联系电话" v-model="form.delivererPhone"></el-input>
+                <el-input placeholder="请输入联系电话" v-model.number="form.delivererPhone" maxlength="11" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱地址" prop="delivererMail">
-                <el-input placeholder="请输入邮箱地址" v-model="form.delivererMail"></el-input>
+                <el-input placeholder="请输入邮箱地址" v-model="form.delivererMail" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="面试应聘职位" prop="desiredPositionId">
                 <el-select class="select" v-model="form.desiredPositionId" placeholder="请选择应聘职位">

+ 7 - 7
src/views/candidateManage/candidateList.vue

@@ -27,8 +27,8 @@
                     </el-tag>
                 </div>
             </el-form-item>
-            <el-form-item label="选择群发模板" prop="templateId">
-                <el-select v-model="form.templateId" placeholder="请选择群发模板">
+            <el-form-item label="选择选择邀约岗位" prop="templateId">
+                <el-select v-model="form.templateId" placeholder="请选择选择邀约岗位">
                     <el-option v-for="item in downList" :key="item.id" :label="item.templateName" :value="item.id"></el-option>
                 </el-select>
                 <!-- <div v-else>{{this.downList1.some(i => i.id === form.processId) ? this.downList1.find(i => i.id === form.processId).processName : ''}}</div> -->
@@ -55,7 +55,7 @@
     <el-dialog :visible.sync="visible" width="600px" :before-close="closeVisible" :close-on-click-modal="false">
         <el-form :model="uform" ref="uform" label-width="140px" :rules="rule" label-position="right">
             <el-form-item label="姓名" prop="delivererName">
-                <el-input placeholder="请输入姓名" v-model="uform.delivererName"></el-input>
+                <el-input placeholder="请输入姓名" v-model="uform.delivererName" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="性别" prop="delivererSex">
                 <el-select v-model="uform.delivererSex" class="select" placeholder="请选择性别">
@@ -67,7 +67,7 @@
                 <el-input placeholder="请输入投递职位" v-model="uform.positionApplied"></el-input>
             </el-form-item> -->
             <el-form-item label="工作年限" prop="delivererWorkExp">
-                <el-input placeholder="请输入工作年限" v-model="uform.delivererWorkExp"></el-input>
+                <el-input placeholder="请输入工作年限" v-model="uform.delivererWorkExp" maxlength="200" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="学历" prop="delivererEducation">
                 <el-select class="select" v-model="uform.delivererEducation" placeholder="请选择学历">
@@ -76,10 +76,10 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="联系电话" prop="delivererPhone">
-                <el-input placeholder="请输入联系电话" v-model="uform.delivererPhone"></el-input>
+                <el-input placeholder="请输入联系电话" v-model.number="uform.delivererPhone" maxlength="11" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱地址" prop="delivererMail">
-                <el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail"></el-input>
+                <el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="面试应聘职位" prop="desiredPositionId">
                 <el-select class="select" v-model="uform.desiredPositionId" placeholder="请选择应聘职位">
@@ -135,7 +135,7 @@ export default {
       rules: {
         templateId: [{
           required: true,
-          message: '请选择群发模板',
+          message: '请选择选择邀约岗位',
           trigger: 'blur'
         }]
       },

+ 6 - 6
src/views/candidateManage/mailManage.vue

@@ -11,10 +11,10 @@
     <el-card class="box-card">
         <el-form ref="form51" :model="form51" :rules="rules" label-width="140px" label-position="left">
             <el-form-item label="51job邮箱" prop="cmpMailAccount">
-                <el-input v-model.trim="form51.cmpMailAccount"></el-input>
+                <el-input v-model.trim="form51.cmpMailAccount" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="密码" prop="cmpMailPassword">
-                <el-input v-model.trim="form51.cmpMailPassword" show-password></el-input>
+                <el-input v-model.trim="form51.cmpMailPassword" show-password maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱类型" prop="cmpMailType">
                 <el-radio-group v-model="form51.cmpMailType">
@@ -29,10 +29,10 @@
         </el-form>
         <el-form ref="formzl" :model="formzl" :rules="rules" label-width="140px" label-position="left">
             <el-form-item label="智联邮箱" prop="cmpMailAccount">
-                <el-input v-model.trim="formzl.cmpMailAccount"></el-input>
+                <el-input v-model.trim="formzl.cmpMailAccount" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="密码" prop="cmpMailPassword">
-                <el-input v-model.trim="formzl.cmpMailPassword" show-password></el-input>
+                <el-input v-model.trim="formzl.cmpMailPassword" show-password maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱类型" prop="cmpMailType">
                 <el-radio-group v-model="formzl.cmpMailType">
@@ -47,10 +47,10 @@
         </el-form>
         <el-form ref="form58" :model="form58" :rules="rules" label-width="140px" label-position="left">
             <el-form-item label="58邮箱" prop="cmpMailAccount">
-                <el-input v-model.trim="form58.cmpMailAccount"></el-input>
+                <el-input v-model.trim="form58.cmpMailAccount" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="密码" prop="cmpMailPassword">
-                <el-input v-model.trim="form58.cmpMailPassword" show-password></el-input>
+                <el-input v-model.trim="form58.cmpMailPassword" show-password maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱类型" prop="cmpMailType">
                 <el-radio-group v-model="form58.cmpMailType">

+ 19 - 11
src/views/candidateManage/resumeList.vue

@@ -28,8 +28,8 @@
                     </el-tag>
                 </div>
             </el-form-item>
-            <el-form-item label="选择群发模板" prop="templateId">
-                <el-select v-model="form.templateId" placeholder="请选择群发模板">
+            <el-form-item label="选择选择邀约岗位" prop="templateId">
+                <el-select v-model="form.templateId" placeholder="请选择选择邀约岗位">
                     <el-option v-for="item in downList" :key="item.id" :label="item.templateName" :value="item.id"></el-option>
                 </el-select>
                 <!-- <div v-else>{{this.downList1.some(i => i.id === form.processId) ? this.downList1.find(i => i.id === form.processId).processName : ''}}</div> -->
@@ -44,7 +44,7 @@
     <el-dialog :visible.sync="dialogVisible" width="600px" :before-close="closeDia" :close-on-click-modal="false">
         <el-form :model="uform" ref="uform" label-width="140px" :rules="rule" label-position="right">
             <el-form-item label="姓名" prop="delivererName">
-                <el-input placeholder="请输入姓名" v-model="uform.delivererName"></el-input>
+                <el-input placeholder="请输入姓名" v-model="uform.delivererName" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="性别" prop="delivererSex">
                 <el-select v-model="uform.delivererSex" class="select" placeholder="请选择性别">
@@ -53,10 +53,10 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="简历投递职位" prop="positionApplied">
-                <el-input placeholder="请输入投递职位" v-model="uform.positionApplied"></el-input>
+                <el-input placeholder="请输入投递职位" v-model="uform.positionApplied" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="工作年限" prop="delivererWorkExp">
-                <el-input placeholder="请输入工作年限" v-model="uform.delivererWorkExp"></el-input>
+                <el-input placeholder="请输入工作年限" v-model="uform.delivererWorkExp" maxlength="200" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="学历" prop="delivererEducation">
                 <el-select class="select" v-model="uform.delivererEducation" placeholder="请选择学历">
@@ -65,10 +65,10 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="联系电话" prop="delivererPhone">
-                <el-input placeholder="请输入联系电话" v-model="uform.delivererPhone"></el-input>
+                <el-input placeholder="请输入联系电话" v-model.number="uform.delivererPhone" maxlength="11" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="邮箱地址" prop="delivererMail">
-                <el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail"></el-input>
+                <el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item>
                 <el-button @click="closeDia">取 消</el-button>
@@ -81,12 +81,17 @@
             <el-form-item v-for="item in formConfig" :key="item" :label="item.configName">
                 <!-- {{item.type === 2 ? ['女', '男'][info[item.fieldName]] : item.type === 8 ? ['女', '男'][info[item.fieldName]] : info[item.fieldName]}} -->
                 <div v-if="item.type === 2">{{['女', '男'][info[item.fieldName]]}}</div>
-                <el-link type="primary" v-else-if="item.type === 8" :link=" $img + info[item.fieldName]">{{item.configName + '文件'}}</el-link>
+                <el-link type="primary" v-else-if="item.type === 8" @click="openNewPage($img + info[item.fieldName])" >{{item.configName + '文件'}}</el-link>
                 <div v-else>{{info[item.fieldName]}}</div>
             </el-form-item>
+            <el-form-item label="意向职位">
+                <!-- {{['女', '男'][info.delivererSex]}} -->
+                {{info.desiredPositionId}}
+                <!-- <el-link type="primary" @click="openNewPage($img + info.filePath)">简历文件</el-link> -->
+            </el-form-item>
             <el-form-item label="简历">
                 <!-- {{['女', '男'][info.delivererSex]}} -->
-                <el-link type="primary" :link=" $img + info.filePath">简历文件</el-link>
+                <el-link type="primary" @click="openNewPage($img + info.filePath)">简历文件</el-link>
             </el-form-item>
             <el-form-item>
                 <el-button @click="closeVisible">取 消</el-button>
@@ -130,7 +135,7 @@ export default {
       rules: {
         templateId: [{
           required: true,
-          message: '请选择群发模板',
+          message: '请选择选择邀约岗位',
           trigger: 'blur'
         }]
       },
@@ -467,6 +472,9 @@ export default {
     search (form) {
       this.queryData(form)
     },
+    openNewPage (url) {
+      window.open(url)
+    },
     details ({ id, resumeFrom }) {
       this.$api
         .post('/resumeInfo/queryResumeInfoDetail', {
@@ -507,7 +515,6 @@ export default {
             }
           })
           .then((res) => {
-            this.queryData(this.searchForm)
             this.$alert(`${res.object.successTotal}条发送成功,${res.object.failTotal}条发送失败!`, '发送结果', {
               confirmButtonText: '确定',
               callback: action => {
@@ -690,6 +697,7 @@ export default {
     close () {
       this.dialogFormVisible = false
       this.form = {}
+      this.queryData(this.searchForm)
       this.copyPickList = Array.from(this.pickList)
     },
     openVisible () {

+ 4 - 4
src/views/companyManage/basicInfo.vue

@@ -11,16 +11,16 @@
     <el-card class="box-card">
         <el-form ref="form" :model="form" label-width="140px" :rules="rules" label-position="left">
             <el-form-item :label="$t('title.companyName')" prop="companyName">
-                <el-input disabled v-model.trim="form.companyName"></el-input>
+                <el-input disabled v-model.trim="form.companyName" maxlength="64" show-word-limit></el-input>
             </el-form-item>
             <el-form-item :label="$t('title.companyAddress')">
-                <el-input v-model.trim="form.companyAddress"></el-input>
+                <el-input v-model.trim="form.companyAddress" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item :label="$t('title.sendingMailbox')" prop="cmpMailAccount">
-                <el-input v-model.trim="form.cmpMailAccount"></el-input>
+                <el-input v-model.trim="form.cmpMailAccount" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item :label="$t('title.emailPassword')" prop="cmpMailPassword">
-                <el-input v-model.trim="form.cmpMailPassword" show-password></el-input>
+                <el-input v-model.trim="form.cmpMailPassword" show-password maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item :label="$t('title.mailboxType')">
                 <el-radio-group v-model="form.cmpMailType">

+ 3 - 3
src/views/companyManage/formManage.vue

@@ -14,11 +14,11 @@
     <el-dialog :visible.sync="dialogFormVisible" width="650px" :before-close="close" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="state!==2 ? rules : {}" label-position="left">
             <el-form-item :label="$t('title.formName')" prop="formName">
-                <el-input v-if="state!==2" v-model="form.formName" :placeholder="$t('message.pleaseEnter') + $t('title.formName')" autocomplete="off"></el-input>
+                <el-input v-if="state!==2" v-model="form.formName" :placeholder="$t('message.pleaseEnter') + $t('title.formName')" autocomplete="off" maxlength="32" show-word-limit></el-input>
                 <div v-else>{{form.formName}}</div>
             </el-form-item>
             <el-form-item :label="$t('title.description')" prop="formIntroduce">
-                <el-input v-if="state!==2" type="textarea" :rows="4" resize="none" :placeholder="$t('message.pleaseEnter') + $t('title.description')" v-model="form.formIntroduce"></el-input>
+                <el-input v-if="state!==2" type="textarea" :rows="4" resize="none" :placeholder="$t('message.pleaseEnter') + $t('title.description')" v-model="form.formIntroduce" maxlength="1024" show-word-limit></el-input>
                 <div v-else>{{form.formIntroduce}}</div>
             </el-form-item>
             <el-form-item :label="state!==2?$t('message.selectTheRequiredFormItem'):$t('message.selectedFormItem')" prop="checkList">
@@ -27,7 +27,7 @@
                 <div v-if="state!==2" style="margin: 15px 0;"></div>
                 <el-checkbox-group v-if="state!==2" v-model="form.checkList" @change="handleCheckedCitiesChange">
                     <div v-for="item in formConfigList" :key="item.id">
-                        <el-checkbox :label="item.id">{{item.configName + ' ' + (item.type === 0 ? $t('info.singleLineInputBox') : item.type === 1 ? $t('info.multiLineInputBox') : $t('info.dropDownSelectionBox'))}}</el-checkbox>
+                        <el-checkbox :label="item.id">{{item.configName + ' ' + ( [0, 11, 12, 17].includes(item.type) ? $t('info.singleLineInputBox') : item.type === 1 ? $t('info.multiLineInputBox') : $t('info.dropDownSelectionBox'))}}</el-checkbox>
                     </div>
                 </el-checkbox-group>
                 <div v-else>

+ 3 - 3
src/views/companyManage/passwordSettings.vue

@@ -11,13 +11,13 @@
     <el-card class="box-card">
         <el-form ref="form" :model="form" :rules="rules" label-width="140px" label-position="left">
             <el-form-item label="输入旧密码" prop="oldPassword">
-                <el-input v-model.trim="form.oldPassword" show-password></el-input>
+                <el-input v-model.trim="form.oldPassword" show-password maxlength="64" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="输入新密码" prop="newPassword">
-                <el-input v-model.trim="form.newPassword" show-password></el-input>
+                <el-input v-model.trim="form.newPassword" show-password maxlength="64" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="确认新密码" prop="confirmPassword">
-                <el-input v-model.trim="form.confirmPassword" show-password></el-input>
+                <el-input v-model.trim="form.confirmPassword" show-password maxlength="64" show-word-limit></el-input>
             </el-form-item>
             <el-form-item class="button-grounp">
                 <el-button type="primary" @click="update">确认修改</el-button>

+ 2 - 2
src/views/companyManage/positionInfo.vue

@@ -14,11 +14,11 @@
     <el-dialog width="600px" :visible.sync="dialogFormVisible" :before-close="close" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="rules" label-position="left">
             <el-form-item label="职位名称" prop="positionName">
-                <el-input v-if="state!==2" v-model="form.positionName" placeholder="请输入职位名称" autocomplete="off"></el-input>
+                <el-input v-if="state!==2" v-model="form.positionName" placeholder="请输入职位名称" autocomplete="off" maxlength="32" show-word-limit></el-input>
                 <div v-else>{{form.positionName}}</div>
             </el-form-item>
             <el-form-item label="职位描述" prop="positionIntroduce">
-                <el-input v-if="state!==2" type="textarea" :rows="4" resize="none" placeholder="请输入内容" v-model="form.positionIntroduce"></el-input>
+                <el-input v-if="state!==2" type="textarea" :rows="4" resize="none" placeholder="请输入内容" v-model="form.positionIntroduce" maxlength="1024" show-word-limit></el-input>
                 <div v-else>{{form.positionIntroduce}}</div>
             </el-form-item>
             <el-form-item label="职位状态" prop="isDisable">

+ 19 - 11
src/views/companyManage/procedureManage.vue

@@ -17,7 +17,7 @@
             <el-form-item label="岗位名称" prop="processName" :rules="{
               required: true, message: '请输入岗位名称', trigger: 'blur'
             }">
-                <el-input v-model.trim="form.processName" placeholder="请输入岗位名称" v-if="state!=2" autocomplete="off"></el-input>
+                <el-input v-model.trim="form.processName" placeholder="请输入岗位名称" v-if="state!=2" autocomplete="off"  maxlength="32" show-word-limit></el-input>
                 <div v-else>{{form.processName}}</div>
             </el-form-item>
             <el-form-item v-for="(item, index) in form.questionList" :label="'面试问题' + (index + 1)" :key="item.key" :prop="'questionList.' + index" :rules="{
@@ -25,8 +25,8 @@
             }">
                 <div v-if="state!=2">
                     <div class="flex">
-                        <el-input v-model.trim="item.questionName" placeholder="请输入面试问题"></el-input>
-                        <el-button type="danger" @click.prevent="index === 0 || removeDomain(item)">删除</el-button>
+                        <el-input v-model.trim="item.questionName" placeholder="请输入面试问题" maxlength="128" show-word-limit></el-input>
+                        <el-button type="danger" v-if="index !== 0 " @click.prevent="index === 0 || removeDomain(item)">删除</el-button>
                     </div>
                     <el-select v-model="item.videoIdList" multiple filterable :disabled="state === 2" default-first-option placeholder="请选择面试视频">
                         <el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
@@ -43,20 +43,28 @@
                     </div>
                 </div>
             </el-form-item>
-            <el-form-item label="结束视频设置" prop="processName" :rules="{
-              required: true, message: '请输入岗位名称', trigger: 'blur'
+            <el-form-item label="结束视频设置" prop="ending" :rules="{
+              required: true, message: '请输入结束语', trigger: 'blur'
             }">
                 <div v-if="state!=2">
-                    <el-input v-model.trim="form.ending" placeholder="请输入结束语" autocomplete="off"  style="padding-bottom: 5px"></el-input>
-                    <el-select v-model="form.endVideoId " filterable :disabled="state === 2" default-first-option placeholder="请选择结束视频">
-                        <el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
-                        </el-option>
-                    </el-select>
+                    <el-input v-model.trim="form.ending" placeholder="请输入结束语" autocomplete="off" style="padding-bottom: 5px" maxlength="128" show-word-limit></el-input>
                 </div>
                 <div v-else>
                     <div>
                         {{form.ending}}
                     </div>
+                </div>
+            </el-form-item>
+            <el-form-item label="" prop="endVideoId" :rules="{
+              required: true, message: '请选择结束视频', trigger: 'blur'
+            }">
+                <div v-if="state!=2">
+                    <el-select v-model="form.endVideoId" filterable :disabled="state === 2" default-first-option placeholder="请选择结束视频" clearable>
+                        <el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
+                        </el-option>
+                    </el-select>
+                </div>
+                <div v-else>
                     <video width="100%" v-if="form.endVideoId" :src="downList.some(i => i.id === form.endVideoId) ? $img + downList.find(i => i.id === form.endVideoId).videoPath : ''" controls></video>
                 </div>
             </el-form-item>
@@ -114,7 +122,7 @@ export default {
           props: 'id'
         },
         {
-          label: '流程名称',
+          label: '岗位名称',
           props: 'processName'
         }
         ],

+ 3 - 3
src/views/companyManage/templateManage.vue

@@ -14,7 +14,7 @@
     <el-dialog :visible.sync="dialogFormVisible" :before-close="close" width="650px" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="rule" label-position="left">
             <el-form-item label="邀约岗位" prop="templateName">
-                <el-autocomplete v-if="state !== 2" v-model="form.templateName" :fetch-suggestions="querySearch" placeholder="请输入邀约岗位" @select="handleSelect"></el-autocomplete>
+                <el-autocomplete v-if="state !== 2" v-model="form.templateName" :fetch-suggestions="querySearch" placeholder="请输入邀约岗位" @select="handleSelect" maxlength="32" show-word-limit></el-autocomplete>
                 <div v-else>{{form.templateName}}</div>
             </el-form-item>
             <el-form-item label="关联场景" prop="sceneId">
@@ -24,7 +24,7 @@
                 <div v-else>{{this.downList0.some(i => i.id === form.sceneId) ? this.downList0.find(i => i.id === form.sceneId).sceneName : ''}}</div>
             </el-form-item>
             <el-form-item v-if="!form.sceneId||form.sceneId === 1" label="邮件内容" prop="templateIntroduce">
-                <el-input v-if="state !== 2" type="textarea" :rows="4" resize="none" placeholder="请输入邮件内容" v-model="form.templateIntroduce"></el-input>
+                <el-input v-if="state !== 2" type="textarea" :rows="4" resize="none" placeholder="请输入邮件内容" v-model="form.templateIntroduce" maxlength="1024" show-word-limit></el-input>
                 <div v-else>{{form.templateIntroduce}}</div>
             </el-form-item>
             <el-form-item v-if="!form.sceneId||form.sceneId !== 2" label="关联岗位" prop="processId">
@@ -51,7 +51,7 @@
     <el-dialog :visible.sync="dialogVisible" width="650px" :before-close="closeDia" :close-on-click-modal="false">
         <el-form :model="codeForm" ref="codeForm" label-width="200px" :rules="rules" label-position="left">
             <el-form-item label="二维码名称" prop="qrcodeName">
-                <el-input v-model="codeForm.qrcodeName" placeholder="请输入二维码名称" autocomplete="off"></el-input>
+                <el-input v-model="codeForm.qrcodeName" placeholder="请输入二维码名称" autocomplete="off" maxlength="32" show-word-limit></el-input>
             </el-form-item>
             <el-form-item label="二维码有效期" prop="time">
                 <el-date-picker v-model="codeForm.time" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">

+ 5 - 5
src/views/companyManage/videoManage.vue

@@ -14,7 +14,7 @@
     <el-dialog width="650px" :visible.sync="dialogFormVisible" :before-close="close" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="100px" :rules="state !== 2 ? rules : {}" label-position="left">
             <el-form-item label="视频名称" prop="videoName">
-                <el-input v-if="state!==2" v-model="form.videoName" placeholder="请输入视频名称" autocomplete="off"></el-input>
+                <el-input v-if="state!==2" v-model="form.videoName" placeholder="请输入视频名称" autocomplete="off" maxlength="64" show-word-limit></el-input>
                 <div v-else>{{form.videoName}}</div>
             </el-form-item>
             <el-form-item prop="videoPath">
@@ -85,11 +85,11 @@ export default {
         {
           label: '视频大小',
           props: 'videoSize'
-        },
-        {
-          label: '视频时长',
-          props: ''
         }
+        // {
+        //   label: '视频时长',
+        //   props: ''
+        // }
         ],
         handle: [{
           title: '查看',