Commit dee05d3d authored by 王晓旭's avatar 王晓旭

易正秀报表修改

parent 2c6eb7bf
...@@ -36,10 +36,10 @@ ...@@ -36,10 +36,10 @@
}" :scroll="{ y: 590 }" :pagination="tablePagination" @change="pagTableChange" :loading="tableLoading" }" :scroll="{ y: 590 }" :pagination="tablePagination" @change="pagTableChange" :loading="tableLoading"
:columns="tableHeaders" :dataSource="tableList"> :columns="tableHeaders" :dataSource="tableList">
<template slot="zhenshixingming" slot-scope="text, record, index"> <template slot="zhenshixingming" slot-scope="text, record, index">
<a-button type="link" @click="openUserDetails(record)">{{ text }}</a-button> <a-button type="link" @click="openUserDetails(record)">{{ text?text:'--' }}</a-button>
</template> </template>
<template slot="tupianzuopinshuliang" slot-scope="text, record, index"> <template slot="tupianzuopinshuliang" slot-scope="text, record, index">
<a-button type="link" @click="openPicWorks(record.id)">{{ text }}</a-button> <a-button type="link" @click="openPicWorks(record.id)">{{ (text || text==0)?text:'--' }}</a-button>
</template> </template>
</a-table> </a-table>
<PicWorks ref="PicWorks" /> <PicWorks ref="PicWorks" />
...@@ -96,11 +96,13 @@ export default { ...@@ -96,11 +96,13 @@ export default {
title: "联系电话", title: "联系电话",
align: "center", align: "center",
dataIndex: "contactTelphone", dataIndex: "contactTelphone",
customRender: (text) => `${text?text:'--'}`,
}, },
{ {
title: "单位名称", title: "单位名称",
align: "center", align: "center",
dataIndex: "organization", dataIndex: "organization",
customRender: (text) => `${text?text:'--'}`,
}, },
{ {
title: "图片作品数量", title: "图片作品数量",
...@@ -114,6 +116,7 @@ export default { ...@@ -114,6 +116,7 @@ export default {
title: "视频作品数量", title: "视频作品数量",
align: "center", align: "center",
dataIndex: "customerDesignVideos", dataIndex: "customerDesignVideos",
customRender: (text) => `${(text || text==0)?text:'--'}`,
}, },
{ {
title: "会员等级", title: "会员等级",
...@@ -125,6 +128,7 @@ export default { ...@@ -125,6 +128,7 @@ export default {
title: "最近登录时间", title: "最近登录时间",
align: "center", align: "center",
dataIndex: "lastLoginTime", dataIndex: "lastLoginTime",
customRender: (text) => `${text?text:'--'}`,
}, },
{ {
title: "使用状态", title: "使用状态",
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<span>登录账号</span><i>{{modalInfo.record.loginName}}</i> <span>登录账号</span><i>{{modalInfo.record.loginName}}</i>
</p> </p>
<p class="details1"> <p class="details1">
<span>登录密码</span><i>{{modalInfo.record.password.replace(/\S/g, "*")}}</i> <span>登录密码</span><i>{{modalInfo.record.password?modalInfo.record.password.replace(/\S/g, "*"):''}}</i>
</p> </p>
</div> </div>
<div class="box1"> <div class="box1">
...@@ -72,7 +72,13 @@ export default { ...@@ -72,7 +72,13 @@ export default {
name: "PortalAdminVueUserDetails", name: "PortalAdminVueUserDetails",
data() { data() {
return {}; return {
modalInfo:{
record:{
custName:''
}
}
};
}, },
mounted() {}, mounted() {},
......
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