|
@@ -1311,8 +1311,8 @@
|
1311
|
1311
|
}
|
1312
|
1312
|
|
1313
|
1313
|
var templength = 0
|
1314
|
|
- if (this.doctor_advices.length > 14) {
|
1315
|
|
- templength = 14
|
|
1314
|
+ if (this.doctor_advices.length > 12) {
|
|
1315
|
+ templength = 12
|
1316
|
1316
|
} else {
|
1317
|
1317
|
templength = this.doctor_advices.length
|
1318
|
1318
|
}
|
|
@@ -1356,14 +1356,14 @@
|
1356
|
1356
|
if (group.group_no == advice.groupno) {
|
1357
|
1357
|
group.advices.push(advice)
|
1358
|
1358
|
}
|
1359
|
|
- if(index == 13 ) {
|
|
1359
|
+ if(index == 11 ) {
|
1360
|
1360
|
this.advice_groups.push(group)
|
1361
|
1361
|
group = this.newAdviceGroupObject()
|
1362
|
1362
|
}
|
1363
|
1363
|
}
|
1364
|
1364
|
|
1365
|
|
- if(this.doctor_advices.length > 14){
|
1366
|
|
- for (let index = 14; index < this.doctor_advices.length; index++) {
|
|
1365
|
+ if(this.doctor_advices.length > 12){
|
|
1366
|
+ for (let index = 12; index < this.doctor_advices.length; index++) {
|
1367
|
1367
|
const advice = this.doctor_advices[index]
|
1368
|
1368
|
if (advice.groupno == 0) {
|
1369
|
1369
|
// 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
|