This commit is contained in:
gtz 2024-01-29 16:52:56 +08:00
commit 3fb9ed3c73
4 changed files with 25 additions and 17 deletions

View File

@ -1,7 +1,7 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
# @LastEditTime: 2024-01-29 15:49:57
# @LastEditTime: 2024-01-29 16:29:24
# @LastEditors: zhp
# @Description:
###

View File

@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2023-12-04 14:10:37
* @LastEditTime: 2024-01-29 10:42:49
* @LastEditTime: 2024-01-29 16:48:40
* @LastEditors: zhp
* @Description:
*/
@ -77,8 +77,15 @@ export function getListByLineSection(query) {
export function getUserList(query) {
return request({
url: 'system/user/page',
url: 'base/quality-inspection-box-btn-auth/getUserList',
method: 'get',
params: query,
})
}
export function getPage(query) {
return request({
url: 'base/quality-inspection-box-btn-auth/page',
method: 'post',
data:query
})
}

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-07-19 15:18:30
* @LastEditors: zhp
* @LastEditTime: 2024-01-29 15:29:39
* @LastEditTime: 2024-01-29 16:17:04
* @Description:
-->
<template>
@ -835,7 +835,7 @@ export default {
console.log(ele)
nameList.push(item.name)
outputNumList.push(ele.outputNum)
passRateList.push(ele.passRate * 100)
passRateList.push(ele.passRate)
}
}
})

View File

@ -27,7 +27,7 @@ import {
updateQualityInspectionBoxBtn,
deleteQualityInspectionBoxBtn,
getQualityInspectionBoxBtn,
getQualityInspectionBoxBtnPage,
getPage,
exportQualityInspectionBoxBtnExcel,
getUserList
} from '@/api/base/qualityInspectionBoxPermissions';
@ -42,7 +42,7 @@ export default {
data() {
return {
urlOptions: {
getDataListURL: getQualityInspectionBoxBtnPage,
getDataListURL: getPage,
deleteURL: deleteQualityInspectionBoxBtn,
// exportURL: exportFactoryExcel,
},
@ -115,7 +115,8 @@ export default {
listQuery: {
pageNo: 1,
pageSize: 10,
inspectionDetContent: null,
userName: null,
nickName:null
},
addOrUpdateVisible: false,
addOrEditTitle:'',
@ -133,17 +134,17 @@ export default {
};
},
created() {
this.getDict()
// this.getDict()
},
methods: {
getDict() {
getUserList({
pageNo: 1,
pageSize:999
}).then((res) => {
this.searchBarFormConfig[0].selectOptions = res.data
})
},
// getDict() {
// // getUserList({
// // pageNo: 1,
// // pageSize:999
// // }).then((res) => {
// // this.searchBarFormConfig[0].selectOptions = res.data
// // })
// },
getDataList() {
this.dataListLoading = true;
this.urlOptions.getDataListURL(this.listQuery).then(response => {