Commit 6ada2f9d authored by 吴冠's avatar 吴冠

update

parent d575e85b
<template> <template>
<div class="bread content"> <div class="bread content">
<el-breadcrumb separator=">" style="margin:.2rem 0"> <el-breadcrumb separator=">" style="margin: 0.2rem 0">
<el-breadcrumb-item>首页</el-breadcrumb-item> <el-breadcrumb-item>首页</el-breadcrumb-item>
<el-breadcrumb-item>询价公告</el-breadcrumb-item> <el-breadcrumb-item>{{name}}</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</div> </div>
</template> </template>
<script> <script>
export default {
data(){
return{
name:'询价公告'
}
},
mounted(){
console.log(this.$route)
},
watch:{
$route (old, newRes) {
console.log(old, newRes,'------bbbb')
}
}
}
</script> </script>
<style scoped> <style scoped>
......
...@@ -28,6 +28,12 @@ ...@@ -28,6 +28,12 @@
Aside, Aside,
Bread Bread
}, },
mounted(){
console.log(this.$router, this.$route,'---s')
},
watch:{
}
} }
</script> </script>
......
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
</li> </li>
</ul> </ul>
<div class="pagination flex-center"> <div class="pagination flex-center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" :page-sizes="[10, 20, 30, 40]"
layout="total, prev, pager, next, jumper" :total="total"> layout="total, sizes,prev, pager, next, jumper" :total="total">
</el-pagination > </el-pagination >
</div> </div>
</div> </div>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="time">{{getTimer(item.createTime)}}</div> <div class="time">{{getTimer(item.createTime)}}</div>
<div class="price-item"> <div class="price-item">
<div class="t1" style="font-weight: bold;"> <div class="t1" style="font-weight: bold;">
<span class="state-red">[招标公告] </span> <span class="state-red">{{noticeB}} </span>
<span>{{item.title}}</span> <span>{{item.title}}</span>
</div> </div>
<div class="flex-between"> <div class="flex-between">
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
</li> </li>
</ul> </ul>
<div class="pagination flex-center"> <div class="pagination flex-center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size = "getData.size" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size = "getData.size" :page-sizes="[10, 20, 30, 40]"
layout="total, prev, pager, next, jumper" :total="total"> layout="total, sizes,prev, pager, next, jumper" :total="total">
</el-pagination> </el-pagination>
</div> </div>
</div> </div>
...@@ -69,9 +69,11 @@ import citySelect from "@/components/citySelect.vue"; ...@@ -69,9 +69,11 @@ import citySelect from "@/components/citySelect.vue";
message.currentPage = 1 message.currentPage = 1
this.getBidingList(message) this.getBidingList(message)
this.industryList() this.industryList()
sessionStorage.setItem("noticeB",this.noticeB)
}, },
data() { data() {
return { return {
noticeB:'[招标公告]',
total:0, total:0,
getData:{ getData:{
provinceId:'', provinceId:'',
......
...@@ -70,7 +70,8 @@ ...@@ -70,7 +70,8 @@
:current-page="getData.currentPage" :current-page="getData.currentPage"
:page-size="getData.size" :page-size="getData.size"
:total="total" :total="total"
layout="total, prev, pager, next, jumper" :page-sizes="[10, 20, 30, 40]"
layout="total, sizes,prev, pager, next, jumper"
></el-pagination> ></el-pagination>
</div> </div>
</div> </div>
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
</li> </li>
</ul> </ul>
<div class="pagination flex-center"> <div class="pagination flex-center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" :page-sizes="[10, 20, 30, 40]"
layout="total, prev, pager, next, jumper" :total="total"> layout="total, sizes,prev, pager, next, jumper" :total="total">
</el-pagination > </el-pagination >
</div> </div>
</div> </div>
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
</li> </li>
</ul> </ul>
<div class="pagination flex-center"> <div class="pagination flex-center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" :page-sizes="[10, 20, 30, 40]"
layout="total, prev, pager, next, jumper" :total="total"> layout="total, sizes,prev, pager, next, jumper" :total="total">
</el-pagination > </el-pagination >
</div> </div>
</div> </div>
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
</li> </li>
</ul> </ul>
<div class="pagination flex-center"> <div class="pagination flex-center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="getData.currentPage" :page-size ="getData.size" :page-sizes="[10, 20, 30, 40]"
layout="total, prev, pager, next, jumper" :total="total"> layout="total, sizes,prev, pager, next, jumper" :total="total">
</el-pagination > </el-pagination >
</div> </div>
</div> </div>
......
...@@ -21,12 +21,13 @@ ...@@ -21,12 +21,13 @@
v-model="interTimerPicker" v-model="interTimerPicker"
:picker-options="pickerOptions" :picker-options="pickerOptions"
type="daterange" type="daterange"
range-separator="至" range-separator="至 "
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
@change="testChange" @change="testChange"
:beginDate="getData.beginDate" :beginDate="getData.beginDate"
:endDate="getData.endDate" :endDate="getData.endDate"
size="mini"
></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>
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
<div class="time">{{getTimer(item.createTime)}}</div> <div class="time">{{getTimer(item.createTime)}}</div>
<div class="price-item"> <div class="price-item">
<div class="t1" style="font-weight: bold;"> <div class="t1" style="font-weight: bold;">
<span class="state-red">[询价公告]</span> <span class="state-red">{{noticeT}}</span>
<span>{{item.title}}</span> <span>{{item.title}}</span>
</div> </div>
<div class="flex-between"> <div class="flex-between">
...@@ -72,13 +73,13 @@ ...@@ -72,13 +73,13 @@
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page="getData.currentPage" :current-page="getData.currentPage"
:pageSize="getData.size" :pageSize="getData.size"
layout="total, prev, pager, next, jumper" :page-sizes="[10, 20, 30, 40]"
layout="total, sizes,prev, pager, next, jumper"
:total="total" :total="total"
></el-pagination> ></el-pagination>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import dataTable from "@/components/dataTable.vue"; import dataTable from "@/components/dataTable.vue";
import { getInquiryList} from "@/common/list.js"; import { getInquiryList} from "@/common/list.js";
...@@ -95,9 +96,11 @@ export default { ...@@ -95,9 +96,11 @@ export default {
message.currentPage=1 message.currentPage=1
this.getInquiryList(message); this.getInquiryList(message);
this.industryList(); this.industryList();
sessionStorage.setItem("noticeT",this.noticeT)
}, },
data() { data() {
return { return {
noticeT:'[询价公告]',
isshow: false, isshow: false,
tabledata: [ tabledata: [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment