Commit a0ad0021 authored by wangxuelai's avatar wangxuelai

''

parent 8821dbda
......@@ -11,13 +11,13 @@
<script src="js/console-polyfill.js"></script>
<![endif]-->
<script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"></script>
<script src="/js/ueeditor/ueditor.config.js?20191012222" charset="utf-8"></script><script src="/js/ueeditor/ueditor.all.js?20191012222" charset="utf-8"></script>
<script src="js/console-polyfill.js?20191012222" charset="utf-8"></script><script src="js/es6-shim.min.js?20191012222" charset="utf-8"></script><script src="js/es5-shim.js?20191012222" charset="utf-8"></script><script src="js/es5-sham.min.js?20191012222" charset="utf-8"></script><script src="js/json3.min.js?20191012222" charset="utf-8"></script><script src="js/html5shiv.min.js?20191012222" charset="utf-8"></script><script src="js/polyfill.js?20191012222" charset="utf-8"></script><script src="lib/vendor.dll.js?20191012222" charset="utf-8"></script>
</head>
</head>
<body>
<div id="root"></div>
<script src="dist/main.js?1577671604271" charset="utf-8"></script>
<script src="dist/main.js?1577674696468" charset="utf-8"></script>
</body>
</html>
</html>
\ No newline at end of file
......@@ -904,7 +904,11 @@ class CourseChart extends React.Component {
</Button.Group>
</div>
<div className={pageStyle.rightbox}>
{hasBtnPower('sjd/indexstaic', 'planSchedule') && <Button type="primary" onClick={goPlanCourse}>一键排课</Button>}
{hasBtnPower('sjd/indexstaic', 'planSchedule') &&
<BtnPermission btnId="30008">
<Button type="primary" onClick={goPlanCourse}>一键排课</Button>
</BtnPermission>
}
{LocalStorage.getItem('role') != 1 &&
<Select className={pageStyle.selectitem} value={scheduleListQueryParams.teacher_id} onChange={this.changeTeacher}>
<Option value="">全部老师</Option>
......
......@@ -6,7 +6,7 @@ import {
Redirect,
routerRedux,
} from 'dva/router';
import $ from 'jquery';
// import $ from 'jquery';
import { connect } from 'dva';
import {
message,
......@@ -112,7 +112,7 @@ class StaticCenter extends React.Component {
createTheme = () => {
const { dispatch, userPermission } = this.props;
if (!btnPermission(userPermission, 30002)) {
message.warn('暂无权限,请管理员开通【主题管理权限】', 1);
message.warn('暂无权限,请联系管理员开通【主题管理权限】', 1);
return;
}
dispatch({
......@@ -125,7 +125,7 @@ class StaticCenter extends React.Component {
createCalendarTheme = () => {
const { dispatch, userPermission } = this.props;
if (!btnPermission(userPermission, 30002)) {
message.warn('暂无权限,请管理员开通【主题管理权限】', 1);
message.warn('暂无权限,请联系管理员开通【主题管理权限】', 1);
return;
}
dispatch({
......@@ -371,7 +371,7 @@ class StaticCenter extends React.Component {
return;
}
if (visible == true && !btnPermission(userPermission, 30007)) {
message.warn('暂无权限,请管理员开通【添加学员】', 1);
message.warn('暂无权限,请联系管理员开通【添加学员】', 1);
return;
}
dispatch({
......@@ -727,7 +727,7 @@ class StaticCenter extends React.Component {
createCourse = () => {
const { dispatch, userPermission } = this.props;
if (!btnPermission(userPermission, 50000)) {
message.warn('暂无权限,请管理员开通【新增课程权限】', 1);
message.warn('暂无权限,请联系管理员开通【新增课程权限】', 1);
return;
}
dispatch({
......@@ -777,7 +777,7 @@ class StaticCenter extends React.Component {
createClass = () => {
const { dispatch, userPermission } = this.props;
if (!btnPermission(userPermission, 30001)) {
message.warn('暂无权限,请管理员开通【添加班级】', 1);
message.warn('暂无权限,请联系管理员开通【添加班级】', 1);
return;
}
dispatch({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment