diff --git a/src/views/modules/partygroup/partytopic-close.vue b/src/views/modules/partygroup/partytopic-close.vue
index a73301d..1e3cc6a 100644
--- a/src/views/modules/partygroup/partytopic-close.vue
+++ b/src/views/modules/partygroup/partytopic-close.vue
@@ -19,7 +19,7 @@ export default {
return {
visible: false,
dataForm: {
- id: '',
+ ids: [],
remark: ''
}
}
diff --git a/src/views/modules/partygroup/partytopic-list.vue b/src/views/modules/partygroup/partytopic-list.vue
index fcb92c3..09f66c9 100644
--- a/src/views/modules/partygroup/partytopic-list.vue
+++ b/src/views/modules/partygroup/partytopic-list.vue
@@ -44,8 +44,12 @@
{{ $t('query') }}
+
+ {{ $t('close') }}
+
+
@@ -165,9 +169,26 @@ export default {
},
methods: {
close (id) {
+ let array = []
+ array[0] = id
+ this.closeVisible = true
+ this.$nextTick(() => {
+ this.$refs.close.dataForm.ids = array
+ this.$refs.close.init()
+ })
+ },
+ closeHandle (e) {
+ let t = this
+ let a = t.dataListSelections.map(function (e) {
+ return e[t.mixinViewModuleOptions.deleteIsBatchKey]
+ })
+ if (a.length === 0) {
+ this.$message.info('请先选择关闭的话题')
+ return
+ }
this.closeVisible = true
this.$nextTick(() => {
- this.$refs.close.dataForm.id = id
+ this.$refs.close.dataForm.ids = a
this.$refs.close.init()
})
},
diff --git a/src/views/modules/user/party-review.vue b/src/views/modules/user/party-review.vue
index 95475d4..a9ed54b 100644
--- a/src/views/modules/user/party-review.vue
+++ b/src/views/modules/user/party-review.vue
@@ -236,7 +236,7 @@ export default {
})
} else if (res.code !== 0) {
return this.$message.error(res.msg)
- } else if (this.dataForm.partyFlag === '1'){
+ } else if (this.dataForm.partyFlag === '1') {
this.$http.post('/app-user/user/addPerfectPoints/', postData).then(({ data: res }) => {
}).catch(() => { })
this.$message({