bug
This commit is contained in:
parent
3e7ba1f519
commit
7319d72dfd
@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: Do not edit
|
||||
* @Date: 2024-01-09 13:48:42
|
||||
* @LastEditTime: 2024-04-22 09:33:28
|
||||
* @LastEditTime: 2024-04-28 16:55:37
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
-->
|
||||
@ -55,8 +55,9 @@
|
||||
</van-row>
|
||||
</van-col>
|
||||
</van-row>
|
||||
<el-scrollbar class="scollbar" ref="scrollbar" style="height: 100%" >
|
||||
<el-backtop target=".scollbar .el-scrollbar__wrap" :visibility-height="10" :bottom="20">
|
||||
<div style="height: 7px"></div>
|
||||
<el-scrollbar class="scollbar" ref="scrollbar" style="height: 75%;" >
|
||||
<el-backtop target=".scollbar .el-scrollbar__wrap" :visibility-height="10" :bottom="50">
|
||||
<i class="el-icon-caret-top" />
|
||||
</el-backtop>
|
||||
<div class="content" v-for="(item, index) in typeList" :key="index">
|
||||
@ -186,11 +187,11 @@ export default {
|
||||
getQuality () {
|
||||
// qualityManage().then(res => {
|
||||
qualityManage(this.listQuery).then(res => {
|
||||
if (JSON.stringify(res.data.data) !== '{}') {
|
||||
if (res.data.code === 0 && JSON.stringify(res.data.data) !== '{}') {
|
||||
this.typeList = Object.values(res.data.data)
|
||||
this.count = this.typeList[0][0].sunCount
|
||||
if (this.typeList[0][0]?.resetMethod === 1) {
|
||||
this.resetMethod = true
|
||||
this.showReset = true
|
||||
}
|
||||
} else {
|
||||
this.typeList = []
|
||||
@ -336,7 +337,7 @@ export default {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
margin-top: 7px;
|
||||
margin-bottom: 7px;
|
||||
padding: 0 20px 20px 20px;
|
||||
box-sizing: border-box;
|
||||
/* overflow: scroll;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: Do not edit
|
||||
* @Date: 2023-12-29 10:01:55
|
||||
* @LastEditTime: 2024-03-28 09:07:41
|
||||
* @LastEditTime: 2024-04-28 16:41:33
|
||||
* @LastEditors: DY
|
||||
* @Description: 报废列表
|
||||
-->
|
||||
@ -27,7 +27,7 @@
|
||||
max-height="600"
|
||||
style="width: 100%">
|
||||
<el-table-column
|
||||
type="index" label="序号" width="60" />
|
||||
type="index" :index="indexMethod" label="序号" width="60" />
|
||||
<el-table-column v-for="(item, index) in tableProps" :key="index" :prop="item.prop" :label="item.label" />
|
||||
</el-table>
|
||||
<el-pagination
|
||||
@ -96,6 +96,9 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
indexMethod (index) {
|
||||
return (this.listQuery.pageNo - 1) * 10 + index + 1
|
||||
},
|
||||
handleSizeChange (val) {
|
||||
console.log(`每页 ${val} 条`)
|
||||
this.listQuery.pageSize = val
|
||||
|
Caricamento…
Fai riferimento in un nuovo problema
Block a user