Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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-site
Commits
3af00e40
Commit
3af00e40
authored
Oct 11, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所有公告指向
parent
3a13e7f8
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
89 additions
and
8 deletions
+89
-8
bread.vue
components/bread.vue
+77
-0
homeinput.vue
components/homeinput.vue
+1
-3
news.vue
pages/index/message/news.vue
+7
-1
all.vue
pages/index/notice/all.vue
+2
-2
request.js
utils/request.js
+2
-2
No files found.
components/bread.vue
View file @
3af00e40
...
@@ -14,6 +14,83 @@ export default {
...
@@ -14,6 +14,83 @@ export default {
name
:
'招投标'
name
:
'招投标'
}
}
},
},
mounted
(){
let
path
=
this
.
$route
.
path
;
console
.
log
(
path
+
'------------------'
)
switch
(
path
)
{
case
'/'
:
this
.
name
=
"招投标"
;
break
;
case
'/notice/inquiry'
:
this
.
name
=
"询价工告"
;
break
;
case
"/notice/bid"
:
this
.
name
=
"招标公告"
;
break
;
case
"/notice/biding"
:
this
.
name
=
"中标公告"
;
break
;
case
"/notice/all"
:
this
.
name
=
"招投标"
;
break
;
case
"/notice/cadidate"
:
this
.
name
=
"中标候选人公示"
;
break
;
case
"/notice/change"
:
this
.
name
=
"变更公告"
;
break
;
case
"/notice/clarifies"
:
this
.
name
=
"澄清公告"
;
break
;
case
"/notice/abortive"
:
this
.
name
=
"流标公告"
;
break
;
default
:
this
.
name
=
"信息公告"
}
},
watch
:
{
$route
()
{
this
.
getindex
();
}
},
methods
:{
getindex
()
{
let
path
=
this
.
$route
.
path
;
console
.
log
(
path
+
'------------------'
)
switch
(
path
)
{
case
'/'
:
this
.
name
=
"招投标"
;
break
;
case
'/notice/inquiry'
:
this
.
name
=
"询价工告"
;
break
;
case
"/notice/bid"
:
this
.
name
=
"招标公告"
;
break
;
case
"/notice/biding"
:
this
.
name
=
"中标公告"
;
break
;
case
"/notice/all"
:
this
.
name
=
"招投标"
;
break
;
case
"/notice/cadidate"
:
this
.
name
=
"中标候选人公示"
;
break
;
case
"/notice/change"
:
this
.
name
=
"变更公告"
;
break
;
case
"/notice/clarifies"
:
this
.
name
=
"澄清公告"
;
break
;
case
"/notice/abortive"
:
this
.
name
=
"流标公告"
;
break
;
default
:
this
.
name
=
"信息公告"
}
}
}
}
}
</
script
>
</
script
>
...
...
components/homeinput.vue
View file @
3af00e40
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getAllList
}
from
'@/common/list.js'
/* import inDex from '@/pages/index.vue' */
export
default
{
export
default
{
methods
:{
methods
:{
toSearch
(){
toSearch
(){
...
@@ -32,7 +30,7 @@ import {getAllList} from '@/common/list.js'
...
@@ -32,7 +30,7 @@ import {getAllList} from '@/common/list.js'
this
.
$router
.
push
(
'/notice/all'
)
this
.
$router
.
push
(
'/notice/all'
)
this
.
input
=
null
this
.
input
=
null
}
else
{
}
else
{
location
.
reload
()
/* location.reload() */
console
.
log
(
"请在下面进行查询"
)
console
.
log
(
"请在下面进行查询"
)
this
.
input
=
null
this
.
input
=
null
}
}
...
...
pages/index/message/news.vue
View file @
3af00e40
...
@@ -56,15 +56,21 @@ import {
...
@@ -56,15 +56,21 @@ import {
message
.
currentPage
=
1
message
.
currentPage
=
1
message
.
size
=
10
message
.
size
=
10
let
type
=
window
.
location
.
href
.
split
(
"?id="
)[
1
]
let
type
=
window
.
location
.
href
.
split
(
"?id="
)[
1
]
if
(
type
){
this
.
activeName
=
type
this
.
activeName
=
type
message
.
cateId
=
this
.
activeName
message
.
cateId
=
this
.
activeName
}
else
{
message
.
cateId
=
this
.
activeName
}
/* this.activeName = type
message.cateId = this.activeName */
this
.
getListContent
(
message
)
this
.
getListContent
(
message
)
},
},
data
()
{
data
()
{
return
{
return
{
contentList
:
''
,
contentList
:
''
,
isList
:
true
,
isList
:
true
,
activeName
:
'12
3
'
,
activeName
:
'12
4
'
,
conText
:
""
,
conText
:
""
,
activeIndex
:
''
,
activeIndex
:
''
,
size
:
10
,
size
:
10
,
...
...
pages/index/notice/all.vue
View file @
3af00e40
...
@@ -64,11 +64,11 @@ import {getAllList,getNoticeType} from '@/common/list.js'
...
@@ -64,11 +64,11 @@ import {getAllList,getNoticeType} from '@/common/list.js'
citySelect
citySelect
},
},
mounted
(){
mounted
(){
let
b
=
sessionStorage
.
getItem
(
"content"
)
let
inputContent
=
sessionStorage
.
getItem
(
"content"
)
let
message
=
{}
let
message
=
{}
message
.
size
=
10
message
.
size
=
10
message
.
currentPage
=
1
message
.
currentPage
=
1
message
.
title
=
b
message
.
title
=
inputContent
this
.
industryList
()
this
.
industryList
()
this
.
getAllList
(
message
)
this
.
getAllList
(
message
)
this
.
getNoticeType
()
this
.
getNoticeType
()
...
...
utils/request.js
View file @
3af00e40
...
@@ -7,8 +7,8 @@ import requestUrl from '../utils/Domain.js'
...
@@ -7,8 +7,8 @@ import requestUrl from '../utils/Domain.js'
// 创建axios实例
// 创建axios实例
const
service
=
axios
.
create
({
const
service
=
axios
.
create
({
/* baseURL:'http://60.205.251.80:8082/apis', */
baseURL
:
'http://60.205.251.80:8082/apis'
,
baseURL
:
'http://192.168.3.35:8085/apis'
,
/* baseURL: 'http://192.168.3.35:8085/apis', */
timeout
:
35000
// 请求超时时间
timeout
:
35000
// 请求超时时间
})
})
...
...
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