diff --git a/src/views/modules/communityParty/regionalParty/units.vue b/src/views/modules/communityParty/regionalParty/units.vue index 568768eb..0feb07c8 100644 --- a/src/views/modules/communityParty/regionalParty/units.vue +++ b/src/views/modules/communityParty/regionalParty/units.vue @@ -574,16 +574,12 @@ export default { if (code === 0) { if (data.type) { - if (data.msg) { this.$message({ type: "success", - message: "同步成功" + message: data.msg || "同步成功" }); + this.loadTable() - } else { - this.$message.error(data.msg) - } - } else { this.$message.error(data.msg) } diff --git a/src/views/modules/communityService/sqzzz/index.vue b/src/views/modules/communityService/sqzzz/index.vue index b0c04a39..036e9d14 100644 --- a/src/views/modules/communityService/sqzzz/index.vue +++ b/src/views/modules/communityService/sqzzz/index.vue @@ -520,15 +520,12 @@ export default { if (code === 0) { if (data.type) { - if (data.msg) { - this.$message({ - type: "success", - message: "同步成功" - }); - this.loadTable() - } else { - this.$message.error(data.msg) - } + this.$message({ + type: "success", + message: data.msg || "同步成功" + }); + + this.loadTable() } else { this.$message.error(data.msg) diff --git a/src/views/modules/visual/command/cpts/eventInfo.vue b/src/views/modules/visual/command/cpts/eventInfo.vue index 18338b24..06b47548 100644 --- a/src/views/modules/visual/command/cpts/eventInfo.vue +++ b/src/views/modules/visual/command/cpts/eventInfo.vue @@ -4,24 +4,24 @@
- 需求详情 + 事件详情
-
+
- - +
@@ -38,7 +38,7 @@ export default { props: { eventId: { type: String, - required: 'true' + required: "true", }, }, @@ -47,25 +47,24 @@ export default { eventInfo, }, - data () { + data() { return { loading: false, - pageType: 'dispose', + pageType: "dispose", // eventId: '', eventDetailData: {}, }; }, - async mounted () { - this.loading = false - await this.handleSearch() - this.loading = true + async mounted() { + this.loading = false; + await this.handleSearch(); + this.loading = true; }, methods: { - async handleSearch () { - + async handleSearch() { const url = "/gov/project/icEvent/detail"; // const url = "http://yapi.elinkservice.cn/mock/245/gov/project/icEvent/detail"; @@ -74,7 +73,6 @@ export default { }); if (code === 0) { - this.eventDetailData = { ...data }; this.pageType = "dispose"; } else { @@ -82,20 +80,19 @@ export default { } }, - handleClose () { + handleClose() { this.pageType = ""; - this.$emit("handleClose") + this.$emit("handleClose"); // this.eventId = "" }, - handleOk () { + handleOk() { this.pageType = ""; // this.eventId = "" - this.pageNo = 1 + this.pageNo = 1; }, - handleEditSuccess () { + handleEditSuccess() { this.handleClose(); - }, }, }; diff --git a/src/views/modules/visual/command/cpts/popup.vue b/src/views/modules/visual/command/cpts/popup.vue index 37be5475..a655c49f 100644 --- a/src/views/modules/visual/command/cpts/popup.vue +++ b/src/views/modules/visual/command/cpts/popup.vue @@ -120,7 +120,7 @@
地址: {{ info.address || "--" }} -
+
负责人: {{ info.principal || "--" }} @@ -794,7 +794,7 @@ export default { .m-pop { @include scrollBar2; - width: 380px; + max-width: 380px; color: #333; font-size: 14px; line-height: 20px; diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue index 426f8381..79983645 100644 --- a/src/views/modules/visual/command/index.vue +++ b/src/views/modules/visual/command/index.vue @@ -4,66 +4,76 @@
- {{ item.name }}> + {{ item.name }}> {{ orgData.name }}
- - -
-
- + + +
+
+
- +