@@ -34,13 +34,27 @@
export default {
data() {
return {
-
+ userGird: {}
}
},
onShow() {
document.title = '网格管理'
},
+ mounted() {
+ this.isGirdUser()
+ },
methods: {
+ isGirdUser() {
+ this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
+ if (res.code == 0) {
+ if (res.data.checkType) {
+ this.userGird = res.data.appGirdInfo
+ } else {
+ this.$u.toast('当前人员不是网格员或网格管理员')
+ }
+ }
+ })
+ },
linkTo(url) {
uni.navigateTo({url})
}
diff --git a/src/apps/AppGridManagement/SelectGird.vue b/src/apps/AppGridManagement/SelectGird.vue
index db7b4b7b..fb02872e 100644
--- a/src/apps/AppGridManagement/SelectGird.vue
+++ b/src/apps/AppGridManagement/SelectGird.vue
@@ -4,12 +4,11 @@
/{{item.girdName}}
-
-
+
@@ -24,59 +23,11 @@
-
-
-
-
-
-
-
-
{{ e.name }}
-
{{ e.phone }}
-
-
-
-
-
-
-
-
-
-
-
@@ -90,9 +41,6 @@ export default {
treeList: [],
slectList: [],
userList: [],
-
- show: true,
- form: {}
}
},
onLoad() {
@@ -363,82 +311,5 @@ export default {
}
}
- .popup {
- padding: 0 32px 16px;
-
- .bg {
- width: 64px;
- height: 10px;
- background: #CCC;
- border-radius: 6px;
- margin: 32px 0 32px 344px;
- }
-
- .title {
- font-size: 36px;
- font-family: PingFang-SC-Heavy, PingFang-SC;
- font-weight: 800;
- color: #333;
- line-height: 50px;
- margin-bottom: 24px;
- }
-
- .info-flex {
- padding: 26px 0 30px 0;
- width: 100%;
- border-bottom: 1px solid #D8DDE6;
- line-height: 40px;
- font-size: 28px;
-
- .label {
- display: inline-block;
- width: 160px;
- font-weight: 800;
- color: #333;
- }
-
- .value {
- color: #666;
- font-size: 26px;
-
- .phone-icon {
- width: 40px;
- height: 40px;
- vertical-align: sub;
- margin-left: 16px;
- }
- }
- }
- .border-b0{
- border-bottom: 0;
- }
- .btn{
- padding: 32px 0;
- background-color: #fff;
- display: flex;
- span{
- display: inline-block;
- height: 92px;
- line-height: 90px;
- border-radius: 8px;
- font-size: 34px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- box-sizing: border-box;
- text-align: center;
- }
- .del{
- color: #f46;
- border: 1px solid #f46;
- flex: 1;
- margin-right: 32px;
- }
- .edit{
- background-color: #3671EE;
- color: #fff;
- flex: 2;
- }
- }
- }
}
diff --git a/src/apps/AppGridManagement/SetGird.vue b/src/apps/AppGridManagement/SetGird.vue
new file mode 100644
index 00000000..7b86930e
--- /dev/null
+++ b/src/apps/AppGridManagement/SetGird.vue
@@ -0,0 +1,448 @@
+
+
+
+
+
+
+