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
3b4fa668
Commit
3b4fa668
authored
Sep 23, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主页搜索模块
parent
1177cce9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
21 deletions
+19
-21
header.vue
components/header.vue
+1
-1
homeinput.vue
components/homeinput.vue
+9
-2
all.vue
pages/index/notice/all.vue
+3
-1
bid.vue
pages/index/notice/bid.vue
+1
-12
biding.vue
pages/index/notice/biding.vue
+1
-1
cadidate.vue
pages/index/notice/cadidate.vue
+1
-1
change.vue
pages/index/notice/change.vue
+1
-1
fail.vue
pages/index/notice/fail.vue
+1
-1
inquiry.vue
pages/index/notice/inquiry.vue
+1
-1
No files found.
components/header.vue
View file @
3b4fa668
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
.bg
{}
.bg
{}
.header-line
{
.header-line
{
margin-top
:
.9rem
;
/* margin-top: .9rem; */
width
:
100%
;
width
:
100%
;
height
:
.50rem
;
height
:
.50rem
;
background
:
rgba
(
245
,
245
,
245
,
1
);
background
:
rgba
(
245
,
245
,
245
,
1
);
...
...
components/homeinput.vue
View file @
3b4fa668
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
<div
class=
"head-input-title"
>
捷安采
</div>
<div
class=
"head-input-title"
>
捷安采
</div>
<div
class=
"search flex-item"
>
<div
class=
"search flex-item"
>
<el-input
<el-input
placeholder=
"请输入您要搜索的
商品
"
placeholder=
"请输入您要搜索的
公告
"
v-model=
"input"
v-model=
"input"
clearable
class=
"el-input"
style=
"height:.42rem;"
>
clearable
class=
"el-input"
style=
"height:.42rem;"
>
</el-input>
</el-input>
<el-button
type=
"primary"
>
搜索
</el-button>
<el-button
type=
"primary"
@
click=
"toSearch"
>
搜索
</el-button>
<!--
<div
class=
"search-title flex-center t1"
>
搜索
</div>
-->
<!--
<div
class=
"search-title flex-center t1"
>
搜索
</div>
-->
</div>
</div>
</div>
</div>
...
@@ -17,7 +17,14 @@
...
@@ -17,7 +17,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getAllList
}
from
'@/common/list.js'
export
default
{
export
default
{
methods
:{
async
toSearch
(){
this
.
$router
.
push
(
'notice/all'
)
window
.
sessionStorage
.
setItem
(
"content"
,
this
.
input
)
}
},
data
()
{
data
()
{
return
{
return
{
input
:
""
input
:
""
...
...
pages/index/notice/all.vue
View file @
3b4fa668
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
</el-date-picker>
</el-date-picker>
<span
class=
"left"
>
查询
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
@@ -67,6 +67,8 @@ import {getAllList,getNoticeType} from '@/common/list.js'
...
@@ -67,6 +67,8 @@ import {getAllList,getNoticeType} from '@/common/list.js'
let
message
=
{}
let
message
=
{}
message
.
size
=
10
message
.
size
=
10
message
.
currentPage
=
1
message
.
currentPage
=
1
let
content
=
window
.
sessionStorage
.
getItem
(
"content"
)
message
.
title
=
content
this
.
industryList
()
this
.
industryList
()
this
.
getAllList
(
message
)
this
.
getAllList
(
message
)
this
.
getNoticeType
()
this
.
getNoticeType
()
...
...
pages/index/notice/bid.vue
View file @
3b4fa668
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate =
"getData.beginDate"
:endDate =
"getData.endDate"
@
change=
"timeChange"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate =
"getData.beginDate"
:endDate =
"getData.endDate"
@
change=
"timeChange"
>
</el-date-picker>
</el-date-picker>
<span
class=
"left"
>
项目
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
@@ -157,17 +157,6 @@ import citySelect from "@/components/citySelect.vue";
...
@@ -157,17 +157,6 @@ import citySelect from "@/components/citySelect.vue";
},
},
async
getBidingList
(
params
){
async
getBidingList
(
params
){
const
{
data
,
total
}
=
await
getBidingList
(
params
);
const
{
data
,
total
}
=
await
getBidingList
(
params
);
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
if
(
data
[
i
].
auditStatus
===
0
){
data
[
i
].
auditStatus
=
'审核中'
}
if
(
data
[
i
].
auditStatus
===
0
){
data
[
i
].
auditStatus
=
'审核通过'
}
if
(
data
[
i
].
auditStatus
===
0
){
data
[
i
].
auditStatus
=
'未审核'
}
}
this
.
priceList
=
data
;
this
.
priceList
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
},
},
...
...
pages/index/notice/biding.vue
View file @
3b4fa668
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:endDate=
"getData.endDate"
:endDate=
"getData.endDate"
@
change =
"changeTime"
@
change =
"changeTime"
></el-date-picker>
></el-date-picker>
<span
class=
"left"
>
项目
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
...
pages/index/notice/cadidate.vue
View file @
3b4fa668
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
</el-date-picker>
</el-date-picker>
<span
class=
"left"
>
查询
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
...
pages/index/notice/change.vue
View file @
3b4fa668
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
</el-date-picker>
</el-date-picker>
<span
class=
"left"
>
查询
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
...
pages/index/notice/fail.vue
View file @
3b4fa668
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
<el-date-picker
v-model=
"interTimerPicker"
:picker-options=
"pickerOptions"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
@
change=
"changeTime"
>
</el-date-picker>
</el-date-picker>
<span
class=
"left"
>
查询
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
...
pages/index/notice/inquiry.vue
View file @
3b4fa668
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:beginDate=
"getData.beginDate"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
:endDate=
"getData.endDate"
></el-date-picker>
></el-date-picker>
<span
class=
"left"
>
项目
</span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
...
...
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