Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maple
TOSTUMI
Commits
2b7a1dde
Commit
2b7a1dde
authored
Nov 25, 2020
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建编辑小区 附件上传预览重做更新,文案修复
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
f0bf87b9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
194 additions
and
44 deletions
+194
-44
CellList.ts
src/models/CommunityManagement/CellList.ts
+6
-1
Adds.tsx
src/pages/CommunityManagement/CellList/Adds.tsx
+183
-39
CellList.tsx
src/pages/CommunityManagement/CellList/CellList.tsx
+2
-1
Details.tsx
src/pages/CommunityManagement/CellList/Details.tsx
+3
-3
No files found.
src/models/CommunityManagement/CellList.ts
View file @
2b7a1dde
...
...
@@ -76,7 +76,12 @@ export default {
{
let
Result
=
resp
;
yield
put
({
type
:
'returnResult'
,
Result
});
// 新增成功清空Data 用来刷新最新数据
let
Data
=
null
;
let
village
=
null
;
yield
put
({
type
:
'returnPage'
,
Data
});
yield
put
({
type
:
'returnVillage'
,
village
});
// 提示跳转
message
.
success
(
`Information saved successfully!`
);
history
.
push
(
'/CommunityManagement/CellList'
);
}
...
...
src/pages/CommunityManagement/CellList/Adds.tsx
View file @
2b7a1dde
This diff is collapsed.
Click to expand it.
src/pages/CommunityManagement/CellList/CellList.tsx
View file @
2b7a1dde
...
...
@@ -119,7 +119,7 @@ const CellLists = (props: any) => {
if
(
comment
.
communityName
.
length
>
0
||
typeof
comment
.
label
!==
'undefined'
)
{
let
obj
=
{
residentialManagerUserName
:
comment
.
label
,
communityNameList
:
comment
.
communityName
,
communityNameList
:
comment
.
communityName
.
length
>
0
?
comment
.
communityName
:
null
,
// 如果为空就返回null 否则后台不好判断
pageNum
:
1
,
};
setTerm
(
obj
);
// 存进搜索条件
...
...
@@ -205,6 +205,7 @@ const CellLists = (props: any) => {
};
function
map
(
state
:
any
)
{
console
.
log
(
state
);
const
loading
=
state
.
loading
.
models
.
CellList
;
const
{
Data
,
curString
,
village
}
=
state
[
module
];
return
{
Data
,
loading
,
curString
,
village
};
...
...
src/pages/CommunityManagement/CellList/Details.tsx
View file @
2b7a1dde
...
...
@@ -197,7 +197,7 @@ const Detail = (props: any) => {
{
/* ---------- */
}
<
div
className=
"item"
>
<
label
>
Administrator
s
:
</
label
>
<
label
>
Administrator:
</
label
>
<
span
>
{
detailData
.
rows
.
residentialManagerUserName
}
</
span
>
</
div
>
{
/* ---------- */
}
...
...
@@ -213,7 +213,7 @@ const Detail = (props: any) => {
<
div
className=
"celBox"
>
<
div
className=
"list-item"
>
<
div
className=
"item"
>
<
label
>
Louba
Timetable:
</
label
>
<
label
>
Shuttle Bus
Timetable:
</
label
>
<
PreView
OpenUrl=
{
detailData
.
rows
.
balouscheduleUrl
}
></
PreView
>
</
div
>
{
/* ---------- */
}
...
...
@@ -223,7 +223,7 @@ const Detail = (props: any) => {
</
div
>
{
/* ---------- */
}
<
div
className=
"item"
>
<
label
>
Shelf Life
Service:
</
label
>
<
label
>
Warranty Period
Service:
</
label
>
<
PreView
OpenUrl=
{
detailData
.
rows
.
lifeServiceUrl
}
></
PreView
>
</
div
>
</
div
>
...
...
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