diff --git a/pages/info/info.vue b/pages/info/info.vue
index d9a5203..effff40 100644
--- a/pages/info/info.vue
+++ b/pages/info/info.vue
@@ -22,15 +22,15 @@
{{info.staffName}}
- 访问姓名
+ 访客姓名
{{info.visitorName}}
- 访问身份证
+ 访客身份证
{{info.visitorIdCard ? addStar(info.visitorIdCard, 2, 4) : info.visitorIdCard}}
- 访问联系方式
+ 访客联系方式
{{info.visitorPhone}}
diff --git a/pages/info/info.vue b/pages/info/info.vue
index d9a5203..effff40 100644
--- a/pages/info/info.vue
+++ b/pages/info/info.vue
@@ -22,15 +22,15 @@
{{info.staffName}}
- 访问姓名
+ 访客姓名
{{info.visitorName}}
- 访问身份证
+ 访客身份证
{{info.visitorIdCard ? addStar(info.visitorIdCard, 2, 4) : info.visitorIdCard}}
- 访问联系方式
+ 访客联系方式
{{info.visitorPhone}}
diff --git a/pages/information/information.vue b/pages/information/information.vue
index c21db03..fce124b 100644
--- a/pages/information/information.vue
+++ b/pages/information/information.vue
@@ -2,13 +2,13 @@
-
+
-
+
-
+
diff --git a/pages/info/info.vue b/pages/info/info.vue
index d9a5203..effff40 100644
--- a/pages/info/info.vue
+++ b/pages/info/info.vue
@@ -22,15 +22,15 @@
{{info.staffName}}
- 访问姓名
+ 访客姓名
{{info.visitorName}}
- 访问身份证
+ 访客身份证
{{info.visitorIdCard ? addStar(info.visitorIdCard, 2, 4) : info.visitorIdCard}}
- 访问联系方式
+ 访客联系方式
{{info.visitorPhone}}
diff --git a/pages/information/information.vue b/pages/information/information.vue
index c21db03..fce124b 100644
--- a/pages/information/information.vue
+++ b/pages/information/information.vue
@@ -2,13 +2,13 @@
-
+
-
+
-
+
diff --git a/pages/list/list.vue b/pages/list/list.vue
index 3599e06..e139fbd 100644
--- a/pages/list/list.vue
+++ b/pages/list/list.vue
@@ -219,15 +219,15 @@
startTime: "",
endTime: "",
status: "",
- offset: this.offset,
- limit: this.limit
+ offset: this.offset,
+ limit: this.limit
};
const param = {
offset: 1,
limit: this.limit
}
this.nothingMore = false;
- const res = await getList(param);
+ const res = await getList(this.queryList);
this.list = res.records.map((item) => {
item.value = false
if (item.visitorApplyStatus == "1") {
@@ -306,14 +306,18 @@
async exportClick() {
const sessionId = uni.getStorageSync("sessionId");
let filePath = `${wx.env.USER_DATA_PATH}/${+new Date()}.xlsx`;
- let ids = "";
+ let ids = [];
ids =
this.checkboxList.length === 0
- ? this.list.map((item) => item.id).join()
- : this.checkboxList.map((item) => item.id).join();
+ ? this.list.map((item) => item.id)
+ : this.checkboxList.map((item) => item.id);
uni.request({
- url: `https://visitor.gd.smartlog.work/visitor/exportMessage?ids=${ids}`,
+ url: 'https://visitor.gd.smartlog.work/visitor/exportMessage',
responseType: "arraybuffer",
+ method:"POST",
+ data:{
+ ids
+ },
header: {
token: sessionId, //自定义请求头信息
},