Commit a9dd61df by 曾经

pop key不唯一的报错问题

parent 0ea3419a
......@@ -18,7 +18,8 @@ export default {
MemberFieldsDialog,
FreezeDialog
},
mixins: [authMethods,tableSticky],
// mixins: [authMethods,tableSticky],
mixins: [authMethods],
filters: {
formatBirth(value){
return paddingBorth(value) || '--'
......@@ -206,7 +207,7 @@ export default {
list.forEach((item)=>{
item.exceptionReasonList = (item.exceptionReason||'').split(';');
})
this.list = list || [];
this.list = list;
this.total = totalCount || 0;
}
})
......
......@@ -268,13 +268,13 @@
<el-table-column label="异常原因" min-width="220">
<template slot-scope="{ row }">
<el-popover placement="top" trigger="hover" :disabled="!row.exceptionReason">
<el-row type="flex" v-for="(item) in (row.exceptionReason||'').split(';')" :key="item">
<el-popover placement="top" trigger="hover" :disabled="!(row.exceptionReasonList && row.exceptionReasonList.length)">
<el-row type="flex" v-for="(item,index) in (row.exceptionReasonList||[])" :key="row.memberId + '_reason_' + index">
<div class="dm-status--info"></div>
<div>{{ item }}</div>
</el-row>
<span slot="reference"
>{{ (row.exceptionReason||'').split(';')[0] || '--' }}</span
>{{ (row.exceptionReasonList && row.exceptionReasonList.length) ? (row.exceptionReasonList[0] + (row.exceptionReasonList.length>1?'...':'')) : '--' }}</span
>
</el-popover>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment