diff --git a/src/views/modules/news/allnews-add-or-update.vue b/src/views/modules/news/allnews-add-or-update.vue
index bbf3e98..224c098 100644
--- a/src/views/modules/news/allnews-add-or-update.vue
+++ b/src/views/modules/news/allnews-add-or-update.vue
@@ -28,7 +28,7 @@
-
+
-
提交时间
-
{{dataForm.allDeptNames}}
@@ -23,7 +23,7 @@
label="通知内容">
-
diff --git a/src/views/modules/news/allnotice.vue b/src/views/modules/news/allnotice.vue
index 9dc2c1a..7cf7cf6 100644
--- a/src/views/modules/news/allnotice.vue
+++ b/src/views/modules/news/allnotice.vue
@@ -10,7 +10,7 @@
:options="options"
:props="{ checkStrictly: true }"
clearable>
-
+
{{ $t('query') }}
-
-
-
-
+
-
提交时间
-
-
diff --git a/src/views/modules/police/police-add-or-update.vue b/src/views/modules/police/police-add-or-update.vue
index 099724e..2b65a9f 100644
--- a/src/views/modules/police/police-add-or-update.vue
+++ b/src/views/modules/police/police-add-or-update.vue
@@ -47,179 +47,139 @@
\ No newline at end of file
+
diff --git a/src/views/modules/police/topic-detail.vue b/src/views/modules/police/topic-detail.vue
index c2fbbca..1a34e43 100644
--- a/src/views/modules/police/topic-detail.vue
+++ b/src/views/modules/police/topic-detail.vue
@@ -174,7 +174,7 @@ export default {
this.getCommentList()
},
getCommentList () {
- this.$http.get('/property/topiccomment/comments', { params: { id: this.dataForm.id, order: this.order, orderField: this.orderField, page: this.pageIndex, limit: this.limitVal }
+ this.$http.get('/property/topiccomment/comments', { params: { id: this.dataForm.id, order: this.order, orderField: this.orderField, page: this.pageIndex, limit: this.limitVal }
}).then(({ data: res }) => {
if (res.code !== 0) {
this.commentsDTOs = []
@@ -188,18 +188,18 @@ export default {
deleteComment (val) {
this.$http['post'](
'/property/topiccomment/deleteComment', { commentIds: [val] }).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.$message({
+ message: this.$t('prompt.success'),
+ type: 'success',
+ duration: 500,
+ onClose: () => {
+ this.getCommentList()
}
- this.$message({
- message: this.$t('prompt.success'),
- type: 'success',
- duration: 500,
- onClose: () => {
- this.getCommentList()
- }
- })
- }).catch(() => { })
+ })
+ }).catch(() => { })
}
}
}