From c8921232ebe3575003dadfeeaa3318e1c5f8591d Mon Sep 17 00:00:00 2001 From: duan Date: Mon, 8 Aug 2022 17:03:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/reagent/management/):=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=AF=95=E5=89=82=E7=AE=A1=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reagent/management.js | 64 +++ src/icons/svg/确认禁用.svg | 15 + src/icons/svg/解除禁用.svg | 15 + src/views/reagent/management/index.vue | 647 ++++++++++++++++++++++++- 4 files changed, 738 insertions(+), 3 deletions(-) create mode 100644 src/api/reagent/management.js create mode 100644 src/icons/svg/确认禁用.svg create mode 100644 src/icons/svg/解除禁用.svg 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 @@ -