diff --git a/src/apps/AppHelpDeclaration/details.vue b/src/apps/AppHelpDeclaration/details.vue
index c415547b..a6eb1013 100644
--- a/src/apps/AppHelpDeclaration/details.vue
+++ b/src/apps/AppHelpDeclaration/details.vue
@@ -53,7 +53,7 @@
办理进度
- ({{ $dict.getLabel('clapEventStatus', data.eventStatus) }})
+ ({{ $dict.getLabel('helpDeclarationStatus', data.status) }})
diff --git a/src/apps/AppHelpDeclaration/list.vue b/src/apps/AppHelpDeclaration/list.vue
index d77fbb3e..1e521853 100644
--- a/src/apps/AppHelpDeclaration/list.vue
+++ b/src/apps/AppHelpDeclaration/list.vue
@@ -5,24 +5,24 @@
{{item}}
-
+
-
+
{{ areaName }}
所在地区
-
-
+
+
-
-
+
+
风险类型
{{ $dict.getLabel('helpDeclarationReason', declareReason) }}
-
+
@@ -57,11 +57,11 @@ export default {
return {
tabs: ['全部待办','办理历史'],
tabIndex: 0,
- list: [],
current: 1,
areaId: '',
areaName: '',
declareReason: '',
+ list: [],
}
},
onShow() {
@@ -80,12 +80,26 @@ export default {
this.getList()
},
+ clearArea() {
+ this.declareReason = '',
+ this.current = 1,
+ this.list = [],
+ this.getList()
+ },
+
+ clearReason() {
+ this.areaId = '',
+ this.current = 1,
+ this.list = [],
+ this.getList()
+ },
+
getList() {
this.$http.post('/app/apphelpdeclarationinfo/listByEw',null,{
params: {
current: this.current,
- areaId: this.areaId,
searchType: this.tabIndex,
+ areaId: this.areaId,
declareReason: this.declareReason // 风险类型
}
}).then((res) => {
diff --git a/src/saas/AppCountryAlbum/AddReport.vue b/src/saas/AppCountryAlbum/AddReport.vue
index b6304c58..da8ea457 100644
--- a/src/saas/AppCountryAlbum/AddReport.vue
+++ b/src/saas/AppCountryAlbum/AddReport.vue
@@ -2,11 +2,14 @@
@@ -23,7 +26,9 @@
data () {
return {
- component: 'WorkReport'
+ component: 'WorkReport',
+ configList: [],
+ currIndex: 0
}
},
@@ -35,21 +40,61 @@
},
onLoad () {
-
+ this.getConfig()
},
methods: {
+ getConfig () {
+ this.$http.post(`/api/appalbumtemplate/list?size=100&templateType=1&status=1`).then(res => {
+ if (res.code === 0) {
+ this.configList = res.data.records
+ }
+ })
+ },
+ changeComponent (e, index) {
+ this.currIndex = index
+ this.component = this.mapComponent(e.watermarkType)
+ },
+
+ mapComponent (type) {
+ return {
+ '9': 'WorkReport',
+ '10': 'Daily',
+ '11': 'InspectLog',
+ '12': 'MeetingMminutes'
+ }[type]
+ }
}
}