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
6555bc7b
Commit
6555bc7b
authored
Jul 24, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 收款码
parent
1559e792
Pipeline
#2904
canceled with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
36 deletions
+72
-36
index.js
api/card/index.js
+16
-4
index.js
api/common/index.js
+2
-1
index.js
api/maintain/index.js
+24
-12
payee-code.vue
pages/card/payee-code.vue
+30
-19
No files found.
api/card/index.js
View file @
6555bc7b
import
request
from
"@/utils/request.js"
import
request
from
"@/utils/request.js"
// 获取所有的收款码
// 获取所有的收款码
export
function
getCollectionCode
(
data
)
{
export
async
function
getCollectionCode
(
data
)
{
return
request
({
return
request
({
url
:
`/rest/collectionCode`
,
url
:
`/rest/collectionCode`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
// 保存收款码
// 保存收款码
export
function
setCollectionCode
(
data
)
{
export
async
function
setCollectionCode
(
data
)
{
return
request
({
return
request
({
url
:
`/rest/collectionCode`
,
url
:
`/rest/collectionCode`
,
method
:
'POSt'
,
method
:
'POSt'
,
data
data
,
noLoading
:
true
})
}
// 获取自己的名片
export
async
function
getBusinessCard
(
data
)
{
return
request
({
url
:
`/rest/businessCard`
,
method
:
'GET'
,
data
,
noLoading
:
true
})
})
}
}
\ No newline at end of file
api/common/index.js
View file @
6555bc7b
...
@@ -5,6 +5,7 @@ export async function getQiNiuToken(data) {
...
@@ -5,6 +5,7 @@ export async function getQiNiuToken(data) {
method
:
'GET'
,
method
:
'GET'
,
data
:{
data
:{
bucketName
:
'banshou-account-book'
,
bucketName
:
'banshou-account-book'
,
}
},
noLoading
:
true
})
})
}
}
\ No newline at end of file
api/maintain/index.js
View file @
6555bc7b
...
@@ -5,7 +5,8 @@ export async function getWeather(data) {
...
@@ -5,7 +5,8 @@ export async function getWeather(data) {
return
request
({
return
request
({
url
:
`/rest/anno/weather/getWeather`
,
url
:
`/rest/anno/weather/getWeather`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -14,7 +15,8 @@ export async function bookRecord(data) {
...
@@ -14,7 +15,8 @@ export async function bookRecord(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord`
,
url
:
`/rest/bookRecord`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -23,7 +25,8 @@ export async function monthRecord(data) {
...
@@ -23,7 +25,8 @@ export async function monthRecord(data) {
return
request
({
return
request
({
url
:
`/rest/bookRecord/statistics`
,
url
:
`/rest/bookRecord/statistics`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -32,7 +35,8 @@ export async function repair(data) {
...
@@ -32,7 +35,8 @@ export async function repair(data) {
return
request
({
return
request
({
url
:
`/rest/repair`
,
url
:
`/rest/repair`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -41,7 +45,8 @@ export async function repairExport(data) {
...
@@ -41,7 +45,8 @@ export async function repairExport(data) {
return
request
({
return
request
({
url
:
`/rest/repair/export`
,
url
:
`/rest/repair/export`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -50,7 +55,8 @@ export async function repairDetail(data) {
...
@@ -50,7 +55,8 @@ export async function repairDetail(data) {
return
request
({
return
request
({
url
:
`/rest/repair/detail`
,
url
:
`/rest/repair/detail`
,
method
:
'GET'
,
method
:
'GET'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -59,7 +65,8 @@ export async function editeRepair(data) {
...
@@ -59,7 +65,8 @@ export async function editeRepair(data) {
return
request
({
return
request
({
url
:
`/rest/repair`
,
url
:
`/rest/repair`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -68,7 +75,8 @@ export async function repairSettle(data) {
...
@@ -68,7 +75,8 @@ export async function repairSettle(data) {
return
request
({
return
request
({
url
:
`/rest/repair/settle`
,
url
:
`/rest/repair/settle`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -77,7 +85,8 @@ export async function repairSync(data) {
...
@@ -77,7 +85,8 @@ export async function repairSync(data) {
return
request
({
return
request
({
url
:
`/rest/repair/sync`
,
url
:
`/rest/repair/sync`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -86,7 +95,8 @@ export async function repairDelete(data) {
...
@@ -86,7 +95,8 @@ export async function repairDelete(data) {
return
request
({
return
request
({
url
:
`/rest/repair/delete`
,
url
:
`/rest/repair/delete`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -95,7 +105,8 @@ export async function repairSend(data) {
...
@@ -95,7 +105,8 @@ export async function repairSend(data) {
return
request
({
return
request
({
url
:
`/rest/repair/send`
,
url
:
`/rest/repair/send`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
...
@@ -104,6 +115,7 @@ export async function repairSign(data) {
...
@@ -104,6 +115,7 @@ export async function repairSign(data) {
return
request
({
return
request
({
url
:
`/rest/repair/sign`
,
url
:
`/rest/repair/sign`
,
method
:
'POST'
,
method
:
'POST'
,
data
data
,
noLoading
:
true
})
})
}
}
\ No newline at end of file
pages/card/payee-code.vue
View file @
6555bc7b
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
}}
</view>
}}
</view>
<view
class=
"middle-view"
>
<view
class=
"middle-view"
>
<view
class=
"code-view"
>
<view
class=
"code-view"
>
<view
class=
"loading-view"
v-if=
"loading"
><u-loading
mode=
"flower"
></u-loading
></view>
<template
v-else
>
<image
<image
v-if=
"info[currentSetting.type].url"
v-if=
"info[currentSetting.type].url"
:src=
"info[currentSetting.type].url"
:src=
"info[currentSetting.type].url"
...
@@ -50,6 +54,7 @@
...
@@ -50,6 +54,7 @@
}}
</view>
}}
</view>
<view>
便于快速收款使用
</view>
<view>
便于快速收款使用
</view>
</view>
</view>
</
template
>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -86,10 +91,11 @@ export default {
...
@@ -86,10 +91,11 @@ export default {
info
:
{
info
:
{
WX
:
{},
WX
:
{},
ZFB
:
{},
ZFB
:
{},
OTHER
:
{}
OTHER
:
{}
,
},
},
currentIndex
:
0
,
currentIndex
:
0
,
value
:
''
,
value
:
''
,
loading
:
false
}
}
},
},
computed
:
{
computed
:
{
...
@@ -270,6 +276,11 @@ export default {
...
@@ -270,6 +276,11 @@ export default {
margin-bottom
:
8rpx
;
margin-bottom
:
8rpx
;
}
}
}
}
.loading-view
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
}
}
}
}
}
}
...
...
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