Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
cd-bid
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
741c565f
authored
Jul 21, 2020
by
严立
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复问题
parent
00efc6c7
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
46 additions
and
10 deletions
build/webpack.base.conf.js
index.html
src/common/js/host.js
src/main.js
src/view/personal/supplier-auction.vue
src/view/personal/supplier-biding.vue
src/view/personal/supplier-notice.js
src/view/personal/supplier-notice.vue
src/view/personal/supplier-orders-bills.vue
src/view/personal/supplier-orders-detail.vue
src/view/public/bid-list.vue
src/view/public/bid-notice.js
src/view/public/bid-notice.vue
build/webpack.base.conf.js
View file @
741c565f
...
...
@@ -13,7 +13,7 @@ function resolve (dir) {
module
.
exports
=
{
context
:
path
.
resolve
(
__dirname
,
'../'
),
entry
:
{
app
:
'./src/main.js'
app
:
[
'babel-polyfill'
,
'./src/main.js'
]
},
output
:
{
path
:
config
.
build
.
assetsRoot
,
...
...
@@ -39,7 +39,11 @@ module.exports = {
{
test
:
/
\.
js$/
,
loader
:
'babel-loader'
,
include
:
[
resolve
(
'src'
),
resolve
(
'test'
),
resolve
(
'node_modules/webpack-dev-server/client'
)]
include
:
[
resolve
(
'src'
),
resolve
(
'test'
),
resolve
(
'node_modules/webpack-dev-server/client'
),
resolve
(
'src'
),
resolve
(
'test'
),
resolve
(
'node_modules/element-ui/src'
),
resolve
(
'src'
),
resolve
(
'test'
),
resolve
(
'node_modules/element-ui/packages/input/src'
),
]
},
{
test
:
/
\.(
png|jpe
?
g|gif|svg
)(\?
.*
)?
$/
,
...
...
index.html
View file @
741c565f
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<title>
厦门建发
招标采购平台
</title>
<title>
建发建信
招标采购平台
</title>
</head>
<body>
<div
id=
"app"
></div>
...
...
src/common/js/host.js
View file @
741c565f
let
output
=
{
// 开发路径
//
base: 'http://bid-server.meiqicloud.com/',
//
resources: 'http://bid-web.meiqicloud.com/',
//
agentSignIn: 'http://bid-vue.meiqicloud.com/'
base
:
'http://bid-server.meiqicloud.com/'
,
resources
:
'http://bid-web.meiqicloud.com/'
,
agentSignIn
:
'http://bid-vue.meiqicloud.com/'
// 正式路径
base
:
'/Api/'
,
resources
:
'http://bid-web.meiqicloud.com'
,
agentSignIn
:
'http://bid-vue.meiqicloud.com/'
//
base: '/Api/',
//
resources: 'http://bid-web.meiqicloud.com',
//
agentSignIn: 'http://bid-vue.meiqicloud.com/'
}
output
.
uploadFile
=
output
.
base
+
'bid/common/webupload/upload'
...
...
src/main.js
View file @
741c565f
...
...
@@ -26,4 +26,6 @@ let output = new Vue({
'template'
:
'<App/>'
})
console
.
log
(
'test'
)
console
.
log
(
window
.
XMLHttpRequest
)
export
default
output
\ No newline at end of file
src/view/personal/supplier-auction.vue
View file @
741c565f
...
...
@@ -183,6 +183,7 @@
this
.
quoteRecordList
.
push
({
'time'
:
'暂无报价'
,
'price'
:
0
})
}
})
.
catch
((
funcError
)
=>
{})
},
onDetail
:
function
(
funcItem
,
funcIsQuote
)
{
...
...
src/view/personal/supplier-biding.vue
View file @
741c565f
...
...
@@ -175,6 +175,7 @@
this
.
listBid
=
funcList
this
.
pagination
.
total
=
funcResponse
.
count
})
.
catch
((
funcError
)
=>
{})
},
onDetail
:
function
(
funcItem
,
funcIsQuote
)
{
...
...
src/view/personal/supplier-notice.js
View file @
741c565f
...
...
@@ -140,6 +140,7 @@ let output = function (thisVue, id, type) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
funcRequestOther
=
iRequest
.
request
(
iHost
.
base
+
'bid/zBiddingNotice/getApiBiddingRelevantNotices'
,
{
'noticeId'
:
id
,
'noticeType'
:
7
,
'isProject'
:
1
},
'json'
,
'post'
)
.
then
((
funcResponse
)
=>
{
...
...
@@ -289,6 +290,7 @@ let output = function (thisVue, id, type) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
funcRequestOther
=
iRequest
.
request
(
iHost
.
base
+
'bid/zTenderNotice/getApiRelevantNotices'
,
{
'tenderNoticeId'
:
id
,
'type'
:
1
},
'json'
,
'post'
)
.
then
((
funcResponse
)
=>
{
...
...
@@ -437,6 +439,7 @@ let output = function (thisVue, id, type) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
funcRequestOther
=
iRequest
.
request
(
iHost
.
base
+
'bid/zTenderNotice/getApiRelevantNotices'
,
{
'tenderNoticeId'
:
id
,
'type'
:
1
},
'json'
,
'post'
)
.
then
((
funcResponse
)
=>
{
...
...
src/view/personal/supplier-notice.vue
View file @
741c565f
...
...
@@ -440,6 +440,7 @@
this
.
$store
.
commit
(
'componentProgress'
,
funcProgress
)
}
})
.
catch
((
funcError
)
=>
{})
if
(
this
.
componentProject
.
isPackage
)
{
// 查询报名中标状态
...
...
@@ -463,12 +464,14 @@
clearTimeout
(
this
.
windowChangeTimer
)
},
10
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
// 查询报名中标状态
iRequest
.
request
(
iHost
.
base
+
'bid/zTenderNotice/getApiCompanyTenderDetail'
,
{
'tenderNoticeId'
:
this
.
noticeId
},
'json'
,
'post'
)
.
then
((
funcResponse
)
=>
{
})
.
catch
((
funcError
)
=>
{})
}
}
},
...
...
@@ -950,6 +953,7 @@
}
this
.
winQuoteRecord
=
true
})
.
catch
((
funcError
)
=>
{})
},
}
}
...
...
src/view/personal/supplier-orders-bills.vue
View file @
741c565f
...
...
@@ -203,6 +203,7 @@
// }
// }
})
.
catch
((
funcError
)
=>
{})
},
/**
...
...
src/view/personal/supplier-orders-detail.vue
View file @
741c565f
...
...
@@ -305,6 +305,7 @@
this
.
componentContract
.
push
({
'price'
:
funcResponse
.
order
.
price
})
}
})
.
catch
((
funcError
)
=>
{})
},
onOpenBill
:
function
()
{
...
...
src/view/public/bid-list.vue
View file @
741c565f
...
...
@@ -186,6 +186,7 @@
}
this
.
queryList
()
})
.
catch
((
funcError
)
=>
{})
},
/**
...
...
src/view/public/bid-notice.js
View file @
741c565f
...
...
@@ -161,6 +161,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -177,6 +178,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -306,7 +308,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
funcRequestOther
=
iRequest
.
request
(
iHost
.
base
+
'bid/zBiddingNotice/getApiBiddingRelevantNotices'
,
{
'noticeId'
:
id
,
'noticeType'
:
8
},
'json'
,
'post'
)
...
...
@@ -322,6 +324,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -467,6 +470,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -483,6 +487,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -627,6 +632,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -643,6 +649,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -779,6 +786,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -795,6 +803,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -888,6 +897,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -904,6 +914,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -1063,6 +1074,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -1079,6 +1091,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
@@ -1163,6 +1176,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentFile'
,
funcFile
)
})
.
catch
((
funcError
)
=>
{})
// 预览公告不查询相关公告
if
(
!
isPreview
)
{
...
...
@@ -1179,6 +1193,7 @@ let output = function (thisVue, id, type, isPreview) {
}
thisVue
.
$store
.
commit
(
'componentNotice'
,
funcOther
)
})
.
catch
((
funcError
)
=>
{})
}
else
{
funcRequestOther
=
null
}
...
...
src/view/public/bid-notice.vue
View file @
741c565f
...
...
@@ -434,6 +434,7 @@
this
.
quoteList
=
[]
}
})
.
catch
((
funcError
)
=>
{})
}
...
...
@@ -450,6 +451,7 @@
}
}
})
.
catch
((
funcError
)
=>
{})
}
},
...
...
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