-
+
+
@@ -35,6 +35,7 @@
-
-
diff --git a/src/pages/modules/device.vue b/src/pages/modules/device.vue
index 51eff99..642d55c 100644
--- a/src/pages/modules/device.vue
+++ b/src/pages/modules/device.vue
@@ -117,6 +117,7 @@ export default {
},
// 站点查询
async _queryStation () {
+ this.dataList = []
try {
let res = await queryStation()
if (res && res.data) {
@@ -128,6 +129,7 @@ export default {
},
// 任务链查询
async _queryTaskChain () {
+ this.linkData = []
this.chainId = null
try {
let res = await queryTaskChain()
@@ -222,6 +224,8 @@ export default {
},
// 点击任务链点位
handleLinkCheck (e) {
+ this.newData = []
+ this.chainId = ''
this._queryTaskChainDtl(e.chain_id)
},
// 任务链明细
@@ -339,6 +343,8 @@ export default {
let res = await deleteTaskChain(this.chainId)
if (res) {
this.$message(res.message)
+ this.newData = []
+ this.chainId = ''
this._queryTaskChain()
}
this.loading.close()
diff --git a/src/pages/modules/home.vue b/src/pages/modules/home.vue
index 60ede8f..30ba4a6 100644
--- a/src/pages/modules/home.vue
+++ b/src/pages/modules/home.vue
@@ -17,7 +17,7 @@ export default {
nav: [
{title: '操作', zh_title: '操作', en_title: 'Operation', router: '/index/device'},
{title: '建图', zh_title: '建图', en_title: 'Map building', router: '/index/building'},
- {title: '取消任务', zh_title: '取消任务', en_title: 'Cancel task', router: ''},
+ // {title: '取消任务', zh_title: '取消任务', en_title: 'Cancel task', router: ''},
{title: '地图', zh_title: '地图', en_title: 'Map', router: '/index/map'}
],
disabled: false
diff --git a/src/pages/modules/map.vue b/src/pages/modules/map.vue
index 6c61b29..c8a9ca3 100644
--- a/src/pages/modules/map.vue
+++ b/src/pages/modules/map.vue
@@ -14,11 +14,11 @@
@mouseup="handleMouseUp"
@mouseleave="handleMouseUp"
>
-
+