Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
Project
Project
Details
Activity
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
张冬
web-purchase
Commits
0d88cc7c
Commit
0d88cc7c
authored
Nov 07, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开标大厅样式和上传等待
parent
ba1041d5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
6 deletions
+8
-6
index.css
src/assets/css/theme-green/index.css
+0
-0
common.css
src/common/common.css
+1
-0
Upload.vue
src/components/Upload/Upload.vue
+4
-4
Sidebar.vue
src/components/common/Sidebar.vue
+1
-0
bidOpenhal.vue
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
+0
-0
determine.vue
src/pages/purchaser/bid/bidSure/determine.vue
+1
-1
bidOpenhal.vue
src/pages/supply/bid/joinProject/bidOpen/bidOpenhal.vue
+0
-0
signUp.vue
src/pages/supply/bid/signupOnline/signUp.vue
+1
-1
No files found.
src/assets/css/theme-green/index.css
View file @
0d88cc7c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/common/common.css
View file @
0d88cc7c
...
@@ -171,6 +171,7 @@ img {
...
@@ -171,6 +171,7 @@ img {
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
bottom
:
10px
;
bottom
:
10px
;
width
:
400px
;
}
}
.content-head
>
h3
{
.content-head
>
h3
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
src/components/Upload/Upload.vue
View file @
0d88cc7c
<
template
>
<
template
>
<div
class=
"hello"
>
<div
class=
"hello"
>
<el-upload
<el-upload
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess"
:before-remove=
"beforeRemove"
:before-remove=
"beforeRemove"
...
@@ -12,7 +13,7 @@
...
@@ -12,7 +13,7 @@
:http-request=
"handleUpload"
:http-request=
"handleUpload"
multiple
multiple
>
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
size=
"small"
type=
"primary"
v-loading
.
fullscreen
.
lock=
"loading"
>
点击上传
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
{{
tip
}}
{{
tip
}}
</div>
</div>
...
@@ -97,6 +98,7 @@ export default {
...
@@ -97,6 +98,7 @@ export default {
this
.
$emit
(
'input'
,
value
);
this
.
$emit
(
'input'
,
value
);
},
},
beforeUpload
(
file
)
{
beforeUpload
(
file
)
{
this
.
loading
=
true
const
max
=
this
.
max
;
const
max
=
this
.
max
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
max
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
max
;
if
(
!
isLt2M
)
{
if
(
!
isLt2M
)
{
...
@@ -114,6 +116,7 @@ export default {
...
@@ -114,6 +116,7 @@ export default {
console
.
log
(
res
);
console
.
log
(
res
);
this
.
fileList
.
push
(
res
);
this
.
fileList
.
push
(
res
);
this
.
emitInput
(
this
.
fileList
);
this
.
emitInput
(
this
.
fileList
);
this
.
loading
=
false
});
});
},
},
handleRemove
(
file
,
fileList
,
index
)
{
handleRemove
(
file
,
fileList
,
index
)
{
...
@@ -121,9 +124,6 @@ export default {
...
@@ -121,9 +124,6 @@ export default {
this
.
fileList
=
fileList
;
this
.
fileList
=
fileList
;
this
.
emitInput
(
fileList
);
this
.
emitInput
(
fileList
);
},
},
// handlePreview(file) {
// this.$emit('on-preview', file);
// },
beforeRemove
(
file
,
fileList
)
{
beforeRemove
(
file
,
fileList
)
{
return
this
.
$confirm
(
`确定移除
${
file
.
name
}
?`
);
return
this
.
$confirm
(
`确定移除
${
file
.
name
}
?`
);
},
},
...
...
src/components/common/Sidebar.vue
View file @
0d88cc7c
...
@@ -98,4 +98,5 @@ export default {
...
@@ -98,4 +98,5 @@ export default {
.sidebar
>
ul
{
.sidebar
>
ul
{
height
:
100%
;
height
:
100%
;
}
}
.el-menu-item
i
{
color
:
#AFB0B3
}
</
style
>
</
style
>
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
View file @
0d88cc7c
This diff is collapsed.
Click to expand it.
src/pages/purchaser/bid/bidSure/determine.vue
View file @
0d88cc7c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<div
class=
"flex"
v-else
>
<div
class=
"flex"
v-else
>
<div
class=
"adjustment"
>
上传附件:
</div>
<div
class=
"adjustment"
>
上传附件:
</div>
<singleUpload
:limit=
"1"
tip=
"支持上传1个附件,不超过20M"
@
input=
"getfile"
></singleUpload>
<singleUpload
:limit=
"1"
tip=
"支持上传1个附件,不超过20M"
:max=
"20"
@
input=
"getfile"
></singleUpload>
</div>
</div>
</div>
</div>
<div
class=
"form"
>
<div
class=
"form"
>
...
...
src/pages/supply/bid/joinProject/bidOpen/bidOpenhal.vue
View file @
0d88cc7c
This diff is collapsed.
Click to expand it.
src/pages/supply/bid/signupOnline/signUp.vue
View file @
0d88cc7c
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
duration
:
1500
duration
:
1500
})
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/supply/bid/joinProject/projectList"
)
},
1500
)
},
1500
)
}
else
if
(
code
==
500
){
}
else
if
(
code
==
500
){
this
.
$message
({
this
.
$message
({
...
...
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