From a5fd6b72f8342f0228321849b04c822feba2d2a0 Mon Sep 17 00:00:00 2001 From: taisheng <taisheng@qq.com> Date: 星期三, 02 七月 2025 09:42:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/shuttle_rcs' into shuttle_rcs --- src/main/webapp/views/console.html | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index 1da3dbe..8e4316f 100644 --- a/src/main/webapp/views/console.html +++ b/src/main/webapp/views/console.html @@ -78,6 +78,7 @@ <div> <!-- <el-button @click="testMove()">娴嬭瘯绉诲姩杞�</el-button>--> <el-button @click="resetMap()">閲嶇疆鍦板浘</el-button> + <el-button @click="checkTask()">浠诲姟妫�娴�</el-button> <!-- <el-button @click="initLoc()">鍒濆鍖栧簱浣�</el-button>--> </div> </div> @@ -664,6 +665,30 @@ } }) }, + checkTask() { + let that = this + $.ajax({ + url:baseUrl+"/console/checkTask", + headers:{ + 'token': localStorage.getItem('token') + }, + data:{}, + method:'get', + success:function (res) { + if (res.code === 200) { + that.$message({ + message: res.msg, + type: 'success' + }); + } else { + that.$message({ + message: res.msg, + type: 'error' + }); + } + } + }) + }, initLev(){ let that = this $.ajax({ -- Gitblit v1.9.1