9/23 优化异常单据分页

yanshishuju
wangwei 12 months ago
parent 5d2c0ac8e6
commit 1625a19d76

@ -109,13 +109,14 @@
@click.native="rowChange(scope.$index,scope.row)"
>编辑
</el-button>
<!--:disabled=" scope.row.id != null"-->
<el-button
type="text"
size="small"
@click.stop="true"
:disabled=" scope.row.id != null"
@click.native="deleteLevel(scope.$index, scope.row)"
>删除
</el-button>
</template>
</el-table-column>

@ -523,6 +523,7 @@ export default {
page: 1,
limit: 100
},
errQueryPage: 1
}
},
@ -623,6 +624,7 @@ export default {
if (res.code == 20000) {
this.$message.success("清除成功!")
this.getList()
this.getErrorList(this)
} else {
this.$message.error(res.message)
}
@ -668,6 +670,7 @@ export default {
getErrorList(_this) {
Object.assign(_this.errQuery, _this.filterQuery)
_this.errQuery.page = _this.errQueryPage
_this.loading = true;
if (_this.actDateRange !== null) {
_this.errQuery.startTime = _this.actDateRange[0];
@ -716,6 +719,7 @@ export default {
},
handleCurrentChangeError(val) {
this.errQuery.page = val.page;
this.errQueryPage = val.page
this.getErrorList(this);
}
,

Loading…
Cancel
Save