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
18ae8182
Commit
18ae8182
authored
Feb 03, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
beed4fd8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
4 deletions
+26
-4
PictureOptionsRow.tsx
src/components/PictureOptions/PictureOptionsRow.tsx
+1
-1
CommunityAnnouncement.ts
src/models/CommunityManagement/CommunityAnnouncement.ts
+8
-2
Contract.ts
src/models/CommunityManagement/Contract.ts
+6
-0
Adds.tsx
src/pages/CommunityManagement/CellList/Adds.tsx
+1
-1
Details.tsx
src/pages/CommunityManagement/CellList/Details.tsx
+4
-0
CommunityAnnouncement.tsx
...anagement/CommunityAnnouncement/CommunityAnnouncement.tsx
+6
-0
No files found.
src/components/PictureOptions/PictureOptionsRow.tsx
View file @
18ae8182
...
@@ -103,7 +103,7 @@ const PictureOptionsRow = (props: any) => {
...
@@ -103,7 +103,7 @@ const PictureOptionsRow = (props: any) => {
tmp
.
map
((
item
:
any
,
index
:
number
)
=>
{
tmp
.
map
((
item
:
any
,
index
:
number
)
=>
{
// 如果没返回就用原来的名称
// 如果没返回就用原来的名称
let
name
=
let
name
=
item
.
response
.
data
&&
item
.
response
.
data
.
imageName
item
.
response
&&
item
.
response
.
data
&&
item
.
response
.
data
.
imageName
?
item
.
response
.
data
.
imageName
?
item
.
response
.
data
.
imageName
:
item
.
name
;
:
item
.
name
;
result
.
push
(
name
);
result
.
push
(
name
);
...
...
src/models/CommunityManagement/CommunityAnnouncement.ts
View file @
18ae8182
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2020-11-19 16:54:53
* @Date: 2020-11-19 16:54:53
* @LastEditTime: 2021-0
1-04 13:53:50
* @LastEditTime: 2021-0
2-03 15:24:39
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\models\CommunityManagement\CommunityAnnouncement.ts
* @FilePath: \tostumi\src\models\CommunityManagement\CommunityAnnouncement.ts
...
@@ -20,7 +20,7 @@ export default {
...
@@ -20,7 +20,7 @@ export default {
Data
:
null
,
//公告列表
Data
:
null
,
//公告列表
Result
:
null
,
//新增、编辑保存成功信息
Result
:
null
,
//新增、编辑保存成功信息
DataSave
:
null
,
// 列表内容
DataSave
:
null
,
// 列表内容
DataSaveDetail
:
{
pageNum
:
1
}
,
// 页码
DataSaveDetail
:
null
,
// 页码
ImgSrc
:
null
,
ImgSrc
:
null
,
},
},
...
@@ -87,6 +87,12 @@ export default {
...
@@ -87,6 +87,12 @@ export default {
yield
put
({
type
:
'returnResult'
,
tmp
});
yield
put
({
type
:
'returnResult'
,
tmp
});
},
},
// 清掉列表
*
Lis
({
playload
},
{
call
,
put
})
{
var
Data
=
null
;
yield
put
({
type
:
'returnPage'
,
Data
});
},
*
SA
({
playload
},
{
put
})
{
*
SA
({
playload
},
{
put
})
{
console
.
log
(
playload
);
console
.
log
(
playload
);
// 这里传递两个值来。 一个是修改同步的方法 一个是修改值的名称 一个是修改 的数据
// 这里传递两个值来。 一个是修改同步的方法 一个是修改值的名称 一个是修改 的数据
...
...
src/models/CommunityManagement/Contract.ts
View file @
18ae8182
...
@@ -97,6 +97,12 @@ export default {
...
@@ -97,6 +97,12 @@ export default {
yield
put
({
type
:
'returnDataSave'
,
DataSave
});
yield
put
({
type
:
'returnDataSave'
,
DataSave
});
},
},
// 清掉列表
*
Lis
({
playload
},
{
call
,
put
})
{
var
Data
=
null
;
yield
put
({
type
:
'returnPage'
,
Data
});
},
*
Paths
({
playload
},
{
put
})
{
*
Paths
({
playload
},
{
put
})
{
yield
put
({
type
:
'returnPath'
,
playload
});
yield
put
({
type
:
'returnPath'
,
playload
});
},
},
...
...
src/pages/CommunityManagement/CellList/Adds.tsx
View file @
18ae8182
...
@@ -656,7 +656,7 @@ const Adds = (props: any) => {
...
@@ -656,7 +656,7 @@ const Adds = (props: any) => {
// export default Adds;
// export default Adds;
function
map
(
state
:
any
)
{
function
map
(
state
:
any
)
{
console
.
log
(
state
);
//
console.log(state);
const
Data
=
state
.
CellList
.
DataSave
;
const
Data
=
state
.
CellList
.
DataSave
;
const
{
imgUrl
,
Result
}
=
state
.
CellList
;
const
{
imgUrl
,
Result
}
=
state
.
CellList
;
...
...
src/pages/CommunityManagement/CellList/Details.tsx
View file @
18ae8182
...
@@ -46,6 +46,10 @@ const Detail = (props: any) => {
...
@@ -46,6 +46,10 @@ const Detail = (props: any) => {
if
(
overCom
!=
null
)
{
if
(
overCom
!=
null
)
{
// message.success(`Community Deleted Successfully`);
// message.success(`Community Deleted Successfully`);
// 清除合同列表、公告列表
dispatch
({
type
:
'Contract/Lis'
});
// 合同列表
dispatch
({
type
:
'CommunityAnnouncement/Lis'
});
// 公告列表
// 提示用户下载
// 提示用户下载
setModelExcel
(
true
);
//状态
setModelExcel
(
true
);
//状态
console
.
log
(
overCom
);
console
.
log
(
overCom
);
...
...
src/pages/CommunityManagement/CommunityAnnouncement/CommunityAnnouncement.tsx
View file @
18ae8182
...
@@ -98,6 +98,12 @@ const CommunityAnnouncement = (props: any) => {
...
@@ -98,6 +98,12 @@ const CommunityAnnouncement = (props: any) => {
return
data
;
return
data
;
};
};
useEffect
(()
=>
{
if
(
Data
==
null
)
{
request
({
pageNum
:
1
});
}
},
[
Data
]);
// 分页数据一改变就发起请求
// 分页数据一改变就发起请求
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
DataSaveDetail
!=
null
)
{
if
(
DataSaveDetail
!=
null
)
{
...
...
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