refactor(src/views/reagent/management): 修改drug_id请求参数

duizhaopin_ui
duan 2 years ago
parent c8921232eb
commit bf507ca201

@ -535,7 +535,7 @@ export default {
}, },
getUserList() { getUserList() {
const data = { const data = {
drug_id: this.multipleSelection[0].medicament_id, drug_id: this.multipleSelection[0].variety_id,
page: this.user_page, page: this.user_page,
page_size: this.user_page_size, page_size: this.user_page_size,
seach_user: this.seach_user seach_user: this.seach_user
@ -553,7 +553,7 @@ export default {
} }
const data = { const data = {
user_id: this.multipleUserSelection[0].user_id, user_id: this.multipleUserSelection[0].user_id,
drug_id: this.multipleSelection[0].medicament_id drug_id: this.multipleSelection[0].variety_id
} }
user_ban_confirm(stringify(data)).then(res => { user_ban_confirm(stringify(data)).then(res => {
if (res.status === 0) { if (res.status === 0) {
@ -570,7 +570,7 @@ export default {
} }
const data = { const data = {
user_id: this.multipleUserSelection[0].user_id, user_id: this.multipleUserSelection[0].user_id,
drug_id: this.multipleSelection[0].medicament_id drug_id: this.multipleSelection[0].variety_id
} }
user_ban_relieve(stringify(data)).then(res => { user_ban_relieve(stringify(data)).then(res => {
if (res.status === 0) { if (res.status === 0) {

Loading…
Cancel
Save