Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent d232ac0fb4
commit 0604f8e524

@ -1084,6 +1084,7 @@ var HeadBack_CustomButton = function CustomButton(_ref) {
className: classnames_default()(HeadBackmodules.head, className),
style: style,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
onClick: onClick,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12"

@ -83,7 +83,7 @@ html {--antd-wave-shadow-color: @primary-color;}
.ant-zoom-right-enter, .ant-zoom-right-appear {animation-fill-mode: both;}
.ant-zoom-right-leave {animation-fill-mode: both;}
.ant-alert {color: @text-color;border-radius: 2px;}
.ant-alert-success {background-color: color(~`colorPalette("@{disabled-color}", 4)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success {background-color: color(~`colorPalette("@{success-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success .ant-alert-icon {color: @success-color;}
.ant-alert-info {background-color: color(~`colorPalette("@{primary-color}", 1)`);border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);}
.ant-alert-info .ant-alert-icon {color: @primary-color;}
@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;}
.ant-comment-actions > li > span {color: @text-color-secondary;}
.ant-comment-actions > li > span:hover {color: #595959;}
.ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);}
.ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);}
.ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;}
@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;}
.anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-status-error .ant-input-prefix {color: @error-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-input-number-affix-wrapper > div.ant-input-number {border: none;}
.ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-number-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;}
@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-list-grid .ant-col > .ant-list-item {border-bottom: none;}
.ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-mentions-status-error .ant-input-prefix {color: @error-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning .ant-input-prefix {color: @warning-color;}
.ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions::placeholder {color: #bfbfbf;}
@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;}
.ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(244, 28, 227, 0.2);border-right-width: 1px;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(72, 162, 77, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(100, 105, 43, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(190, 211, 63, 0.2);border-right-width: 1px;}
.ant-select {color: @text-color;}
.ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;}
@ -1658,11 +1658,11 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;}
.ant-tag-blue {color: #096dd9;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;}
.ant-tag-geekblue {color: #1d39c4;background: color(~`colorPalette("@{text-color}", 3)`);border-color: #adc6ff;}
.ant-tag-geekblue {color: #1d39c4;background: #f0f5ff;border-color: #adc6ff;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #531dab;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}
.ant-tag-success {color: @success-color;background: color(~`colorPalette("@{disabled-color}", 4)`);border-color: color(~`colorPalette("@{success-color}", 3)`);}
.ant-tag-success {color: @success-color;background: color(~`colorPalette("@{success-color}", 1)`);border-color: color(~`colorPalette("@{success-color}", 3)`);}
.ant-tag-processing {color: @primary-color;background: color(~`colorPalette("@{primary-color}", 1)`);border-color: color(~`colorPalette("@{primary-color}", 3)`);}
.ant-tag-error {color: @error-color;background: color(~`colorPalette("@{error-color}", 1)`);border-color: color(~`colorPalette("@{error-color}", 3)`);}
.ant-tag-warning {color: @warning-color;background: color(~`colorPalette("@{warning-color}", 1)`);border-color: color(~`colorPalette("@{warning-color}", 3)`);}

@ -10,12 +10,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="https://www-cdn.educoder.net/umi.b5b12ea7.css">
<link rel="stylesheet" href="https://www-cdn.educoder.net/umi.a2a2067b.css">
<script src="/js/polyfill.min.js"></script>
</head>
<body>
<div id="root"></div><link rel="stylesheet/less" type="text/css" href="https://www-cdn.educoder.net/color.less"><script>window.ENV = 'newBuild'</script><script src="https://www-cdn.educoder.net/js/less.min.js"></script><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="https://www-cdn.educoder.net/umi.e91b7c4f.js"></script>
<script src="https://www-cdn.educoder.net/umi.6539cea3.js"></script>
<script src="https://www-cdn.educoder.net/js/officeapi.js"></script>
<script src="https://www-cdn.educoder.net/js/public.js"></script>

@ -1394,6 +1394,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1404,6 +1405,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -15765,8 +15765,6 @@ var PlusOutlined = __webpack_require__(51042);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Export/components/ExportSetting/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ExportSettingmodules = ({"modalWrapper":"modalWrapper___rWDvO","exportSettingWrapper":"exportSettingWrapper___pCClH","imgPreviewPart":"imgPreviewPart___PCv0Y","tips":"tips___EVeBl","pottedLine":"pottedLine___AaY68","text":"text___ho3u_"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(7);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 31 modules
@ -15820,7 +15818,6 @@ var jsx_runtime = __webpack_require__(85893);
var TextArea = input/* default.TextArea */.Z.TextArea;
@ -16141,7 +16138,7 @@ var ExportSetting = function ExportSetting(_ref) {
style: {
width: 320
}
}), (0,authority/* isCommonSuperAdminOrOperation */.ag)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
span: 24,
className: "mt15",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -221,8 +221,6 @@ var PlusOutlined = __webpack_require__(51042);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Export/components/ExportSetting/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ExportSettingmodules = ({"modalWrapper":"modalWrapper___rWDvO","exportSettingWrapper":"exportSettingWrapper___pCClH","imgPreviewPart":"imgPreviewPart___PCv0Y","tips":"tips___EVeBl","pottedLine":"pottedLine___AaY68","text":"text___ho3u_"});
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(7);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(84519);
// EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 31 modules
@ -276,7 +274,6 @@ var jsx_runtime = __webpack_require__(85893);
var TextArea = input/* default.TextArea */.Z.TextArea;
@ -597,7 +594,7 @@ var ExportSetting = function ExportSetting(_ref) {
style: {
width: 320
}
}), (0,authority/* isCommonSuperAdminOrOperation */.ag)() && /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
span: 24,
className: "mt15",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -2141,6 +2141,7 @@ var HeadBack_CustomButton = function CustomButton(_ref) {
className: classnames_default()(HeadBackmodules.head, className),
style: style,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
onClick: onClick,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12"

@ -2250,6 +2250,7 @@ ul.menu___UMSQf [class~='ant-dropdown-menu-item-active'] {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -2260,6 +2261,11 @@ ul.menu___UMSQf [class~='ant-dropdown-menu-item-active'] {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -2265,6 +2265,7 @@ var HeadBack_CustomButton = function CustomButton(_ref) {
className: classnames_default()(HeadBackmodules.head, className),
style: style,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
onClick: onClick,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12"

@ -2529,6 +2529,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -2539,6 +2540,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -306,6 +306,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -316,6 +317,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -4848,6 +4848,7 @@ var HeadBack_CustomButton = function CustomButton(_ref) {
className: classnames_default()(HeadBackmodules.head, className),
style: style,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
onClick: onClick,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12"

@ -3611,6 +3611,7 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -3621,6 +3622,11 @@ ul.menu___E01hA [class~='ant-dropdown-menu-item-active'] {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -219,6 +219,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -229,6 +230,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -210,6 +210,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -220,6 +221,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -572,6 +572,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -582,6 +583,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -177,6 +177,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -187,6 +188,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -1063,6 +1063,7 @@ span.ant-radio + * {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1073,6 +1074,11 @@ span.ant-radio + * {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -1175,6 +1175,7 @@ li:last-child > .ant-breadcrumb-separator {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1185,6 +1186,11 @@ li:last-child > .ant-breadcrumb-separator {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -532,6 +532,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -542,6 +543,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -541,6 +541,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -551,6 +552,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -423,6 +423,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -433,6 +434,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -1728,6 +1728,7 @@ textarea.ant-pagination-options-quick-jumper input {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1738,6 +1739,11 @@ textarea.ant-pagination-options-quick-jumper input {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -175,7 +175,7 @@ var AddAndEdit = function AddAndEdit(_ref) {
});
case 5:
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 || (res === null || res === void 0 ? void 0 : res.status) !== 403) {
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 && (res === null || res === void 0 ? void 0 : res.status) !== 403) {
message/* default.success */.ZP.success('操作成功');
_umi_production_exports.history.push("/vspaces/".concat(virtual_spacesId, "/announcement"));
}
@ -211,6 +211,9 @@ var AddAndEdit = function AddAndEdit(_ref) {
message: '请输入公告标题'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
style: {
height: 46
},
placeholder: "\u53EF\u8F93\u5165\u516C\u544A\u6807\u9898\uFF0C\u6700\u591A60\u4E2A\u5B57",
maxLength: 60
})

@ -384,6 +384,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -394,6 +395,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -723,8 +723,11 @@ var Detail = function Detail(_ref) {
var handleDelete = function handleDelete() {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
icon: false,
okButtonProps: {
danger: true
},
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -778,6 +781,7 @@ var Detail = function Detail(_ref) {
return _umi_production_exports.history.push("/vspaces/".concat(virtual_spacesId, "/announcement/").concat(id, "/edit"));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji7 font14 mr5"
}), "\u7F16\u8F91"]
@ -787,6 +791,7 @@ var Detail = function Detail(_ref) {
return handleDelete();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]

@ -609,10 +609,16 @@ textarea.ant-pagination-options-quick-jumper input {
font-size: 20px;
color: #000000;
}
.wrap___fcPQI .list___DJifR aside .title___tvX3h:hover {
color: #165DFF;
}
.wrap___fcPQI .list___DJifR aside .des___NKWF6 {
font-size: 14px;
color: #6A7283;
}
.wrap___fcPQI .list___DJifR aside .des___NKWF6:hover {
color: #165DFF;
}
.wrap___fcPQI .list___DJifR .footer___Nj_Tl {
height: 42px;
background: #F6F7F9;
@ -882,6 +888,7 @@ textarea.ant-pagination-options-quick-jumper input {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -892,6 +899,11 @@ textarea.ant-pagination-options-quick-jumper input {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -699,6 +699,7 @@ var jsx_runtime = __webpack_require__(85893);
var Page = function Page(_ref) {
var _menus$find;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
virtualSpaces = _ref.virtualSpaces;
@ -714,7 +715,8 @@ var Page = function Page(_ref) {
_useState6 = slicedToArray_default()(_useState5, 2),
loading = _useState6[0],
setLoading = _useState6[1];
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails;
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus;
var query = (0,_umi_production_exports.useParams)();
var _useState7 = (0,react.useState)({
page: 1,
@ -723,6 +725,9 @@ var Page = function Page(_ref) {
_useState8 = slicedToArray_default()(_useState7, 2),
params = _useState8[0],
setParams = _useState8[1];
var moduleName = (menus === null || menus === void 0 ? void 0 : (_menus$find = menus.find(function (e) {
return e.module_url === location.pathname;
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
(0,react.useEffect)(function () {
getData(params);
}, []);
@ -763,10 +768,13 @@ var Page = function Page(_ref) {
var handleDelete = function handleDelete(item) {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
okButtonProps: {
danger: true
},
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: ["\u786E\u8BA4\u5220\u9664\u300A", item.name, "\u300B\u5417\uFF1F"]
@ -827,7 +835,7 @@ var Page = function Page(_ref) {
}),
dataSource: [{
id: 'all',
name: '通知公告',
name: moduleName,
total: total
}]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
@ -874,9 +882,6 @@ var Page = function Page(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Announcementmodules.btns,
children: [item.can_edit && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
onClick: function onClick() {
return _umi_production_exports.history.push("/vspaces/".concat(query.virtual_spacesId, "/announcement/").concat(item.id, "/edit"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Announcementmodules.line,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
@ -885,14 +890,15 @@ var Page = function Page(_ref) {
className: Announcementmodules.b2
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
return _umi_production_exports.history.push("/vspaces/".concat(query.virtual_spacesId, "/announcement/").concat(item.id, "/edit"));
},
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji7 font14 mr5"
}), "\u7F16\u8F91"]
})]
}), item.can_remove && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
onClick: function onClick() {
return handleDelete(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Announcementmodules.line,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {
@ -901,6 +907,10 @@ var Page = function Page(_ref) {
className: Announcementmodules.b2
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
onClick: function onClick() {
return handleDelete(item);
},
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]
@ -908,7 +918,7 @@ var Page = function Page(_ref) {
})]
})]
})]
});
}, item.id);
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
hideOnSinglePage: true,

@ -136,7 +136,7 @@ var Addition = function Addition(_ref) {
knowledge_point: "",
content: "",
target: "",
class_hour: 1,
class_hour: "",
lesson_plan: ""
};
setList([].concat(toConsumableArray_default()(list), [param]));
@ -187,7 +187,7 @@ var Addition = function Addition(_ref) {
});
case 11:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 || (res === null || res === void 0 ? void 0 : res.status) !== 403) {
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 && (res === null || res === void 0 ? void 0 : res.status) !== 403) {
message/* default.success */.ZP.success('操作成功');
_umi_production_exports.history.push("/vspaces/".concat(query.virtual_spacesId, "/knowledge?active=desc"));
}
@ -283,8 +283,8 @@ var Addition = function Addition(_ref) {
onChange: function onChange(e) {
return handleEdit('class_hour', index, e);
},
precision: 0,
min: 1,
precision: 1,
min: 0.1,
value: class_hour,
className: SingleAdditionmodules.input
})]
@ -438,7 +438,7 @@ var BatchAddition_Addition = function Addition(_ref) {
}, true);
case 9:
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 || (res === null || res === void 0 ? void 0 : res.status) !== 403) {
if ((res === null || res === void 0 ? void 0 : res.status) !== -1 && (res === null || res === void 0 ? void 0 : res.status) !== 403) {
modal/* default.info */.Z.info({
centered: true,
keyboard: false,

@ -432,6 +432,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -442,6 +443,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -339,6 +339,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -349,6 +350,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -196,7 +196,10 @@ var Page = function Page(_ref) {
var handleDelete = function handleDelete(id, name) {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -336,6 +339,7 @@ var Page = function Page(_ref) {
return _umi_production_exports.history.push("/vspaces/".concat(query.virtual_spacesId, "/knowledge/").concat(subject_module_id, "/edit"));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji7 font14 mr5"
}), "\u7F16\u8F91"]
@ -345,6 +349,7 @@ var Page = function Page(_ref) {
return handleDelete(subject_module_id, module_name);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]

@ -1139,6 +1139,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1149,6 +1150,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -569,7 +569,10 @@ var Detail = function Detail(_ref) {
var handleDelete = function handleDelete() {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -684,6 +687,7 @@ var Detail = function Detail(_ref) {
setVisible(objectSpread2_default()({}, data));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji7 font14 mr5"
}), "\u7F16\u8F91"]
@ -693,6 +697,7 @@ var Detail = function Detail(_ref) {
return handleDelete();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]
@ -737,6 +742,7 @@ var Detail = function Detail(_ref) {
setEdit(true);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-bianji7 font14 mr5"
}), "\u7F16\u8F91"]

@ -277,6 +277,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -287,6 +288,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -55,6 +55,9 @@
margin-top: 13px;
margin-bottom: 15px;
}
.wrap___VxAa4 .list___BOHb1 .right___bBZU2 .title___uBnVu:hover {
color: #165DFF;
}
.wrap___VxAa4 .list___BOHb1 .right___bBZU2 > aside {
margin-bottom: 15px;
}
@ -68,6 +71,9 @@
color: #666;
font-size: 14px;
}
.wrap___VxAa4 .list___BOHb1 .right___bBZU2 .des___MgP7x:hover > div {
color: #165DFF;
}
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
@ -260,6 +266,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -270,6 +277,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -1154,6 +1154,9 @@ var Page = function Page(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "mr5",
width: 20,
style: {
marginTop: -2
},
src: add_namespaceObject
}), "\u65B0\u5EFA\u4E3B\u6559\u6750"]
}), active === '2' && /*#__PURE__*/(0,jsx_runtime.jsxs)(ui_customization/* CustomButton */.op, {
@ -1163,6 +1166,9 @@ var Page = function Page(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "mr5",
width: 20,
style: {
marginTop: -2
},
src: addM_namespaceObject
}), "\u65B0\u5EFA\u5B9E\u8DF5\u6559\u6750"]
})]

