zhuliu 7 月之前
父節點
當前提交
19cece6d1d

+ 4 - 1
src/views/report/InvalidResponse/components/table/IPREmail.vue

@@ -53,7 +53,10 @@ const defaultColumnList = [
         width:'150px',
         type:"function",
         useFunction:(data)=>{
-            return `${data.accountName}(${data.accountUserName})`
+            if(data.accountName){
+              return `${data.accountName}(${data.accountUserName})`  
+            }
+            return ''
         }
     },
     {

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

@@ -73,7 +73,7 @@
                 <template slot-scope="scope">
                     <div>
                         <div v-if="scope.row.id  && editMessage.id!=scope.row.id">
-                            {{ scope.row.accountName + '('+ scope.row.accountUserName +')' }}
+                            <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 @focus="focusPerson(scope.row.accountName)"