diff --git a/project/qujing/app/AppConflictMediation/AppConflictMediation.vue b/project/qujing/app/AppConflictMediation/AppConflictMediation.vue
index 6721a42c..bc0e25b0 100644
--- a/project/qujing/app/AppConflictMediation/AppConflictMediation.vue
+++ b/project/qujing/app/AppConflictMediation/AppConflictMediation.vue
@@ -1,7 +1,7 @@
-
+
@@ -13,45 +13,16 @@ import Detail from './components/Detail'
export default {
name: 'AppConflictMediation',
label: '矛盾调解',
-
props: {
instance: Function,
dict: Object
},
-
- data() {
- return {
- component: 'List',
- params: {}
- }
+ computed: {
+ currentPage: v => v.$route.hash == "#add" ? Detail : List
},
-
components: {
List,
Detail
- },
-
- mounted() {
- },
-
- methods: {
- onChange(data) {
- if (data.type === 'Detail') {
- this.component = 'Detail'
- this.params = data.params
- }
-
- if (data.type === 'list') {
- this.component = 'List'
- this.params = data.params
-
- this.$nextTick(() => {
- if (data.isRefresh) {
- this.$refs.component.getList()
- }
- })
- }
- }
}
}
diff --git a/project/qujing/app/AppConflictMediation/components/Detail.vue b/project/qujing/app/AppConflictMediation/components/Detail.vue
index b9b89cb2..224e8e82 100644
--- a/project/qujing/app/AppConflictMediation/components/Detail.vue
+++ b/project/qujing/app/AppConflictMediation/components/Detail.vue
@@ -18,7 +18,7 @@
{{ detail.girdName }}
-
+
@@ -28,7 +28,7 @@
+ :title="item.systemExplain" :description="item.doTime">
{{ item.user }}
@@ -51,18 +51,18 @@
@@ -163,27 +142,6 @@ export default {
}
}
- .imgs {
- font-size: 0;
-
- img {
- width: 108px;
- height: 108px;
- margin-right: 4px;
- margin-bottom: 4px;
- cursor: pointer;
- user-select: none;
-
- &:hover {
- opacity: 0.8;
- }
-
- &:nth-of-type(2n) {
- margin-right: 0;
- }
- }
- }
-
:deep( .el-step__head.is-process ) {
color: #555;
border-color: #555;
@@ -233,6 +191,11 @@ export default {
}
}
+ .eventMap {
+ width: 500px;
+ height: 300px;
+ }
+
:deep( .el-card ) {
.el-card__header {
padding: 12px 16px;
@@ -243,10 +206,6 @@ export default {
padding: 8px;
}
- #amap {
- width: 466px;
- height: 232px;
- }
.el-steps {
margin-left: 8px;
diff --git a/project/qujing/app/AppConflictMediation/components/List.vue b/project/qujing/app/AppConflictMediation/components/List.vue
index 21d77eaa..a8a31c80 100644
--- a/project/qujing/app/AppConflictMediation/components/List.vue
+++ b/project/qujing/app/AppConflictMediation/components/List.vue
@@ -74,7 +74,7 @@ export default {
{prop: 'content', label: '内容描述', width: '300px'},
{prop: 'groupName', label: '事件类型', align: 'center'},
{prop: 'girdName', label: '所属网格', align: 'center'},
- {prop: 'eventStatus', label: '事件状态', align: 'center', dict:"conflictEventStatus"},
+ {prop: 'eventStatus', label: '事件状态', align: 'center', dict: "conflictEventStatus"},
{prop: 'userName', label: '上报人', align: 'center'},
{slot: 'options'}
]
@@ -85,8 +85,6 @@ export default {
this.dict.load('conflictEventStatus').then(() => {
this.getList()
})
-
- this.getGirdList()
},
methods: {
@@ -102,21 +100,8 @@ export default {
}
})
},
-
- getGirdList() {
- // this.instance.post(`/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser`).then(res => {
- // if (res.code == 0) {
- // }
- // })
- },
-
toDetail(id) {
- this.$emit('change', {
- type: 'Detail',
- params: {
- id: id || ''
- }
- })
+ this.$router.push({query: {id}, hash: "#add"})
}
}
}