diff --git a/src/api/admin.js b/src/api/admin.js
index 361ec37f..c03b0d81 100644
--- a/src/api/admin.js
+++ b/src/api/admin.js
@@ -277,3 +277,19 @@ export function batchAddInternationalization(param) {
data: param
})
}
+
+// 国际化获取迭代列表
+export function getPublishVersionSelect() {
+ return request({
+ url: `/PublishLog/getPublishVersionSelect`,
+ method: 'get',
+ })
+}
+// 国际化批量更新
+export function batchUpdateInternationalInfo(data) {
+ return request({
+ url: `/Internationalization/batchUpdateInternationalInfo`,
+ method: 'put',
+ data
+ })
+}
diff --git a/src/views/system/i18n/components/BatchAddForm.vue b/src/views/system/i18n/components/BatchAddForm.vue
index f8e89aa0..b20bc815 100644
--- a/src/views/system/i18n/components/BatchAddForm.vue
+++ b/src/views/system/i18n/components/BatchAddForm.vue
@@ -6,122 +6,162 @@
v-loading="loading"
:model="form"
size="small"
+ :rules="rules"
>
{{ item.label }}
+ >{{ item.label }}
{{ item.label }}
+ >{{ item.label }}
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
{{ $t('common:button:new') }}
+ >{{ $t("common:button:new") }}
@@ -138,81 +179,97 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.$index)"
- >{{ $t('common:button:delete') }}
+ >{{ $t("common:button:delete") }}
-
- 取消
- 保存
+ 取消
+ 保存
diff --git a/src/views/system/i18n/components/I18nForm.vue b/src/views/system/i18n/components/I18nForm.vue
index 68ff924d..7e8150d0 100644
--- a/src/views/system/i18n/components/I18nForm.vue
+++ b/src/views/system/i18n/components/I18nForm.vue
@@ -9,147 +9,216 @@
label-width="130px"
size="small"
>
-
+
{{ item.label }}
+ >{{ item.label }}
-
+
-
+
-
+
-
+
-
{{ item.label }}
+ >{{ item.label }}
+
+
+
+
+
+
+
+
- 取消
- 保存
+ 取消
+ 保存
+
diff --git a/src/views/system/i18n/index.vue b/src/views/system/i18n/index.vue
index 2606c775..5ba45484 100644
--- a/src/views/system/i18n/index.vue
+++ b/src/views/system/i18n/index.vue
@@ -7,11 +7,11 @@
v-model="searchData.InternationalizationType"
clearable
filterable
- style="width:130px;"
+ style="width: 130px"
>
@@ -19,10 +19,10 @@
@@ -30,7 +30,7 @@
v-model="searchData.Code"
size="small"
clearable
- style="width:130px;"
+ style="width: 130px"
/>
@@ -38,27 +38,55 @@
v-model="searchData.ValueCN"
size="small"
clearable
- style="width:130px;"
+ style="width: 130px"
/>
-
+
+
+
+
+
+
+
+
+
批量新增
+
+ 批量更新
+
-
+ @selection-change="handleSelectionChange"
+ >
+
-
- {{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
+
+ {{
+ $fd(
+ "InternationalizationType",
+ scope.row.InternationalizationType
+ )
+ }}
-
- {{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
+
+ {{
+ $fd(
+ "InternationalizationType",
+ scope.row.InternationalizationType
+ )
+ }}
- {{ $fd('InternationalizationType', scope.row.InternationalizationType) }}
+ {{
+ $fd(
+ "InternationalizationType",
+ scope.row.InternationalizationType
+ )
+ }}
@@ -154,16 +210,30 @@
>
- {{ $fd('InternationalizationKeyState', scope.row.State) }}
+ {{ $fd("InternationalizationKeyState", scope.row.State) }}
- {{ $fd('InternationalizationKeyState', scope.row.State) }}
+ {{ $fd("InternationalizationKeyState", scope.row.State) }}
- {{ $fd('InternationalizationKeyState', scope.row.State) }}
+ {{ $fd("InternationalizationKeyState", scope.row.State) }}
+
+
删除
-
-
+