Sfoglia il codice sorgente

11月7 检验检查

yq1 6 mesi fa
parent
commit
694cad7857
1 ha cambiato i file con 13 aggiunte e 9 eliminazioni
  1. 13 9
      src/xt_pages/user/inspection.vue

+ 13 - 9
src/xt_pages/user/inspection.vue Vedi File

@@ -365,7 +365,7 @@
365 365
                   placeholder="请填入"
366 366
                   v-model="item.value"
367 367
                   style="width:95%"
368
-                
368
+
369 369
                   @input='changeInput(item)'
370 370
                 >
371 371
                   <template slot="append">{{ item.unit }}</template>
@@ -807,8 +807,8 @@ export default {
807 807
           this.form.remind_cycle =""
808 808
         }
809 809
         console.log(this.form.remind_cycle)
810
-         
811
-       
810
+
811
+
812 812
         this.form.formItem = []
813 813
         console.log("hhhhhhhhhhhhh",this.project.inspection_reference)
814 814
         console.log("inspectionsMap",this.inspectionsMap)
@@ -841,7 +841,7 @@ export default {
841 841
             unit: this.project.inspection_reference[index].unit
842 842
           })
843 843
           }
844
-         
844
+
845 845
         }
846 846
         console.log(this.form.formItem)
847 847
         this.dialogFormVisible = true
@@ -1346,11 +1346,12 @@ export default {
1346 1346
                 //  console.log("item[key]",item[key])
1347 1347
                 item[key] = items[index][key]
1348 1348
               }
1349
-              
1350
-              console.log("item=-----------------",item)
1349
+
1350
+              console.log("item=-----------------12",inspectionsMap[items[index].id],inspectionsMap[parseInt(items[index].item_id)])
1351 1351
               if (item.item_id > 0) {
1352
+                console.log('执行0',inspectionsMap);
1352 1353
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1353
-                  if(this.org_id == 10121 || this.org_id ==10138 || this.org_id ==10278 || this.org_id == 10702){
1354
+                  if(this.org_id == 10121 || this.org_id ==10138 || this.org_id ==10278 ){
1354 1355
                     item.value = inspectionsMap[items[index].id].inspect_value
1355 1356
                     item.item_name = inspectionsMap[items[index].id].item_name
1356 1357
                   }else{
@@ -1358,11 +1359,13 @@ export default {
1358 1359
                     item.item_name = ""
1359 1360
                   }
1360 1361
                 } else {
1362
+                  console.log('执行1',inspectionsMap);
1363
+                  
1361 1364
                   item.value = inspectionsMap[items[index].item_id].inspect_value.replace(/&lt;/g, "<").replace(/&gt;/g, ">")
1362 1365
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1363 1366
                 }
1364 1367
 
1365
-                if(this.org_id == 0 || this.org_id ==10191){
1368
+                if(this.org_id ==10191){
1366 1369
                   if(item.project_name == "乙肝定性(五项)"){
1367 1370
                     console.log("金阿迪发到付阿打发")
1368 1371
                     item.value = inspectionsMap[items[index].id].inspect_value
@@ -1373,6 +1376,7 @@ export default {
1373 1376
                 if(typeof(inspectionsMap[parseInt(items[index].id)])  == "undefined"){
1374 1377
                   continue
1375 1378
                 }
1379
+                console.log('执行2',inspectionsMap);
1376 1380
                 item.value = inspectionsMap[items[index].id].inspect_value
1377 1381
                 item.item_name = inspectionsMap[items[index].id].item_name
1378 1382
               }
@@ -1397,7 +1401,7 @@ export default {
1397 1401
               }else{
1398 1402
                 this.items.push(item)
1399 1403
               }
1400
-              
1404
+
1401 1405
               console.log('fffff',this.items);
1402 1406
               if(item.value.indexOf("http") <0){
1403 1407
                 this.isPic = true