Ver código fonte

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

csx 4 anos atrás
pai
commit
8cd86e1854

+ 7 - 39
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Ver arquivo

8
       :modal-append-to-body="false"
8
       :modal-append-to-body="false"
9
     >
9
     >
10
 
10
 
11
-      <!-- <div class="txsj">
11
+      <div class="txsj">
12
         <el-button
12
         <el-button
13
           round
13
           round
14
           @click="openLast(3)"
14
           @click="openLast(3)"
20
           @click="openNext(4)"
20
           @click="openNext(4)"
21
         >下一方
21
         >下一方
22
         </el-button>
22
         </el-button>
23
-      </div> -->
24
-      
23
+      </div>
24
+
25
 
25
 
26
       <!--<el-table-->
26
       <!--<el-table-->
27
       <!--:header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"-->
27
       <!--:header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"-->
146
 
146
 
147
 
147
 
148
       <div slot="footer" class="dialog-footer">
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
         <el-button @click="isLastOrNextVisible = false">取 消</el-button>
149
         <el-button @click="isLastOrNextVisible = false">取 消</el-button>
159
         <el-button type="primary" @click="AddNewAdvice('adForm')">设为本次临嘱</el-button>
150
         <el-button type="primary" @click="AddNewAdvice('adForm')">设为本次临嘱</el-button>
160
       </div>
151
       </div>
167
       @close="resetDialog"
158
       @close="resetDialog"
168
       :modal-append-to-body="false"
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
         <el-button
162
         <el-button
173
           round
163
           round
174
           @click="openLast(1)"
164
           @click="openLast(1)"
180
           @click="openNext(2)"
170
           @click="openNext(2)"
181
         >下一方
171
         >下一方
182
         </el-button>
172
         </el-button>
183
-      </div> -->
173
+      </div>
184
 
174
 
185
       <div class="txsj" v-show="showAdvicePanel">
175
       <div class="txsj" v-show="showAdvicePanel">
186
         <el-button
176
         <el-button
558
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
548
         <el-button type="primary" v-if="form.id == 0" @click="submitAdvice" :loading="loading">保 存</el-button>
559
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
549
         <el-button type="primary" v-else @click="submitEditAdvice" :loading="loading">保 存</el-button>
560
       </div>
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
       <!-- 医嘱表单 end -->
551
       <!-- 医嘱表单 end -->
577
     </el-dialog>
552
     </el-dialog>
578
     <el-dialog
553
     <el-dialog
631
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
606
   import AddGroupAdvice from './adviceDialog/AddGroupAdvice'
632
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
607
   import EditGroupAdvice from './adviceDialog/EditGroupAdvice'
633
   import { uParseTime } from '@/utils/tools'
608
   import { uParseTime } from '@/utils/tools'
634
-  import { parseTime } from '@/utils'
635
   import {
609
   import {
636
     CheckDoctorAdvice,
610
     CheckDoctorAdvice,
637
     CreateDoctorAdvice,
611
     CreateDoctorAdvice,
918
           this.$message.error('没有选择患者')
892
           this.$message.error('没有选择患者')
919
           return false
893
           return false
920
         }
894
         }
921
-        console.log(this.form)
895
+        // console.log(this.form)
922
         let mode = '2'
896
         let mode = '2'
923
         if (this.form.advice_doctor != this.$store.getters.xt_user.user.id) {
897
         if (this.form.advice_doctor != this.$store.getters.xt_user.user.id) {
924
           mode = '3'
898
           mode = '3'
2260
           this.GetLastOrNextDoctorAdvice(params)
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
     created() {
2239
     created() {
2272
       var date = this.$route.query && this.$route.query.date
2240
       var date = this.$route.query && this.$route.query.date