|
|
|
@ -129,6 +129,7 @@ import { mapGetters } from 'vuex';
|
|
|
|
|
import { getMenuTree } from '@/api/system/menu'; |
|
|
|
|
import { validatenull } from '@/utils/validate'; |
|
|
|
|
import { getAppMenuTree } from '@/api/system/appmenu'; |
|
|
|
|
import { isNumber } from '@/utils/util'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
@ -231,14 +232,26 @@ export default {
|
|
|
|
|
addDisplay: false, |
|
|
|
|
editDisplay: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '文件存储', |
|
|
|
|
prop: 'fileSpace', |
|
|
|
|
width: 120, |
|
|
|
|
type: 'number', |
|
|
|
|
min: 0, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '数据存储', |
|
|
|
|
prop: 'dataSpace', |
|
|
|
|
width: 120, |
|
|
|
|
type: 'number', |
|
|
|
|
min: 0, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '租户类型', |
|
|
|
|
prop: 'tenantType', |
|
|
|
|
span: 24, |
|
|
|
|
type: 'select', |
|
|
|
|
rules: [ |
|
|
|
|
{ required: true, message: '请选择租户类型', trigger: 'blur' } |
|
|
|
|
], |
|
|
|
|
rules: [{ required: true, message: '请选择租户类型', trigger: 'blur' }], |
|
|
|
|
dicData: [ |
|
|
|
|
{ |
|
|
|
|
label: '干仓配', |
|
|
|
@ -461,6 +474,9 @@ export default {
|
|
|
|
|
} |
|
|
|
|
this.form = data; |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
this.form.fileSpace = isNumber(this.form.fileSpace) ? Number(this.form.fileSpace) : 0; |
|
|
|
|
this.form.dataSpace = isNumber(this.form.dataSpace) ? Number(this.form.dataSpace) : 0; |
|
|
|
|
} |
|
|
|
|
done(); |
|
|
|
|
}, |
|
|
|
@ -637,17 +653,17 @@ export default {
|
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style scoped lang='scss'> |
|
|
|
|
:deep(.no-print){ |
|
|
|
|
margin-left:auto; |
|
|
|
|
.el-button{ |
|
|
|
|
margin-right:0 |
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|
:deep(.no-print) { |
|
|
|
|
margin-left: auto; |
|
|
|
|
.el-button { |
|
|
|
|
margin-right: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
:deep(.avue-form__row){ |
|
|
|
|
max-width:300px!important; |
|
|
|
|
:deep(.avue-form__row) { |
|
|
|
|
max-width: 300px !important; |
|
|
|
|
} |
|
|
|
|
:deep(.el-form-item__label){ |
|
|
|
|
width:auto !important; |
|
|
|
|
:deep(.el-form-item__label) { |
|
|
|
|
width: auto !important; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|