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
a64b6047
Commit
a64b6047
authored
Oct 24, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
递交文件的编辑和查看
parent
0cd49410
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
36 deletions
+62
-36
bid.js
src/api/supply/bid.js
+7
-0
companyDetail.vue
src/components/detail/companyDetail.vue
+7
-2
demand.vue
src/pages/purchaser/bid/releaseProject/demand.vue
+0
-0
informationEdit.vue
src/pages/purchaser/organization/informationEdit.vue
+6
-5
bidSubmit.vue
src/pages/supply/bid/joinProject/bidSubmit/bidSubmit.vue
+40
-27
common.js
src/utils/common.js
+2
-2
No files found.
src/api/supply/bid.js
View file @
a64b6047
...
...
@@ -219,6 +219,13 @@ export function revocationBidbFile(bidFileId) {
})
}
// 投标文件详情
export
function
bidFileDetail
(
projectId
)
{
return
request
({
url
:
`tender/bidFile/detail/
${
projectId
}
`
,
method
:
'get'
,
})
}
//2.2.3
...
...
src/components/detail/companyDetail.vue
View file @
a64b6047
...
...
@@ -107,7 +107,7 @@
</div>
<div
class=
"detail-item"
>
<div>
其他资料
</div>
<div
class=
"
flex-between
pdf"
>
<div
class=
"pdf"
>
<a
:href=
"item.fileUrl"
v-for=
"(item, index) in elseFile"
:key=
"index"
>
{{
item
.
fileName
}}
</a>
</div>
</div>
...
...
@@ -220,7 +220,7 @@ export default {
/* width: 170px; */
}
.pdf
>
div
:nth-child
(
2
),
/*
.pdf > div:nth-child(2),
.pdf > div:last-child {
width: 50px;
height: 30px;
...
...
@@ -228,5 +228,9 @@ export default {
line-height: 30px;
border-radius: 10px;
border: 1px solid #000;
} */
.pdf
>
a
{
display
:
block
;
margin-bottom
:
15px
}
</
style
>
\ No newline at end of file
src/pages/purchaser/bid/releaseProject/demand.vue
View file @
a64b6047
src/pages/purchaser/organization/informationEdit.vue
View file @
a64b6047
...
...
@@ -19,10 +19,10 @@
@
keyup
.
native=
"$event.target.value = $event.target.value.replace(/^\s+|\s+$/gm, '')"
></el-input>
</el-form-item>
<el-form-item
label=
"注册角色"
prop=
"type"
class=
"item"
>
<el-select
v-model=
"form.type"
placeholder=
"请输入选择"
>
<el-option
label=
"采购商"
value=
"1"
></el-option>
<el-option
label=
"供应商"
value=
"2"
></el-option>
<el-form-item
label=
"注册角色"
prop=
"type"
class=
"item"
>
<el-select
v-model=
"form.type"
placeholder=
"请输入选择"
disabled
>
<el-option
label=
"采购商"
:
value=
"1"
></el-option>
<el-option
label=
"供应商"
:
value=
"2"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"法人姓名"
prop=
"legalPersonName"
class=
"item"
>
...
...
@@ -620,7 +620,8 @@ export default {
duration
:
1500
});
setTimeout
(()
=>
{
this
.
$router
.
go
(
-
1
);
history
.
go
(
0
)
// this.$router.go(-1);
},
1500
);
}
else
{
this
.
$message
.
error
(
msg
);
...
...
src/pages/supply/bid/joinProject/bidSubmit/bidSubmit.vue
View file @
a64b6047
...
...
@@ -2,8 +2,8 @@
<div>
<div
class=
"content-head"
>
<dataBreadcrumb
:breads=
"breads"
></dataBreadcrumb>
<h3>
递交
投标文件
</h3>
<h5>
递交
投标文件
</h5>
<h3>
{{
title
}}
投标文件
</h3>
<h5>
{{
title
}}
投标文件
</h5>
</div>
<div
class=
"othercontent"
>
<div>
...
...
@@ -16,7 +16,7 @@
<div>
<div
v-if=
"!state"
>
投标状态:待递交投标文件
</div>
<div
v-else
>
投标状态:投标文件递交成功
</div>
<div>
投标文件成功递交时间:
{{
submit
Time
}}
</div>
<div>
投标文件成功递交时间:
{{
form
.
create
Time
}}
</div>
</div>
<div>
<div>
投标截止(开标)时间:
{{
openBidTime
}}
</div>
...
...
@@ -28,15 +28,15 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<div
class=
"flex-between"
>
<el-form-item
label=
"联系人姓名:"
prop=
"bidderName"
>
<el-input
v-model=
"form.bidderName"
></el-input>
<el-input
v-model=
"form.bidderName"
:disabled=
"disabled"
></el-input>
</el-form-item>
<el-form-item
label=
"联系人手机:"
prop=
"bidderPhone"
>
<el-input
v-model=
"form.bidderPhone"
></el-input>
<el-input
v-model=
"form.bidderPhone"
:disabled=
"disabled"
></el-input>
</el-form-item>
</div>
<div>
<el-form-item
label=
"投标文件:"
prop=
"bidbookId"
>
<el-select
v-model=
"form.bidbookId"
placeholder=
"请选择"
>
<el-select
v-model=
"form.bidbookId"
placeholder=
"请选择"
:disabled=
"disabled"
>
<el-option
v-for=
"item in options"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-select>
...
...
@@ -53,9 +53,8 @@
</div>
-->
<div
class=
"bottomButton"
>
<el-button
@
click=
"back"
>
取消
</el-button>
<!--
<el-button>
下载回执
</el-button>
-->
<el-button
:disabled=
"!state"
type=
"primary"
@
click=
"withdraw"
>
撤回投标文件
</el-button>
<el-button
:disabled=
"state"
type=
"primary"
@
click=
"submitData"
>
递交投标文件
</el-button>
<el-button
:disabled=
"!state"
type=
"primary"
@
click=
"withdraw"
v-if=
"state&&!disabled"
>
撤回投标文件
</el-button>
<el-button
:disabled=
"state"
type=
"primary"
@
click=
"submitData"
v-if=
"!disabled"
>
递交投标文件
</el-button>
</div>
</div>
</div>
...
...
@@ -68,7 +67,8 @@
bidFile
,
revocationBidbFile
,
timeInfo
,
bidCondition
bidCondition
,
bidFileDetail
}
from
'@api/supply/bid'
import
{
getTime
...
...
@@ -95,9 +95,9 @@
}
};
return
{
title
:
"递交"
,
compareTime
:
""
,
openBidTime
:
""
,
bidFileId
:
""
,
submitTime
:
"暂无"
,
state
:
false
,
options
:
[],
...
...
@@ -125,7 +125,8 @@
message
:
'请选择'
,
trigger
:
'change'
}],
}
},
disabled
:
false
}
},
methods
:
{
...
...
@@ -136,7 +137,11 @@
data
,
code
}
=
await
bidCondition
(
projectId
)
console
.
log
(
data
)
if
(
code
==
200
){
this
.
state
=
true
}
else
{
this
.
state
=
false
}
},
remaintimeEnd
(){
...
...
@@ -167,19 +172,13 @@
try
{
const
valid
=
await
this
.
$refs
[
'form'
].
validate
()
if
(
valid
)
{
let
form
=
this
.
form
form
.
projectId
=
localStorage
.
getItem
(
"projectId"
)
const
{
code
,
msg
}
=
await
bidFile
(
form
)
if
(
code
===
200
)
{
// this.$message.success(msg)
// this.submitTime=getTime()
// this.state=true
// this.bidFileId=form.bidbookId;
// this.getbidBooks()
if
(
code
==
200
)
{
this
.
$message
({
message
:
msg
,
type
:
'success'
,
...
...
@@ -202,12 +201,8 @@
const
{
msg
,
code
}
=
await
revocationBidbFile
(
this
.
bidFileId
)
if
(
code
===
200
)
{
// this.$message.success(msg)
// this.state=false
// this.submitTime="暂无"
// this.getbidBooks()
}
=
await
revocationBidbFile
(
this
.
form
.
bidbookId
)
if
(
code
==
200
)
{
this
.
$message
({
message
:
msg
,
type
:
'success'
,
...
...
@@ -222,7 +217,16 @@
}
catch
(
e
)
{
console
.
log
(
e
)
}
}
},
// 获取提交文件详情
async
getbidFileDetail
(
projectId
)
{
const
{
data
,
code
}
=
await
bidFileDetail
(
projectId
)
data
.
bidbookId
=
data
.
id
this
.
form
=
data
},
},
created
()
{
this
.
projectCode
=
localStorage
.
getItem
(
"projectCode"
)
...
...
@@ -231,6 +235,15 @@
this
.
getbidBooks
(
projectId
)
this
.
gettimeInfo
(
projectId
)
this
.
getbidCondition
(
projectId
)
let
type
=
this
.
$route
.
query
.
type
if
(
type
==
1
){
this
.
title
=
"编辑"
this
.
getbidFileDetail
(
projectId
)
}
else
if
(
type
==
2
){
this
.
title
=
"查看"
this
.
getbidFileDetail
(
projectId
)
this
.
disabled
=
true
}
}
}
</
script
>
...
...
src/utils/common.js
View file @
a64b6047
...
...
@@ -18,8 +18,8 @@ export function getSearchString(key) {
export
function
down
(
url
)
{
window
.
open
(
url
)
}
export
let
requestUrl
=
'http://192.168.3.35:8085'
;
//
export let requestUrl = 'http://60.205.251.80:8082';
//
export let requestUrl = 'http://192.168.3.35:8085';
export
let
requestUrl
=
'http://60.205.251.80:8082'
;
// export let homeUrl = 'http://localhost:3000';
...
...
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