李帅 2 maanden geleden
bovenliggende
commit
599bf38c05

BIN
src/assets/images/背景牙.png


+ 1 - 1
src/utils/request.js

@@ -18,7 +18,6 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
18 18
 const service = axios.create({
19 19
   baseURL: process.env.VUE_APP_BASE_API,
20 20
   // baseURL: "http://39.105.121.97:8080/api",
21
-  // baseURL: "http://39.105.121.97:8080/api",
22 21
   
23 22
   // axios中请求配置有baseURL选项,表示请求URL公共部分
24 23
   // baseURL: "http://192.168.3.142:8081/api",
@@ -32,6 +31,7 @@ const service = axios.create({
32 31
 
33 32
 // request拦截器
34 33
 service.interceptors.request.use(config => {
34
+  // console.log(config,"configconfig");
35 35
   if(config.url.startsWith("/chat/getMsg") || config.url.startsWith("/diagnosis-manage/page")){
36 36
   }else {
37 37
     // 在发送请求之前显示loading

+ 3 - 2
src/views/patientCenter/index.vue

@@ -863,6 +863,7 @@ export default {
863 863
     async initDetail(id) {
864 864
       const res = await patientDetail({ id })
865 865
       this.tableForm = res.data
866
+      console.log(res.data,"res.data");
866 867
       this.$forceUpdate()
867 868
     },
868 869
     selectClick(val, index) {
@@ -1116,7 +1117,7 @@ export default {
1116 1117
         (item) => item.toothPosition != this.yaKey
1117 1118
       )
1118 1119
 
1119
-      
1120
+      console.log(list,123213);
1120 1121
       this.yaAllList.push({
1121 1122
         toothPosition: this.yaKey,
1122 1123
         toothStatus: 2,
@@ -1124,7 +1125,7 @@ export default {
1124 1125
         flag2:false,
1125 1126
         flag3:false, 
1126 1127
         status: 10,
1127
-        ...list
1128
+        ...list,
1128 1129
       })
1129 1130
 
1130 1131
 

+ 1 - 1
src/views/patientCenter/medical/index.vue

@@ -235,7 +235,7 @@ export default {
235 235
       console.log(this.list, 'this.list');
236 236
     },
237 237
     doDetail(val){
238
-      // console.log(val);
238
+      console.log(val);
239 239
       let obj = JSON.parse(JSON.stringify(val))
240 240
       this.$emit('doDetail', obj)
241 241
     },

+ 7 - 2
src/views/patientCenter/medical/yaChi.vue

@@ -3480,12 +3480,17 @@ export default {
3480 3480
       })
3481 3481
         .then(async () => {
3482 3482
           let obj = {}
3483
-
3483
+          console.log(this.tagList,'this.allList');
3484 3484
           if (this.updateId) {
3485 3485
             this.tagList.forEach((item) => {
3486 3486
                 item.toothPosition = item.toothPosition
3487
+                if(item.mainDiagnosisId) {
3487 3488
                 item.diagnosisManageId = item.mainDiagnosisId
3488
-                item.diagnosisTypeTemplateId = item.diagnosisTypeTemplateId
3489
+                item.diagnosisTypeTemplateId = item.id
3490
+                }else {
3491
+                  item.diagnosisManageId = item.diagnosisManageId
3492
+                  item.diagnosisTypeTemplateId = item.diagnosisTypeTemplateId
3493
+                }
3489 3494
             })
3490 3495
             console.log(this.allList,this.tagList,'this.allList');
3491 3496