diff --git a/src/api/reagent/management.js b/src/api/reagent/management.js new file mode 100644 index 0000000..d2411a1 --- /dev/null +++ b/src/api/reagent/management.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +export function drug_list(data) { + return request({ + url: '/api/drug/drug_list', + method: 'post', + data + }) +} + +// /api/drug/get_durg_record +export function get_durg_record(data) { + return request({ + url: '/api/drug/get_durg_record', + method: 'post', + data + }) +} + +// /api/drug/update +export function update(data) { + return request({ + url: '/api/drug/update', + method: 'post', + data + }) +} + +// /api/drug/user_ban_list +export function user_ban_list(data) { + return request({ + url: '/api/drug/user_ban_list', + method: 'post', + data + }) +} + +// /api/drug/user_ban_confirm +export function user_ban_confirm(data) { + return request({ + url: '/api/drug/user_ban_confirm', + method: 'post', + data + }) +} + +// /api/drug/user_ban_drug_list +export function user_ban_drug_list(data) { + return request({ + url: '/api/drug/user_ban_drug_list', + method: 'post', + data + }) +} + +// /api/drug/user_ban_relieve +export function user_ban_relieve(data) { + return request({ + url: '/api/drug/user_ban_relieve', + method: 'post', + data + }) +} + diff --git a/src/icons/svg/确认禁用.svg b/src/icons/svg/确认禁用.svg new file mode 100644 index 0000000..eab15b1 --- /dev/null +++ b/src/icons/svg/确认禁用.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/icons/svg/解除禁用.svg b/src/icons/svg/解除禁用.svg new file mode 100644 index 0000000..3a8f6f4 --- /dev/null +++ b/src/icons/svg/解除禁用.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/src/views/reagent/management/index.vue b/src/views/reagent/management/index.vue index 2180c79..0ffab70 100644 --- a/src/views/reagent/management/index.vue +++ b/src/views/reagent/management/index.vue @@ -1,13 +1,654 @@ -