+
{{ index + 1 > 9 ? index + 1 : '0' + (index + 1) }}
-
贡平娟
+
已上传
- 10
+ {{ item.num }}
张
@@ -32,16 +32,27 @@
data () {
return {
-
+ list: []
}
},
- mounted () {
-
+ onLoad (query) {
+ this.getList(query.date)
},
methods: {
-
+ getList (date) {
+ this.$http.post(`/api/appattendancerecord/userphotosort?queryTime=${date}`).then(res => {
+ if (res.code === 0) {
+ this.list = Object.keys(res.data).map(v => {
+ return {
+ name: v,
+ num: res.data[v]
+ }
+ })
+ }
+ })
+ }
}
}
@@ -130,4 +141,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/src/saas/AppCountryAlbum/WatermarkConfig.vue b/src/saas/AppCountryAlbum/WatermarkConfig.vue
index 7e7bea23..6df30ac7 100644
--- a/src/saas/AppCountryAlbum/WatermarkConfig.vue
+++ b/src/saas/AppCountryAlbum/WatermarkConfig.vue
@@ -4,14 +4,32 @@
保存
@@ -47,6 +65,10 @@
})
},
+ onDateChange (e, index) {
+ this.$set(this.config[index], 'defaultValue', e.detail.value)
+ },
+
onChange (e, index) {
this.$set(this.config[index], 'status', e.detail.value ? '1' : '0')
},
@@ -120,15 +142,15 @@
border: none;
}
- .left {
+
+ .right {
display: flex;
align-items: center;
flex: 1;
- margin-right: 10px;
+ margin-left: 36px;
- .left-right {
+ .right-left {
flex: 1;
- margin-left: 36px;
h2 {
margin-bottom: 12px;
@@ -142,6 +164,13 @@
}
}
}
+
+
+ .left {
+ display: flex;
+ align-items: center;
+ margin-right: 10px;
+ }
}
}
}
diff --git a/src/saas/AppCountryAlbum/components/Home.vue b/src/saas/AppCountryAlbum/components/Home.vue
index e11fa905..bd104a45 100644
--- a/src/saas/AppCountryAlbum/components/Home.vue
+++ b/src/saas/AppCountryAlbum/components/Home.vue
@@ -3,7 +3,7 @@
@@ -81,7 +81,8 @@
countPhotoNo: '',
countPhotographer: '',
list: [],
- msgInfo: {}
+ msgInfo: {},
+ userInfo: {}
}
},
@@ -89,6 +90,7 @@
this.getCountPhotoNo()
this.getAlbumList()
this.getMsgList()
+ this.getUserInfo()
},
methods: {
@@ -98,6 +100,14 @@
})
},
+ getUserInfo () {
+ this.$http.post('/api/user/info').then(res => {
+ if (res.code === 0) {
+ this.userInfo = res.data
+ }
+ })
+ },
+
getCountPhotoNo () {
this.$http.post('/api/appalbumphoto/countPhotoNo').then(res => {
if (res.code === 0) {
diff --git a/src/saas/AppCountryAlbum/components/Organize.vue b/src/saas/AppCountryAlbum/components/Organize.vue
index b2a0aadd..ec59ae3b 100644
--- a/src/saas/AppCountryAlbum/components/Organize.vue
+++ b/src/saas/AppCountryAlbum/components/Organize.vue
@@ -41,7 +41,7 @@
拍照数
{{ photoTotal.allPhoto }}
- 人
+ 张