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
7a5179c4
Commit
7a5179c4
authored
Dec 16, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物业费管理模块 优化
parent
c1906393
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
157 additions
and
18 deletions
+157
-18
ChargeDetail.css
src/pages/PropertyManagement/ChargeDetail.css
+142
-0
ChargeDetail.less
src/pages/PropertyManagement/ChargeDetail.less
+12
-14
ChargeDetail.tsx
src/pages/PropertyManagement/ChargeDetail.tsx
+3
-4
No files found.
src/pages/PropertyManagement/ChargeDetail.css
0 → 100644
View file @
7a5179c4
.base
{
width
:
100%
;
background-color
:
#ffffff
;
padding
:
34px
;
min-width
:
1020px
;
overflow-x
:
auto
;
}
.box
{
width
:
100%
;
height
:
64px
;
position
:
relative
;
}
.item1
{
position
:
absolute
;
width
:
180px
;
text-align
:
center
;
border-left
:
5px
solid
#1890ff
;
font-family
:
'Source Han Sans CN'
;
font-size
:
18px
;
font-weight
:
600
;
color
:
#000000
;
}
.item2
{
width
:
300px
;
position
:
absolute
;
left
:
216px
;
line-height
:
30px
;
}
.item3
{
width
:
80px
;
height
:
32px
;
position
:
absolute
;
right
:
0
;
outline
:
none
;
background
:
none
;
cursor
:
pointer
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
}
.box2
{
width
:
100%
;
height
:
130px
;
text-align
:
center
;
position
:
relative
;
}
.item21
{
line-height
:
32px
;
width
:
200px
;
position
:
absolute
;
}
.item22
{
line-height
:
32px
;
position
:
absolute
;
left
:
200px
;
width
:
200px
;
height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
}
.item23
{
line-height
:
32px
;
position
:
absolute
;
left
:
416px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
width
:
200px
;
height
:
32px
;
}
.item24
{
line-height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
position
:
absolute
;
left
:
640px
;
width
:
80px
;
height
:
32px
;
}
.item234
{
line-height
:
32px
;
height
:
32px
;
position
:
absolute
;
left
:
720px
;
}
.item25
{
line-height
:
32px
;
width
:
80px
;
height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
position
:
absolute
;
left
:
740px
;
}
.item245
{
line-height
:
32px
;
position
:
absolute
;
left
:
830px
;
}
.item26
{
width
:
80px
;
height
:
32px
;
line-height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
position
:
absolute
;
left
:
860px
;
}
.item27
{
width
:
200px
;
height
:
32px
;
line-height
:
32px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
2px
;
position
:
absolute
;
left
:
200px
;
top
:
55px
;
}
.box3out
{
padding-left
:
200px
;
}
.box3
{
width
:
780px
;
border
:
1px
solid
#d9d9d9
;
background-color
:
#f4f4f4
;
cursor
:
pointer
;
overflow
:
auto
;
}
.box3of
{
cursor
:
pointer
;
}
.box4
{
padding-left
:
200px
;
}
.time1
{
position
:
absolute
;
top
:
-60px
;
left
:
270px
;
}
.time2
{
position
:
absolute
;
top
:
-60px
;
left
:
360px
;
}
src/pages/PropertyManagement/ChargeDetail.less
View file @
7a5179c4
@import '~antd/lib/style/themes/default.less';
//基石
//基石
.base {
.base {
width: 100%;
width: 100%;
...
@@ -71,28 +69,23 @@
...
@@ -71,28 +69,23 @@
left: 416px;
left: 416px;
border: 1px solid rgba(217, 217, 217, 1);
border: 1px solid rgba(217, 217, 217, 1);
border-radius: 2px;
border-radius: 2px;
width: 140px;
width: 200px;
height: 32px;
}
.item234 {
line-height: 32px;
height: 32px;
height: 32px;
position: absolute;
left: 665px;
}
}
.item24 {
.item24 {
line-height: 32px;
line-height: 32px;
border: 1px solid rgba(217, 217, 217, 1);
border: 1px solid rgba(217, 217, 217, 1);
border-radius: 2px;
border-radius: 2px;
position: absolute;
position: absolute;
left:
58
0px;
left:
64
0px;
width: 80px;
width: 80px;
height: 32px;
height: 32px;
}
}
.item2
45
{
.item2
34
{
line-height: 32px;
line-height: 32px;
height: 32px;
position: absolute;
position: absolute;
left: 7
66
px;
left: 7
20
px;
}
}
.item25 {
.item25 {
line-height: 32px;
line-height: 32px;
...
@@ -101,7 +94,12 @@
...
@@ -101,7 +94,12 @@
border: 1px solid rgba(217, 217, 217, 1);
border: 1px solid rgba(217, 217, 217, 1);
border-radius: 2px;
border-radius: 2px;
position: absolute;
position: absolute;
left: 680px;
left: 740px;
}
.item245 {
line-height: 32px;
position: absolute;
left: 830px;
}
}
.item26 {
.item26 {
width: 80px;
width: 80px;
...
@@ -110,7 +108,7 @@
...
@@ -110,7 +108,7 @@
border: 1px solid rgba(217, 217, 217, 1);
border: 1px solid rgba(217, 217, 217, 1);
border-radius: 2px;
border-radius: 2px;
position: absolute;
position: absolute;
left: 8
0
0px;
left: 8
6
0px;
}
}
.item27 {
.item27 {
width: 200px;
width: 200px;
...
...
src/pages/PropertyManagement/ChargeDetail.tsx
View file @
7a5179c4
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
styles
from
'./ChargeDetail.less'
;
import
styles
from
'./ChargeDetail.less'
;
import
{
Pagination
,
Tooltip
,
Spin
}
from
'antd'
;
import
{
Pagination
,
Tooltip
}
from
'antd'
;
import
{
useIntl
,
connect
}
from
'umi'
;
import
{
useIntl
,
connect
}
from
'umi'
;
...
@@ -31,7 +31,6 @@ const ChargeDetail = (props: any) => {
...
@@ -31,7 +31,6 @@ const ChargeDetail = (props: any) => {
},
},
},
},
});
});
console
.
log
(
'发起请求'
);
}
else
{
}
else
{
history
.
back
();
history
.
back
();
}
}
...
@@ -73,7 +72,7 @@ const ChargeDetail = (props: any) => {
...
@@ -73,7 +72,7 @@ const ChargeDetail = (props: any) => {
<
div
className=
{
styles
.
item24
}
>
{
CurData
.
buildingNumber
}
</
div
>
<
div
className=
{
styles
.
item24
}
>
{
CurData
.
buildingNumber
}
</
div
>
<
div
className=
{
styles
.
item234
}
>
#
</
div
>
<
div
className=
{
styles
.
item234
}
>
#
</
div
>
<
div
className=
{
styles
.
item25
}
>
{
CurData
.
floorNumber
}
</
div
>
<
div
className=
{
styles
.
item25
}
>
{
CurData
.
floorNumber
}
</
div
>
<
div
className=
{
styles
.
item245
}
>
—
—
</
div
>
<
div
className=
{
styles
.
item245
}
>
—
</
div
>
<
div
className=
{
styles
.
item26
}
>
{
CurData
.
roomNumber
}
</
div
>
<
div
className=
{
styles
.
item26
}
>
{
CurData
.
roomNumber
}
</
div
>
<
div
className=
{
styles
.
item27
}
>
{
CurData
.
tosOwnerName
}
</
div
>
<
div
className=
{
styles
.
item27
}
>
{
CurData
.
tosOwnerName
}
</
div
>
</
div
>
</
div
>
...
@@ -88,7 +87,7 @@ const ChargeDetail = (props: any) => {
...
@@ -88,7 +87,7 @@ const ChargeDetail = (props: any) => {
// key="pdfjs"
// key="pdfjs"
file=
{
file=
{
// 'data:application/pdf;base64,' + stringSplit(CurData.billFileUrl, 'm/cash')
// 'data:application/pdf;base64,' + stringSplit(CurData.billFileUrl, 'm/cash')
stringSplit
(
CurData
.
billFileUrl
||
FileImg
,
'm/cash'
)
FileImg
||
stringSplit
(
CurData
.
billFileUrl
,
'm/cash'
)
}
}
// workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.228/pdf.worker.js"
// workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.228/pdf.worker.js"
scale=
{
scale
}
scale=
{
scale
}
...
...
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