代码优化

This commit is contained in:
BianLzhaoMin 2024-08-21 16:33:19 +08:00
parent 2362c26ef5
commit 3fa5b9a7ed
8 changed files with 1952 additions and 1563 deletions

View File

@ -177,9 +177,9 @@ export function backReceiveRecordWeb(data) {
export function backReceiveRecordWebPt(data) { export function backReceiveRecordWebPt(data) {
return request({ return request({
url: 'material/base/backReceive/backReceiveRecordWebPt ', url: 'material/base/backReceive/backReceiveRecordWebPt',
method: 'get', method: 'post',
params: data data: data
}) })
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -760,7 +760,7 @@ export default {
getUserByRoleList({ roleId: '101' }).then((response) => { getUserByRoleList({ roleId: '101' }).then((response) => {
this.keeperList = response.data this.keeperList = response.data
}) })
getUserByRoleList({ roleId: '102' }).then((response) => { getUserByRoleList({ roleIds: [133, 134] }).then((response) => {
this.repairUserList = response.data this.repairUserList = response.data
}) })
}, },

View File

@ -791,7 +791,7 @@ export default {
console.log(response, '库管员') console.log(response, '库管员')
this.keeperList = response.data this.keeperList = response.data
}) })
getUserByRoleList().then((response) => { getUserByRoleList({ roleIds: [133, 134] }).then((response) => {
console.log(response, '维修员') console.log(response, '维修员')
this.repairUserList = response.data this.repairUserList = response.data
}) })

View File

@ -605,7 +605,7 @@ export default {
methods: { methods: {
/** 查询用户列表--采购员 */ /** 查询用户列表--采购员 */
getUserList() { getUserList() {
getUserByRoleList({ roleId: 152 }).then((response) => { getUserByRoleList({ roleIds: [152] }).then((response) => {
this.userList = response.data this.userList = response.data
}) })
}, },

View File

@ -414,7 +414,7 @@ export default {
methods: { methods: {
/** 查询用户列表--采购员 */ /** 查询用户列表--采购员 */
getUserList() { getUserList() {
getUserByRoleList({ roleId: 152 }).then((response) => { getUserByRoleList({ roleIds: [152] }).then((response) => {
this.userList = response.data this.userList = response.data
}) })
}, },