Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
file-uploader
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8d347143
authored
Sep 28, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加服务类型区别/空状态
1 parent
ed5bb009
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
22 deletions
src/views/upload/components/claims.vue
src/views/upload/index.vue
src/views/upload/components/claims.vue
View file @
8d34714
This diff is collapsed.
Click to expand it.
src/views/upload/index.vue
View file @
8d34714
<
template
>
<
template
>
<div
class=
"contaienr"
>
<div
class=
"contaienr"
>
<cliaims
v-if=
"type == 'claims'"
></cliaims>
<cliaims
v-if=
"type == 'claims'"
></cliaims>
<!--
<div
class=
"upload_box_wrapper"
>
<van-empty
image=
"error"
v-if=
"showError"
description=
"链接缺少type参数"
/>
<div
class=
"title flex_scb"
>
<span
class=
"require"
>
*
</span>
<span>
基础资料
</span>
</div>
<div
class=
"main_pannel"
@
click=
"toClickUpoload()"
>
<van-uploader
:before-delete=
"beforeDelete"
v-on:click-upload=
"beforeRead"
:before-read=
"checkRead"
:after-read=
"afterRread"
:preview-size=
"size"
max-count=
"4"
>
<div
class=
"box_wrap flex_ccc"
:style=
"
{ width: size, height: size }">
<van-icon
name=
"add-o"
size=
"20px"
color=
"#999999"
/>
<p>
添加
</p>
</div>
</van-uploader>
</div>
</div>
-->
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -37,7 +17,8 @@ export default {
...
@@ -37,7 +17,8 @@ export default {
uploadList
:
[],
uploadList
:
[],
fileURL
:
{},
fileURL
:
{},
loadingFinish
:
false
,
loadingFinish
:
false
,
type
:
''
type
:
''
,
showError
:
false
}
}
},
},
created
()
{
created
()
{
...
@@ -48,6 +29,7 @@ export default {
...
@@ -48,6 +29,7 @@ export default {
getQuery
()
{
getQuery
()
{
const
{
type
}
=
window
.
vm
.
$route
.
query
const
{
type
}
=
window
.
vm
.
$route
.
query
this
.
type
=
type
this
.
type
=
type
this
.
showError
=
type
?
false
:
true
},
},
// 获取当前点击的位置
// 获取当前点击的位置
toClickUpoload
()
{},
toClickUpoload
()
{},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment