代码优化

This commit is contained in:
BianLzhaoMin 2024-08-27 14:35:41 +08:00
parent 2c170fd903
commit 6329fc3251
2 changed files with 3 additions and 2 deletions

View File

@ -49,10 +49,11 @@ export function submitRepairApplyApi(data) {
}) })
} }
// 用户下拉选 // 用户下拉选
export function getUserSelectApi() { export function getUserSelectApi(params) {
return request({ return request({
url: '/system/user/getUserByRoleList', url: '/system/user/getUserByRoleList',
method: 'get', method: 'get',
params
}) })
} }
// 工程下拉选 // 工程下拉选

View File

@ -492,7 +492,7 @@ export default {
this.dynamicValidateFormTwo.premiumListTwo = [] this.dynamicValidateFormTwo.premiumListTwo = []
this.addDomainTwo() this.addDomainTwo()
} }
getUserSelectApi().then((response) => { getUserSelectApi({ roleIds: [133] }).then((response) => {
this.userSelectList = response.data this.userSelectList = response.data
}) })
getInfo().then((res) => { getInfo().then((res) => {