Bladeren bron

hah阿凡达

28169 3 weken geleden
bovenliggende
commit
e0637abbbc
2 gewijzigde bestanden met toevoegingen van 14 en 13 verwijderingen
  1. 10 9
      src/xt_pages/user/components/PatientForm.vue
  2. 4 4
      src/xt_pages/user/components/PatientSidebar.vue

+ 10 - 9
src/xt_pages/user/components/PatientForm.vue Bestand weergeven

@@ -1707,14 +1707,15 @@ export default {
1707 1707
         },
1708 1708
         handleGallerySuccess(res, file) {
1709 1709
             var data = {type:1, url: this.qiniuDomain + res.url};
1710
-            // this.fileList.push(data.url)
1711
-            // if(this.fileList!=null){
1712
-            //   for(let i=0;i<this.fileList.length;i++){
1713
-            //      this.form.org_logo += this.fileList[i].url+","
1714
-            //   }
1715
-            // }
1716
-           console.log("hahahahhwoowowo",this.form.org_logo)
1717
-           this.form.org_logo += data.url+","
1710
+            this.fileList.push(data)
1711
+            console.log("fileLit==============",this.fileList)
1712
+            if(this.fileList!=null){
1713
+              for(let i=0;i<this.fileList.length;i++){
1714
+                 this.form.org_logo += this.fileList[i].url+","
1715
+              }
1716
+            }
1717
+          //  console.log("hahahahhwoowowo",this.form.org_logo)
1718
+          //  this.form.org_logo += data.url+","
1718 1719
 
1719 1720
             this.guploading = false;
1720 1721
         },
@@ -2071,7 +2072,7 @@ export default {
2071 2072
             if(arrNew!=null){
2072 2073
               for(let i=0;i<arrNew.length;i++){
2073 2074
                 if(arrNew[i]!=""){
2074
-                  var image = { name:i+1, url:arrNew[i]+'?vframe/jpg/offset/0/w/100/h/100'};
2075
+                  var image = { name:i+1, url:arrNew[i]};
2075 2076
                   this.fileList.push(image)
2076 2077
                 }
2077 2078
               }

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue Bestand weergeven

@@ -179,10 +179,10 @@ export default {
179 179
             //   name: '3-3',
180 180
             //   label: '体格检查新'
181 181
             // },
182
-             {
183
-              name: '3-5',
184
-              label: '病程记录新'
185
-             },
182
+            //  {
183
+            //   name: '3-5',
184
+            //   label: '病程记录新'
185
+            //  },
186 186
             {
187 187
               name: '1-11',
188 188
               label: '首次病程记录'