|
@@ -239,6 +239,8 @@ func (this *RoleAPIController) EditPurviewInitData() {
|
239
|
239
|
_, _, GongjuPurview := service.GetOtherAllGeneralPurviewVMsProcessed("/hisTool")
|
240
|
240
|
_, _, ShoufeiPurview := service.GetOtherAllGeneralPurviewVMsProcessed("/hospitalCharges")
|
241
|
241
|
|
|
242
|
+ _, _, FapiaoPurview := service.GetOtherAllGeneralPurviewVMsProcessed("/eleFaPiao")
|
|
243
|
+
|
242
|
244
|
_, _, outpatientRegistrationPurview := service.GetOtherAllGeneralPurviewVMsProcessed("/outpatientRegistration/index")
|
243
|
245
|
|
244
|
246
|
_, _, outpatientRegistrationPurviewTwo := service.GetOtherAllGeneralPurviewVMsProcessed("/outpatientDoctorStation")
|
|
@@ -283,6 +285,7 @@ func (this *RoleAPIController) EditPurviewInitData() {
|
283
|
285
|
subPurviewTreeViewModelFive := []*service.PurviewTreeViewModel{}
|
284
|
286
|
subGongJuPurviewTreeViewModel := []*service.PurviewTreeViewModel{}
|
285
|
287
|
subShouFeiPurviewTreeViewModel := []*service.PurviewTreeViewModel{}
|
|
288
|
+ subFaPiaoPurviewTreeViewModel := []*service.PurviewTreeViewModel{}
|
286
|
289
|
|
287
|
290
|
for _, item := range YajinPurview {
|
288
|
291
|
temp := &service.PurviewTreeViewModel{
|
|
@@ -324,6 +327,16 @@ func (this *RoleAPIController) EditPurviewInitData() {
|
324
|
327
|
subGongJuPurviewTreeViewModel = append(subGongJuPurviewTreeViewModel, temp)
|
325
|
328
|
}
|
326
|
329
|
|
|
330
|
+ for _, item := range FapiaoPurview {
|
|
331
|
+ temp := &service.PurviewTreeViewModel{
|
|
332
|
+ ID: item.Id,
|
|
333
|
+ PID: item.Parentid,
|
|
334
|
+ Name: item.Name,
|
|
335
|
+ Number: 1,
|
|
336
|
+ }
|
|
337
|
+ subFaPiaoPurviewTreeViewModel = append(subFaPiaoPurviewTreeViewModel, temp)
|
|
338
|
+ }
|
|
339
|
+
|
327
|
340
|
for _, item := range ShoufeiPurview {
|
328
|
341
|
temp := &service.PurviewTreeViewModel{
|
329
|
342
|
ID: item.Id,
|
|
@@ -439,6 +452,11 @@ func (this *RoleAPIController) EditPurviewInitData() {
|
439
|
452
|
|
440
|
453
|
item.Childs = append(item.Childs, subGongJuPurviewTreeViewModel...)
|
441
|
454
|
}
|
|
455
|
+
|
|
456
|
+ if item.Name == "电子发票" {
|
|
457
|
+
|
|
458
|
+ item.Childs = append(item.Childs, subFaPiaoPurviewTreeViewModel...)
|
|
459
|
+ }
|
442
|
460
|
}
|
443
|
461
|
|
444
|
462
|
//电子病历
|