Browse Source

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

28169 10 months ago
parent
commit
125128b013
1 changed files with 23 additions and 11 deletions
  1. 23 11
      src/pages/main/DetailsPage.vue

+ 23 - 11
src/pages/main/DetailsPage.vue View File

23
           </ul>
23
           </ul>
24
         </div>
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
         <!-- <div @click="openPicker()" class="time">
33
         <!-- <div @click="openPicker()" class="time">
27
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
34
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28
         </div>-->
35
         </div>-->
301
       callxPum: '',
308
       callxPum: '',
302
       callyPum: '',
309
       callyPum: '',
303
       isShow: false,
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
   computed: {
319
   computed: {
700
       }
712
       }
701
     },
713
     },
702
     GetPatientInfoWithDiseases (id) {
714
     GetPatientInfoWithDiseases (id) {
703
-       
715
+
704
       GetPatientInfoWithDiseases(id).then(response => {
716
       GetPatientInfoWithDiseases(id).then(response => {
705
           if (response.data.state == 1) {
717
           if (response.data.state == 1) {
706
             this.patient = response.data.data.patient
718
             this.patient = response.data.data.patient
1151
     formatter (day) {
1163
     formatter (day) {
1152
       this.patientAllDayList.map(item => {
1164
       this.patientAllDayList.map(item => {
1153
       //  console.log("itemwowowwo",item.scheudle)
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
         if (item.dialysis_date == new Date(day.date).getTime() / 1000) {
1167
         if (item.dialysis_date == new Date(day.date).getTime() / 1000) {
1156
           day.bottomInfo = item.schedual_type == 1 ? '上午' : item.schedual_type == 2 ? '下午' : item.schedual_type == 3 ? '晚上' : ''
1168
           day.bottomInfo = item.schedual_type == 1 ? '上午' : item.schedual_type == 2 ? '下午' : item.schedual_type == 3 ? '晚上' : ''
1157
           day.topInfo = this.GetModeByModeId(item.mode_id)
1169
           day.topInfo = this.GetModeByModeId(item.mode_id)
1162
           day.topInfo = this.GetModeByModeId(item.mode_id)
1174
           day.topInfo = this.GetModeByModeId(item.mode_id)
1163
         }
1175
         }
1164
        }
1176
        }
1165
-     
1166
-        
1167
-        
1177
+
1178
+
1179
+
1168
       })
1180
       })
1169
       return day
1181
       return day
1170
     },
1182
     },
1201
     onCalendar (val) {
1213
     onCalendar (val) {
1202
       this.patientAllDayList.map(item => {
1214
       this.patientAllDayList.map(item => {
1203
          console.log("iemwoowwoow",item)
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
           if (item.dialysis_date == new Date(val).getTime() / 1000) {
1217
           if (item.dialysis_date == new Date(val).getTime() / 1000) {
1206
               this.reload()
1218
               this.reload()
1207
               this.$router.replace({
1219
               this.$router.replace({
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
           if (item.schedule_date == new Date(val).getTime() / 1000) {
1233
           if (item.schedule_date == new Date(val).getTime() / 1000) {
1222
               this.reload()
1234
               this.reload()
1223
               this.$router.replace({
1235
               this.$router.replace({
1231
               // sessionStorage.removeItem('newBarIndex')
1243
               // sessionStorage.removeItem('newBarIndex')
1232
               this.calendarShow = false
1244
               this.calendarShow = false
1233
          }
1245
          }
1234
-        
1246
+
1235
         }
1247
         }
1236
-        
1237
-       
1248
+
1249
+
1238
       })
1250
       })
1239
     },
1251
     },
1240
     openCalendarShow () {
1252
     openCalendarShow () {