Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
271d8022
Commit
271d8022
authored
Sep 09, 2025
by
chengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
d7dc48cd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
7 deletions
+24
-7
src/pages/Dashboard/index.js
+1
-1
src/pages/SystemManagement/Article/addEditForm.jsx
+0
-1
src/pages/SystemManagement/Article/index.jsx
+4
-0
src/pages/SystemManagement/Article/redux/reducer.js
+4
-1
src/pages/SystemManagement/Information/index.jsx
+8
-0
src/pages/SystemManagement/Information/redux/reducer.js
+4
-1
src/pages/TrainingTools/Question/UpLoad/UploadUtil.jsx
+1
-1
src/pages/TrainingTools/Survey/Create/Base.jsx
+2
-2
No files found.
src/pages/Dashboard/index.js
View file @
271d8022
...
...
@@ -378,7 +378,7 @@ class homePage extends Component {
xAxis
:
[
{
type
:
"category"
,
data
:
[
"
培训
总数"
,
"参加人数"
],
data
:
[
"
测试
总数"
,
"参加人数"
],
boundaryGap
:
[
"0%"
,
"0%"
],
axisLine
:
{
show
:
false
,
// 确保显示 Y 轴线
...
...
src/pages/SystemManagement/Article/addEditForm.jsx
View file @
271d8022
...
...
@@ -352,7 +352,6 @@ class addEdit extends React.Component {
disabled=
{
type
!=
"edit"
?
true
:
false
}
options=
{
residences
}
onChange=
{
this
.
loadData
}
// disabled=
{
type
==
"
look
"
?
!
false
:
false
}
changeOnSelect=
{
true
}
placeholder=
"请选择"
/>
...
...
src/pages/SystemManagement/Article/index.jsx
View file @
271d8022
...
...
@@ -331,6 +331,10 @@ class Atricle extends React.Component {
if
(
err
)
{
return
;
}
if
(
!
values
.
type
[
1
])
{
console
.
log
(
values
,
'111111111111111'
);
return
message
.
error
(
"请完整选择所属栏位"
);
}
const
jsonEdit
=
{
id
,
logoPath
:
values
.
logoPath
,
...
...
src/pages/SystemManagement/Article/redux/reducer.js
View file @
271d8022
...
...
@@ -18,8 +18,11 @@ function article(state = initialState, action) {
switch
(
action
.
type
)
{
//获取资讯分类
case
"IFICATIONLIST"
:
const
filteredData
=
action
.
data
?
action
.
data
.
filter
(
item
=>
item
.
name
===
"机电视窗"
||
item
.
name
===
"支部风采"
)
:
null
;
return
Object
.
assign
({},
state
,
{
ificationList
:
action
.
d
ata
,
ificationList
:
filteredD
ata
,
});
//获取Table List
case
"TABLELIST"
:
...
...
src/pages/SystemManagement/Information/index.jsx
View file @
271d8022
...
...
@@ -718,6 +718,10 @@ class Information extends React.Component {
message
.
warning
(
"新闻类文章必须上传logo"
);
return
;
}
if
(
!
values
.
type
[
1
]
)
{
message
.
warning
(
"所属栏位子级未选择"
);
return
;
}
this
.
props
.
postUpdata
(
jsonEdit
,
()
=>
{
// reset
this
.
props
.
nullSeeEdit
();
...
...
@@ -759,6 +763,10 @@ class Information extends React.Component {
message
.
warning
(
"新闻类文章必须上传logo"
);
return
;
}
if
(
!
values
.
type
[
1
]
)
{
message
.
warning
(
"所属栏位子级未选择"
);
return
;
}
this
.
props
.
postInsert
(
json
,
()
=>
{
// reset
this
.
props
.
nullSeeEdit
();
...
...
src/pages/SystemManagement/Information/redux/reducer.js
View file @
271d8022
...
...
@@ -18,8 +18,11 @@ function information(state = initialState, action) {
switch
(
action
.
type
)
{
//获取资讯分类
case
"IFICATIONLIST"
:
const
filteredData
=
action
.
data
?
action
.
data
.
filter
(
item
=>
item
.
name
!==
"国学经典"
&&
item
.
name
!==
"心理讲堂"
)
:
null
;
return
Object
.
assign
({},
state
,
{
ificationList
:
action
.
d
ata
,
ificationList
:
filteredD
ata
,
});
//获取Table List
case
"TABLELIST"
:
...
...
src/pages/TrainingTools/Question/UpLoad/UploadUtil.jsx
View file @
271d8022
...
...
@@ -119,7 +119,7 @@ class UploadUtil extends Component {
extra=
{
this
.
props
.
extra
===
"markeCardExtra"
?
"请上传资源附件(附件格式:mp4、png、jpg、jpeg、gif、mp3、word、pdf)"
:
"请上传资源附件(附件格式:
png、jpg、jpeg、gif、word
、pdf、xls、xlsx)"
:
"请上传资源附件(附件格式:
doc、docx
、pdf、xls、xlsx)"
}
>
{
getFieldDecorator
(
"upload"
,
{
...
...
src/pages/TrainingTools/Survey/Create/Base.jsx
View file @
271d8022
...
...
@@ -372,7 +372,7 @@ class Base extends Component {
style=
{
{
display
:
"inline-block"
}
}
/>
)
}
{
this
.
props
.
iscopy
==
true
?
null
:
(
{
/* {
this.props.iscopy == true ? null : (
<Button
type="primary"
onClick={this.showModal}
...
...
@@ -381,7 +381,7 @@ class Base extends Component {
>
复制投票
</Button>
)
}
)}
*/
}
</
FormItem
>
<
FormItem
{
...
formItemLayout
}
label=
"业务类型:"
>
{
getFieldDecorator
(
"bizType"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment