@@ -91,6 +96,7 @@
@@ -548,8 +554,14 @@ export default {
color: #6cdbbc !important;
}
-.btn-common {
+.task-name {
+ color: #409EFF;
+ cursor: pointer;
+}
+.task-name:hover {
+ color: red;
+ text-decoration: underline;
}
diff --git a/dbswitch-admin-ui/src/views/task/update.vue b/dbswitch-admin-ui/src/views/task/update.vue
index 30a8bc72..adaa46e1 100644
--- a/dbswitch-admin-ui/src/views/task/update.vue
+++ b/dbswitch-admin-ui/src/views/task/update.vue
@@ -84,7 +84,7 @@
@@ -98,7 +98,7 @@
@@ -113,7 +113,7 @@
@@ -127,7 +127,7 @@
@@ -140,16 +140,10 @@
-
-
- 当为包含表时,选择所要精确包含的表名,如果不选则代表选择所有;当为排除表时,选择索要精确排除的表名。
-
-
-
+
@@ -177,7 +173,7 @@
@@ -190,7 +186,7 @@
@@ -216,7 +212,7 @@
@@ -255,7 +251,7 @@
@@ -275,7 +271,7 @@
-
-
- 数据同步写入目标断数据库前执行的SQL,多个SQL间以英文逗号分隔。使用场景如:MySQL数据库关闭外键约束 SET FOREIGN_KEY_CHECKS = 0
-
-
-
+ auto-complete="off"
+ style="width: 65%">
+
-
-
- 数据同步写入目标断数据库后执行的SQL,多个SQL间以英文逗号分隔。使用场景如:MySQL数据库恢复外键约束 SET FOREIGN_KEY_CHECKS = 1
-
-
-
+
+ auto-complete="off"
+ style="width: 65%">
+
@@ -613,8 +605,7 @@
提交
+ @click="handleGoBack">
返回
@@ -847,9 +838,10 @@ export default {
if (this.active-- < 2) this.active = 1
},
handleGoBack () {
- if (this.can_go_back) {
- this.$router.go(-1);
- }
+ // if (this.can_go_back) {
+ // this.$router.go(-1);
+ // }
+ this.$router.push('/task/assignment')
},
loadConnections: function () {
this.connectionNameList = [];
@@ -1199,7 +1191,10 @@ export default {
})
}).then(res => {
if (0 === res.data.code) {
- this.$message("修改任务成功");
+ this.$message({
+ message: '修改任务成功!',
+ type: 'success'
+ });
this.$router.push('/task/assignment')
} else {
if (res.data.message) {