-
+
@@ -10,11 +10,11 @@
-
+
-
- Deployed Spiders
+
+ {{$t('Deployed Spiders')}}
@@ -79,6 +79,11 @@ export default {
.selector .el-select {
padding-left: 10px;
}
+
+ .label {
+ width: 100px;
+ text-align: right;
+ }
diff --git a/frontend/src/views/spider/SpiderList.vue b/frontend/src/views/spider/SpiderList.vue
index 543298bd..700dfc6b 100644
--- a/frontend/src/views/spider/SpiderList.vue
+++ b/frontend/src/views/spider/SpiderList.vue
@@ -2,7 +2,7 @@
@@ -10,10 +10,10 @@
:model="importForm"
ref="importForm"
label-position="right">
-
-
+
+
-
+
@@ -22,38 +22,31 @@
- Deploy All
+ {{$t('Deploy All')}}
- Import Spiders
+ {{$t('Import Spiders')}}
- Refresh
-
-
- Add Spider
+ {{$t('Refresh')}}
@@ -66,7 +59,7 @@
@@ -79,7 +72,7 @@
@@ -94,27 +87,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/frontend/src/views/task/TaskDetail.vue b/frontend/src/views/task/TaskDetail.vue
index c4968ce4..d9e89826 100644
--- a/frontend/src/views/task/TaskDetail.vue
+++ b/frontend/src/views/task/TaskDetail.vue
@@ -2,17 +2,17 @@
-
+
-
+
-
+
@@ -13,7 +13,7 @@
icon="el-icon-refresh"
class="refresh"
@click="onRefresh">
- Refresh
+ {{$t('Refresh')}}
@@ -26,7 +26,7 @@
@@ -36,7 +36,7 @@
@@ -46,29 +46,29 @@
- SUCCESS
- STARTED
- FAILURE
- {{scope.row[col.name]}}
+ {{$t('SUCCESS')}}
+ {{$t('STARTED')}}
+ {{$t('FAILURE')}}
+ {{$t(scope.row[col.name])}}
-
+
-
+
@@ -150,12 +150,12 @@ export default {
}
return false
})
- // .filter((d, index) => {
- // // pagination
- // const pageNum = this.pageNum
- // const pageSize = this.pageSize
- // return (pageSize * (pageNum - 1) <= index) && (index < pageSize * pageNum)
- // })
+ // .filter((d, index) => {
+ // // pagination
+ // const pageNum = this.pageNum
+ // const pageSize = this.pageSize
+ // return (pageSize * (pageNum - 1) <= index) && (index < pageSize * pageNum)
+ // })
}
},
methods: {