|
@@ -1359,6 +1359,7 @@
|
1359
|
1359
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
1360
|
1360
|
id: prescription.advices[b].drug_id,
|
1361
|
1361
|
drug: prescription.advices[b].drug,
|
|
1362
|
+ groupno: prescription.advices[b].groupno
|
1362
|
1363
|
|
1363
|
1364
|
|
1364
|
1365
|
};
|
|
@@ -1382,7 +1383,9 @@
|
1382
|
1383
|
remark: prescription.project[b].remark,
|
1383
|
1384
|
medical_code: prescription.project[b].project.medical_code,
|
1384
|
1385
|
unit: prescription.project[b].project.unit,
|
1385
|
|
- type: prescription.project[b].type
|
|
1386
|
+ type: prescription.project[b].type,
|
|
1387
|
+ groupno: prescription.advices[b].groupno
|
|
1388
|
+
|
1386
|
1389
|
};
|
1387
|
1390
|
|
1388
|
1391
|
if(prescription.project[b].type == 2){
|
|
@@ -1449,8 +1452,11 @@
|
1449
|
1452
|
let tempProject = [];
|
1450
|
1453
|
let tempAddition = [];
|
1451
|
1454
|
|
|
1455
|
+
|
|
1456
|
+
|
1452
|
1457
|
//药品
|
1453
|
1458
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
1459
|
+ let index = b + 1
|
1454
|
1460
|
let obj = {
|
1455
|
1461
|
advice_id:0,
|
1456
|
1462
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -1465,7 +1471,9 @@
|
1465
|
1471
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
1466
|
1472
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
1467
|
1473
|
id: prescription.advices[b].drug_id,
|
1468
|
|
- drug:prescription.advices[b].drug
|
|
1474
|
+ drug:prescription.advices[b].drug,
|
|
1475
|
+ groupno:index,
|
|
1476
|
+
|
1469
|
1477
|
};
|
1470
|
1478
|
|
1471
|
1479
|
console.log("看看数据6:")
|
|
@@ -1511,7 +1519,9 @@
|
1511
|
1519
|
remark: prescription.project[b].remark,
|
1512
|
1520
|
medical_code: prescription.project[b].project.medical_code,
|
1513
|
1521
|
unit: prescription.project[b].project.unit,
|
1514
|
|
- type: prescription.project[b].type
|
|
1522
|
+ type: prescription.project[b].type,
|
|
1523
|
+
|
|
1524
|
+
|
1515
|
1525
|
};
|
1516
|
1526
|
|
1517
|
1527
|
if (prescription.project[b].type == 2) {
|
|
@@ -1720,7 +1730,9 @@
|
1720
|
1730
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
1721
|
1731
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
1722
|
1732
|
id: prescription.advices[b].drug_id,
|
1723
|
|
- drug:prescription.advices[b].drug
|
|
1733
|
+ drug:prescription.advices[b].drug,
|
|
1734
|
+ groupno: prescription.advices[b].groupno
|
|
1735
|
+
|
1724
|
1736
|
|
1725
|
1737
|
};
|
1726
|
1738
|
tempAdvice.push(obj)
|
|
@@ -1812,6 +1824,7 @@
|
1812
|
1824
|
|
1813
|
1825
|
//药品
|
1814
|
1826
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
1827
|
+ let index = b + 1
|
1815
|
1828
|
let obj = {
|
1816
|
1829
|
advice_id:0,
|
1817
|
1830
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -1826,7 +1839,9 @@
|
1826
|
1839
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
1827
|
1840
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
1828
|
1841
|
id: prescription.advices[b].drug_id,
|
1829
|
|
- drug:prescription.advices[b].drug
|
|
1842
|
+ drug:prescription.advices[b].drug,
|
|
1843
|
+ groupno:index,
|
|
1844
|
+
|
1830
|
1845
|
};
|
1831
|
1846
|
console.log("看看数据1:")
|
1832
|
1847
|
console.log(obj.prescribing_number_unit)
|
|
@@ -1874,7 +1889,8 @@
|
1874
|
1889
|
remark: prescription.project[b].remark,
|
1875
|
1890
|
medical_code: prescription.project[b].project.medical_code,
|
1876
|
1891
|
unit: prescription.project[b].project.unit,
|
1877
|
|
- type: prescription.project[b].type
|
|
1892
|
+ type: prescription.project[b].type,
|
|
1893
|
+
|
1878
|
1894
|
};
|
1879
|
1895
|
|
1880
|
1896
|
if (prescription.project[b].type == 2) {
|
|
@@ -2181,7 +2197,9 @@
|
2181
|
2197
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
2182
|
2198
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
2183
|
2199
|
id: prescription.advices[b].drug_id,
|
2184
|
|
- drug:prescription.advices[b].drug
|
|
2200
|
+ drug:prescription.advices[b].drug,
|
|
2201
|
+ groupno: prescription.advices[b].groupno
|
|
2202
|
+
|
2185
|
2203
|
|
2186
|
2204
|
};
|
2187
|
2205
|
tempAdvice.push(obj)
|
|
@@ -2266,6 +2284,7 @@
|
2266
|
2284
|
|
2267
|
2285
|
//药品
|
2268
|
2286
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
2287
|
+ let index = b + 1
|
2269
|
2288
|
let obj = {
|
2270
|
2289
|
advice_id:0,
|
2271
|
2290
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -2280,7 +2299,9 @@
|
2280
|
2299
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
2281
|
2300
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
2282
|
2301
|
id: prescription.advices[b].drug_id,
|
2283
|
|
- drug:prescription.advices[b].drug
|
|
2302
|
+ drug:prescription.advices[b].drug,
|
|
2303
|
+ groupno: index
|
|
2304
|
+
|
2284
|
2305
|
};
|
2285
|
2306
|
console.log("看看数据2:")
|
2286
|
2307
|
console.log(obj.prescribing_number_unit)
|
|
@@ -2619,7 +2640,10 @@
|
2619
|
2640
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
2620
|
2641
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
2621
|
2642
|
id: prescription.advices[b].drug_id,
|
2622
|
|
- drug:prescription.advices[b].drug
|
|
2643
|
+ drug:prescription.advices[b].drug,
|
|
2644
|
+ groupno: prescription.advices[b].groupno
|
|
2645
|
+
|
|
2646
|
+
|
2623
|
2647
|
|
2624
|
2648
|
};
|
2625
|
2649
|
tempAdvice.push(obj)
|
|
@@ -2704,6 +2728,7 @@
|
2704
|
2728
|
|
2705
|
2729
|
//药品
|
2706
|
2730
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
2731
|
+ let index = b + 1
|
2707
|
2732
|
let obj = {
|
2708
|
2733
|
advice_id:0,
|
2709
|
2734
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -2718,7 +2743,8 @@
|
2718
|
2743
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
2719
|
2744
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
2720
|
2745
|
id: prescription.advices[b].drug_id,
|
2721
|
|
- drug:prescription.advices[b].drug
|
|
2746
|
+ drug:prescription.advices[b].drug,
|
|
2747
|
+ groupno: index
|
2722
|
2748
|
};
|
2723
|
2749
|
console.log("看看数据3:")
|
2724
|
2750
|
console.log(obj.prescribing_number_unit)
|
|
@@ -3115,7 +3141,8 @@
|
3115
|
3141
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
3116
|
3142
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
3117
|
3143
|
id: prescription.advices[b].drug_id,
|
3118
|
|
- drug:prescription.advices[b].drug
|
|
3144
|
+ drug:prescription.advices[b].drug,
|
|
3145
|
+ groupno: prescription.advices[b].groupno
|
3119
|
3146
|
|
3120
|
3147
|
};
|
3121
|
3148
|
tempAdvice.push(obj)
|
|
@@ -3207,6 +3234,7 @@
|
3207
|
3234
|
|
3208
|
3235
|
//药品
|
3209
|
3236
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
3237
|
+ let index = b + 1
|
3210
|
3238
|
let obj = {
|
3211
|
3239
|
advice_id:0,
|
3212
|
3240
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -3221,7 +3249,8 @@
|
3221
|
3249
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
3222
|
3250
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
3223
|
3251
|
id: prescription.advices[b].drug_id,
|
3224
|
|
- drug:prescription.advices[b].drug
|
|
3252
|
+ drug:prescription.advices[b].drug,
|
|
3253
|
+ groupno: index
|
3225
|
3254
|
};
|
3226
|
3255
|
console.log("看看数据4:")
|
3227
|
3256
|
console.log(obj.prescribing_number_unit)
|
|
@@ -3571,7 +3600,8 @@
|
3571
|
3600
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
3572
|
3601
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
3573
|
3602
|
id: prescription.advices[b].drug_id,
|
3574
|
|
- drug:prescription.advices[b].drug
|
|
3603
|
+ drug:prescription.advices[b].drug,
|
|
3604
|
+ groupno: prescription.advices[b].groupno
|
3575
|
3605
|
|
3576
|
3606
|
};
|
3577
|
3607
|
tempAdvice.push(obj)
|
|
@@ -3664,6 +3694,7 @@
|
3664
|
3694
|
|
3665
|
3695
|
//药品
|
3666
|
3696
|
for (let b = 0; b < prescription.advices.length; b++) {
|
|
3697
|
+ let index = b + 1
|
3667
|
3698
|
let obj = {
|
3668
|
3699
|
advice_id:0,
|
3669
|
3700
|
drug_name: prescription.advices[b].advice_name,
|
|
@@ -3678,7 +3709,8 @@
|
3678
|
3709
|
prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
3679
|
3710
|
medical_insurance_number: prescription.advices[b].med_list_codg,
|
3680
|
3711
|
id: prescription.advices[b].drug_id,
|
3681
|
|
- drug:prescription.advices[b].drug
|
|
3712
|
+ drug:prescription.advices[b].drug,
|
|
3713
|
+ groupno: index,
|
3682
|
3714
|
};
|
3683
|
3715
|
console.log("看看数据5:")
|
3684
|
3716
|
console.log(obj.prescribing_number_unit)
|