|
@@ -1286,8 +1286,8 @@
|
1286
|
1286
|
}
|
1287
|
1287
|
|
1288
|
1288
|
var templength = 0
|
1289
|
|
- if (this.doctor_advices.length > 13) {
|
1290
|
|
- templength = 13
|
|
1289
|
+ if (this.doctor_advices.length > 14) {
|
|
1290
|
+ templength = 14
|
1291
|
1291
|
} else {
|
1292
|
1292
|
templength = this.doctor_advices.length
|
1293
|
1293
|
}
|
|
@@ -1331,14 +1331,14 @@
|
1331
|
1331
|
if (group.group_no == advice.groupno) {
|
1332
|
1332
|
group.advices.push(advice)
|
1333
|
1333
|
}
|
1334
|
|
- if(index == 12 ) {
|
|
1334
|
+ if(index == 13 ) {
|
1335
|
1335
|
this.advice_groups.push(group)
|
1336
|
1336
|
group = this.newAdviceGroupObject()
|
1337
|
1337
|
}
|
1338
|
1338
|
}
|
1339
|
1339
|
|
1340
|
|
- if(this.doctor_advices.length > 13){
|
1341
|
|
- for (let index = 13; index < this.doctor_advices.length; index++) {
|
|
1340
|
+ if(this.doctor_advices.length > 14){
|
|
1341
|
+ for (let index = 14; index < this.doctor_advices.length; index++) {
|
1342
|
1342
|
const advice = this.doctor_advices[index]
|
1343
|
1343
|
if (advice.groupno == 0) {
|
1344
|
1344
|
// 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
|