diff --git a/src/api/minipro.js b/src/api/minipro.js index dfb1617..99c71f0 100644 --- a/src/api/minipro.js +++ b/src/api/minipro.js @@ -62,10 +62,7 @@ url: '/user/download', method: 'get', params: { - filename: 'userModel.xlsx' - }, - headers: { - responseType: 'blob' + fileName: 'userModel.xlsx' }, responseType: 'blob' }) diff --git a/src/api/minipro.js b/src/api/minipro.js index dfb1617..99c71f0 100644 --- a/src/api/minipro.js +++ b/src/api/minipro.js @@ -62,10 +62,7 @@ url: '/user/download', method: 'get', params: { - filename: 'userModel.xlsx' - }, - headers: { - responseType: 'blob' + fileName: 'userModel.xlsx' }, responseType: 'blob' }) diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index 8fc86ef..b6ae4ce 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -119,13 +119,13 @@ text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 100 + width: 150 }, { text: '发送状态', value: 'status', align: 'center', - width: 100 + width: 150 }, { text: '发送时间', @@ -142,14 +142,14 @@ text: '接收人姓名', value: 'name', align: 'center', - width: 120 - }, - { - text: '接收人时间', - value: 'createEndTime', - align: 'center', - width: 200 + width: 150 } + // { + // text: '接收人时间', + // value: 'createEndTime', + // align: 'center', + // width: 200 + // } ], // 显示列 list: [], // 列表数据 selectList: [], // 选中的数据 diff --git a/src/api/minipro.js b/src/api/minipro.js index dfb1617..99c71f0 100644 --- a/src/api/minipro.js +++ b/src/api/minipro.js @@ -62,10 +62,7 @@ url: '/user/download', method: 'get', params: { - filename: 'userModel.xlsx' - }, - headers: { - responseType: 'blob' + fileName: 'userModel.xlsx' }, responseType: 'blob' }) diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index 8fc86ef..b6ae4ce 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -119,13 +119,13 @@ text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 100 + width: 150 }, { text: '发送状态', value: 'status', align: 'center', - width: 100 + width: 150 }, { text: '发送时间', @@ -142,14 +142,14 @@ text: '接收人姓名', value: 'name', align: 'center', - width: 120 - }, - { - text: '接收人时间', - value: 'createEndTime', - align: 'center', - width: 200 + width: 150 } + // { + // text: '接收人时间', + // value: 'createEndTime', + // align: 'center', + // width: 200 + // } ], // 显示列 list: [], // 列表数据 selectList: [], // 选中的数据 diff --git a/src/views/backstage/personList.vue b/src/views/backstage/personList.vue index e9b7b13..5206f7a 100644 --- a/src/views/backstage/personList.vue +++ b/src/views/backstage/personList.vue @@ -301,13 +301,13 @@ }, { text: '员工类型', - value: 'staffType', + value: 'staffTypeName', align: 'center', width: 150 }, { text: '员工角色', - value: 'roleName', + value: 'staffRoleName', align: 'center', width: 150 }, @@ -537,7 +537,6 @@ }) downloadTemplate().then(res => { loading.close() // 关闭加载动画 - console.log('download===', res) const blob = new Blob([res.data]) const downloadElement = document.createElement('a') const href = window.URL.createObjectURL(blob) // 创建下载的链接 diff --git a/src/api/minipro.js b/src/api/minipro.js index dfb1617..99c71f0 100644 --- a/src/api/minipro.js +++ b/src/api/minipro.js @@ -62,10 +62,7 @@ url: '/user/download', method: 'get', params: { - filename: 'userModel.xlsx' - }, - headers: { - responseType: 'blob' + fileName: 'userModel.xlsx' }, responseType: 'blob' }) diff --git a/src/views/backstage/messageList.vue b/src/views/backstage/messageList.vue index 8fc86ef..b6ae4ce 100644 --- a/src/views/backstage/messageList.vue +++ b/src/views/backstage/messageList.vue @@ -119,13 +119,13 @@ text: '访客申请状态', value: 'visitorApplyStatus', align: 'center', - width: 100 + width: 150 }, { text: '发送状态', value: 'status', align: 'center', - width: 100 + width: 150 }, { text: '发送时间', @@ -142,14 +142,14 @@ text: '接收人姓名', value: 'name', align: 'center', - width: 120 - }, - { - text: '接收人时间', - value: 'createEndTime', - align: 'center', - width: 200 + width: 150 } + // { + // text: '接收人时间', + // value: 'createEndTime', + // align: 'center', + // width: 200 + // } ], // 显示列 list: [], // 列表数据 selectList: [], // 选中的数据 diff --git a/src/views/backstage/personList.vue b/src/views/backstage/personList.vue index e9b7b13..5206f7a 100644 --- a/src/views/backstage/personList.vue +++ b/src/views/backstage/personList.vue @@ -301,13 +301,13 @@ }, { text: '员工类型', - value: 'staffType', + value: 'staffTypeName', align: 'center', width: 150 }, { text: '员工角色', - value: 'roleName', + value: 'staffRoleName', align: 'center', width: 150 }, @@ -537,7 +537,6 @@ }) downloadTemplate().then(res => { loading.close() // 关闭加载动画 - console.log('download===', res) const blob = new Blob([res.data]) const downloadElement = document.createElement('a') const href = window.URL.createObjectURL(blob) // 创建下载的链接 diff --git a/src/views/backstage/visitList.vue b/src/views/backstage/visitList.vue index 1739d7b..08ff78e 100644 --- a/src/views/backstage/visitList.vue +++ b/src/views/backstage/visitList.vue @@ -40,7 +40,8 @@ v-model="listQuery.timeRange" type="daterange" value-format="yyyy-MM-dd" - placeholder="访问日期1" + start-placeholder="访问开始日期" + end-placeholder="访问结束日期" size="small" @change="handleTimeRange" />