From 748f2ce2df0597d464a20a64605f45f9bfb1512b Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 18 Nov 2025 15:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E6=8A=AC=E5=A4=B4=E5=92=8C?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=AE=A2=E6=88=B7=E9=83=BD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/customer/wxulist.vue | 43 +++++++++++++++++++++++------------ src/view/invoice/headlist.vue | 20 ++++++++++++++-- 2 files changed, 47 insertions(+), 16 deletions(-) diff --git a/src/view/customer/wxulist.vue b/src/view/customer/wxulist.vue index fbc5b63..fe80b32 100644 --- a/src/view/customer/wxulist.vue +++ b/src/view/customer/wxulist.vue @@ -27,9 +27,19 @@ +
+ + + + +
-
+
@@ -67,30 +77,31 @@ export default { headers: { token: sessionStorage.getItem('Swadmin_ApiAuth') }, + checkAllGroup: ['序号', '手机号码', '上次登录时间', '创建时间', '状态'], columnsList: [{ title: '序号', type: 'index', - width: 65, + // width: 65, align: 'center' }, { title: '手机号码', align: 'center', - key: 'phone', - width: 260 + key: 'phone' + // width: 260 }, { title: 'openid', align: 'openid', - key: 'openid', - minWidth: 280 + key: 'openid' + // minWidth: 280 }, { title: '头像', align: 'center', key: 'headimgurl', - width: 100, + // width: 100, render: (h, params) => { return h('img', { attrs: { @@ -103,28 +114,27 @@ export default { { title: '上次登录时间', align: 'center', - key: 'last_login_time', - width: 210 + key: 'last_login_time' + // width: 210 }, { title: '创建时间', align: 'center', - key: 'create_time', - width: 310 + key: 'create_time' + // width: 310 }, { title: '状态', align: 'center', key: 'status', - width: 200, + // width: 200, render: (h, params) => { let _st = params.row.status === 0 ? '禁用' : '正常' return h('p', [ _st ]) } - } - ], + }], tableData: [], groupInfo: {}, groupList: {}, @@ -151,6 +161,11 @@ export default { vm.getList() // }, + computed: { + columnsList1 () { + return this.columnsList.filter(column => this.checkAllGroup.includes(column.title)) + } + }, methods: { alertAdd () { let vm = this diff --git a/src/view/invoice/headlist.vue b/src/view/invoice/headlist.vue index 9143be9..9eb14bc 100644 --- a/src/view/invoice/headlist.vue +++ b/src/view/invoice/headlist.vue @@ -17,9 +17,19 @@ - +
+ + + + +
+
-
+
@@ -42,6 +52,7 @@ export default { tableData: [], listLoading: false, pucode_id: '', + checkAllGroup: ['id', '用户编码', '税号', '开户行', '银行账号', '创建时间'], columnsList: [ { title: 'id', align: 'center', key: 'id', minWidth: 80 }, { title: '用户编码', align: 'center', key: 'pucode', minWidth: 100 }, @@ -74,6 +85,11 @@ export default { created () { this.InvoiceHead() }, + computed: { + columnsList1 () { + return this.columnsList.filter(column => this.checkAllGroup.includes(column.title)) + } + }, methods: { InvoiceHead () { let data = {