Browse Source

Merge branch '20201014_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201014_pc_vue_new_branch

csx 4 years ago
parent
commit
8cd86e1854
1 changed files with 7 additions and 39 deletions
  1. 7 39
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue

+ 7 - 39
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

@@ -8,7 +8,7 @@
8 8
       :modal-append-to-body="false"
9 9
     >
10 10
 
11
-      <!-- <div class="txsj">
11
+      <div class="txsj">
12 12
         <el-button
13 13
           round
14 14
           @click="openLast(3)"
@@ -20,8 +20,8 @@
20 20
           @click="openNext(4)"
21 21
         >下一方
22 22
         </el-button>
23
-      </div> -->
24
-      
23
+      </div>
24
+
25 25
 
26 26
       <!--<el-table-->
27 27
       <!--:header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"-->
@@ -146,15 +146,6 @@
146 146
 
147 147
 
148 148
       <div slot="footer" class="dialog-footer">
149
-        <el-button
150
-          @click="openLast(3)"
151
-        >上一方
152
-        </el-button>
153
-
154
-        <el-button
155
-          @click="openNext(4)"
156
-        >下一方
157
-        </el-button>
158 149
         <el-button @click="isLastOrNextVisible = false">取 消</el-button>
159 150
         <el-button type="primary" @click="AddNewAdvice('adForm')">设为本次临嘱</el-button>
160 151
       </div>
@@ -167,8 +158,7 @@
167 158
       @close="resetDialog"
168 159
       :modal-append-to-body="false"
169 160
     >
170
-    <div style="font-size:16px;">上机时间:{{this.getTime(dialysis_order.start_time,'{h}:{i}')}}</div>
171
-      <!-- <div class="txsj">
161
+      <div class="txsj">
172 162
         <el-button
173 163
           round
174 164
           @click="openLast(1)"
@@ -180,7 +170,7 @@
180 170
           @click="openNext(2)"
181 171
         >下一方
182 172
         </el-button>
183
-      </div> -->
173
+      </div>
184 174
 
185 175
       <div class="txsj" v-show="showAdvicePanel">
186 176
         <el-button
@@ -558,21 +548,6 @@
558 548
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
559 549
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
560 550
       </div>
561
-      <div slot="footer" class="dialog-footer" v-show="!showAdviceForm">
562
-        <div class="txsj">
563
-          <el-button
564
-            round
565
-            @click="openLast(1)"
566
-          >上一方
567
-          </el-button>
568
-
569
-          <el-button
570
-            round
571
-            @click="openNext(2)"
572
-          >下一方
573
-          </el-button>
574
-        </div>
575
-      </div>
576 551
       <!-- 医嘱表单 end -->
577 552
     </el-dialog>
578 553
     <el-dialog
@@ -631,7 +606,6 @@
631 606
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
632 607
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
633 608
   import { uParseTime } from '@/utils/tools'
634
-  import { parseTime } from '@/utils'
635 609
   import {
636 610
     CheckDoctorAdvice,
637 611
     CreateDoctorAdvice,
@@ -918,7 +892,7 @@
918 892
           this.$message.error('没有选择患者')
919 893
           return false
920 894
         }
921
-        console.log(this.form)
895
+        // console.log(this.form)
922 896
         let mode = '2'
923 897
         if (this.form.advice_doctor != this.$store.getters.xt_user.user.id) {
924 898
           mode = '3'
@@ -2260,13 +2234,7 @@
2260 2234
           this.GetLastOrNextDoctorAdvice(params)
2261 2235
 
2262 2236
         }
2263
-      },
2264
-      getTime(value, temp) {
2265
-        if (value != undefined) {
2266
-          return parseTime(value, temp)
2267
-        }
2268
-        return ''
2269
-      },
2237
+      }
2270 2238
     },
2271 2239
     created() {
2272 2240
       var date = this.$route.query && this.$route.query.date