See999 4 yıl önce
ebeveyn
işleme
1bc64cb422

+ 26 - 3
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Dosyayı Görüntüle

@@ -171,7 +171,8 @@
171 171
       @close="resetDialog"
172 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 176
         <el-button
176 177
           round
177 178
           @click="openLast(1)"
@@ -183,7 +184,7 @@
183 184
           @click="openNext(2)"
184 185
         >下一方
185 186
         </el-button>
186
-      </div>
187
+      </div> -->
187 188
 
188 189
       <div class="txsj" v-show="showAdvicePanel">
189 190
         <el-button
@@ -561,6 +562,21 @@
561 562
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
562 563
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
563 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 580
       <!-- 医嘱表单 end -->
565 581
     </el-dialog>
566 582
     <el-dialog
@@ -619,6 +635,7 @@
619 635
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
620 636
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
621 637
   import { uParseTime } from '@/utils/tools'
638
+  import { parseTime } from '@/utils'
622 639
   import {
623 640
     CheckDoctorAdvice,
624 641
     CreateDoctorAdvice,
@@ -2247,7 +2264,13 @@
2247 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 2275
     created() {
2253 2276
       var date = this.$route.query && this.$route.query.date