See999 4 years ago
parent
commit
1bc64cb422
1 changed files with 26 additions and 3 deletions
  1. 26 3
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue

+ 26 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

171
       @close="resetDialog"
171
       @close="resetDialog"
172
       :modal-append-to-body="false"
172
       :modal-append-to-body="false"
173
     >
173
     >
174
-      <div class="txsj">
174
+    <div style="font-size:16px;">上机时间:{{this.getTime(dialysis_order.start_time,'{h}:{i}')}}</div>
175
+      <!-- <div class="txsj">
175
         <el-button
176
         <el-button
176
           round
177
           round
177
           @click="openLast(1)"
178
           @click="openLast(1)"
183
           @click="openNext(2)"
184
           @click="openNext(2)"
184
         >下一方
185
         >下一方
185
         </el-button>
186
         </el-button>
186
-      </div>
187
+      </div> -->
187
 
188
 
188
       <div class="txsj" v-show="showAdvicePanel">
189
       <div class="txsj" v-show="showAdvicePanel">
189
         <el-button
190
         <el-button
561
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
562
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
562
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
563
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
563
       </div>
564
       </div>
565
+      <div slot="footer" class="dialog-footer" v-show="!showAdviceForm">
566
+        <div class="txsj">
567
+          <el-button
568
+            round
569
+            @click="openLast(1)"
570
+          >上一方
571
+          </el-button>
572
+
573
+          <el-button
574
+            round
575
+            @click="openNext(2)"
576
+          >下一方
577
+          </el-button>
578
+        </div>
579
+      </div>
564
       <!-- 医嘱表单 end -->
580
       <!-- 医嘱表单 end -->
565
     </el-dialog>
581
     </el-dialog>
566
     <el-dialog
582
     <el-dialog
619
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
635
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
620
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
636
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
621
   import { uParseTime } from '@/utils/tools'
637
   import { uParseTime } from '@/utils/tools'
638
+  import { parseTime } from '@/utils'
622
   import {
639
   import {
623
     CheckDoctorAdvice,
640
     CheckDoctorAdvice,
624
     CreateDoctorAdvice,
641
     CreateDoctorAdvice,
2247
           this.GetLastOrNextDoctorAdvice(params)
2264
           this.GetLastOrNextDoctorAdvice(params)
2248
 
2265
 
2249
         }
2266
         }
2250
-      }
2267
+      },
2268
+      getTime(value, temp) {
2269
+        if (value != undefined) {
2270
+          return parseTime(value, temp)
2271
+        }
2272
+        return ''
2273
+      },
2251
     },
2274
     },
2252
     created() {
2275
     created() {
2253
       var date = this.$route.query && this.$route.query.date
2276
       var date = this.$route.query && this.$route.query.date