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
642b6736
Commit
642b6736
authored
Oct 13, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新开标大厅
parent
59d8352f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
15 deletions
+63
-15
bid.js
src/api/purchaser/bid.js
+8
-0
bidOpenhal.vue
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
+42
-8
message.vue
src/pages/purchaser/bid/releaseProject/message.vue
+6
-3
bidOpenhal.vue
src/pages/supply/bid/joinProject/bidOpen/bidOpenhal.vue
+7
-4
No files found.
src/api/purchaser/bid.js
View file @
642b6736
...
...
@@ -194,6 +194,14 @@ export function openInfo(projectId) {
method
:
'get'
,
})
}
// 下发开标一览表
export
function
issueopenInfo
(
projectId
)
{
return
request
({
url
:
`open-bid/issue/openInfo/
${
projectId
}
`
,
method
:
'put'
,
})
}
//签到解密简略
export
function
signdetail
(
projectId
)
{
...
...
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
View file @
642b6736
...
...
@@ -30,8 +30,8 @@
</div>
<div
@
click=
"isMessge=true"
>
签到解密签名情况
</div>
</div>
<div
class=
"hal-center"
>
<ul
v-chat-scroll
>
<div
class=
"hal-center"
v-chat-scroll
>
<ul>
<li
v-for=
"(item,index) in halList"
:key=
"index"
class=
"flex-item"
>
<div>
{{
item
.
time
}}
</div>
<div>
{{
item
.
name
}}
</div>
...
...
@@ -48,7 +48,7 @@
</div>
<!-- 在线对话 -->
<div
class=
"dialogue"
style=
"margin-top: 30px;"
v-show=
"dialogue"
>
<ul
class=
"dialogueList"
v-chat-scroll
>
<ul
class=
"dialogueList"
v-chat-scroll
>
<li
v-for=
"(item,index) in dialogueList"
:key=
"index"
:class=
"myId==item.userId?'flex-left':'flex-right'"
>
<div>
<div
class=
"flex-item"
>
...
...
@@ -70,8 +70,8 @@
<el-button
@
click=
"failDetail"
v-else
>
流标信息
</el-button>
<div>
<el-button
icon=
"el-icon-refresh"
@
click=
"refrsh"
>
刷新
</el-button>
<el-button>
下发开标一览表
</el-button>
<el-button
@
click=
"isopenInfo=true"
>
查看开标一览表
</el-button>
<el-button
@
click=
"isopenInfo1=true"
:disabled=
"!endbidButton"
v-if=
"!issueTable"
>
下发开标一览表
</el-button>
<el-button
@
click=
"isopenInfo=true"
:disabled=
"!issueTable"
>
查看开标一览表
</el-button>
</div>
<el-button
@
click=
"back"
>
退出大厅
<i
class=
"el-icon-right"
></i></el-button>
</div>
...
...
@@ -136,6 +136,15 @@
<el-button
@
click=
"isopenInfo=false"
>
关闭
</el-button>
</div>
</el-dialog>
<!-- 下发开标一览表 -->
<el-dialog
:visible
.
sync=
"isopenInfo1"
title=
"下发开标一览表"
>
<nopageTable
:tableData=
"tableData"
:columns=
"nopagecolumns"
:margin-top=
"0"
:margin-bottom=
"0"
>
</nopageTable>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"isopenInfo1=false"
>
关闭
</el-button>
<el-button
@
click=
"issue"
type=
"primary"
>
下发
</el-button>
</div>
</el-dialog>
<!-- 流标框提交 -->
<el-dialog
:visible
.
sync=
"isfailInfo"
title=
"流标"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"form"
label-width=
"100px"
>
...
...
@@ -190,7 +199,8 @@
startbid
,
openbidFailed
,
bidFaileddetail
,
bidFinish
bidFinish
,
issueopenInfo
}
from
'@api/purchaser/bid'
import
dataBreadcrumb
from
'@components/dataBreadcrumb.vue'
import
timeDown
from
'@components/timeDown.vue'
...
...
@@ -207,6 +217,7 @@
},
data
()
{
return
{
issueTable
:
false
,
openStatus
:
''
,
faildetail
:
""
,
isfailDetail
:
false
,
...
...
@@ -229,6 +240,7 @@
endbidButton
:
false
,
tableData
:
[],
isopenInfo
:
false
,
isopenInfo1
:
false
,
startDetail
:
""
,
dialogue
:
false
,
remaintime
:
""
,
...
...
@@ -314,6 +326,27 @@
},
5000
);
},
methods
:
{
// 下发
async
issue
()
{
let
projectId
=
localStorage
.
getItem
(
"projectId"
)
try
{
const
{
msg
,
code
}
=
await
issueopenInfo
(
projectId
)
if
(
code
==
200
)
{
this
.
getsigndetail
()
this
.
$message
({
message
:
msg
,
type
:
'success'
,
duration
:
1500
})
this
.
isopenInfo1
=
false
}
}
catch
(
e
)
{
console
.
log
(
e
)
}
},
refrsh
()
{
history
.
go
(
0
)
},
...
...
@@ -446,6 +479,7 @@
this
.
leftmessage
=
data
this
.
openStatus
=
data
.
openStatus
this
.
isFailed
=
data
.
isFailed
this
.
issueTable
=
data
.
issueTable
if
(
data
.
openStatus
==
2
)
{
let
localTime
=
new
Date
().
getTime
();
console
.
log
(
this
.
storagedecodeTime
,
".............."
)
...
...
@@ -553,7 +587,7 @@
callback
:
action
=>
{
if
(
action
===
'confirm'
)
{
this
.
isOpenbid
=
true
this
.
getstartInfo
()
this
.
getstartInfo
()
}
}
})
...
...
@@ -573,7 +607,7 @@
console
.
log
(
data
)
if
(
data
.
type
==
1
)
{
console
.
log
(
"自己发的"
)
if
(
data
.
userId
==
this
.
myId
)
{
if
(
data
.
userId
==
this
.
myId
)
{
this
.
content
=
""
}
this
.
dialogueList
.
push
(
data
)
...
...
src/pages/purchaser/bid/releaseProject/message.vue
View file @
642b6736
...
...
@@ -21,7 +21,7 @@
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"采购单位:"
prop=
"purchaseAgent"
>
<el-input
v-model
.
trim=
"ruleForm.purchaseAgent"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.purchaseAgent"
placeholder=
"请输入"
maxlength=
"30"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"项目归属行业:"
prop=
"industry"
>
<el-select
v-model=
"ruleForm.industry"
placeholder=
"请选择"
>
...
...
@@ -441,9 +441,9 @@ export default {
projectManager
:
""
,
projectName
:
''
,
projectCode
:
''
,
classify
:
''
,
classify
:
1
,
purchaseAgent
:
''
,
industry
:
''
,
industry
:
2
,
region
:
''
,
minTender
:
3
,
contacts
:
''
,
...
...
@@ -467,6 +467,9 @@ export default {
},
created
()
{
this
.
ruleForm
.
purchaseAgent
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
companyName
let
phone
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
phone
this
.
ruleForm
.
contactsWay
=
phone
this
.
bidBookInfoPO
.
phone
=
phone
this
.
pageObj
.
companyId
=
localStorage
.
getItem
(
"companyId"
)
this
.
userList
()
this
.
industryList
()
...
...
src/pages/supply/bid/joinProject/bidOpen/bidOpenhal.vue
View file @
642b6736
...
...
@@ -27,8 +27,8 @@
<h1>
签名
{{
!
leftmessage
.
signature
?
"否"
:
"是"
}}
</h1>
</div>
</div>
<div
class=
"hal-center"
>
<ul
v-chat-scroll
>
<div
class=
"hal-center"
v-chat-scroll
>
<ul
>
<li
v-for=
"(item,index) in halList"
:key=
"index"
class=
"flex-item"
>
<div>
{{
item
.
time
}}
</div>
<div>
{{
item
.
role
}}
</div>
...
...
@@ -63,7 +63,7 @@
<div
class=
"flex-center buttons"
>
<div>
<el-button
icon=
"el-icon-refresh"
@
click=
"refrsh"
>
刷新
</el-button>
<el-button
@
click=
"isopenInfo=true"
>
查看开标一览表
</el-button>
<el-button
@
click=
"isopenInfo=true"
:disabled=
"!issueTable"
>
查看开标一览表
</el-button>
<el-button
@
click=
"back"
>
退出大厅
<i
class=
"el-icon-right"
></i></el-button>
</div>
</div>
...
...
@@ -121,6 +121,7 @@
},
data
()
{
return
{
issueTable
:
""
,
openStatus
:
""
,
isSignature
:
false
,
isDecode
:
false
,
...
...
@@ -378,6 +379,7 @@
}
=
await
signdetail
(
projectId
)
if
(
code
==
200
)
{
this
.
openStatus
=
data
.
openStatus
this
.
issueTable
=
data
.
issueTable
let
localTime
=
new
Date
().
getTime
();
console
.
log
(
this
.
storagedecodeTime
,
".............."
)
let
comparyTime
=
this
.
storagedecodeTime
-
(
localTime
-
data
.
openBidTime
)
/
1000
...
...
@@ -512,7 +514,8 @@
border
:
1px
solid
#000
;
margin
:
0
50px
;
box-sizing
:
border-box
;
padding
:
30px
padding
:
30px
;
overflow
:
auto
;
}
.hal-center
>
ul
>
li
{
...
...
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