File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ const div_drg = document.createElement('div');
2828div_drg . classList . add ( 'red' ) ;
2929const div_pay = document . createElement ( 'div' ) ;
3030const div_msg = document . createElement ( 'div' ) ;
31- div_result . appendChild ( div_record ) ;
3231div_result . appendChild ( document . createElement ( 'br' ) ) ;
32+ div_result . appendChild ( div_record ) ;
33+ div_result . appendChild ( div_msg ) ;
3334div_result . appendChild ( div_drg ) ;
3435div_result . appendChild ( div_pay ) ;
35- div_result . appendChild ( div_msg ) ;
3636div_grouper . appendChild ( div_input ) ;
3737div_grouper . appendChild ( div_result ) ;
3838document . body . appendChild ( div_grouper ) ;
@@ -52,11 +52,10 @@ function click() {
5252 result . then ( x => {
5353 Payment . then ( y => {
5454 div_record . innerHTML = 'record=' + JSON . stringify ( x . record ) ;
55+ buildList ( div_msg , x . messages ) ;
5556 let payment = y [ x . drg ] ;
5657 div_drg . innerHTML = x . drg + '-' + payment [ 'DRG名称' ] ;
57- buildTable ( div_pay , payment ) ;
58- buildList ( div_msg , x . messages ) ;
59-
58+ buildTable ( div_pay , payment ) ;
6059 } )
6160 } ) ;
6261}
You can’t perform that action at this time.
0 commit comments