diff --git a/src/main.js b/src/main.js
index 06772e21..52f9ce9f 100644
--- a/src/main.js
+++ b/src/main.js
@@ -34,12 +34,12 @@ const app = new Vue({
store,
...App
});
-// app.$mount();
+app.$mount();
store.dispatch("agentSign").then(config => {
const init = (c = 0) => {
if (config) {
store.commit("getConfig", {...config, latlng: [config.lat, config.lng]})
- app.$mount();
+ // app.$mount();
} else {
if (c < 5) {
setTimeout(() => {
diff --git a/src/saas/AppSpecialPeople/add.vue b/src/saas/AppSpecialPeople/add.vue
index 6ca3944e..c8a4ef7b 100644
--- a/src/saas/AppSpecialPeople/add.vue
+++ b/src/saas/AppSpecialPeople/add.vue
@@ -68,12 +68,11 @@
所属网格
-
-
{{
- $dict.getLabel('appSpecialTypeFive', form.girdName) || '请选择'
- }}
-
+
@@ -138,8 +137,6 @@
-
@@ -386,21 +383,17 @@ export default {
selectList: [],
id: "",
index: "",
- showGird: false,
- girdlist: [],
isEdit: false,
}
},
computed: {
...mapState(['user']),
-
},
onLoad(o) {
this.$dict.load('appSpecialSituation', 'appSpecialPlacement', 'appSpecialDenger', 'appSpecialCrime',
'appSpecialControl', 'appSpecialDebug', 'appSpecialDrug', 'appSpecialChangeType', 'appSpecialCure', 'appSpecialDengerLevel',
'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive', 'isReflection', 'yesOrNo').then(() => {
- }),
- this.gridName()
+ })
if (o) {
this.isEdit = true
this.id = o.id
@@ -441,21 +434,8 @@ export default {
this.form.gender = people.gender
},
- confirmGirdSelect(e) {
- this.form.girdId = e[0].value
- this.form.girdName = e[0].label
- },
-
- gridName() {
- this.$http.post('app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser').then(res => {
- if (res.code == 0) {
- var list = []
- res.data.map((e, index) => {
- list.push({dictName: e.girdName, dictValue: index})
- })
- this.girdlist = list
- }
- })
+ handleSelectGrid(v) {
+ this.form.girdName = v?.[0]?.girdName || ""
},
submit() {