Commit 478d828a authored by danfuman's avatar danfuman

修改

parent 6ac28278
...@@ -118,8 +118,8 @@ ...@@ -118,8 +118,8 @@
自定义 自定义
<el-date-picker <el-date-picker
ref="picker" ref="picker"
v-if="datatype ==3"
:default-value="defaultValue" :default-value="defaultValue"
style="position: absolute;opacity: 0;left: -12px;width: 60px;"
v-model="pickerValue" v-model="pickerValue"
type="daterange" type="daterange"
range-separator="至" range-separator="至"
...@@ -507,10 +507,10 @@ ...@@ -507,10 +507,10 @@
} }
this.datatype=key; this.datatype=key;
if(value == '自定义') { if(value == '自定义') {
this.$refs.picker && this.$refs.picker.length && this.$refs.picker[0].focus() // this.$refs.picker && this.$refs.picker.length && this.$refs.picker[0].focus()
this.$nextTick(() => { // this.$nextTick(() => {
// this.$refs['picker-block'].appendChild(this.$refs.picker[0].popperElm) // this.$refs['picker-block'].appendChild(this.$refs.picker[0].popperElm)
}) // })
}else { }else {
this.pickerValue = [] this.pickerValue = []
let timeStr = [] let timeStr = []
...@@ -856,8 +856,8 @@ ...@@ -856,8 +856,8 @@
.time-label{ .time-label{
.labels{ .labels{
width: 240px; width: 240px;
height: 30px; height: 32px;
line-height: 30px; line-height: 32px;
border-radius: 4px; border-radius: 4px;
>div{ >div{
height: 100%; height: 100%;
...@@ -885,7 +885,12 @@ ...@@ -885,7 +885,12 @@
} }
} }
} }
::v-deep .el-date-editor{
width: 320px;
position: absolute;
right: 250px;
height: 32px;
}
::v-deep .picker-block { ::v-deep .picker-block {
position: relative; position: relative;
...@@ -896,14 +901,6 @@ ...@@ -896,14 +901,6 @@
visibility:hidden; visibility:hidden;
clear:both; clear:both;
} }
.el-picker-panel.el-date-range-picker.el-popper {
left: -650px !important;
}
.popper__arrow {
left: 30px !important;
}
} }
} }
} }
......
...@@ -98,17 +98,6 @@ export default { ...@@ -98,17 +98,6 @@ export default {
getYears({}).then(res => { getYears({}).then(res => {
this.yearOptions=res.data.reverse(); this.yearOptions=res.data.reverse();
}) })
//列表一屏幕显示完整,底部滚动条隐藏
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom <= viewHeight) {
// console.log("222")
// targetTableWrapperEl.style.display = 'none'
// } else {
// console.log("111")
// targetTableWrapperEl.style.display = 'initial'
// }
}, },
methods: { methods: {
getData(){ getData(){
......
...@@ -156,19 +156,6 @@ ...@@ -156,19 +156,6 @@
this.querySubmit() this.querySubmit()
this.dataRegion() this.dataRegion()
this.getYears() this.getYears()
//列表一屏幕显示完整,底部滚动条隐藏
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// console.log(targetTableWrapperEl)
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom <= viewHeight) {
// console.log("222")
// targetTableWrapperEl.style.display = 'initial'
// } else {
// console.log("1111")
// targetTableWrapperEl.style.display = 'none'
// }
}, },
mounted() { mounted() {
......
...@@ -321,7 +321,6 @@ ...@@ -321,7 +321,6 @@
this.getRangeBidMoney() this.getRangeBidMoney()
this.getRangeBidFiveYears() this.getRangeBidFiveYears()
this.getLowerRateByYear() this.getLowerRateByYear()
this.getLowerRangeTenderType()
}, },
beforeDestroy(){ beforeDestroy(){
...@@ -346,6 +345,7 @@ ...@@ -346,6 +345,7 @@
this.initChart1(list) this.initChart1(list)
}) })
} }
this.getLowerRangeTenderType()
}) })
}, },
getCountBidGroupByProvince(){ getCountBidGroupByProvince(){
......
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