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
c39447a5
Commit
c39447a5
authored
Feb 26, 2024
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余代码
parent
591f013f
Pipeline
#7851
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
38 deletions
+0
-38
billing-daily.vue
components/billing-daily/billing-daily.vue
+0
-37
print.vue
pages/maintain-bill/print.vue
+0
-1
No files found.
components/billing-daily/billing-daily.vue
View file @
c39447a5
...
@@ -436,43 +436,6 @@
...
@@ -436,43 +436,6 @@
}
}
this
.
fileList
=
[];
this
.
fileList
=
[];
},
},
beforeChooseImage
()
{
if
(
uni
.
$u
.
platform
===
'4'
)
{
this
.
openChoose
();
}
else
{
this
.
chooseImage
();
}
},
openChoose
()
{
console
.
log
(
"openChoose"
)
this
.
$refs
[
'bottom-choose'
].
open
();
},
bottomChoose
(
sourceType
)
{
this
.
sculpture
(
sourceType
);
},
// 上传组件
handleListChange
(
lists
)
{
if
(
lists
)
{
this
.
upload
.
fileList
=
lists
;
}
},
async
chooseImage
(
e
)
{
console
.
log
(
e
);
try
{
let
type
=
e
===
'camera'
?
0
:
e
===
'album'
?
1
:
2
;
// 0:相机 1:相册 2: [相机,相册]
// 上传图片
let
res
=
await
upload
.
getPhoto
(
this
.
upload
.
qiniuToken
,
type
);
uni
.
hideLoading
();
let
{
hash
,
key
}
=
res
;
this
.
form
.
attach
=
[
UPLOAD_FILE_HOST
+
key
];
}
catch
(
e
)
{
uni
.
hideLoading
();
//TODO handle the exception
}
}
}
}
};
};
</
script
>
</
script
>
...
...
pages/maintain-bill/print.vue
View file @
c39447a5
...
@@ -151,7 +151,6 @@
...
@@ -151,7 +151,6 @@
this
.
permissionID
=
''
this
.
permissionID
=
''
this
.
savePrint
()
this
.
savePrint
()
}
}
this
.
addPhoneContact
()
},
},
handleClickPrint
()
{
handleClickPrint
()
{
this
.
openAuth
(
'WRITE_EXTERNAL_STORAGE'
)
this
.
openAuth
(
'WRITE_EXTERNAL_STORAGE'
)
...
...
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