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