This commit is contained in:
Captain.B 2020-05-12 11:24:38 +08:00
parent 5ad9d37bda
commit 101401d6fc
3 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,6 @@
<template>
<div v-loading="result.loading">
<el-card class="table-card">
<div>
<el-card class="table-card" v-loading="result.loading">
<template v-slot:header>
<ms-table-header :condition.sync="condition" @search="search" @create="create"
:create-tip="btnTips" :title="$t('commons.test_resource_pool')"/>
@ -46,11 +45,11 @@
:total="total"/>
</el-card>
<el-dialog v-loading="result.loading"
:title="$t('test_resource_pool.create_resource_pool')"
:visible.sync="createVisible" width="70%"
@closed="closeFunc"
:destroy-on-close="true">
<el-dialog
:title="$t('test_resource_pool.create_resource_pool')"
:visible.sync="createVisible" width="70%"
@closed="closeFunc"
:destroy-on-close="true">
<el-form :model="form" label-position="right" label-width="100px" size="small" :rules="rule"
ref="createTestResourcePoolForm">
<el-form-item :label="$t('commons.name')" prop="name">

View File

@ -401,7 +401,7 @@ export default {
'fill_the_data': 'Please complete the data',
'delete_prompt': 'This operation will permanently delete the resource pool, continue?',
'status_change_success': 'Successfully changed the status!',
'status_change_failed': 'Failed to change the status!',
'status_change_failed': 'Failed to change the status, resource pool is invalid!',
},
i18n: {
'home': 'Home'

View File

@ -402,7 +402,7 @@ export default {
'fill_the_data': '请完善数据',
'delete_prompt': '此操作将永久删除该资源池, 是否继续?',
'status_change_success': '状态修改成功!',
'status_change_failed': '状态修改失败!',
'status_change_failed': '状态修改失败, 校验不通过!',
},
i18n: {
'home': '首页'