diff --git a/src/api/reagent/customform.js b/src/api/reagent/customform.js
new file mode 100644
index 0000000..81f5e0f
--- /dev/null
+++ b/src/api/reagent/customform.js
@@ -0,0 +1,25 @@
+import request from '@/utils/request'
+
+export function get_list(data) {
+ return request({
+ url: '/api/drug_form/getlist',
+ method: 'post',
+ data
+ })
+}
+
+export function add_update(data) {
+ return request({
+ url: '/api/drug_form/add_update',
+ method: 'post',
+ data
+ })
+}
+
+export function del(data) {
+ return request({
+ url: '/api/drug_form/del',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/icons/svg/表单.svg b/src/icons/svg/表单.svg
new file mode 100644
index 0000000..0da96c3
--- /dev/null
+++ b/src/icons/svg/表单.svg
@@ -0,0 +1,2 @@
+
\ No newline at end of file
diff --git a/src/router/modules/reagent.js b/src/router/modules/reagent.js
index 94135ac..ecb73c1 100644
--- a/src/router/modules/reagent.js
+++ b/src/router/modules/reagent.js
@@ -213,6 +213,19 @@ const reagentRouter = [
}
]
},
+ {
+ path: '/reagent/form',
+ component: Layout,
+ meta: { classification: 'reagent' },
+ children: [
+ {
+ path: 'index',
+ name: 'Form',
+ component: () => import('@/views/reagent/customform/index'),
+ meta: { title: '试剂表单自定义', icon: '表单', classification: 'reagent' }
+ }
+ ]
+ },
{
path: '/reagent/buy',
component: Layout,
diff --git a/src/views/reagent/customform/index.vue b/src/views/reagent/customform/index.vue
new file mode 100644
index 0000000..c6f1343
--- /dev/null
+++ b/src/views/reagent/customform/index.vue
@@ -0,0 +1,304 @@
+
+
+
自定义表单
+
+
+
+
+
+
+
+
+
+ {{ scope.row.is_use=== 0 ?'未启用':'启用' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+