由于谷歌浏览器新版本,导致table的表头样式变形,修改优化进行适配

This commit is contained in:
jishenghua 2024-02-05 23:18:50 +08:00
parent 8f2ea06175
commit 353b0eac40
12 changed files with 2 additions and 35 deletions

View File

@ -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
}
},

View File

@ -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() {

View File

@ -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() {

View File

@ -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);

View File

@ -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() {

View File

@ -180,9 +180,6 @@
this.loadTreeData()
this.getTotalCountMoney()
},
mounted () {
this.scroll.x = 1620
},
methods: {
moment,
getQueryParams() {

View File

@ -206,9 +206,6 @@
this.getDepotData()
this.loadTreeData()
},
mounted () {
this.scroll.x = 1620
},
methods: {
moment,
getQueryParams() {

View File

@ -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() {

View File

@ -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(){

View File

@ -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(){

View File

@ -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);

View File

@ -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 === '付款') {