zhuliu 7 months ago
parent
commit
506a49c834

+ 1 - 1
src/utils/personLazy.js

@@ -25,7 +25,7 @@ export default {
         //获取焦点
         focusPerson(value = ''){
             if(this.personnelList.data && this.personnelList.data.length){
-            return
+                return
             }
             this.remoteMethodPerson(value||'')
         },

+ 1 - 1
src/views/report/InvalidResponse/components/IPREmail/components/dialog/addOrEditIPREmail.vue

@@ -13,7 +13,7 @@
             <el-input v-model="form.email" placeholder="请输入邮箱"></el-input>
         </el-form-item>
         <el-form-item label="关联账号:" prop="assoAccountId">
-          <el-select style="width:100%" v-model="form.assoAccountId" placeholder="请选择账号" filterable remote 
+          <el-select style="width:100%" v-model="form.assoAccountId" placeholder="请选择账号" filterable remote  @focus="focusPerson(form.accountName)"
             :popper-append-to-body="false" :remote-method="remoteMethodPerson" v-SelectLazyLoading="lazyLoadingPerson"
             :loading="personnelList.loading">
             <el-option v-for="item in personnelList.data" :key="parseInt(item.id)" :label="item.name"

+ 1 - 1
src/views/report/components/dialog/components/handelPersonTable.vue

@@ -76,7 +76,7 @@
                             <span v-if="scope.row.accountName">{{ scope.row.accountName + '('+ scope.row.accountUserName +')' }}</span>
                         </div>
                         <div v-else>
-                            <el-select style="width:100%" v-model="scope.row.assoAccountId" placeholder="请选择账号" filterable remote
+                            <el-select style="width:100%" v-model="scope.row.assoAccountId" placeholder="请选择账号" filterable remote @focus="focusPerson(scope.row.accountName)"
                                 :popper-append-to-body="false" :remote-method="remoteMethodPerson" v-SelectLazyLoading="lazyLoadingPerson" :disabled="currentEditField && currentEditField!='assoAccountId'"
                                 :loading="personnelList.loading">
                                 <el-option v-for="item in personnelList.data" :key="parseInt(item.id)" :label="item.name"