|
@@ -596,7 +596,10 @@ export default {
|
596
|
596
|
isEdit: 0,
|
597
|
597
|
index: 0,
|
598
|
598
|
id: 0,
|
599
|
|
- children: []
|
|
599
|
+ children: [],
|
|
600
|
+ drug_id:"",
|
|
601
|
+ way:"",
|
|
602
|
+ drug_name_id:"",
|
600
|
603
|
},
|
601
|
604
|
submitGroupForm: {
|
602
|
605
|
advice_type: "",
|
|
@@ -605,7 +608,10 @@ export default {
|
605
|
608
|
adviceNames: [],
|
606
|
609
|
advice_doctor: "",
|
607
|
610
|
remark: "",
|
608
|
|
- parent_id: 0
|
|
611
|
+ parent_id: 0,
|
|
612
|
+ drug_name_id:"",
|
|
613
|
+ drug_id:"",
|
|
614
|
+ way:""
|
609
|
615
|
},
|
610
|
616
|
groupForm: {
|
611
|
617
|
advice_type: "",
|
|
@@ -614,7 +620,10 @@ export default {
|
614
|
620
|
adviceNames: [],
|
615
|
621
|
advice_doctor: "",
|
616
|
622
|
remark: "",
|
617
|
|
- parent_id: 0
|
|
623
|
+ parent_id: 0,
|
|
624
|
+ way:"",
|
|
625
|
+ drug_id:"",
|
|
626
|
+ drug_name_id:"",
|
618
|
627
|
},
|
619
|
628
|
adminusername: "",
|
620
|
629
|
selectedTemp: { id: 0, name: "", org_id: 0, list: [], rows: [] },
|
|
@@ -626,7 +635,8 @@ export default {
|
626
|
635
|
current_drug_name:"",
|
627
|
636
|
current_drug_spec: "",
|
628
|
637
|
drug_id: 0,
|
629
|
|
- src_type:""
|
|
638
|
+ src_type:"",
|
|
639
|
+ drug_name_id:0,
|
630
|
640
|
};
|
631
|
641
|
},
|
632
|
642
|
props: {
|
|
@@ -835,33 +845,18 @@ export default {
|
835
|
845
|
.catch(() => {});
|
836
|
846
|
},
|
837
|
847
|
submitNameForm(formName) {
|
838
|
|
- if(typeof(this.nameForm.advice_name) == "string"){
|
839
|
|
-
|
840
|
|
- this.nameForm.advice_name == this.nameForm.advice_name
|
841
|
|
- }
|
842
|
848
|
|
843
|
|
- if(typeof(this.nameForm.advice_name) == "number"){
|
844
|
|
- var drug_name = ""
|
845
|
|
- var name = ""
|
846
|
|
- var way = 0
|
847
|
|
- this.nameForm.drug_id = this.nameForm.advice_name
|
848
|
|
- for(let i=0;i<this.medicals.length;i++){
|
849
|
|
- if(this.nameForm.advice_name == this.medicals[i].id){
|
850
|
|
- name = this.medicals[i].drug_name
|
851
|
|
- way = this.medicals[i].way
|
852
|
|
- }
|
853
|
|
- }
|
854
|
|
- if(way == 1){
|
855
|
|
- drug_name = name
|
856
|
|
- }
|
857
|
|
- if(way == 2){
|
858
|
|
- var arr = name.split("(自备药)")
|
859
|
|
- drug_name = arr[0]
|
860
|
|
- }
|
861
|
|
-
|
862
|
|
- this.nameForm.advice_name = drug_name
|
863
|
|
- this.nameForm.way = way
|
864
|
|
- }
|
|
849
|
+ if(this.src_type == ""){
|
|
850
|
+ this.nameForm.way = 0
|
|
851
|
+ this.nameForm.drug_id = 0
|
|
852
|
+ this.nameForm.drug_name_id = 0
|
|
853
|
+ }
|
|
854
|
+
|
|
855
|
+ if(this.src_type == 2){ //自备药
|
|
856
|
+ var arr = this.nameForm.advice_name.split("(自备药)")
|
|
857
|
+ this.nameForm.advice_name = arr[0]
|
|
858
|
+ }
|
|
859
|
+
|
865
|
860
|
var _this = this;
|
866
|
861
|
this.$refs[formName].validate(valid => {
|
867
|
862
|
if (valid) {
|
|
@@ -886,7 +881,11 @@ export default {
|
886
|
881
|
advice_doctor: "",
|
887
|
882
|
remark: _this.groupForm.remark,
|
888
|
883
|
parent_id: _this.groupSelectRow.parent_id,
|
889
|
|
- groupno: _this.groupForm.groupno
|
|
884
|
+ groupno: _this.groupForm.groupno,
|
|
885
|
+ drug_name_id:_this.groupForm.drug_name_id,
|
|
886
|
+ drug_id:_this.groupForm.drug_id,
|
|
887
|
+ way:_this.groupForm.way,
|
|
888
|
+
|
890
|
889
|
};
|
891
|
890
|
let mode = "2";
|
892
|
891
|
if (
|
|
@@ -895,7 +894,8 @@ export default {
|
895
|
894
|
) {
|
896
|
895
|
mode = "3";
|
897
|
896
|
}
|
898
|
|
-
|
|
897
|
+ console.log("22222",submitForm)
|
|
898
|
+
|
899
|
899
|
EditDoctorAdvice(
|
900
|
900
|
this.patientID,
|
901
|
901
|
this.groupSelectRow.id,
|
|
@@ -920,6 +920,7 @@ export default {
|
920
|
920
|
_this.groupSelectRow.id == _this.adviceTableData[index].id
|
921
|
921
|
) {
|
922
|
922
|
var advice = response.data.data.advice;
|
|
923
|
+
|
923
|
924
|
_this.adviceTableData[index].drug_spec = advice.drug_spec;
|
924
|
925
|
_this.adviceTableData[index].drug_spec_unit =
|
925
|
926
|
advice.drug_spec_unit;
|
|
@@ -938,8 +939,10 @@ export default {
|
938
|
939
|
advice.execution_frequency;
|
939
|
940
|
_this.adviceTableData[index].prescribing_number =
|
940
|
941
|
advice.prescribing_number;
|
941
|
|
- _this.adviceTableData[index].prescribing_number_unit =
|
942
|
|
- advice.prescribing_number_unit;
|
|
942
|
+ _this.adviceTableData[index].prescribing_number_unit =advice.prescribing_number_unit;
|
|
943
|
+ _this.adviceTableData[index].drug_name_id = advice.drug_name_id;
|
|
944
|
+ _this.adviceTableData[index].drug_id = advice.drug_id,
|
|
945
|
+ _this.adviceTableData[index].way = advice.way
|
943
|
946
|
break;
|
944
|
947
|
}
|
945
|
948
|
}
|
|
@@ -984,13 +987,11 @@ export default {
|
984
|
987
|
j
|
985
|
988
|
].prescribing_number_unit =
|
986
|
989
|
_this.nameForm.prescribing_number_unit;
|
987
|
|
- _this.groupForm.adviceNames[index].children[
|
988
|
|
- j
|
989
|
|
- ].delivery_way = _this.nameForm.delivery_way;
|
990
|
|
- _this.groupForm.adviceNames[index].children[
|
991
|
|
- j
|
992
|
|
- ].execution_frequency =
|
993
|
|
- _this.nameForm.execution_frequency;
|
|
990
|
+ _this.groupForm.adviceNames[index].children[j].delivery_way = _this.nameForm.delivery_way;
|
|
991
|
+ _this.groupForm.adviceNames[index].children[j].execution_frequency =_this.nameForm.execution_frequency;
|
|
992
|
+ _this.groupForm.adviceNames[index].children[j].drug_id =_this.nameForm.drug_id;
|
|
993
|
+ _this.groupForm.adviceNames[index].children[j].drug_name_id =_this.nameForm.drug_name_id;
|
|
994
|
+ _this.groupForm.adviceNames[index].children[j].way =_this.nameForm.way;
|
994
|
995
|
_this.$set(
|
995
|
996
|
_this.groupForm.adviceNames[index].children,
|
996
|
997
|
j,
|
|
@@ -1027,9 +1028,10 @@ export default {
|
1027
|
1028
|
_this.nameForm.prescribing_number_unit;
|
1028
|
1029
|
_this.groupForm.adviceNames[index].delivery_way =
|
1029
|
1030
|
_this.nameForm.delivery_way;
|
1030
|
|
- _this.groupForm.adviceNames[index].execution_frequency =
|
1031
|
|
- _this.nameForm.execution_frequency;
|
1032
|
|
-
|
|
1031
|
+ _this.groupForm.adviceNames[index].execution_frequency =_this.nameForm.execution_frequency;
|
|
1032
|
+ _this.groupForm.adviceNames[index].drug_name_id =_this.nameForm.drug_name_id;
|
|
1033
|
+ _this.groupForm.adviceNames[index].drug_id =_this.nameForm.drug_id;
|
|
1034
|
+ _this.groupForm.adviceNames[index].way =_this.nameForm.way;
|
1033
|
1035
|
_this.$set(
|
1034
|
1036
|
_this.groupForm.adviceNames,
|
1035
|
1037
|
index,
|
|
@@ -1057,6 +1059,9 @@ export default {
|
1057
|
1059
|
prescribing_number_unit: _this.nameForm.prescribing_number_unit,
|
1058
|
1060
|
delivery_way: _this.nameForm.delivery_way,
|
1059
|
1061
|
execution_frequency: _this.nameForm.execution_frequency,
|
|
1062
|
+ drug_name_id:_this.nameForm.drug_name_id,
|
|
1063
|
+ drug_id:_this.nameForm.drug_id,
|
|
1064
|
+ way:_this.nameForm.way,
|
1060
|
1065
|
isEdit: 0,
|
1061
|
1066
|
id: 0,
|
1062
|
1067
|
advice_doctor: "",
|
|
@@ -1153,6 +1158,9 @@ export default {
|
1153
|
1158
|
_this.nameForm.prescribing_number_unit,
|
1154
|
1159
|
delivery_way: _this.nameForm.delivery_way,
|
1155
|
1160
|
execution_frequency: _this.nameForm.execution_frequency,
|
|
1161
|
+ drug_name_id:_this.nameForm.drug_name_id,
|
|
1162
|
+ drug_id:_this.nameForm.drug_id,
|
|
1163
|
+ way:_this.nameForm.way,
|
1156
|
1164
|
isEdit: 0,
|
1157
|
1165
|
id: 0,
|
1158
|
1166
|
children: [],
|
|
@@ -1245,6 +1253,9 @@ export default {
|
1245
|
1253
|
groups[index].prescribing_number_unit,
|
1246
|
1254
|
delivery_way: groups[index].delivery_way,
|
1247
|
1255
|
execution_frequency: groups[index].execution_frequency,
|
|
1256
|
+ drug_name_id:groups[index].drug_name_id,
|
|
1257
|
+ drug_id:groups[index].drug_id,
|
|
1258
|
+ way:groups[index].way,
|
1248
|
1259
|
isEdit: 0,
|
1249
|
1260
|
index: 0,
|
1250
|
1261
|
id: groups[index].id,
|
|
@@ -1268,8 +1279,10 @@ export default {
|
1268
|
1279
|
prescribing_number_unit:
|
1269
|
1280
|
childMap[item.id][key].prescribing_number_unit,
|
1270
|
1281
|
delivery_way: childMap[item.id][key].delivery_way,
|
1271
|
|
- execution_frequency:
|
1272
|
|
- childMap[item.id][key].execution_frequency,
|
|
1282
|
+ execution_frequency:childMap[item.id][key].execution_frequency,
|
|
1283
|
+ drug_name_id:childMap[item.id][key].drug_name_id,
|
|
1284
|
+ drug_id:childMap[item.id][key].drug_id,
|
|
1285
|
+ way:childMap[item.id][key].way,
|
1273
|
1286
|
isEdit: 0,
|
1274
|
1287
|
index: 0,
|
1275
|
1288
|
id: childMap[item.id][key].id,
|
|
@@ -1322,7 +1335,10 @@ export default {
|
1322
|
1335
|
index: 0,
|
1323
|
1336
|
children: [],
|
1324
|
1337
|
parent_row: this.groupSelectRow.row_key,
|
1325
|
|
- id: 0
|
|
1338
|
+ id: 0,
|
|
1339
|
+ drug_name_id:"",
|
|
1340
|
+ way:"",
|
|
1341
|
+ drug_id:"",
|
1326
|
1342
|
};
|
1327
|
1343
|
this.isChild = true;
|
1328
|
1344
|
this.nameFormVisible = true;
|
|
@@ -1358,14 +1374,15 @@ export default {
|
1358
|
1374
|
: "",
|
1359
|
1375
|
prescribing_number_unit: this.groupSelectRow.prescribing_number_unit,
|
1360
|
1376
|
delivery_way: this.isChild ? "" : this.groupSelectRow.delivery_way,
|
1361
|
|
- execution_frequency: this.isChild
|
1362
|
|
- ? ""
|
1363
|
|
- : this.groupSelectRow.execution_frequency,
|
|
1377
|
+ execution_frequency: this.isChild? "": this.groupSelectRow.execution_frequency,
|
|
1378
|
+ drug_name_id:this.isChild?"":this.groupSelectRow.drug_name_id,
|
|
1379
|
+ drug_id:this.isChild?"":this.groupSelectRow.drug_id,
|
|
1380
|
+ way:this.isChild?"":this.groupSelectRow.way,
|
1364
|
1381
|
isEdit: 1,
|
1365
|
1382
|
index: this.groupSelectRow.index,
|
1366
|
1383
|
id: this.groupSelectRow.id,
|
1367
|
1384
|
children: [],
|
1368
|
|
- parent_row: this.groupSelectRow.parent_row
|
|
1385
|
+ parent_row: this.groupSelectRow.parent_row,
|
1369
|
1386
|
// row_key:this.groupSelectRow.row_key,
|
1370
|
1387
|
};
|
1371
|
1388
|
this.nameFormTitle = "修改医嘱内容";
|
|
@@ -1382,6 +1399,9 @@ export default {
|
1382
|
1399
|
prescribing_number_unit: "",
|
1383
|
1400
|
delivery_way: "",
|
1384
|
1401
|
execution_frequency: "",
|
|
1402
|
+ drug_name_id:"",
|
|
1403
|
+ drug_id:"",
|
|
1404
|
+ way:"",
|
1385
|
1405
|
isEdit: 0,
|
1386
|
1406
|
index: 0,
|
1387
|
1407
|
id: 0,
|
|
@@ -1549,8 +1569,10 @@ export default {
|
1549
|
1569
|
delivery_way: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[
|
1550
|
1570
|
index
|
1551
|
1571
|
].delivery_way,
|
1552
|
|
- execution_frequency: this.adviceTemplateMaps[mapid]
|
1553
|
|
- .DoctorAdviceTemplate[index].execution_frequency,
|
|
1572
|
+ execution_frequency: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].execution_frequency,
|
|
1573
|
+ drug_name_id: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].drug_name_id,
|
|
1574
|
+ way: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].way,
|
|
1575
|
+ drug_id: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].drug_id,
|
1554
|
1576
|
advice_id: this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[
|
1555
|
1577
|
index
|
1556
|
1578
|
].id,
|
|
@@ -1587,6 +1609,9 @@ export default {
|
1587
|
1609
|
prescribing_number_unit: children[key].prescribing_number_unit,
|
1588
|
1610
|
delivery_way: children[key].delivery_way,
|
1589
|
1611
|
execution_frequency: children[key].execution_frequency,
|
|
1612
|
+ drug_name_id:children[key].drug_name_id,
|
|
1613
|
+ drug_id:children[key].drug_id,
|
|
1614
|
+ way:children[key].way,
|
1590
|
1615
|
isEdit: 0,
|
1591
|
1616
|
id: 0,
|
1592
|
1617
|
children: [],
|
|
@@ -1632,8 +1657,10 @@ export default {
|
1632
|
1657
|
.prescribing_number_unit,
|
1633
|
1658
|
delivery_way:
|
1634
|
1659
|
adviceTemplate.DoctorAdviceTemplate[index].delivery_way,
|
1635
|
|
- execution_frequency:
|
1636
|
|
- adviceTemplate.DoctorAdviceTemplate[index].execution_frequency,
|
|
1660
|
+ execution_frequency:adviceTemplate.DoctorAdviceTemplate[index].execution_frequency,
|
|
1661
|
+ drug_name_id:adviceTemplate.DoctorAdviceTemplate[index].drug_name_id,
|
|
1662
|
+ drug_id:adviceTemplate.DoctorAdviceTemplate[index].drug_id,
|
|
1663
|
+ way:adviceTemplate.DoctorAdviceTemplate[index].way,
|
1637
|
1664
|
advice_id: adviceTemplate.DoctorAdviceTemplate[index].id,
|
1638
|
1665
|
selection: adviceTemplate.DoctorAdviceTemplate[index].selection,
|
1639
|
1666
|
isEdit: 0,
|
|
@@ -1664,6 +1691,9 @@ export default {
|
1664
|
1691
|
children[key].prescribing_number_unit,
|
1665
|
1692
|
delivery_way: children[key].delivery_way,
|
1666
|
1693
|
execution_frequency: children[key].execution_frequency,
|
|
1694
|
+ drug_name_id: children[key].drug_name_id,
|
|
1695
|
+ drug_id:children[key].drug_id,
|
|
1696
|
+ way:children[key].way,
|
1667
|
1697
|
isEdit: 0,
|
1668
|
1698
|
id: 0,
|
1669
|
1699
|
children: [],
|
|
@@ -1720,8 +1750,10 @@ export default {
|
1720
|
1750
|
prescribing_number_unit: this.allSelectedTemplate[index]
|
1721
|
1751
|
.prescribing_number_unit,
|
1722
|
1752
|
delivery_way: this.allSelectedTemplate[index].delivery_way,
|
1723
|
|
- execution_frequency: this.allSelectedTemplate[index]
|
1724
|
|
- .execution_frequency,
|
|
1753
|
+ execution_frequency: this.allSelectedTemplate[index].execution_frequency,
|
|
1754
|
+ drug_name_id: this.allSelectedTemplate[index].drug_name_id,
|
|
1755
|
+ way:this.allSelectedTemplate[index].way,
|
|
1756
|
+ drug_id:this.allSelectedTemplate[index].drug_id,
|
1725
|
1757
|
isEdit: 0,
|
1726
|
1758
|
id: 0,
|
1727
|
1759
|
children: [],
|
|
@@ -1745,6 +1777,9 @@ export default {
|
1745
|
1777
|
prescribing_number_unit: children[key].prescribing_number_unit,
|
1746
|
1778
|
delivery_way: children[key].delivery_way,
|
1747
|
1779
|
execution_frequency: children[key].execution_frequency,
|
|
1780
|
+ drug_name_id: children[key].drug_name_id,
|
|
1781
|
+ drug_id:children[key].drug_id,
|
|
1782
|
+ way:children[key].way,
|
1748
|
1783
|
isEdit: 0,
|
1749
|
1784
|
id: 0,
|
1750
|
1785
|
children: [],
|
|
@@ -1832,6 +1867,9 @@ export default {
|
1832
|
1867
|
prescribing_number_unit: groups[index].prescribing_number_unit,
|
1833
|
1868
|
delivery_way: groups[index].delivery_way,
|
1834
|
1869
|
execution_frequency: groups[index].execution_frequency,
|
|
1870
|
+ drug_name_id: groups[index].drug_name_id,
|
|
1871
|
+ drug_id:groups[index].drug_id,
|
|
1872
|
+ way:groups[index].way,
|
1835
|
1873
|
isEdit: 0,
|
1836
|
1874
|
index: 0,
|
1837
|
1875
|
id: groups[index].id,
|
|
@@ -1854,8 +1892,10 @@ export default {
|
1854
|
1892
|
prescribing_number_unit:
|
1855
|
1893
|
childMap[item.id][key].prescribing_number_unit,
|
1856
|
1894
|
delivery_way: childMap[item.id][key].delivery_way,
|
1857
|
|
- execution_frequency:
|
1858
|
|
- childMap[item.id][key].execution_frequency,
|
|
1895
|
+ execution_frequency:childMap[item.id][key].execution_frequency,
|
|
1896
|
+ way:childMap[item.id][key].way,
|
|
1897
|
+ drug_name_id:childMap[item.id][key].drug_name_id,
|
|
1898
|
+ drug_id:childMap[item.id][key].drug_id,
|
1859
|
1899
|
isEdit: 0,
|
1860
|
1900
|
index: 0,
|
1861
|
1901
|
id: childMap[item.id][key].id,
|
|
@@ -1923,9 +1963,10 @@ export default {
|
1923
|
1963
|
delivery_way:
|
1924
|
1964
|
_this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index]
|
1925
|
1965
|
.delivery_way,
|
1926
|
|
- execution_frequency:
|
1927
|
|
- _this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index]
|
1928
|
|
- .execution_frequency,
|
|
1966
|
+ execution_frequency:_this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].execution_frequency,
|
|
1967
|
+ drug_name_id: _this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].drug_name_id,
|
|
1968
|
+ drug_id: _this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].drug_id,
|
|
1969
|
+ way:_this.adviceTemplateMaps[mapid].DoctorAdviceTemplate[index].way,
|
1929
|
1970
|
isEdit: 0,
|
1930
|
1971
|
id: 0,
|
1931
|
1972
|
children: [],
|
|
@@ -1956,6 +1997,9 @@ export default {
|
1956
|
1997
|
children[key].prescribing_number_unit,
|
1957
|
1998
|
delivery_way: children[key].delivery_way,
|
1958
|
1999
|
execution_frequency: children[key].execution_frequency,
|
|
2000
|
+ drug_name_id: children[key].drug_name_id,
|
|
2001
|
+ drug_id: children[key].drug_id,
|
|
2002
|
+ way:children[key].way,
|
1959
|
2003
|
isEdit: 0,
|
1960
|
2004
|
id: 0,
|
1961
|
2005
|
children: [],
|
|
@@ -2049,6 +2093,9 @@ export default {
|
2049
|
2093
|
groups[index].prescribing_number_unit,
|
2050
|
2094
|
delivery_way: groups[index].delivery_way,
|
2051
|
2095
|
execution_frequency: groups[index].execution_frequency,
|
|
2096
|
+ drug_name_id:groups[index].drug_name_id,
|
|
2097
|
+ drug_id:groups[index].drug_id,
|
|
2098
|
+ way:groups[index].way,
|
2052
|
2099
|
isEdit: 0,
|
2053
|
2100
|
index: 0,
|
2054
|
2101
|
id: groups[index].id,
|
|
@@ -2072,8 +2119,10 @@ export default {
|
2072
|
2119
|
prescribing_number_unit:
|
2073
|
2120
|
childMap[item.id][key].prescribing_number_unit,
|
2074
|
2121
|
delivery_way: childMap[item.id][key].delivery_way,
|
2075
|
|
- execution_frequency:
|
2076
|
|
- childMap[item.id][key].execution_frequency,
|
|
2122
|
+ execution_frequency:childMap[item.id][key].execution_frequency,
|
|
2123
|
+ drug_name_id:childMap[item.id][key].drug_name_id,
|
|
2124
|
+ drug_id:childMap[item.id][key].drug_id,
|
|
2125
|
+ way:childMap[item.id][key].way,
|
2077
|
2126
|
isEdit: 0,
|
2078
|
2127
|
index: 0,
|
2079
|
2128
|
id: childMap[item.id][key].id,
|
|
@@ -2107,6 +2156,7 @@ export default {
|
2107
|
2156
|
this.templateFormVisible = true;
|
2108
|
2157
|
},
|
2109
|
2158
|
selectGroupAdvice(row) {
|
|
2159
|
+ console.log('row',row)
|
2110
|
2160
|
this.groupSelectRow = row;
|
2111
|
2161
|
},
|
2112
|
2162
|
groupClassName({ row, rowIndex }) {
|
|
@@ -2176,6 +2226,9 @@ export default {
|
2176
|
2226
|
prescribing_number_unit: groups[index].prescribing_number_unit,
|
2177
|
2227
|
delivery_way: groups[index].delivery_way,
|
2178
|
2228
|
execution_frequency: groups[index].execution_frequency,
|
|
2229
|
+ drug_name_id:groups[index].drug_name_id,
|
|
2230
|
+ drug_id:groups[index].drug_id,
|
|
2231
|
+ way:groups[index].way,
|
2179
|
2232
|
isEdit: 0,
|
2180
|
2233
|
index: 0,
|
2181
|
2234
|
id: groups[index].id,
|
|
@@ -2200,6 +2253,9 @@ export default {
|
2200
|
2253
|
childMap[item.id][key].prescribing_number_unit,
|
2201
|
2254
|
delivery_way: childMap[item.id][key].delivery_way,
|
2202
|
2255
|
execution_frequency: childMap[item.id][key].execution_frequency,
|
|
2256
|
+ drug_name_id: childMap[item.id][key].drug_name_id,
|
|
2257
|
+ drug_id: childMap[item.id][key].drug_id,
|
|
2258
|
+ way: childMap[item.id][key].way,
|
2203
|
2259
|
isEdit: 0,
|
2204
|
2260
|
index: 0,
|
2205
|
2261
|
id: childMap[item.id][key].id,
|
|
@@ -2340,6 +2396,8 @@ export default {
|
2340
|
2396
|
this.src_type = this.drugSpec[i].type
|
2341
|
2397
|
this.nameForm.drug_id = this.drugSpec[i].id
|
2342
|
2398
|
this.nameForm.way = this.drugSpec[i].type
|
|
2399
|
+ this.drug_name_id = this.drugSpec[i].drug_name_id
|
|
2400
|
+ this.nameForm.drug_name_id = this.drugSpec[i].drug_name_id
|
2343
|
2401
|
}
|
2344
|
2402
|
}
|
2345
|
2403
|
},
|