修改组件列表样式

This commit is contained in:
shawnzhang 2020-04-23 17:28:11 +08:00
parent 2b25c698c2
commit ce3b140627
63 changed files with 533 additions and 0 deletions

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -140,6 +143,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -201,6 +206,9 @@ export default {
createcontrol() {
this.employeeVisible = this.createcontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,9 @@ export default {
deliverycontrol() {
this.employeeVisible = this.deliverycontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -149,6 +152,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -192,6 +197,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -153,6 +156,8 @@ export default {
},
data() {
return {
tableHeight: 200,
query: this.personalform,
//
supplierid: '',
@ -197,6 +202,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
},
personalform() {
this.query = this.personalform

View file

@ -81,8 +81,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -197,6 +200,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.matecontrol,
//
@ -256,6 +261,9 @@ export default {
matecontrol() {
this.employeeVisible = this.matecontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -119,6 +122,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -169,6 +174,10 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -78,8 +78,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -182,6 +185,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.procontrol,
//
@ -237,6 +242,9 @@ export default {
procontrol() {
this.employeeVisible = this.procontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,10 @@ export default {
deliverycontrol() {
this.employeeVisible = this.deliverycontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -75,8 +75,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -207,6 +210,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.ordercontrol,
//
@ -270,6 +275,9 @@ export default {
ordercontrol() {
this.employeeVisible = this.ordercontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
},
supp() {
this.getemplist.supplierId = this.supp

View file

@ -51,8 +51,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -135,6 +139,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
visible2: false,
//
@ -188,6 +194,9 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -65,8 +65,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -176,6 +179,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.installmentcontrol,
//
@ -234,6 +239,9 @@ export default {
installmentcontrol() {
this.employeeVisible = this.installmentcontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -119,6 +122,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -169,6 +174,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -149,6 +152,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -192,6 +197,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -65,8 +65,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -176,6 +179,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.installmentcontrol,
//
@ -234,6 +239,10 @@ export default {
installmentcontrol() {
this.employeeVisible = this.installmentcontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -119,6 +122,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -169,6 +174,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -68,8 +68,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -174,6 +178,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.saleoutcontrol,
//
@ -248,6 +254,9 @@ export default {
saleoutcontrol() {
this.employeeVisible = this.saleoutcontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -149,6 +152,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -192,6 +197,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -51,8 +51,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -135,6 +138,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
visible2: false,
//
@ -188,6 +193,9 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -80,8 +80,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -174,6 +178,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.agentcontrol,
//
@ -240,6 +246,9 @@ export default {
this.employeeVisible = this.agentcontrol
this.getlist()
this.getCategory()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -72,8 +72,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -182,6 +185,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.customercontrol,
//
@ -240,6 +245,9 @@ export default {
this.employeeVisible = this.customercontrol
this.getlist()
this.getCategory()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -71,8 +71,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -170,6 +173,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.storagemovecontrol,
//
@ -232,6 +237,10 @@ export default {
this.employeeVisible = this.storagemovecontrol
this.getdeptlist()
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -119,6 +122,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -169,6 +174,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -69,8 +69,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -179,6 +183,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
querydata: this.personaldata,
//
@ -258,6 +264,10 @@ export default {
this.employeeVisible = this.saleoutcontrol
this.getlist()
console.log(this.querydata)
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
},
personaldata() {
console.log(this.personaldata)

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,9 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -123,6 +126,8 @@ export default {
},
data() {
return {
tableHeight: 200,
searchregion: this.regionid,
//
repositoryVisible: this.repositorycontrol,
@ -174,6 +179,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
},
regionid() {
this.searchregion = this.regionid

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -144,6 +147,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -206,6 +211,9 @@ export default {
this.employeeVisible = this.control
console.log(this.control)
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -48,9 +48,11 @@
<el-table
v-loading="listLoading"
ref="multipleTable"
:height="tableHeight"
:key="tableKey"
:data="list"
:row-key="getRowKeys"
size="small"
border
fit
highlight-current-row
@ -159,6 +161,8 @@ export default {
},
data() {
return {
tableHeight: 200,
select_orderId: [],
select_order_number: [],
// rowkey
@ -206,6 +210,10 @@ export default {
control() {
this.productVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.multipleTable.$el.offsetTop - 180
}, 100)
},
checklist() {
this.checklistprop = this.checklist

View file

@ -47,8 +47,13 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -145,6 +150,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -187,6 +194,10 @@ export default {
matercontrol() {
this.productVisible = this.matercontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -56,9 +56,12 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
border
size="small"
fit
highlight-current-row
style="width: 100%"
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,9 @@ export default {
deliverycontrol() {
this.employeeVisible = this.deliverycontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -48,9 +48,11 @@
<el-table
v-loading="listLoading"
ref="multipleTable"
:height="tableHeight"
:key="tableKey"
:data="list"
:row-key="getRowKeys"
size="small"
border
fit
highlight-current-row
@ -158,6 +160,8 @@ export default {
},
data() {
return {
tableHeight: 200,
getRowKeys(row) {
return row.code
},
@ -207,6 +211,9 @@ export default {
console.log(this.control)
console.log('this.selected=================================', this.selected)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.multipleTable.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,9 @@ export default {
deliverycontrol() {
this.employeeVisible = this.deliverycontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -33,8 +33,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -111,6 +114,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.factorycontrol,
//
@ -142,6 +147,10 @@ export default {
factorycontrol() {
this.employeeVisible = this.factorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -42,9 +42,11 @@
<el-table
v-loading="listLoading"
ref="multipleTable"
:height="tableHeight"
:key="tableKey"
:data="list"
:row-key="getRowKeys"
size="small"
border
fit
highlight-current-row
@ -119,6 +121,8 @@ export default {
},
data() {
return {
tableHeight: 200,
list2: [],
//
supplierid: '',
@ -181,6 +185,9 @@ export default {
}
}
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -1,3 +1,4 @@
<template>
<div class="ERP-container">
<div class="app-container" style="padding-right: 0">

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -41,8 +41,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -136,6 +139,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -194,6 +199,10 @@ export default {
this.productVisible = this.materialcontrol
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -38,8 +38,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -124,6 +128,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.control,
//
@ -160,6 +166,10 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -138,6 +141,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -199,6 +204,10 @@ export default {
deliverycontrol() {
this.employeeVisible = this.deliverycontrol
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -150,6 +153,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -193,6 +198,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -149,6 +152,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -192,6 +197,9 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -91,8 +91,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -231,6 +234,8 @@ export default {
return time.getTime() < new Date(this.getemplist.beginTime).getTime() - 8.64e7
}
},
tableHeight: 200,
//
typeparms: {
pagenum: 1,
@ -292,6 +297,10 @@ export default {
prorequirecontrol() {
this.employeeVisible = this.prorequirecontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -68,8 +68,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -151,6 +154,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.procontrol,
//
@ -192,6 +197,9 @@ export default {
procontrol() {
this.employeeVisible = this.procontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -78,8 +78,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -181,6 +184,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.procontrol,
//
@ -236,6 +241,9 @@ export default {
procontrol() {
this.employeeVisible = this.procontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -80,8 +80,12 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -175,6 +179,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.agentcontrol,
//
@ -241,6 +247,9 @@ export default {
this.employeeVisible = this.agentcontrol
this.getlist()
this.getCategory()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -72,8 +72,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -184,6 +187,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.customercontrol,
//
@ -242,6 +247,10 @@ export default {
this.employeeVisible = this.customercontrol
this.getlist()
this.getCategory()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,13 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -120,6 +125,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -170,6 +177,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -38,8 +38,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -124,6 +127,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.control,
//
@ -160,6 +165,9 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -120,6 +123,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
repositoryVisible: this.repositorycontrol,
//
@ -170,6 +175,10 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -68,8 +68,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -151,6 +154,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
employeeVisible: this.procontrol,
//
@ -193,6 +198,9 @@ export default {
procontrol() {
this.employeeVisible = this.procontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -47,8 +47,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -150,6 +153,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
supplierid: '',
//
@ -193,6 +198,10 @@ export default {
this.productVisible = this.control
console.log(this.control)
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
created() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,9 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -66,9 +66,12 @@
<el-table
v-loading="listLoading"
ref="multipleTable"
:height="tableHeight"
:key="tableKey"
:data="list"
:row-key="getRowKeys"
size="small"
border
fit
highlight-current-row
@ -206,6 +209,8 @@ export default {
},
data() {
return {
tableHeight: 200,
// rowkey
getRowKeys(row) {
return row.id
@ -279,6 +284,10 @@ export default {
}, 0)
this.flagarr = []
this.moreaction = []
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.multipleTable.$el.offsetTop - 180
}, 100)
},
supp() {
this.getemplist.supplierId = this.supp

View file

@ -51,8 +51,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -136,6 +139,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
visible2: false,
//
@ -189,6 +194,10 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,9 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,9 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -42,8 +42,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -124,6 +127,8 @@ export default {
},
data() {
return {
tableHeight: 200,
searchregion: this.regionid,
//
repositoryVisible: this.repositorycontrol,
@ -175,6 +180,9 @@ export default {
repositorycontrol() {
this.repositoryVisible = this.repositorycontrol
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
},
regionid() {
this.searchregion = this.regionid

View file

@ -56,8 +56,11 @@
</div>
<el-table
v-loading="listLoading"
ref="table"
:data="list"
:key="tableKey"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -139,6 +142,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
jobCat: {
type: 2,
@ -200,6 +205,10 @@ export default {
control() {
this.employeeVisible = this.control
this.gitemplist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {

View file

@ -51,8 +51,11 @@
<!-- 列表开始 -->
<el-table
v-loading="listLoading"
ref="table"
:key="tableKey"
:data="list"
:height="tableHeight"
size="small"
border
fit
highlight-current-row
@ -136,6 +139,8 @@ export default {
},
data() {
return {
tableHeight: 200,
//
visible2: false,
//
@ -189,6 +194,9 @@ export default {
control() {
this.employeeVisible = this.control
this.getlist()
setTimeout(() => {
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 180
}, 100)
}
},
beforeCreate() {