diff --git a/src/views/Quality.vue b/src/views/Quality.vue index 6adeb57..1ffe065 100644 --- a/src/views/Quality.vue +++ b/src/views/Quality.vue @@ -1,7 +1,7 @@ @@ -55,8 +55,9 @@ - - +
+ +
@@ -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; diff --git a/src/views/ScrapList.vue b/src/views/ScrapList.vue index ab0f2d3..3bed871 100644 --- a/src/views/ScrapList.vue +++ b/src/views/ScrapList.vue @@ -1,7 +1,7 @@ @@ -27,7 +27,7 @@ max-height="600" style="width: 100%"> + type="index" :index="indexMethod" label="序号" width="60" />