Merge pull request #3860 from dataease/pr@dev@refactor_app-template

refactro(应用): 优化应用模板界面,防止误触关闭已填信息
This commit is contained in:
taojinlong 2022-11-24 18:45:47 +08:00 committed by GitHub
commit 68adc88cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 5 deletions

View File

@ -2681,6 +2681,7 @@ export default {
'I18N_USER_TEMPLATE_ERROR': 'Template file error', 'I18N_USER_TEMPLATE_ERROR': 'Template file error',
'i18n_max_user_import_size': 'File size exceeds 10M', 'i18n_max_user_import_size': 'File size exceeds 10M',
app_template: { app_template: {
apply_template: 'Apply template',
execution_time: 'Execution time', execution_time: 'Execution time',
app_manager: 'Application management', app_manager: 'Application management',
app_upload: 'Upload app', app_upload: 'Upload app',

View File

@ -2682,6 +2682,7 @@ export default {
'I18N_USER_TEMPLATE_ERROR': '模版錯誤', 'I18N_USER_TEMPLATE_ERROR': '模版錯誤',
'i18n_max_user_import_size': '文件最大不能超過10M', 'i18n_max_user_import_size': '文件最大不能超過10M',
app_template: { app_template: {
apply_template: '應用模版',
execution_time: '执行时间', execution_time: '执行时间',
app_manager: '應用管理', app_manager: '應用管理',
app_upload: '上傳應用', app_upload: '上傳應用',

View File

@ -2682,6 +2682,7 @@ export default {
'I18N_USER_TEMPLATE_ERROR': '模版错误', 'I18N_USER_TEMPLATE_ERROR': '模版错误',
'i18n_max_user_import_size': '文件最大不能超过10M', 'i18n_max_user_import_size': '文件最大不能超过10M',
app_template: { app_template: {
apply_template: '应用模板',
execution_time: '执行时间', execution_time: '执行时间',
app_manager: '应用管理', app_manager: '应用管理',
app_upload: '上传应用', app_upload: '上传应用',

View File

@ -2,10 +2,11 @@
<el-drawer <el-drawer
v-closePress v-closePress
v-loading="$store.getters.loadingMap[$store.getters.currentPath]" v-loading="$store.getters.loadingMap[$store.getters.currentPath]"
:title="'应用模板'" :title="$t('app_template.apply_template')"
:visible.sync="applyDrawer" :visible.sync="applyDrawer"
custom-class="de-user-drawer" custom-class="de-user-drawer"
size="600px" size="600px"
:wrapper-closable="false"
direction="rtl" direction="rtl"
> >
<ds-form <ds-form
@ -19,6 +20,7 @@
<script> <script>
import DsForm from '@/views/system/datasource/DsForm' import DsForm from '@/views/system/datasource/DsForm'
export default { export default {
name: 'AppTemplateApply', name: 'AppTemplateApply',
components: { components: {
@ -30,8 +32,7 @@ export default {
applyDrawer: false applyDrawer: false
} }
}, },
computed: { computed: {},
},
mounted() { mounted() {
}, },
methods: { methods: {
@ -52,7 +53,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
::v-deep .el-drawer__body{ ::v-deep .el-drawer__body {
padding: 0px 0px!important; padding: 0px 0px !important;
} }
</style> </style>