@ -394,7 +394,10 @@ var Detail = function Detail(_ref) {
var handleDelete = function handleDelete() {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -450,6 +453,7 @@ var Detail = function Detail(_ref) {
(0,util/* downLoadLink */.Nd)('', "".concat(env/* default.API_SERVER */.Z.API_SERVER).concat((_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.replace('disposition=inline', '')));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiazai4 font14 mr5"
}), "\u4E0B\u8F7D"]
@ -459,6 +463,7 @@ var Detail = function Detail(_ref) {
return handleDelete();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]

@ -266,6 +266,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -276,6 +277,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -851,6 +851,7 @@ var authority = __webpack_require__(7);
var Page = function Page(_ref) {
var _menus$find;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
virtualSpaces = _ref.virtualSpaces;
@ -878,7 +879,8 @@ var Page = function Page(_ref) {
_useState12 = slicedToArray_default()(_useState11, 2),
expandedKeys = _useState12[0],
setExpandedKeys = _useState12[1];
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails;
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus;
var query = (0,_umi_production_exports.useParams)();
var permission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) || (0,authority/* isSuperAdmins */.Ny)();
var creatorPermission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_creator) || (0,authority/* isSuperAdmins */.Ny)();
@ -886,6 +888,9 @@ var Page = function Page(_ref) {
var bool = (0,authority/* isSuperAdmins */.Ny)() || (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_creator) || (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) && (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.user_id) === user_id;
return bool;
};
var moduleName = (menus === null || menus === void 0 ? void 0 : (_menus$find = menus.find(function (e) {
return e.module_url === location.pathname;
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
(0,react.useEffect)(function () {
getData();
}, []);
@ -1010,7 +1015,10 @@ var Page = function Page(_ref) {
var handleDelete = function handleDelete(item) {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -1139,6 +1147,7 @@ var Page = function Page(_ref) {
},
children: "\u7F16\u8F91"
}), creatorPermission && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "delete-hover",
onClick: function onClick() {
return handleDelete(nodeData);
},
@ -1184,6 +1193,7 @@ var Page = function Page(_ref) {
},
children: "\u4E0B\u8F7D"
}), verify(nodeData === null || nodeData === void 0 ? void 0 : nodeData.user_id) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "delete-hover",
onClick: function onClick() {
return handleDelete(nodeData);
},
@ -1225,7 +1235,7 @@ var Page = function Page(_ref) {
}),
dataSource: [{
id: 'all',
name: '课程教案'
name: moduleName
}]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: loading,

@ -588,11 +588,11 @@
font-size: 14px;
}
.wrap___IQxW_ .rowHead___op0Qw .type___Dzdup {
width: 114px;
text-align: right;
width: 94px;
text-align: left;
}
.wrap___IQxW_ .rowHead___op0Qw .action___B2loy {
width: 195px;
width: 145px;
text-align: right;
}
.tree___pmC_0 {
@ -672,12 +672,12 @@
text-overflow: ellipsis;
}
.tree___pmC_0 .row___Y7sNK .type___Dzdup {
width: 114px;
text-align: right;
width: 94px;
text-align: left;
color: #666;
}
.tree___pmC_0 .row___Y7sNK .action___B2loy {
width: 195px;
width: 145px;
text-align: right;
}
.tree___pmC_0 .row___Y7sNK .action___B2loy span {
@ -1049,6 +1049,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -1059,6 +1060,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -266,6 +266,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -276,6 +277,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -394,7 +394,10 @@ var Detail = function Detail(_ref) {
var handleDelete = function handleDelete() {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -453,6 +456,7 @@ var Detail = function Detail(_ref) {
(0,util/* downLoadLink */.Nd)('', "".concat(env/* default.API_SERVER */.Z.API_SERVER).concat((_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.replace('disposition=inline', '')));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiazai4 font14 mr5"
}), "\u4E0B\u8F7D"]
@ -462,6 +466,7 @@ var Detail = function Detail(_ref) {
return handleDelete();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]

@ -162,6 +162,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -172,6 +173,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -493,6 +493,7 @@ var authority = __webpack_require__(7);
var Page = function Page(_ref) {
var _menus$find;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
virtualSpaces = _ref.virtualSpaces;
@ -524,8 +525,12 @@ var Page = function Page(_ref) {
_useState14 = slicedToArray_default()(_useState13, 2),
genreList = _useState14[0],
setGenreList = _useState14[1];
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails;
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus;
var permission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) || (0,authority/* isSuperAdmins */.Ny)();
var moduleName = (menus === null || menus === void 0 ? void 0 : (_menus$find = menus.find(function (e) {
return e.module_url === location.pathname;
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
var query = (0,_umi_production_exports.useParams)();
var _useState15 = (0,react.useState)({
page: 1,
@ -620,7 +625,10 @@ var Page = function Page(_ref) {
var handleDelete = function handleDelete(item) {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -748,16 +756,25 @@ var Page = function Page(_ref) {
});
}
}, {
title: '修改日期',
title: '上传日期',
dataIndex: 'created_at',
width: 150,
width: 162,
render: function render(v) {
return moment_default()(v).format('YYYY-MM-DD HH:mm');
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: moment_default()(v).format('YYYY-MM-DD HH:mm')
});
}
}, {
title: '类型',
dataIndex: 'show_file_type',
width: 150
width: 94,
render: function render(v) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: v
});
}
}, {
title: '操作',
width: 140,
@ -787,7 +804,7 @@ var Page = function Page(_ref) {
onClick: function onClick() {
handleDelete(r);
},
className: "c-light-primary current ml20",
className: "c-light-primary current ml20 delete-hover",
children: "\u5220\u9664"
})]
});
@ -826,7 +843,8 @@ var Page = function Page(_ref) {
}),
dataSource: [{
id: 'all',
name: '教学资源'
name: moduleName,
total: total
}]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
title: "\u5173\u8054\u6559\u6750",

