Browse Source

hah阿凡达

28169 19 hours ago
parent
commit
04e976ee98

+ 2 - 194
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue View File

@@ -3037,7 +3037,7 @@
3037 3037
                       </td>
3038 3038
                       <td style="text-align: left">
3039 3039
                         <span v-for="(item, index) in advice" :key="index">
3040
-                          <!-- <span v-if="item.children.length > 0"> -->
3040
+                         
3041 3041
                           <span v-if="item.parent_id > 0">---></span>
3042 3042
                           <span v-if="item.advice_name"
3043 3043
                             >&nbsp;&nbsp;&nbsp;&nbsp;{{
@@ -3092,7 +3092,7 @@
3092 3092
                               >
3093 3093
                             </span>
3094 3094
                           </span>
3095
-                          <!-- </span> -->
3095
+                        
3096 3096
                         </span>
3097 3097
                       </td>
3098 3098
                       <td>
@@ -3153,198 +3153,6 @@
3153 3153
                     </tr>
3154 3154
                   </tbody>
3155 3155
                 </table>
3156
-
3157
-                <!-- <table class="table-box" style="margin-top: 10px">
3158
-                  <tbody>
3159
-                    <tr>
3160
-                      <td width="150"></td>
3161
-                      <td width="30">医生</td>
3162
-                      <td width="80">
3163
-                        <div class="under-line">
3164
-                          &nbsp;
3165
-                          <span
3166
-                            v-if="
3167
-                              setAdminUserES(record.prescription, 'creater') ==
3168
-                              ''
3169
-                            "
3170
-                            >{{
3171
-                              getAdminUser(record.prescription, "creater")
3172
-                            }}</span
3173
-                          >
3174
-                          <img
3175
-                            class="es-img"
3176
-                            :src="
3177
-                              setAdminUserES(record.prescription, 'creater')
3178
-                            "
3179
-                            alt=""
3180
-                            srcset=""
3181
-                            v-else
3182
-                            style="height: 30px"
3183
-                          />
3184
-                        </div>
3185
-                      </td>
3186
-                      <td width="50">穿刺护士</td>
3187
-                      <td width="80">
3188
-                        <div class="under-line">
3189
-                          &nbsp;
3190
-                          <span
3191
-                            v-if="
3192
-                              setAdminUserES(
3193
-                                record.dialysis_order,
3194
-                                'puncture_nurse'
3195
-                              ) == ''
3196
-                            "
3197
-                            >{{
3198
-                              getAdminUser(
3199
-                                record.dialysis_order,
3200
-                                "puncture_nurse"
3201
-                              )
3202
-                            }}</span
3203
-                          >
3204
-                          <span v-else>
3205
-                            <img
3206
-                              class="es-img"
3207
-                              style="height: 30px"
3208
-                              :src="
3209
-                                setAdminUserES(
3210
-                                  record.dialysis_order,
3211
-                                  'puncture_nurse'
3212
-                                )
3213
-                              "
3214
-                            />
3215
-                          </span>
3216
-                        </div>
3217
-                      </td>
3218
-                      <td width="50">核对护士</td>
3219
-                      <td width="80">
3220
-                        <div class="under-line">
3221
-                          &nbsp;
3222
-                          <span
3223
-                            v-if="
3224
-                              record.check != null
3225
-                                ? record.dialysis_order.start_nurse !=
3226
-                                  record.check.modifier
3227
-                                : false
3228
-                            "
3229
-                          >
3230
-                            <span
3231
-                              v-if="
3232
-                                setAdminUserES(
3233
-                                  record.check,
3234
-                                  record.check == null ? 0 : 'modifier'
3235
-                                ) == ''
3236
-                              "
3237
-                            >
3238
-                              {{
3239
-                                getAdminUser(
3240
-                                  record.check,
3241
-                                  record.check == null ? 0 : "modifier"
3242
-                                )
3243
-                              }}
3244
-                            </span>
3245
-                            <img
3246
-                              style="height: 30px"
3247
-                              :src="
3248
-                                setAdminUserES(
3249
-                                  record.check,
3250
-                                  record.check == null ? 0 : 'modifier'
3251
-                                )
3252
-                              "
3253
-                              alt
3254
-                              srcset
3255
-                              v-else
3256
-                            />
3257
-                          </span>
3258
-                          <span v-else>
3259
-                            <span
3260
-                              v-if="
3261
-                                setAdminUserES(
3262
-                                  record.check,
3263
-                                  record.check == null ? 0 : 'creater'
3264
-                                ) == ''
3265
-                              "
3266
-                            >
3267
-                              {{ getAdminUser(record.check, "creater") }}
3268
-                            </span>
3269
-                            <img
3270
-                              style="height: 30px"
3271
-                              :src="
3272
-                                setAdminUserES(
3273
-                                  record.check,
3274
-                                  record.check == null ? 0 : 'creater'
3275
-                                )
3276
-                              "
3277
-                              alt
3278
-                              srcset
3279
-                              v-else
3280
-                            />
3281
-                          </span>
3282
-                        </div>
3283
-                      </td>
3284
-                      <td width="50">看机护士</td>
3285
-                      <td width="80">
3286
-                        <div class="under-line">
3287
-                          &nbsp;
3288
-                          <span
3289
-                            v-if="
3290
-                              setAdminUserES(
3291
-                                record.dialysis_order,
3292
-                                'start_nurse'
3293
-                              ) == ''
3294
-                            "
3295
-                            >{{
3296
-                              getAdminUser(record.dialysis_order, "start_nurse")
3297
-                            }}</span
3298
-                          >
3299
-                          <span v-else>
3300
-                            <img
3301
-                              class="es-img"
3302
-                              style="height: 30px"
3303
-                              :src="
3304
-                                setAdminUserES(
3305
-                                  record.dialysis_order,
3306
-                                  'start_nurse'
3307
-                                )
3308
-                              "
3309
-                            />
3310
-                          </span>
3311
-                        </div>
3312
-                      </td>
3313
-                      <td width="50">下机护士</td>
3314
-                      <td width="80">
3315
-                        <div class="under-line">
3316
-                          &nbsp;
3317
-                          <span
3318
-                            v-if="
3319
-                              setAdminUserES(
3320
-                                record.dialysis_order,
3321
-                                'finish_nurse'
3322
-                              ) == ''
3323
-                            "
3324
-                            >{{
3325
-                              getAdminUser(
3326
-                                record.dialysis_order,
3327
-                                "finish_nurse"
3328
-                              )
3329
-                            }}</span
3330
-                          >
3331
-                          <span v-else>
3332
-                            <img
3333
-                              class="es-img"
3334
-                              style="height: 30px"
3335
-                              :src="
3336
-                                setAdminUserES(
3337
-                                  record.dialysis_order,
3338
-                                  'finish_nurse'
3339
-                                )
3340
-                              "
3341
-                            />
3342
-                          </span>
3343
-                        </div>
3344
-                      </td>
3345
-                    </tr>
3346
-                  </tbody>
3347
-                </table> -->
3348 3156
               </div>
3349 3157
             </div>
3350 3158
           </div>

+ 78 - 0
src/xt_pages/dialysis/details/dialog/RadioSelectBox/index.vue View File

@@ -0,0 +1,78 @@
1
+<template>
2
+    <el-dialog
3
+      append-to-body
4
+      :show-close="isClose"
5
+      :close-on-click-modal="isClose"
6
+      :close-on-press-escape="isClose"
7
+      :title="propsForm.titles"
8
+      :visible.sync="propsForm.visibility"
9
+    >
10
+       <el-radio-group v-model="checkedData">
11
+        <el-radio
12
+          v-for="(item, index) in propsForm.values"
13
+          :label="item.name"
14
+          :key="index"
15
+        ></el-radio>
16
+      </el-radio-group>
17
+      <span slot="footer" class="dialog-footer">
18
+        <el-button @click="cancle">取 消</el-button>
19
+        <el-button type="primary" @click="comfirm">保 存</el-button>
20
+      </span>
21
+    </el-dialog>
22
+  </template>
23
+  
24
+  <script>
25
+  export default {
26
+    name: "RadioelectBox",
27
+    props: {
28
+      propsForm: {
29
+        type: Object
30
+      }
31
+    },
32
+    data() {
33
+      return {
34
+        checkedData: "",
35
+        customData: "",
36
+        valueString: this.propsForm.selected,
37
+        isClose: false,
38
+        typeValue: this.propsForm.type
39
+      };
40
+    },
41
+    methods: {
42
+      comfirm: function() {
43
+        let returnValue = {};
44
+        returnValue["value"] = this.getValue();
45
+        returnValue["type"] = this.propsForm.type;
46
+        this.propsForm.type = "";
47
+        this.$emit("dialog-comfirm", returnValue);
48
+        console.log(returnValue,"opo")
49
+      },
50
+      cancle: function() {
51
+        this.propsForm.type = "";
52
+        this.$emit("dialog-cancle");
53
+      },
54
+  
55
+      getValue: function() {
56
+       
57
+        return this.checkedData;
58
+       
59
+      }
60
+    },
61
+    created() {
62
+    },
63
+    watch: {
64
+      "propsForm.type": function() {
65
+        this.checkedData= ""
66
+        this.checkedData = this.propsForm.selected 
67
+      }
68
+    }
69
+  };
70
+  </script>
71
+  
72
+  <style scoped>
73
+  .el-checkbox {
74
+    margin-left: 0px;
75
+    margin-right: 30px;
76
+  }
77
+  </style>
78
+  

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -815,7 +815,7 @@
815 815
                         </el-form-item>
816 816
                     </el-col>
817 817
 
818
-                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id != 10727">
818
+                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id != 10164">
819 819
                         <el-form-item label="透析器:" prop="dialysis_dialyszers" :rules="isCheckmust('透析器')">
820 820
                             <el-input v-model="dialysisPrescription.dialysis_dialyszers"
821 821
                                       @focus="showInnerDialog('7')"></el-input>
@@ -823,7 +823,7 @@
823 823
                     </el-col>
824 824
 
825 825
 
826
-                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id == 10727"  >
826
+                    <el-col :span="8" v-if="isShows('透析器') && this.$store.getters.xt_user.template_info.org_id == 10164"  >
827 827
                         <el-form-item label="透析器:" prop="dialysis_dialyszers" :rules="isCheckmust('透析器')">
828 828
                             <el-input v-model="dialysisPrescription.dialysis_dialyszers"
829 829
                                       @focus="showInnerDialog('20')"></el-input>
@@ -833,14 +833,14 @@
833 833
                 
834 834
 
835 835
 
836
-                    <el-col :span="8" v-if="isShows('灌流器')" && this.$store.getters.xt_user.template_info.org_id != 10727>
836
+                    <el-col :span="8" v-if="isShows('灌流器') && this.$store.getters.xt_user.template_info.org_id != 10164">
837 837
                         <el-form-item label="灌流器:" prop="dialysis_irrigation" :rules="isCheckmust('灌流器')">
838 838
                             <el-input v-model="dialysisPrescription.dialysis_irrigation"
839 839
                                       @focus="showInnerDialog('8')"></el-input>
840 840
                         </el-form-item>
841 841
                     </el-col>
842 842
 
843
-                    <el-col :span="8">
843
+                    <el-col :span="8" v-if="isShows('灌流器') && this.$store.getters.xt_user.template_info.org_id == 10164">
844 844
                         <el-form-item label="灌流器:" prop="dialysis_irrigation" :rules="isCheckmust('灌流器')">
845 845
                             <el-input v-model="dialysisPrescription.dialysis_irrigation"
846 846
                                       @focus="showInnerDialog('21')"></el-input>