@@ -59,6 +68,11 @@
this.items.splice(index, 1);
this.$emit('change', this.items);
},
+ copy: function (item, index) {
+ let copy = {};
+ Object.assign(copy, item);
+ this.items.splice(index + 1, 0, copy);
+ },
change: function () {
let isNeedCreate = true;
let removeIndex = -1;
@@ -105,7 +119,7 @@
margin-top: 10px;
}
- .kv-delete {
+ .kv-delete,.kv-copy {
width: 60px;
}
diff --git a/frontend/src/business/components/api/definition/components/import/ApiImport.vue b/frontend/src/business/components/api/definition/components/import/ApiImport.vue
index 416619781e..b119b49ad2 100644
--- a/frontend/src/business/components/api/definition/components/import/ApiImport.vue
+++ b/frontend/src/business/components/api/definition/components/import/ApiImport.vue
@@ -3,17 +3,17 @@
:visible.sync="visible" class="api-import" v-loading="result.loading" @close="close">
@@ -34,7 +34,7 @@
multiple>
- {{$t('api_test.api_import.file_size_limit')}}
+ {{ $t('api_test.api_import.file_size_limit') }}
@@ -48,14 +48,23 @@
+
+
+
+
+
+
@@ -63,217 +72,223 @@
diff --git a/frontend/src/business/components/api/definition/components/import/ImportScheduleEdit.vue b/frontend/src/business/components/api/definition/components/import/ImportScheduleEdit.vue
new file mode 100644
index 0000000000..e8a74cb502
--- /dev/null
+++ b/frontend/src/business/components/api/definition/components/import/ImportScheduleEdit.vue
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+ {{
+ $t('commons.save')
+ }}
+
+
+
+
+ {{ $t('schedule.generate_expression') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index abefb2d306..7ab5af8958 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -829,6 +829,9 @@ export default {
swagger_export_tip: "Export jSON-formatted files via Swagger website",
suffixFormatErr: "The file format does not meet the requirements",
swagger_url_import: "Import using URL",
+ timing_synchronization:"Timing synchronization",
+ next_synchronization_time:"Next synchronization time",
+
},
home_page: {
unit_of_measurement: "",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index e6ca1fa2c1..c1bfaf44ac 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -831,6 +831,10 @@ export default {
swagger_export_tip: "通过 Swagger 页面导出",
suffixFormatErr: "文件格式不符合要求",
swagger_url_import: "使用URL导入",
+ timing_synchronization:"定时同步",
+ next_synchronization_time:"下次同步时间"
+
+
},
home_page: {
unit_of_measurement: "个",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 7c785862be..2087fad310 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -830,6 +830,9 @@ export default {
swagger_export_tip: "通過 Swagger 頁面導出",
suffixFormatErr: "文件格式不符合要求",
swagger_url_import: "使用URL導入",
+ timing_synchronization:"定時同步",
+ next_synchronization_time:"下次同步時間",
+
},
home_page: {
unit_of_measurement: "個",