Ver código fonte

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 10 meses atrás
pai
commit
125128b013
1 arquivos alterados com 23 adições e 11 exclusões
  1. 23 11
      src/pages/main/DetailsPage.vue

+ 23 - 11
src/pages/main/DetailsPage.vue Ver arquivo

@@ -23,6 +23,13 @@
23 23
           </ul>
24 24
         </div>
25 25
 
26
+        <div>
27
+          <el-image
28
+            style="width: 50px; height: 50px"
29
+            :src="url"
30
+            :preview-src-list="srcList">
31
+          </el-image>
32
+        </div>
26 33
         <!-- <div @click="openPicker()" class="time">
27 34
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28 35
         </div>-->
@@ -301,7 +308,12 @@ export default {
301 308
       callxPum: '',
302 309
       callyPum: '',
303 310
       isShow: false,
304
-      callBtn: {}
311
+      callBtn: {},
312
+      url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
313
+      srcList: [
314
+          'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg',
315
+          'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'
316
+        ]
305 317
     }
306 318
   },
307 319
   computed: {
@@ -700,7 +712,7 @@ export default {
700 712
       }
701 713
     },
702 714
     GetPatientInfoWithDiseases (id) {
703
-       
715
+
704 716
       GetPatientInfoWithDiseases(id).then(response => {
705 717
           if (response.data.state == 1) {
706 718
             this.patient = response.data.data.patient
@@ -1151,7 +1163,7 @@ export default {
1151 1163
     formatter (day) {
1152 1164
       this.patientAllDayList.map(item => {
1153 1165
       //  console.log("itemwowowwo",item.scheudle)
1154
-       if(this.$store.getters.user.template_info.org_id == 9538 || this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.org_id == 10353 || this.$store.getters.user.template_info.org_id == 9946){
1166
+       if(this.$store.getters.user.template_info.org_id == 9538 || this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.org_id == 10353){
1155 1167
         if (item.dialysis_date == new Date(day.date).getTime() / 1000) {
1156 1168
           day.bottomInfo = item.schedual_type == 1 ? '上午' : item.schedual_type == 2 ? '下午' : item.schedual_type == 3 ? '晚上' : ''
1157 1169
           day.topInfo = this.GetModeByModeId(item.mode_id)
@@ -1162,9 +1174,9 @@ export default {
1162 1174
           day.topInfo = this.GetModeByModeId(item.mode_id)
1163 1175
         }
1164 1176
        }
1165
-     
1166
-        
1167
-        
1177
+
1178
+
1179
+
1168 1180
       })
1169 1181
       return day
1170 1182
     },
@@ -1201,7 +1213,7 @@ export default {
1201 1213
     onCalendar (val) {
1202 1214
       this.patientAllDayList.map(item => {
1203 1215
          console.log("iemwoowwoow",item)
1204
-         if(this.$store.getters.user.template_info.org_id == 9538 || this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.org_id == 10353 || this.$store.getters.user.template_info.org_id ==9946){
1216
+         if(this.$store.getters.user.template_info.org_id == 9538 || this.$store.getters.user.template_info.org_id == 10101 || this.$store.getters.user.template_info.org_id == 10353){
1205 1217
           if (item.dialysis_date == new Date(val).getTime() / 1000) {
1206 1218
               this.reload()
1207 1219
               this.$router.replace({
@@ -1217,7 +1229,7 @@ export default {
1217 1229
          }
1218 1230
 
1219 1231
          }
1220
-         if(this.$store.getters.user.template_info.org_id != 9538 && this.$store.getters.user.template_info.org_id != 10101 && this.$store.getters.user.template_info.org_id != 10353 && this.$store.getters.user.template_info.org_id !=9946){
1232
+         if(this.$store.getters.user.template_info.org_id != 9538 && this.$store.getters.user.template_info.org_id != 10101 && this.$store.getters.user.template_info.org_id != 10353){
1221 1233
           if (item.schedule_date == new Date(val).getTime() / 1000) {
1222 1234
               this.reload()
1223 1235
               this.$router.replace({
@@ -1231,10 +1243,10 @@ export default {
1231 1243
               // sessionStorage.removeItem('newBarIndex')
1232 1244
               this.calendarShow = false
1233 1245
          }
1234
-        
1246
+
1235 1247
         }
1236
-        
1237
-       
1248
+
1249
+
1238 1250
       })
1239 1251
     },
1240 1252
     openCalendarShow () {