@ -282,7 +282,7 @@
}
.warp____XM76 .adminsstyle___dby7X {
width: 48px;
height: 16px;
height: 17px;
background: #FFBF95;
border-radius: 2px;
border: 1px solid;
@ -293,7 +293,7 @@
margin-left: 6px;
margin-top: 4px;
text-align: center;
line-height: 16px;
line-height: 15px;
}
.warp____XM76 .upadmin___JBDfN {
font-size: 14px;

@ -1474,7 +1474,7 @@ var authority = __webpack_require__(7);
var Member_excluded = ["classroomList", "globalSetting", "virtualSpaces", "user", "loading", "dispatch", "setNumber"];
var Member_excluded = ["classroomList", "globalSetting", "virtualSpaces", "user", "loading", "dispatch"];
@ -1494,7 +1494,6 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
user = _ref.user,
loading = _ref.loading,
dispatch = _ref.dispatch,
setNumber = _ref.setNumber,
props = objectWithoutProperties_default()(_ref, Member_excluded);
var _useState = (0,react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
@ -1537,8 +1536,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
case 2:
res = _context4.sent;
setcousesList(res);
setNumber(res === null || res === void 0 ? void 0 : res.total_count);
case 5:
case 4:
case "end":
return _context4.stop();
}
@ -1618,9 +1616,9 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
fontSize: '12px',
fontSize: '14px',
color: '#7D8592',
marginTop: '11px'
marginTop: '7px'
},
children: [item.school, item.school && item.department_name && '-', item.department_name]
})]
@ -1822,21 +1820,19 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
var Settings_Page = function Page(_ref) {
var dispatch = _ref.dispatch;
var _virtualSpaces$virtua;
var dispatch = _ref.dispatch,
virtualSpaces = _ref.virtualSpaces;
var query = (0,_umi_production_exports.useParams)();
var virtual_spacesId = query.virtual_spacesId;
var _useState = (0,react.useState)('1'),
_useState2 = slicedToArray_default()(_useState, 2),
active = _useState2[0],
setActive = _useState2[1];
var _useState3 = (0,react.useState)(0),
var _useState3 = (0,react.useState)(false),
_useState4 = slicedToArray_default()(_useState3, 2),
number = _useState4[0],
setNumber = _useState4[1];
var _useState5 = (0,react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
status = _useState6[0],
setStatus = _useState6[1];
status = _useState4[0],
setStatus = _useState4[1];
(0,react.useEffect)(function () {
getData();
}, []);
@ -1870,10 +1866,9 @@ var Settings_Page = function Page(_ref) {
name: '模块设置'
}, {
id: '2',
name: '成员设置'
// total: number
name: '成员设置',
total: virtualSpaces === null || virtualSpaces === void 0 ? void 0 : (_virtualSpaces$virtua = virtualSpaces.virtualSpacesDetails) === null || _virtualSpaces$virtua === void 0 ? void 0 : _virtualSpaces$virtua.members_count
}];
if (!status) return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Settingsmodules.wrap,
@ -1895,9 +1890,7 @@ var Settings_Page = function Page(_ref) {
},
children: "\u6DFB\u52A0\u6210\u5458"
})
}), active === '1' && /*#__PURE__*/(0,jsx_runtime.jsx)(ModuleSettings, {}), active === '2' && /*#__PURE__*/(0,jsx_runtime.jsx)(Member, {
setNumber: setNumber
})]
}), active === '1' && /*#__PURE__*/(0,jsx_runtime.jsx)(ModuleSettings, {}), active === '2' && /*#__PURE__*/(0,jsx_runtime.jsx)(Member, {})]
});
};
/* harmony default export */ var Settings = ((0,_umi_production_exports.connect)(function (_ref3) {

@ -266,6 +266,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -276,6 +277,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -394,7 +394,10 @@ var Detail = function Detail(_ref) {
var handleDelete = function handleDelete() {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -453,6 +456,7 @@ var Detail = function Detail(_ref) {
(0,util/* downLoadLink */.Nd)('', "".concat(env/* default.API_SERVER */.Z.API_SERVER).concat((_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.replace('disposition=inline', '')));
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "primary-hover",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiazai4 font14 mr5"
}), "\u4E0B\u8F7D"]
@ -462,6 +466,7 @@ var Detail = function Detail(_ref) {
return handleDelete();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "delete-hover",
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-piliangshanchubeifen font14 mr5"
}), "\u5220\u9664"]

@ -296,6 +296,7 @@ var authority = __webpack_require__(7);
var Page = function Page(_ref) {
var _menus$find;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
virtualSpaces = _ref.virtualSpaces;
@ -315,7 +316,8 @@ var Page = function Page(_ref) {
_useState8 = slicedToArray_default()(_useState7, 2),
visible = _useState8[0],
setVisible = _useState8[1];
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails;
var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails,
menus = virtualSpaces.menus;
var query = (0,_umi_production_exports.useParams)();
var _useState9 = (0,react.useState)({
page: 1,
@ -325,6 +327,9 @@ var Page = function Page(_ref) {
_useState10 = slicedToArray_default()(_useState9, 2),
params = _useState10[0],
setParams = _useState10[1];
var moduleName = (menus === null || menus === void 0 ? void 0 : (_menus$find = menus.find(function (e) {
return e.module_url === location.pathname;
})) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || '';
var permission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) || (0,authority/* isSuperAdmins */.Ny)();
var verify = function verify(user_id) {
var bool = (0,authority/* isSuperAdmins */.Ny)() || (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_creator) || (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) && (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.user_id) === user_id;
@ -365,7 +370,10 @@ var Page = function Page(_ref) {
var handleDelete = function handleDelete(item) {
modal/* default.confirm */.Z.confirm({
title: '提示',
okText: '确定',
okText: '确定删除',
okButtonProps: {
danger: true
},
icon: false,
className: resetmodules/* default.CustomTipsModalCss */.Z.CustomTipsModalCss,
cancelText: '取消',
@ -481,14 +489,23 @@ var Page = function Page(_ref) {
}, {
title: '上传日期',
dataIndex: 'created_at',
width: 150,
width: 162,
render: function render(v) {
return moment_default()(v).format('YYYY-MM-DD HH:mm');
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: moment_default()(v).format('YYYY-MM-DD HH:mm')
});
}
}, {
title: '类型',
dataIndex: 'show_file_type',
width: 150
width: 94,
render: function render(v) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: v
});
}
}, {
title: '操作',
width: 140,
@ -518,7 +535,7 @@ var Page = function Page(_ref) {
onClick: function onClick() {
handleDelete(r);
},
className: "c-light-primary current ml20",
className: "c-light-primary current ml20 delete-hover",
children: "\u5220\u9664"
})]
});
@ -543,7 +560,8 @@ var Page = function Page(_ref) {
}),
dataSource: [{
id: 'all',
name: '课程调研'
name: moduleName,
total: total
}]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: loading,

@ -662,6 +662,7 @@ span.ant-radio + * {
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -672,6 +673,11 @@ span.ant-radio + * {
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

@ -282,6 +282,7 @@
height: 32px;
line-height: 30px;
color: #464f66;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button:last-child {
padding: 0 16px;
@ -292,6 +293,11 @@
height: 32px;
line-height: 30px;
color: #165dff;
text-shadow: none;
}
.CustomTipsModalCss___MmFkT .ant-modal-confirm-btns button.ant-btn-dangerous {
color: #E30000;
border: 1px solid #E30000;
}
.dropdownmenus___oVzoj {
width: 104px;

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

File diff suppressed because one or more lines are too long

@ -1374,10 +1374,10 @@ html {
\*************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: "iconfont"; /* Project id 653600 */
src: url(./static/iconfont.5338e410.woff2) format('woff2'),
url(./static/iconfont.29dfbc68.woff) format('woff'),
url(./static/iconfont.b9f59125.ttf) format('truetype'),
url(./static/iconfont.63324152.svg#iconfont) format('svg');
src: url(./static/iconfont.7d0be8e2.woff2) format('woff2'),
url(./static/iconfont.ebe277b3.woff) format('woff'),
url(./static/iconfont.2c54e21d.ttf) format('truetype'),
url(./static/iconfont.c7b32e73.svg#iconfont) format('svg');
}
.iconfont {
@ -1388,6 +1388,22 @@ html {
-moz-osx-font-smoothing: grayscale;
}
.icon-tijiaochenggong:before {
content: "\eb14";
}
.icon-daojishi:before {
content: "\eb13";
}
.icon-sousuo-xiaochengxu:before {
content: "\eb12";
}
.icon-genghuanguanliyuan:before {
content: "\eb11";
}
.icon-jiaoxueziyuan:before {
content: "\eb0f";
}
@ -11675,6 +11691,12 @@ body .current-primary {
.lock-item-wrp:hover .lock-item {
display: inline;
}
.delete-hover:hover {
color: #E30000 !important;
}
.primary-hover:hover {
color: #165DFF !important;
}
.lock-item {
position: absolute;
left: 0;
Loading…
Cancel
Save