diff --git a/src/saas/AppBuilding/AppBuilding.vue b/src/saas/AppBuilding/AppBuilding.vue
index fcf9e217..4205fa78 100644
--- a/src/saas/AppBuilding/AppBuilding.vue
+++ b/src/saas/AppBuilding/AppBuilding.vue
@@ -1,6 +1,10 @@
-
+
+
+

+
没有网格员/网格长权限
无法查看楼栋信息哦~
+
@@ -14,7 +18,8 @@ export default {
appName: '以房找人',
data() {
return {
- show: true
+ show: true,
+ isAdmin: false
}
},
onShow() {
@@ -23,7 +28,20 @@ export default {
this.show = true
})
document.title = "以房找人"
+ this.isGirdUser()
},
+ methods: {
+ isGirdUser() {
+ this.isAdmin = false
+ this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
+ if (res.code == 0) {
+ if (res.data.checkType == '2') {
+ this.isAdmin = true
+ }
+ }
+ })
+ },
+ }
}
@@ -34,5 +52,23 @@ uni-page-body {
.AppBuilding {
height: 100%;
+ .empty{
+ height: 100%;
+ img{
+ width: 282px;
+ height: 306px;
+ margin: 168px 0 0 234px;
+ }
+ p{
+ text-align: center;
+ font-size: 28px;
+ font-family: PingFangSC-Regular, PingFang SC;
+ color: #999;
+ line-height: 44px;
+ span{
+ color: #467DFE;
+ }
+ }
+ }
}
diff --git a/src/saas/AppWalkask/detail.vue b/src/saas/AppWalkask/detail.vue
index 957921bd..38e03288 100644
--- a/src/saas/AppWalkask/detail.vue
+++ b/src/saas/AppWalkask/detail.vue
@@ -19,7 +19,7 @@
走访人员:
-
{{ data.createUserName }}
+
diff --git a/src/saas/AppWalkask/selectType.vue b/src/saas/AppWalkask/selectType.vue
index 1f395578..bb8d02a1 100644
--- a/src/saas/AppWalkask/selectType.vue
+++ b/src/saas/AppWalkask/selectType.vue
@@ -52,6 +52,10 @@
+
+
+
+
@@ -82,6 +86,9 @@ export default {
})
},
methods: {
+ toAdd() {
+ uni.navigateTo({ url: '../AppSpecialPeople/add'})
+ },
userClick(row, index) {
if (this.userList[index].isChecked) {
this.userList[index].isChecked = false //取消
@@ -101,7 +108,7 @@ export default {
// },
getUsers() {
- this.$http.post(`/app/appspecialadjustment/allList?size=20¤t=${this.current}`, { type: this.type }).then((res) => {
+ this.$http.post(`/app/appspecialadjustment/allList?size=20¤t=${this.current}`, { type: this.type, name: this.keyword }).then((res) => {
if (res.code == 0) {
if(this.current > res.data.total) {
return
@@ -143,6 +150,7 @@ export default {
if (!this.showType) {
this.keyword = e
this.current = 1
+ this.userList = []
// this.getUser()
this.getUsers()
}
@@ -288,5 +296,18 @@ export default {
float: right;
}
}
+ .addBtn {
+ width: 96px;
+ height: 96px;
+ flex-shrink: 0;
+ background: $uni-color-primary;
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
+ font-size: 48px;
+ color: #fff;
+ border-radius: 50%;
+ justify-content: center;
+ align-items: center;
+ display: flex;
+ }
}