+
+
-
![]()
+
{{ item.text }}
-
+

-
没有网格员权限
无法查看随手拍信息哦~
+
没有网格员权限
无法查看随手拍信息哦~
@@ -18,11 +18,11 @@
import List from './List.vue'
import Statistics from './Statistics.vue'
import Set from './Set.vue'
+import {mapState} from 'vuex'
export default {
name: 'AppHandSnapshot',
appName: '随手拍',
-
data() {
return {
component: 'List',
@@ -50,10 +50,14 @@ export default {
// }
],
isTab: true,
- isAdmin: false
}
},
-
+ computed: {
+ ...mapState(['user']),
+ isGridMember() {
+ return this.user.girdCheckType > 0
+ }
+ },
components: {
List,
Statistics,
@@ -72,20 +76,7 @@ export default {
this.$nextTick(() => {
this.refresh = true
})
- },
- isGirdUser() {
- this.isAdmin = false
- this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
- if (res.code == 0) {
- if (res.data.checkType != '0') {
- this.isAdmin = true
- }
- }
- })
- },
- },
- onLoad() {
- this.isGirdUser()
+ }
},
onShow() {
document.title = '随手拍'
@@ -98,7 +89,7 @@ export default {
},
onReachBottom() {
- if(!this.tabIndex) {
+ if (!this.tabIndex) {
uni.$emit('nextList')
}
},
@@ -109,6 +100,7 @@ export default {
.AppHandSnapshot {
height: 100%;
}
+
.tabs {
width: 100%;
height: 98px;
@@ -118,14 +110,17 @@ export default {
bottom: 0;
left: 0;
display: flex;
+
.item {
flex: 1;
text-align: center;
+
img {
width: 56px;
height: 56px;
margin-top: 8px;
}
+
p {
font-size: 22px;
font-family: PingFangSC-Medium, PingFang SC;
@@ -133,19 +128,23 @@ export default {
color: #c4cad4;
line-height: 8px;
}
+
.color-3267F0 {
color: #3267f0;
}
}
}
-.empty{
+
+.empty {
text-align: center;
- img{
+
+ img {
width: 282px;
height: 306px;
margin: 136px auto 0;
}
- p{
+
+ p {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
diff --git a/src/project/beta/AppHandSnapshot/List.vue b/src/project/beta/AppHandSnapshot/List.vue
index 82a31199..78b2b3e6 100644
--- a/src/project/beta/AppHandSnapshot/List.vue
+++ b/src/project/beta/AppHandSnapshot/List.vue
@@ -1,25 +1,22 @@
-
+
-
-
{{girdNameText}}
-

+
-
-
-
-
{{eventStatusText}}
-

+
-
-
-
+
@@ -36,7 +33,8 @@
-
+
{{ $dict.getLabel('clapEventStatus', item.eventStatus) }}
@@ -46,13 +44,12 @@
-