From 6cb22deda465cea9d0b43acc46e68444860294b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 00:53:14 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/task/task/index.vue | 96 ++++++++++++++++++++++++++---------
1 file changed, 72 insertions(+), 24 deletions(-)
diff --git a/src/views/task/task/index.vue b/src/views/task/task/index.vue
index 34fdd90..e392727 100644
--- a/src/views/task/task/index.vue
+++ b/src/views/task/task/index.vue
@@ -35,16 +35,6 @@
- 导出
-
-
-
+
-
+
-
+
-
-
-
-
+
@@ -83,11 +70,14 @@
+
+
+
@@ -96,27 +86,80 @@
+ width="180">
+
+
+ {{ scope.row.id }}
+
+ width="180">
+
+
+ {{ scope.row.name }}
+
+ width="180">
+
+ 紧急
+ 底
+ 中
+ 高
+
+ label="任务执行状态"
+ width="180">
+
+ 待执行
+ 正在执行
+ 执行完毕
+ {{ scope.row.status }}
+
+ width="180">
+
+ 待执行
+ 正在执行
+ 执行完毕
+ {{ scope.row.status }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -195,6 +238,11 @@ export default {
this.taskList=res.data.rows;
})
},
+
+ insertAdd(){
+
+ },
+
handleSelectionChange(row){
},
From 0df27bd1f9f50629b614ba63c39bdb8cc99243db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 01:00:44 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/task/task/index.vue | 64 +++++++++++------------------------
1 file changed, 19 insertions(+), 45 deletions(-)
diff --git a/src/views/task/task/index.vue b/src/views/task/task/index.vue
index e392727..4aa6bc7 100644
--- a/src/views/task/task/index.vue
+++ b/src/views/task/task/index.vue
@@ -3,7 +3,7 @@
-
+
@@ -46,23 +46,23 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -136,33 +136,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -236,6 +209,7 @@ export default {
findSelectTaskList(){
selectTaskList(this.taskReq).then(res=>{
this.taskList=res.data.rows;
+ console.log(this.taskList);
})
},
@@ -249,7 +223,7 @@ export default {
},
//生命周期 - 创建完成(可以访问当前this实例)",
created() {
- this.findSelectSourceList();
+ this.findSelectTaskList();
},
//生命周期 - 挂载完成(可以访问DOM元素)",
mounted() {
From b40e22763c63f46c7db10c620ec4481645f74980 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 01:06:14 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/task/task.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/task/task.js b/src/api/task/task.js
index f34c6c4..2acc627 100644
--- a/src/api/task/task.js
+++ b/src/api/task/task.js
@@ -4,7 +4,7 @@ import request from '@/utils/request'
export function selectTaskList(data){
return request({
url: "/task/task/list",
- method: "get",
+ method: "post",
data:data
})
}
From c593dd3477a13be11894bbe5ec40fc0f24a7550a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 01:13:05 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/task/task/index.vue | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/src/views/task/task/index.vue b/src/views/task/task/index.vue
index 4aa6bc7..5f123af 100644
--- a/src/views/task/task/index.vue
+++ b/src/views/task/task/index.vue
@@ -15,10 +15,12 @@
-
-
-
-
+
+
+
+
+
+
查询
@@ -196,16 +198,6 @@ export default {
watch: {},
//方法集合",
methods: {
- textP(){
- connectionTest(this.sourceAddReq).then(res=>{
- if (res.code===200){
- alert("测试连接成功")
- }else{
- alert("连接失败")
- }
- })
- },
- //测试连接
findSelectTaskList(){
selectTaskList(this.taskReq).then(res=>{
this.taskList=res.data.rows;
From fb694dae308f9f3833f1ac49d91e16640d762610 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 01:18:56 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/task/task/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/task/task/index.vue b/src/views/task/task/index.vue
index 5f123af..5b170ba 100644
--- a/src/views/task/task/index.vue
+++ b/src/views/task/task/index.vue
@@ -200,7 +200,7 @@ export default {
methods: {
findSelectTaskList(){
selectTaskList(this.taskReq).then(res=>{
- this.taskList=res.data.rows;
+ this.taskList=res.data;
console.log(this.taskList);
})
},
From 772c03c7d507380a27b1270642e6c19a82cd615c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com>
Date: Fri, 23 Aug 2024 01:35:09 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?=
=?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/task/task/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/task/task/index.vue b/src/views/task/task/index.vue
index 5b170ba..33b30cd 100644
--- a/src/views/task/task/index.vue
+++ b/src/views/task/task/index.vue
@@ -200,6 +200,7 @@ export default {
methods: {
findSelectTaskList(){
selectTaskList(this.taskReq).then(res=>{
+ console.log(res.data);
this.taskList=res.data;
console.log(this.taskList);
})