mirror of https://github.com/openspug/spug
U web update
parent
7756d24f5a
commit
2bd6136cb8
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { observer } from 'mobx-react';
|
import { observer } from 'mobx-react';
|
||||||
import { Modal, Checkbox, Row, Col, message } from 'antd';
|
import {Modal, Checkbox, Row, Col, message, Alert} from 'antd';
|
||||||
import http from 'libs/http';
|
import http from 'libs/http';
|
||||||
import store from './store';
|
import store from './store';
|
||||||
import codes from './codes';
|
import codes from './codes';
|
||||||
|
@ -65,10 +65,13 @@ class Permission extends React.Component {
|
||||||
width={1000}
|
width={1000}
|
||||||
maskClosable={false}
|
maskClosable={false}
|
||||||
title="功能权限设置"
|
title="功能权限设置"
|
||||||
|
className={styles.container}
|
||||||
onCancel={() => store.permVisible = false}
|
onCancel={() => store.permVisible = false}
|
||||||
confirmLoading={this.state.loading}
|
confirmLoading={this.state.loading}
|
||||||
onOk={this.handleSubmit}>
|
onOk={this.handleSubmit}>
|
||||||
<table border="1" className={styles.container}>
|
<Alert closable style={{width: 600, margin: '0 auto 20px', color: '#31708f !important'}} type="info"
|
||||||
|
message="小提示: 功能权限仅影响页面功能,管理发布应用权限请在发布权限中设置。"/>
|
||||||
|
<table border="1" className={styles.table}>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>模块</th>
|
<th>模块</th>
|
||||||
|
|
|
@ -1,11 +1,24 @@
|
||||||
.container {
|
.container :global(.ant-modal-footer) {
|
||||||
|
border-top: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
.table {
|
||||||
|
width: 100%;
|
||||||
|
border: 1px solid #dfdfdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table :global(.ant-checkbox-group) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container :global(.ant-checkbox-group) {
|
.table th {
|
||||||
width: 100%;
|
background-color: #fafafa;
|
||||||
}
|
color: #404040;
|
||||||
|
font-size: 18px;
|
||||||
.container td {
|
font-weight: 500;
|
||||||
|
padding: 5px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table td {
|
||||||
padding: 5px 15px;
|
padding: 5px 15px;
|
||||||
}
|
}
|
Loading…
Reference in New Issue