|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<!-- 新增角色 -->
|
|
<!-- 新增角色 -->
|
|
|
- <a-modal class="commonModal add-powers"
|
|
|
|
|
|
|
+ <a-modal class="commonModal add-roles"
|
|
|
title="新增角色"
|
|
title="新增角色"
|
|
|
v-model:visible="visible"
|
|
v-model:visible="visible"
|
|
|
@cancel="cancel"
|
|
@cancel="cancel"
|
|
@@ -123,13 +123,7 @@ export default defineComponent({
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
-.add-business-info {
|
|
|
|
|
-}
|
|
|
|
|
-.add-traders {
|
|
|
|
|
-}
|
|
|
|
|
-.add-managers {
|
|
|
|
|
-}
|
|
|
|
|
-.add-powers {
|
|
|
|
|
|
|
+.add-roles {
|
|
|
.ant-modal-content {
|
|
.ant-modal-content {
|
|
|
.ant-modal-body {
|
|
.ant-modal-body {
|
|
|
overflow-x: hidden;
|
|
overflow-x: hidden;
|
|
@@ -144,6 +138,8 @@ export default defineComponent({
|
|
|
color: @m-white0;
|
|
color: @m-white0;
|
|
|
.flex;
|
|
.flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
+ overflow-x: auto;
|
|
|
|
|
+ overflow-y: hidden;
|
|
|
.ant-checkbox-group.commonCheckboxGroup .ant-checkbox-wrapper {
|
|
.ant-checkbox-group.commonCheckboxGroup .ant-checkbox-wrapper {
|
|
|
width: 90px;
|
|
width: 90px;
|
|
|
span + span {
|
|
span + span {
|
|
@@ -157,13 +153,14 @@ export default defineComponent({
|
|
|
div {
|
|
div {
|
|
|
align-self: center;
|
|
align-self: center;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
}
|
|
|
.powerLeft {
|
|
.powerLeft {
|
|
|
- width: 84px;
|
|
|
|
|
|
|
+ width: 120px;
|
|
|
padding: 0 8px;
|
|
padding: 0 8px;
|
|
|
}
|
|
}
|
|
|
.powerMiddle {
|
|
.powerMiddle {
|
|
|
- width: 130px;
|
|
|
|
|
|
|
+ width: 180px;
|
|
|
.flex;
|
|
.flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
div {
|
|
div {
|
|
@@ -197,28 +194,5 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-.add-futures {
|
|
|
|
|
-}
|
|
|
|
|
-.add-futures-son {
|
|
|
|
|
-}
|
|
|
|
|
-.add-arbitrage {
|
|
|
|
|
- .ant-checkbox-group.commonCheckboxGroup .ant-checkbox-wrapper {
|
|
|
|
|
- width: 100px;
|
|
|
|
|
- span + span {
|
|
|
|
|
- margin-right: 0;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .ant-checkbox-group.autoWidth {
|
|
|
|
|
- width: 520px;
|
|
|
|
|
- .ant-checkbox-wrapper {
|
|
|
|
|
- width: auto;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .checkboxGroupItem {
|
|
|
|
|
- .ant-row {
|
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
</style
|
|
</style
|
|
|
>;
|
|
>;
|