Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
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
刘文虎
account-book
Commits
7dbd2d42
Commit
7dbd2d42
authored
Jul 25, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
滚动盒子
parent
994342a4
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
136 additions
and
140 deletions
+136
-140
daily.js
api/bill/daily.js
+4
-2
index.js
api/bill/index.js
+6
-3
index.js
api/login/index.js
+0
-15
index.js
api/schedule/index.js
+6
-3
index.js
api/upload/index.js
+2
-1
index.js
api/user/index.js
+1
-0
billing-daily.vue
components/billing-daily/billing-daily.vue
+2
-0
debit-detail.vue
pages/bill/debit-note/components/debit-detail.vue
+3
-3
debit-note.vue
pages/bill/debit-note/debit-note.vue
+4
-4
bill.vue
pages/index/bill/bill.vue
+101
-100
bill-count.vue
pages/index/bill/components/bill-count.vue
+1
-1
scroll-box.vue
pages/index/bill/components/scroll-box.vue
+2
-2
index.vue
pages/index/index.vue
+1
-3
plan-step.vue
pages/index/schedule/components/plan-step.vue
+0
-1
schedule.vue
pages/index/schedule/schedule.vue
+1
-2
payments-setting.vue
pages/mine/payments-setting/payments-setting.vue
+1
-0
login.js
store/modules/login.js
+1
-0
No files found.
api/bill/daily.js
View file @
7dbd2d42
...
@@ -3,7 +3,8 @@ export function getList(data) {
...
@@ -3,7 +3,8 @@ export function getList(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord`
,
url
:
`/rest/bookRecord`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -11,7 +12,8 @@ export function getBillTypes(data) {
...
@@ -11,7 +12,8 @@ export function getBillTypes(data) {
return
request
({
return
request
({
url
:
`/rest/user/bookClassification`
,
url
:
`/rest/user/bookClassification`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
...
api/bill/index.js
View file @
7dbd2d42
...
@@ -3,7 +3,8 @@ export function getList(data) {
...
@@ -3,7 +3,8 @@ export function getList(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord/page`
,
url
:
`/rest/bookRecord/page`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -11,7 +12,8 @@ export function get(data) {
...
@@ -11,7 +12,8 @@ export function get(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord/detail`
,
url
:
`/rest/bookRecord/detail`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -20,7 +22,8 @@ export function getStatistics(data) {
...
@@ -20,7 +22,8 @@ export function getStatistics(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord/statistics`
,
url
:
`/rest/bookRecord/statistics`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
...
api/login/index.js
View file @
7dbd2d42
import
request
from
"@/utils/request.js"
import
request
from
"@/utils/request.js"
export
function
addBind
(
data
)
{
return
request
({
url
:
`/iov/business/deviceInfo/bind`
,
method
:
'POST'
,
data
})
}
export
function
getList
(
data
)
{
return
request
({
url
:
`/iov/business/deviceInfo/bind`
,
method
:
'POST'
,
data
})
}
export
function
userAuthLogin
(
data
)
{
export
function
userAuthLogin
(
data
)
{
return
request
({
return
request
({
...
...
api/schedule/index.js
View file @
7dbd2d42
...
@@ -3,7 +3,8 @@ export function getList(data) {
...
@@ -3,7 +3,8 @@ export function getList(data) {
return
request
({
return
request
({
url
:
`/rest/trip/day`
,
url
:
`/rest/trip/day`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -11,7 +12,8 @@ export function getSign(data) {
...
@@ -11,7 +12,8 @@ export function getSign(data) {
return
request
({
return
request
({
url
:
`/rest/trip/calendar`
,
url
:
`/rest/trip/calendar`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -19,7 +21,8 @@ export function get(data) {
...
@@ -19,7 +21,8 @@ export function get(data) {
return
request
({
return
request
({
url
:
`/rest/trip/detail`
,
url
:
`/rest/trip/detail`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
...
api/upload/index.js
View file @
7dbd2d42
...
@@ -6,6 +6,7 @@ export function getQiNiuToken(data) {
...
@@ -6,6 +6,7 @@ export function getQiNiuToken(data) {
method
:
'GET'
,
method
:
'GET'
,
data
:{
data
:{
bucketName
:
'banshou-account-book'
,
bucketName
:
'banshou-account-book'
,
}
},
noLoading
:
true
})
})
}
}
api/user/index.js
View file @
7dbd2d42
...
@@ -3,6 +3,7 @@ export function getUserInfo() {
...
@@ -3,6 +3,7 @@ export function getUserInfo() {
return
request
({
return
request
({
url
:
`/rest/user`
,
url
:
`/rest/user`
,
method
:
'GET'
,
method
:
'GET'
,
noLoading
:
true
})
})
}
}
...
...
components/billing-daily/billing-daily.vue
View file @
7dbd2d42
...
@@ -130,6 +130,7 @@ export default {
...
@@ -130,6 +130,7 @@ export default {
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
form
.
happenTime
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}-{d}'
);
this
.
form
.
happenTime
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}-{d}'
);
console
.
log
(
this
.
form
.
happenTime
)
this
.
getBillTypeOptions
();
this
.
getBillTypeOptions
();
this
.
getQiniuToken
();
this
.
getQiniuToken
();
},
},
...
@@ -191,6 +192,7 @@ export default {
...
@@ -191,6 +192,7 @@ export default {
latitude
:
''
,
latitude
:
''
,
longitude
:
''
longitude
:
''
};
};
this
.
form
.
happenTime
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}-{d}'
);
this
.
show
=
true
;
this
.
show
=
true
;
}
}
},
},
...
...
pages/bill/debit-note/components/debit-detail.vue
View file @
7dbd2d42
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<view
class=
"content"
>
<view
class=
"content"
>
<view
class=
"content-item"
>
<view
class=
"content-item"
>
<text
class=
"content-item-label"
>
客户名称:
</text>
<text
class=
"content-item-label"
>
客户名称:
</text>
<text
class=
"content-item-value"
>
{{
detail
.
n
ame
}}
</text>
<text
class=
"content-item-value"
>
{{
detail
.
customerN
ame
}}
</text>
</view>
</view>
<view
class=
"content-item"
>
<view
class=
"content-item"
>
<text
class=
"content-item-label"
>
联系电话:
</text>
<text
class=
"content-item-label"
>
联系电话:
</text>
<text
class=
"content-item-value"
>
{{
detail
.
p
hone
}}
</text>
<text
class=
"content-item-value"
>
{{
detail
.
customerP
hone
}}
</text>
</view>
</view>
<view
class=
"line"
>
<view
class=
"line"
>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<view
class=
"content-item debt-status"
>
欠款
</view>
<view
class=
"content-item debt-status"
>
欠款
</view>
<view
class=
"content-item debt-money"
>
<view
class=
"content-item debt-money"
>
<text>
¥
</text>
<text>
¥
</text>
<text>
{{
detail
.
money
}}
</text>
<text>
{{
detail
.
debtAmount
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/bill/debit-note/debit-note.vue
View file @
7dbd2d42
...
@@ -149,10 +149,10 @@ export default {
...
@@ -149,10 +149,10 @@ export default {
}
}
if
(
records
&&
records
.
length
)
{
if
(
records
&&
records
.
length
)
{
records
.
forEach
(
item
=>
{
//
records.forEach(item => {
item
.
stature
=
RandomNumBoth
(
145
,
180
);
//
item.stature = RandomNumBoth(145, 180);
item
.
cityName
=
RandomCity
();
//
item.cityName = RandomCity();
});
//
});
this
.
list
[
this
.
current
].
push
(...
records
);
this
.
list
[
this
.
current
].
push
(...
records
);
// 更新底部加载状态
// 更新底部加载状态
}
}
...
...
pages/index/bill/bill.vue
View file @
7dbd2d42
<
template
>
<
template
>
<!-- 账单 -->
<!-- 账单 -->
<view>
<view
class=
"bill footer"
>
<!--
<NavbarNormal
background=
"transparent"
titleColor=
"#191C27"
:border-bottom=
"false"
:custom-back=
"customBack"
title=
" "
title-bold
>
<NavbarRight
backTextBold
backText=
"账单"
text=
"导出账单"
imageWidth=
"20"
:image=
"outImage"
@
click=
"handlClickOut"
/>
<view
class=
"left-text"
>
{{
title
}}
</view>
<!-- -->
<view
class=
"download"
hover-class=
"u-hover-class"
slot=
"right"
@
click
.
stop=
"downloadExcel"
>
<view
class=
"bill-head"
>
<u-icon
name=
"order"
class=
"download-icon"
></u-icon>
<picker
mode=
"date"
:value=
"defaultDate"
fields=
"month"
@
change=
"chooseMonth"
>
<text>
导出账单
</text>
<view
class=
"bill-date"
>
</view>
<view
class=
"bill-date-text"
>
{{
form
.
date
}}
</view>
</NavbarNormal>
-->
<u-icon
name=
"arrow-down-fill"
class=
"bill-date-icon"
></u-icon>
<NavbarRight
</view>
backTextBold
</picker>
backText=
"账单"
</view>
text=
"导出账单"
<view
class=
"bill-view"
>
imageWidth=
"20"
<view
class=
"content-view"
>
:image=
"outImage"
<scroll-box
ref=
"scroll-box"
:date=
"defaultDate"
:count=
"statistics"
></scroll-box>
@
click=
"handlClickOut"
/>
<view
class=
"bill"
>
<view
class=
"bill-head"
>
<picker
mode=
"date"
:value=
"defaultDate"
fields=
"month"
@
change=
"chooseMonth"
>
<view
class=
"bill-date"
>
<view
class=
"bill-date-text"
>
{{
form
.
date
}}
</view>
<u-icon
name=
"arrow-down-fill"
class=
"bill-date-icon"
></u-icon>
</view>
</picker>
</view>
</view>
<view
class=
"content-view"
><scroll-box
ref=
"scroll-box"
:date=
"defaultDate"
:count=
"statistics"
></scroll-box></view>
<u-toast
ref=
"uToast"
/>
</view>
</view>
<PopExport
<u-toast
ref=
"uToast"
/>
:visible
.
sync=
"visible"
<PopExport
:visible
.
sync=
"visible"
@
confirm=
"handleClickConfirm"
/>
@
confirm=
"handleClickConfirm"
/>
<mid-popup
ref=
"midPopup"
@
afterSave=
"afterSave"
></mid-popup>
<mid-popup
ref=
"midPopup"
@
afterSave=
"afterSave"
></mid-popup>
<u-tabbar
:list=
"tabbar"
:mid-button=
"true"
:mid-button-size=
"80"
:before-switch=
"beforeSwitch"
></u-tabbar>
<u-tabbar
:list=
"tabbar"
:mid-button=
"true"
:mid-button-size=
"80"
:before-switch=
"beforeSwitch"
></u-tabbar>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
NavbarRight
from
'@/components/navbar-right'
import
NavbarRight
from
'@/components/navbar-right'
;
import
PopExport
from
'@/components/pop-export-bill'
import
PopExport
from
'@/components/pop-export-bill'
;
import
MidPopup
from
'@/components/mid-popup/mid-popup.vue'
;
import
MidPopup
from
'@/components/mid-popup/mid-popup.vue'
;
import
NavbarNormal
from
'@/components/navbar-normal'
;
import
NavbarNormal
from
'@/components/navbar-normal'
;
import
ScrollBox
from
'./components/scroll-box.vue'
;
import
ScrollBox
from
'./components/scroll-box.vue'
;
import
{
tabbar
}
from
'@/utils/settings.js'
;
import
{
tabbar
}
from
'@/utils/settings.js'
;
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
{
keepTwoDecimalFull
}
from
'@/utils/common.js'
;
import
{
keepTwoDecimalFull
}
from
'@/utils/common.js'
;
import
{
downLoad
}
from
"@/utils/download.js"
import
{
downLoad
}
from
'@/utils/download.js'
;
import
{
getList
,
getStatistics
}
from
'@/api/bill/index.js'
;
import
{
getList
,
getStatistics
}
from
'@/api/bill/index.js'
;
import
{
import
{
exportBill
}
from
'@/api/bill/index.js'
;
exportBill
}
from
"@/api/bill/index.js"
export
default
{
export
default
{
components
:
{
components
:
{
NavbarRight
,
NavbarRight
,
...
@@ -64,7 +46,7 @@ export default {
...
@@ -64,7 +46,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
tabbar
,
tabbar
,
outImage
:
baseUrl
+
'daochuzhangdan@3x.png'
,
outImage
:
baseUrl
+
'daochuzhangdan@3x.png'
,
visible
:
false
,
visible
:
false
,
defaultDate
:
''
,
defaultDate
:
''
,
form
:
{
form
:
{
...
@@ -74,20 +56,31 @@ export default {
...
@@ -74,20 +56,31 @@ export default {
expense
:
0
,
expense
:
0
,
income
:
0
,
income
:
0
,
surplus
:
0
surplus
:
0
}
},
firstEnter
:
true
};
};
},
},
computed
:
{
},
onLoad
()
{
onLoad
()
{
this
.
initDate
();
this
.
initDate
();
this
.
getMouthStatistics
();
this
.
getMouthStatistics
();
},
},
onReady
()
{
onReady
()
{
this
.
$refs
[
'scroll-box'
].
reloadList
();
this
.
firstEnter
=
false
},
onShow
()
{
console
.
log
(
'onShow'
);
if
(
!
this
.
firstEnter
)
{
this
.
$refs
[
'scroll-box'
].
reloadList
();
}
},
},
methods
:
{
methods
:
{
customBack
(){
customBack
()
{
uni
.
switchTab
({
uni
.
switchTab
({
url
:
"/pages/index/index"
url
:
'/pages/index/index'
})
})
;
},
},
afterSave
()
{},
afterSave
()
{},
initDate
()
{
initDate
()
{
...
@@ -111,11 +104,11 @@ export default {
...
@@ -111,11 +104,11 @@ export default {
let
{
value
}
=
e
.
detail
;
let
{
value
}
=
e
.
detail
;
this
.
defaultDate
=
value
+
'-01'
;
this
.
defaultDate
=
value
+
'-01'
;
this
.
form
.
date
=
this
.
parseTime
(
value
+
'-01'
,
'{y}年{m}月'
);
this
.
form
.
date
=
this
.
parseTime
(
value
+
'-01'
,
'{y}年{m}月'
);
console
.
log
(
this
.
defaultDate
)
console
.
log
(
this
.
defaultDate
)
;
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
getMouthStatistics
()
this
.
getMouthStatistics
()
;
this
.
$refs
[
"scroll-box"
].
reloadList
()
this
.
$refs
[
'scroll-box'
].
reloadList
();
})
})
;
},
},
beforeSwitch
(
index
)
{
beforeSwitch
(
index
)
{
if
(
index
===
2
)
{
if
(
index
===
2
)
{
...
@@ -125,63 +118,63 @@ export default {
...
@@ -125,63 +118,63 @@ export default {
return
true
;
return
true
;
},
},
handleSelectCell
(
id
)
{},
handleSelectCell
(
id
)
{},
getDateByMonth
(
timeStamp
)
{
getDateByMonth
(
timeStamp
)
{
let
inDate
=
new
Date
(
timeStamp
)
let
inDate
=
new
Date
(
timeStamp
);
let
year
=
inDate
.
getFullYear
()
let
year
=
inDate
.
getFullYear
();
let
month
=
inDate
.
getMonth
()
let
month
=
inDate
.
getMonth
();
let
startTime
=
new
Date
(
year
,
month
,
1
).
getTime
()
let
startTime
=
new
Date
(
year
,
month
,
1
).
getTime
();
let
endTime
=
new
Date
(
year
,
month
+
1
,
0
).
getTime
()
let
endTime
=
new
Date
(
year
,
month
+
1
,
0
).
getTime
();
return
{
return
{
startTime
:
startTime
,
startTime
:
startTime
,
endTime
:
endTime
endTime
:
endTime
}
};
},
},
handlClickOut
()
{
handlClickOut
()
{
this
.
visible
=
true
this
.
visible
=
true
;
},
},
handleClickConfirm
(
range
)
{
handleClickConfirm
(
range
)
{
console
.
log
(
range
)
console
.
log
(
range
)
;
let
startTime
=
''
let
startTime
=
''
;
let
endTime
=
''
let
endTime
=
''
;
if
(
range
)
{
if
(
range
)
{
startTime
=
range
[
0
]
startTime
=
range
[
0
];
endTime
=
range
[
1
]
endTime
=
range
[
1
];
}
}
this
.
downloadExcel
({
startTime
,
endTime
})
this
.
downloadExcel
({
startTime
,
endTime
});
// 导出
// 导出
},
},
async
downloadExcel
(
date
){
async
downloadExcel
(
date
)
{
console
.
log
(
"downloadExcel"
)
console
.
log
(
'downloadExcel'
);
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
,
mask
:
true
,
title
:
"下载中"
title
:
'下载中'
})
})
;
try
{
try
{
let
{
startTime
,
endTime
}
=
date
let
{
startTime
,
endTime
}
=
date
;
let
params
=
{
let
params
=
{
// start:this.parseTime(startTime),
// start:this.parseTime(startTime),
// end:this.parseTime(endTime,"{y}-{m}-{d}")+' 23:59:59',
// end:this.parseTime(endTime,"{y}-{m}-{d}")+' 23:59:59',
start
:
startTime
,
start
:
startTime
,
end
:
endTime
end
:
endTime
}
}
;
console
.
log
(
params
)
console
.
log
(
params
)
;
let
res
=
await
exportBill
(
params
)
let
res
=
await
exportBill
(
params
);
this
.
saveFile
(
res
)
this
.
saveFile
(
res
)
;
}
catch
(
e
)
{
}
catch
(
e
)
{
this
.
showToast
(
'下载错误'
)
this
.
showToast
(
'下载错误'
)
;
console
.
log
(
"downloadExcel_error"
,
e
)
console
.
log
(
'downloadExcel_error'
,
e
);
//TODO handle the exception
//TODO handle the exception
}
}
},
},
async
saveFile
(
file
){
async
saveFile
(
file
)
{
console
.
log
(
"saveFile"
)
console
.
log
(
'saveFile'
);
try
{
try
{
let
res
=
await
downLoad
(
file
)
let
res
=
await
downLoad
(
file
);
}
catch
(
e
)
{
}
catch
(
e
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
;
console
.
log
(
"saveFile_error"
,
e
)
console
.
log
(
'saveFile_error'
,
e
);
//TODO handle the exception
//TODO handle the exception
}
}
}
}
...
@@ -204,13 +197,25 @@ export default {
...
@@ -204,13 +197,25 @@ export default {
margin-right
:
8upx
;
margin-right
:
8upx
;
}
}
}
}
.bill
{
.bill
{
padding
:
24upx
;
width
:
100%
;
padding
:
0
24upx
;
height
:
100vh
;
height
:
100vh
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
.bill-view
{
flex
:
1
;
width
:
100%
;
overflow
:
hidden
;
}
.content-view
{
height
:
100%
;
width
:
100%
;
overflow
:
hidden
;
}
&
-date
{
&
-date
{
margin-bottom
:
24rpx
;
width
:
210upx
;
width
:
210upx
;
height
:
48upx
;
height
:
48upx
;
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -228,10 +233,6 @@ export default {
...
@@ -228,10 +233,6 @@ export default {
margin-left
:
8upx
;
margin-left
:
8upx
;
}
}
}
}
.content-view
{
flex
:
1
;
width
:
100%
;
overflow
:
hidden
;
}
}
}
</
style
>
</
style
>
pages/index/bill/components/bill-count.vue
View file @
7dbd2d42
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.bill-count
{
.bill-count
{
margin
:
24upx
0
;
margin
-bottom
:
24upx
;
height
:
204upx
;
height
:
204upx
;
display
:
flex
;
display
:
flex
;
// padding: 32upx 0;
// padding: 32upx 0;
...
...
pages/index/bill/components/scroll-box.vue
View file @
7dbd2d42
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<NoData
v-if=
"noData"
:text=
"noDataText"
customStyle=
"margin-top: 0rpx;"
:imageName=
"noDataImage"
/>
<NoData
v-if=
"noData"
:text=
"noDataText"
customStyle=
"margin-top: 0rpx;"
:imageName=
"noDataImage"
/>
<view
v-else
>
<view
v-else
>
<view
class=
"bill-list"
><BillList
:list=
"records"
@
select=
"handleSelectCell"
/></view>
<view
class=
"bill-list"
><BillList
:list=
"records"
@
select=
"handleSelectCell"
/></view>
<view
class=
"load-more-view"
v-show=
"(current == 0 && loaded) || current >
1
"
><u-loadmore
:status=
"loadStatus"
bgColor=
"#F6F7FA"
></u-loadmore></view>
<view
class=
"load-more-view"
v-show=
"(current == 0 && loaded) || current >
0
"
><u-loadmore
:status=
"loadStatus"
bgColor=
"#F6F7FA"
></u-loadmore></view>
</view>
</view>
<view
class=
"loading-view"
v-if=
"!loaded && !freshing"
><u-loading
mode=
"flower"
></u-loading></view>
<view
class=
"loading-view"
v-if=
"!loaded && !freshing"
><u-loading
mode=
"flower"
></u-loading></view>
</view>
</view>
...
@@ -167,10 +167,10 @@ export default {
...
@@ -167,10 +167,10 @@ export default {
.scroll-view
{
.scroll-view
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-bottom
:
40rpx
;
}
}
.load-more-view
{
.load-more-view
{
margin-top
:
24rpx
;
margin-top
:
24rpx
;
padding-bottom
:
44rpx
;
}
}
.loading-view
{
.loading-view
{
width
:
100%
;
width
:
100%
;
...
...
pages/index/index.vue
View file @
7dbd2d42
...
@@ -159,7 +159,6 @@ import MidPopup from '@/components/mid-popup/mid-popup.vue'
...
@@ -159,7 +159,6 @@ import MidPopup from '@/components/mid-popup/mid-popup.vue'
import
BillList
from
'@/components/bill-list'
import
BillList
from
'@/components/bill-list'
import
PopNormal
from
'@/components/pop-normal'
import
PopNormal
from
'@/components/pop-normal'
import
{
tabbar
}
from
'@/utils/settings.js'
import
{
tabbar
}
from
'@/utils/settings.js'
import
{
addBind
}
from
'@/api/login/index.js'
import
{
getWeather
,
bookRecord
,
monthRecord
}
from
'@/api/maintain/index.js'
import
{
getWeather
,
bookRecord
,
monthRecord
}
from
'@/api/maintain/index.js'
import
{
checkVip
}
from
"@/utils/common.js"
import
{
checkVip
}
from
"@/utils/common.js"
import
{
mapGetters
}
from
'vuex'
;
import
{
mapGetters
}
from
'vuex'
;
...
@@ -233,7 +232,7 @@ export default {
...
@@ -233,7 +232,7 @@ export default {
},
},
{
{
image
:
this
.
baseUrl
+
'chabaojia@3x.png'
,
image
:
this
.
baseUrl
+
'chabaojia@3x.png'
,
path
:
''
,
path
:
'
pages/bill/quoted-price/quoted-price
'
,
name
:
'查报价'
,
name
:
'查报价'
,
},
},
{
{
...
@@ -276,7 +275,6 @@ export default {
...
@@ -276,7 +275,6 @@ export default {
this
.
bookRecord
()
this
.
bookRecord
()
},
},
onReady
()
{
onReady
()
{
addBind
({})
},
},
methods
:
{
methods
:
{
getWeather
()
{
getWeather
()
{
...
...
pages/index/schedule/components/plan-step.vue
View file @
7dbd2d42
...
@@ -29,7 +29,6 @@ export default {
...
@@ -29,7 +29,6 @@ export default {
computed
:
{
computed
:
{
firstClosed
()
{
firstClosed
()
{
let
index
=
this
.
list
.
findIndex
(
item
=>
item
.
status
===
'0'
);
let
index
=
this
.
list
.
findIndex
(
item
=>
item
.
status
===
'0'
);
console
.
log
(
index
);
return
index
;
return
index
;
}
}
},
},
...
...
pages/index/schedule/schedule.vue
View file @
7dbd2d42
...
@@ -50,11 +50,11 @@ export default {
...
@@ -50,11 +50,11 @@ export default {
};
};
},
},
onReady
()
{
onReady
()
{
this
.
ready
=
true
this
.
date
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}-{d}'
);
this
.
date
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}-{d}'
);
this
.
month
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}'
)
+
'-01'
;
this
.
month
=
this
.
parseTime
(
new
Date
(),
'{y}-{m}'
)
+
'-01'
;
this
.
getList
();
this
.
getList
();
this
.
getSignList
();
this
.
getSignList
();
this
.
ready
=
true
},
},
onShow
()
{
onShow
()
{
if
(
!
this
.
firstEnter
)
{
if
(
!
this
.
firstEnter
)
{
...
@@ -107,7 +107,6 @@ export default {
...
@@ -107,7 +107,6 @@ export default {
title
:
''
title
:
''
};
};
});
});
console
.
log
(
this
.
signList
)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
"lunc-calendar"
].
init
(
this
.
date
)
this
.
$refs
[
"lunc-calendar"
].
init
(
this
.
date
)
})
})
...
...
pages/mine/payments-setting/payments-setting.vue
View file @
7dbd2d42
...
@@ -88,6 +88,7 @@ export default {
...
@@ -88,6 +88,7 @@ export default {
},
},
tabChange
(
item
)
{
tabChange
(
item
)
{
this
.
form
.
type
=
item
.
value
;
this
.
form
.
type
=
item
.
value
;
this
.
getList
();
},
},
toAdd
()
{
toAdd
()
{
this
.
$u
.
route
({
this
.
$u
.
route
({
...
...
store/modules/login.js
View file @
7dbd2d42
...
@@ -252,6 +252,7 @@ const actions = {
...
@@ -252,6 +252,7 @@ const actions = {
commit
commit
})
{
})
{
let
res
=
uni
.
getSystemInfoSync
();
let
res
=
uni
.
getSystemInfoSync
();
console
.
log
(
"getSystemInfoSync"
)
commit
(
"SET_SYSTEM_INFO"
,
res
)
commit
(
"SET_SYSTEM_INFO"
,
res
)
let
{
let
{
platform
platform
...
...
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