diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index c1498cb..55a88c9 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -109,19 +109,19 @@ text: '消息编号', value: 'id', align: 'center', - width: 200 + width: 220 }, { text: '访客申请编号', value: 'messageId', align: 'center', - width: 200 + width: 220 }, { text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 150 + width: 180 }, { text: '发送状态', @@ -133,7 +133,7 @@ text: '发送时间', value: 'createTime', align: 'center', - width: 200 + width: 150 }, { text: '接收人证件编号', @@ -200,6 +200,9 @@ if (date) { this.listQuery.createTime = date[0] this.listQuery.createEndTime = date[1] + } else { + this.listQuery.createTime = '' + this.listQuery.createEndTime = '' } }, // 重置 diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index c1498cb..55a88c9 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -109,19 +109,19 @@ text: '消息编号', value: 'id', align: 'center', - width: 200 + width: 220 }, { text: '访客申请编号', value: 'messageId', align: 'center', - width: 200 + width: 220 }, { text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 150 + width: 180 }, { text: '发送状态', @@ -133,7 +133,7 @@ text: '发送时间', value: 'createTime', align: 'center', - width: 200 + width: 150 }, { text: '接收人证件编号', @@ -200,6 +200,9 @@ if (date) { this.listQuery.createTime = date[0] this.listQuery.createEndTime = date[1] + } else { + this.listQuery.createTime = '' + this.listQuery.createEndTime = '' } }, // 重置 diff --git a/src/views/backstage/personList.vue b/src/views/backstage/personList.vue index 81acc21..28887a3 100644 --- a/src/views/backstage/personList.vue +++ b/src/views/backstage/personList.vue @@ -273,13 +273,13 @@ text: '员工证件编号', value: 'account', align: 'center', - width: 200 + width: 120 }, { text: '员工姓名', value: 'name', align: 'center', - width: 150 + width: 120 }, { text: '证件类型', @@ -291,25 +291,25 @@ text: '手机号', value: 'phone', align: 'center', - width: 200 + width: 120 }, { text: '是否已在小程序注册', value: 'logonState', align: 'center', - width: 150 + width: 120 }, { text: '员工类型', value: 'staffTypeName', align: 'center', - width: 150 + width: 120 }, { text: '员工角色', value: 'staffRoleName', align: 'center', - width: 150 + width: 120 }, { text: '备注', diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index c1498cb..55a88c9 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -109,19 +109,19 @@ text: '消息编号', value: 'id', align: 'center', - width: 200 + width: 220 }, { text: '访客申请编号', value: 'messageId', align: 'center', - width: 200 + width: 220 }, { text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 150 + width: 180 }, { text: '发送状态', @@ -133,7 +133,7 @@ text: '发送时间', value: 'createTime', align: 'center', - width: 200 + width: 150 }, { text: '接收人证件编号', @@ -200,6 +200,9 @@ if (date) { this.listQuery.createTime = date[0] this.listQuery.createEndTime = date[1] + } else { + this.listQuery.createTime = '' + this.listQuery.createEndTime = '' } }, // 重置 diff --git a/src/views/backstage/personList.vue b/src/views/backstage/personList.vue index 81acc21..28887a3 100644 --- a/src/views/backstage/personList.vue +++ b/src/views/backstage/personList.vue @@ -273,13 +273,13 @@ text: '员工证件编号', value: 'account', align: 'center', - width: 200 + width: 120 }, { text: '员工姓名', value: 'name', align: 'center', - width: 150 + width: 120 }, { text: '证件类型', @@ -291,25 +291,25 @@ text: '手机号', value: 'phone', align: 'center', - width: 200 + width: 120 }, { text: '是否已在小程序注册', value: 'logonState', align: 'center', - width: 150 + width: 120 }, { text: '员工类型', value: 'staffTypeName', align: 'center', - width: 150 + width: 120 }, { text: '员工角色', value: 'staffRoleName', align: 'center', - width: 150 + width: 120 }, { text: '备注', diff --git a/src/views/backstage/visitList.vue b/src/views/backstage/visitList.vue index 39fb8f0..553c7de 100644 --- a/src/views/backstage/visitList.vue +++ b/src/views/backstage/visitList.vue @@ -282,6 +282,9 @@ if (date) { this.listQuery.inTime = date[0] this.listQuery.outTime = date[1] + } else { + this.listQuery.inTime = '' + this.listQuery.outTime = '' } }, changePage({ page, size }) { @@ -321,4 +324,5 @@ } - +