diff --git a/.env.development b/.env.development
index 48fe786..aaf9cdc 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,7 @@
ENV = development
# 本地环境接口地址
-VITE_API_URL = http://localhost:5005
+# VITE_API_URL = http://localhost:5005
# VITE_API_URL = http://192.168.88.206:5005
# VITE_API_URL = http://192.168.88.76:5005
-# VITE_API_URL = http://cloud.bodk.com.cn
\ No newline at end of file
+VITE_API_URL = http://cloud.bodk.com.cn
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index ed69ffb..d8bc1c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ node_modules
# local env files
.env.local
.env.*.local
+dist.zip
# Log files
npm-debug.log*
diff --git a/public/config.js b/public/config.js
index ad12edb..738691a 100644
--- a/public/config.js
+++ b/public/config.js
@@ -3,5 +3,5 @@ window.__env__ = {
"VITE_OPEN": "false",
"VITE_OPEN_CDN": "false",
"VITE_PUBLIC_PATH": "",
- "VITE_API_URL": "http://localhost:5005"
+ "VITE_API_URL": ""
}
\ No newline at end of file
diff --git a/src/api/api.ts b/src/api/api.ts
index f32c2f9..ad3d975 100644
--- a/src/api/api.ts
+++ b/src/api/api.ts
@@ -27,3 +27,22 @@ export function del(api, id) {
method: 'post',
});
}
+export function getTumor(code) {
+ return request({
+ url: `/api/tumor/tumor/${code}`,
+ method: 'get',
+ });
+}
+export function addGeneReport(data) {
+ return request({
+ url: `/api/geneReport/report`,
+ method: 'post',
+ data,
+ });
+}
+export function getGeneReport(customerId) {
+ return request({
+ url: `/api/geneReport/list/${customerId}`,
+ method: 'get',
+ });
+}
diff --git a/src/assets/customer/bladder_cancer.png b/src/assets/customer/bladder_cancer.png
new file mode 100644
index 0000000..8ec5b5c
Binary files /dev/null and b/src/assets/customer/bladder_cancer.png differ
diff --git a/src/assets/customer/breast_cancer.png b/src/assets/customer/breast_cancer.png
new file mode 100644
index 0000000..26c9738
Binary files /dev/null and b/src/assets/customer/breast_cancer.png differ
diff --git a/src/assets/customer/cervical_carcinoma.png b/src/assets/customer/cervical_carcinoma.png
new file mode 100644
index 0000000..587c9ce
Binary files /dev/null and b/src/assets/customer/cervical_carcinoma.png differ
diff --git a/src/assets/customer/colorectal_cancer.png b/src/assets/customer/colorectal_cancer.png
new file mode 100644
index 0000000..6a05192
Binary files /dev/null and b/src/assets/customer/colorectal_cancer.png differ
diff --git a/src/assets/customer/endometrial_cancer.png b/src/assets/customer/endometrial_cancer.png
new file mode 100644
index 0000000..0976ade
Binary files /dev/null and b/src/assets/customer/endometrial_cancer.png differ
diff --git a/src/assets/customer/esophageal_cancer.png b/src/assets/customer/esophageal_cancer.png
new file mode 100644
index 0000000..af301b3
Binary files /dev/null and b/src/assets/customer/esophageal_cancer.png differ
diff --git a/src/assets/customer/gastric_cancer.png b/src/assets/customer/gastric_cancer.png
new file mode 100644
index 0000000..78d1fe5
Binary files /dev/null and b/src/assets/customer/gastric_cancer.png differ
diff --git a/src/assets/customer/glioma.png b/src/assets/customer/glioma.png
new file mode 100644
index 0000000..3e40fed
Binary files /dev/null and b/src/assets/customer/glioma.png differ
diff --git a/src/assets/customer/liver_cancer.png b/src/assets/customer/liver_cancer.png
new file mode 100644
index 0000000..c8bac07
Binary files /dev/null and b/src/assets/customer/liver_cancer.png differ
diff --git a/src/assets/customer/lung_cancer.png b/src/assets/customer/lung_cancer.png
new file mode 100644
index 0000000..6573647
Binary files /dev/null and b/src/assets/customer/lung_cancer.png differ
diff --git a/src/assets/customer/ovarian_cancer.png b/src/assets/customer/ovarian_cancer.png
new file mode 100644
index 0000000..88adbbf
Binary files /dev/null and b/src/assets/customer/ovarian_cancer.png differ
diff --git a/src/assets/customer/pancreatic_cancer.png b/src/assets/customer/pancreatic_cancer.png
new file mode 100644
index 0000000..b149522
Binary files /dev/null and b/src/assets/customer/pancreatic_cancer.png differ
diff --git a/src/assets/customer/prostatic_cancer.png b/src/assets/customer/prostatic_cancer.png
new file mode 100644
index 0000000..87a6bd5
Binary files /dev/null and b/src/assets/customer/prostatic_cancer.png differ
diff --git a/src/assets/customer/renal_carcinoma.png b/src/assets/customer/renal_carcinoma.png
new file mode 100644
index 0000000..7a2f3ed
Binary files /dev/null and b/src/assets/customer/renal_carcinoma.png differ
diff --git a/src/assets/customer/thyroid_cancer.png b/src/assets/customer/thyroid_cancer.png
new file mode 100644
index 0000000..9f4d114
Binary files /dev/null and b/src/assets/customer/thyroid_cancer.png differ
diff --git a/src/assets/customer/xiaozheng.png b/src/assets/customer/xiaozheng.png
deleted file mode 100644
index f69e5c6..0000000
Binary files a/src/assets/customer/xiaozheng.png and /dev/null differ
diff --git a/src/views/customer/edit.vue b/src/views/customer/edit.vue
index b9b5ef9..85444bd 100644
--- a/src/views/customer/edit.vue
+++ b/src/views/customer/edit.vue
@@ -103,6 +103,7 @@ const state = reactive({
// 打开弹窗
const openDialog = (row: any) => {
state.ruleForm = JSON.parse(JSON.stringify(row));
+ fileList.value = [];
state.isShowDialog = true;
ruleFormRef.value?.resetFields();
};
@@ -122,6 +123,7 @@ const closeDialog = () => {
const handleAvatarSuccess: UploadProps['onSuccess'] = (
response
) => {
+ // console.log(888, response);
state.ruleForm.imageUrl = response?.result?.url;
}
// 取消
diff --git a/src/views/customer/editGenetic.vue b/src/views/customer/editGenetic.vue
new file mode 100644
index 0000000..cd685f6
--- /dev/null
+++ b/src/views/customer/editGenetic.vue
@@ -0,0 +1,267 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/customer/index.vue b/src/views/customer/index.vue
index 9dcad21..6da601d 100644
--- a/src/views/customer/index.vue
+++ b/src/views/customer/index.vue
@@ -15,7 +15,7 @@
- 新增
+ 新增
@@ -38,7 +38,7 @@
男
-
+
@@ -91,11 +91,12 @@
-
+
- 详情
- 编辑
- 删除
+ 新增报告
+ 详情
+ 编辑
+ 删除
@@ -113,12 +114,14 @@
+
@@ -199,8 +268,14 @@ defineExpose({ openDrawer });
.cursor-info .el-drawer__body {
background: #f8f9fa;
}
+.info-dialog .el-dialog__title {
+ color: #fff;
+}