Browse Source

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

csx 2 years ago
parent
commit
f57f792e9a
1 changed files with 7 additions and 82 deletions
  1. 7 82
      src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue

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

@@ -210,7 +210,7 @@
210 210
       <!--   @row-click="cellMouseEnter" -->
211 211
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
212 212
       <el-table
213
-        v-if="his_is_open !=1"
213
+        v-if="his_is_open !=1 && is_advice_open!=1"
214 214
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
215 215
         :data="doctor_advices"
216 216
         border
@@ -303,6 +303,10 @@
303 303
       </el-table>
304 304
 
305 305
 
306
+
307
+
308
+
309
+
306 310
       <el-table
307 311
         v-if="his_is_open  == 1 || is_advice_open == 1"
308 312
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
@@ -404,87 +408,6 @@
404 408
 
405 409
       </el-table>
406 410
 
407
-      <!-- 医嘱列表 end -->
408
-
409
-      <!-- 新医嘱列表 -->
410
-      <!-- <div class="orderTable">
411
-        <table class="table">
412
-          <tr @click="cancelAdviceSelect" class="tableTh">
413
-            <th width="8%">开嘱医生</th>
414
-            <th width="12%">开始时间</th>
415
-            <th width="52%">医嘱内容</th>
416
-            <th width="12%">执行时间</th>
417
-            <th width="8%">执行护士</th>
418
-            <th v-if="template_id != 6" width="8%">核对人员</th>
419
-          </tr>
420
-          <template v-for="(group, group_index) in advice_groups">
421
-            <tr
422
-              v-for="(advice, advice_index) in group.advices"
423
-              :key="advice.id"
424
-              :class="{ 'row-class-active': current_group_index == group_index && current_advice_index < 0 }"
425
-            >
426
-              <td
427
-                v-if="advice_index == 0"
428
-                :rowspan="group.advices.length"
429
-                @click="selectGroupAdviceAction(group_index, -1, null,group)"
430
-              >
431
-                <span v-if="advice.parent_id==0">{{getXuserName(advice.advice_doctor)}}</span>
432
-                <span v-else></span>
433
-              </td>
434
-
435
-              <td
436
-                v-if="advice_index == 0"
437
-                :rowspan="group.advices.length"
438
-                @click="selectGroupAdviceAction(group_index, -1, null,group)"
439
-              >
440
-                <span>{{uParseTime(advice.start_time, '{m}-{d} {h}:{i}')}}</span>
441
-              </td>
442
-
443
-              <td
444
-                :class="{ 'advice_content': advice.parent_id == 0, 'subadvice_content': advice.parent_id > 0, 'td-active':current_group_index == group_index  && advice.is_selected == 1 }"
445
-                @click="selectAdviceAction(group_index, advice_index, advice)"
446
-              >
447
-                <div class="txt">
448
-                  <span>{{advice.advice_name }}</span>
449
-                  <span
450
-                    v-if="advice.advice_desc"
451
-                  >({{ advice.advice_desc }}{{advice.drug_spec_unit}})</span>
452
-                  <span
453
-                    v-if="advice.prescribing_number"
454
-                  >&nbsp;&nbsp;{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
455
-                  <span
456
-                    v-if="advice.single_dose && template_id == 6"
457
-                  >{{advice.single_dose}}{{advice.single_dose_unit}}</span>
458
-                  <span
459
-                    v-if="advice.single_dose && template_id != 6"
460
-                  >单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
461
-
462
-                  <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
463
-                  <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
464
-                  <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{advice.remark}})</span>
465
-                </div>
466
-              </td>
467
-
468
-              <td
469
-                :class="{'td-active':current_group_index == group_index  && advice.is_selected == 1}"
470
-                @click="selectAdviceAction(group_index,advice_index, advice)"
471
-              >{{uParseTime(advice.execution_time, '{m}-{d} {h}:{i}')}}</td>
472
-
473
-              <td
474
-                :class="{'td-active':current_group_index == group_index  && advice.is_selected == 1}"
475
-                @click="selectAdviceAction(group_index,advice_index, advice)"
476
-              >{{getXuserName(advice.execution_staff)}}</td>
477
-              <td
478
-                v-if="template_id != 6"
479
-                :class="{'td-active':current_group_index == group_index  && advice.is_selected == 1}"
480
-                @click="selectAdviceAction(group_index,advice_index, advice)"
481
-              >{{getXuserName(advice.checker)}}</td>
482
-            </tr>
483
-          </template>
484
-        </table>
485
-      </div>-->
486
-      <!-- 新医嘱列表 -->
487
-
488 411
 
489 412
       <!-- 新增医嘱(子药)表单 || 新增子药表单 -->
490 413
       <!-- 医嘱表单 -->
@@ -2055,6 +1978,8 @@
2055 1978
       }
2056 1979
       ,
2057 1980
       show(his_is_open,is_advice_open) {
1981
+        console.log("his_is_open233232323232323322323",his_is_open)
1982
+        console.log("is_advice_open233232323232323322323",is_advice_open)
2058 1983
         this.his_is_open = his_is_open
2059 1984
         this.is_advice_open = is_advice_open
2060 1985
         this.isVisibility = true