diff --git a/src/assets/css/components/views/location/location.scss b/src/assets/css/components/views/location/location.scss index 53fc730c..6c09dea4 100644 --- a/src/assets/css/components/views/location/location.scss +++ b/src/assets/css/components/views/location/location.scss @@ -190,6 +190,7 @@ $color-highlight: #CC4444; height: 30px; border: 2px solid $color-white; z-index: 2; + display: flex !important; &.map-marker--human svg { width: 21px; @@ -208,6 +209,7 @@ $color-highlight: #CC4444; border: 2px solid $color-white; background-color: $color-highlight; z-index: 3; + display: flex !important; svg { width: 21px; diff --git a/src/components/rightBox/location/MyFollowBox.vue b/src/components/rightBox/location/MyFollowBox.vue index 0debda4a..d1d00137 100644 --- a/src/components/rightBox/location/MyFollowBox.vue +++ b/src/components/rightBox/location/MyFollowBox.vue @@ -13,9 +13,9 @@ :api="url" > - @@ -64,7 +64,7 @@ export default { return { url: api.location.followedSubscriber, tableId: 'myFollowTable', - disableCancle: true + disableCancel: true } }, mounted () { @@ -113,9 +113,9 @@ export default { this.batchDeleteObjs.push(obj) } }) - this.disableCancle = this.batchDeleteObjs.length < 1 + this.disableCancel = this.batchDeleteObjs.length < 1 }, - cancleFollowBatch() { + cancelFollowBatch() { const ids = [] if (this.batchDeleteObjs && this.batchDeleteObjs.length > 0) { this.batchDeleteObjs.forEach(item => { @@ -125,7 +125,7 @@ export default { this.toggleLoading(true) axios.delete(api.location.follow + '?subscriberIds=' + ids.join(',')).then(response => { if (response.status === 200) { - this.$message({ duration: 2000, type: 'success', message: this.$t('location.cancleFollow.success') }) + this.$message({ duration: 2000, type: 'success', message: this.$t('location.cancelFollow.success') }) this.batchDeleteObjs.forEach(item => { item.isFollowed = 0 }) @@ -136,7 +136,7 @@ export default { this.$message.error(e.response.data.message) }).finally(() => { this.toggleLoading(false) - this.$emit('handleCancleFollowBatch', this.batchDeleteObjs) + this.$emit('handleCancelFollowBatch', this.batchDeleteObjs) }) }, /* 关闭弹框 */ diff --git a/src/components/table/location/MyFollowTable.vue b/src/components/table/location/MyFollowTable.vue index de8c031c..2a0561bf 100644 --- a/src/components/table/location/MyFollowTable.vue +++ b/src/components/table/location/MyFollowTable.vue @@ -48,7 +48,7 @@ - + {{scope.row[item.prop] || '-'}} @@ -109,10 +109,10 @@ export default { } }, methods: { - cancleFollow(item) { + cancelFollow(item) { axios.delete(api.location.follow + '?subscriberIds=' + item.subscriberId).then(res => { if (res.status === 200) { - this.$message({ duration: 2000, type: 'success', message: this.$t('location.cancleFollow.success') }) + this.$message({ duration: 2000, type: 'success', message: this.$t('location.cancelFollow.success') }) /* 刷新列表 */ item.isFollowed = 0 this.$refs.dataTable.toggleRowSelection(item, false) diff --git a/src/components/table/setting/knowledgeBaseTableForCard.vue b/src/components/table/setting/knowledgeBaseTableForCard.vue index 4858e344..c69d58a0 100644 --- a/src/components/table/setting/knowledgeBaseTableForCard.vue +++ b/src/components/table/setting/knowledgeBaseTableForCard.vue @@ -220,7 +220,7 @@
@@ -590,7 +590,7 @@ export default { submit () { this.$refs.knowledgeUpload.submit() }, - cancle () { + cancel () { this.showAddUpdateDialog = false }, clickCard (data, event) { diff --git a/src/components/table/setting/knowledgeBaseTableForCard2.vue b/src/components/table/setting/knowledgeBaseTableForCard2.vue index f3452b4e..2523f0fe 100644 --- a/src/components/table/setting/knowledgeBaseTableForCard2.vue +++ b/src/components/table/setting/knowledgeBaseTableForCard2.vue @@ -221,7 +221,7 @@ @@ -550,7 +550,7 @@ export default { submit () { this.$refs.knowledgeUpload.submit() }, - cancle () { + cancel () { this.showAddUpdateDialog = false }, clickCard (data, event) { @@ -698,7 +698,7 @@ export default { this.switchKnowledgeId = id return false }, - cancleSwitch () { + cancelSwitch () { this.showConfirmSwitch = false }, switchLearning () { diff --git a/src/views/charts2/charts/networkOverview/NetworkOverviewTabs.vue b/src/views/charts2/charts/networkOverview/NetworkOverviewTabs.vue index 77af6758..a96722d7 100644 --- a/src/views/charts2/charts/networkOverview/NetworkOverviewTabs.vue +++ b/src/views/charts2/charts/networkOverview/NetworkOverviewTabs.vue @@ -753,7 +753,7 @@ export default { this.changeUrlTabState() this.getChartData(queryParams) }, - cancleSortArrow () { + cancelSortArrow () { // 取消表格排序高亮的箭头 if (this.column.prop) { // const table = this.$refs['dataTable_' + this.index] @@ -810,7 +810,7 @@ export default { this.toggleLoading(true) this.$nextTick(() => { // 取消表格排序高亮的箭头 - this.cancleSortArrow() + this.cancelSortArrow() // 设置默认排序 if (this.tableSortColumn) { const refName = 'dataTable_' + this.tableSortTab @@ -1694,7 +1694,7 @@ export default { item.order = '' }) } - this.cancleSortArrow() + this.cancelSortArrow() this.column = {} this.index = 0 this.tableSortColumn = '' diff --git a/src/views/location/Index.vue b/src/views/location/Index.vue index eb56d4f4..b5534b9c 100644 --- a/src/views/location/Index.vue +++ b/src/views/location/Index.vue @@ -72,6 +72,7 @@ +