@@ -56,8 +53,6 @@
data () {
return {
form: {
- areaName: '',
- areaId: '',
classOne: '',
classThree: '',
classTwo: '',
@@ -69,19 +64,11 @@
}
},
- computed: {
- ...mapState(['user'])
- },
-
created () {
if (this.params && this.params.id) {
this.id = this.params.id
this.getInfo(this.params.id)
}
-
- this.form.areaId =this.user.info.areaId
- this.form.areaName =this.user.info.areaName
- this.disabledLevel = this.user.info.areaList.length
},
methods: {
diff --git a/project/fengdu/app/AppIntegratingPublic/components/List.vue b/project/fengdu/app/AppIntegratingPublic/components/List.vue
index 38ee77d3..8451559f 100644
--- a/project/fengdu/app/AppIntegratingPublic/components/List.vue
+++ b/project/fengdu/app/AppIntegratingPublic/components/List.vue
@@ -1,7 +1,7 @@
-
+
@@ -70,13 +70,11 @@
current: 1,
size: 10,
girdId: [],
- girdName: '',
- areaId: ''
+ girdName: ''
},
total: 0,
colConfigs: [
- { prop: 'areaName', label: '所属地区', align: 'left', 'show-overflow-tooltip': true },
- { prop: 'girdName', label: '所属网格', align: 'center' },
+ { prop: 'girdName', label: '所属网格', align: 'left' },
{ prop: 'classOne', label: '一类', align: 'center' },
{ prop: 'classTwo', label: '二类', align: 'center' },
{ prop: 'classThree', label: '三类', align: 'center' },
@@ -86,16 +84,8 @@
tableData: []
}
},
- computed: {
- ...mapState(['user']),
- hideLevel() {
- return this.user.info.areaList?.length || 0
- },
- },
-
- created() {
- this.search.areaId = this.user.info.areaId
+ created () {
this.getList()
},
@@ -124,14 +114,6 @@
})
},
- changeArea () {
- this.search.current = 1
-
- this.$nextTick(() => {
- this.getList()
- })
- },
-
remove (id) {
this.$confirm('确定删除该数据?').then(() => {
this.instance.post(`/app/appintegralpublicityinfo/delete?ids=${id}`).then(res => {