由于谷歌浏览器新版本,导致table的表头样式变形,修改优化进行适配
This commit is contained in:
parent
8f2ea06175
commit
353b0eac40
@ -418,6 +418,7 @@ export const JeecgListMixin = {
|
||||
if (this.isMobile()) {
|
||||
this.scroll.y = ''
|
||||
} else {
|
||||
let basicWidth = 150
|
||||
let basicLength = 274
|
||||
let searchWrapperDomLen=0, operatorDomLen=0
|
||||
//搜索区域
|
||||
@ -430,7 +431,7 @@ export const JeecgListMixin = {
|
||||
if(operatorDom && operatorDom[0]) {
|
||||
operatorDomLen = operatorDom[0].offsetHeight+10
|
||||
}
|
||||
this.scroll.x = 1640
|
||||
this.scroll.x = document.documentElement.clientWidth-basicWidth-64
|
||||
this.scroll.y = document.documentElement.clientHeight-searchWrapperDomLen-operatorDomLen-basicLength
|
||||
}
|
||||
},
|
||||
|
||||
@ -217,9 +217,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -189,9 +189,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -167,9 +167,6 @@
|
||||
this.initSupplier()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
getQueryParams() {
|
||||
let param = Object.assign({}, this.queryParam, this.isorter);
|
||||
|
||||
@ -222,9 +222,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -180,9 +180,6 @@
|
||||
this.loadTreeData()
|
||||
this.getTotalCountMoney()
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -206,9 +206,6 @@
|
||||
this.getDepotData()
|
||||
this.loadTreeData()
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -222,9 +222,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
getQueryParams() {
|
||||
|
||||
@ -189,9 +189,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
create(){
|
||||
|
||||
@ -189,9 +189,6 @@
|
||||
this.loadAllOrgaData()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
moment,
|
||||
create(){
|
||||
|
||||
@ -167,9 +167,6 @@
|
||||
this.initSupplier()
|
||||
this.defaultTimeStr = [moment(getNowFormatYear() + '-01-01', this.dateFormat), moment(this.currentDay, this.dateFormat)]
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1620
|
||||
},
|
||||
methods: {
|
||||
getQueryParams() {
|
||||
let param = Object.assign({}, this.queryParam, this.isorter);
|
||||
|
||||
@ -96,7 +96,6 @@
|
||||
:dataSource="dataSource"
|
||||
:components="handleDrag(columns)"
|
||||
:pagination="ipagination"
|
||||
:scroll="scroll"
|
||||
:loading="loading"
|
||||
@change="handleTableChange">
|
||||
<span slot="billNoCustomRender" slot-scope="text, record">
|
||||
@ -195,9 +194,6 @@
|
||||
this.initPerson()
|
||||
this.initAccount()
|
||||
},
|
||||
mounted () {
|
||||
this.scroll.x = 1520
|
||||
},
|
||||
methods: {
|
||||
show() {
|
||||
if(this.queryParam.type === '付款') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user