rkljw 4 dni temu
rodzic
commit
5331373b79

+ 4 - 3
src/views/complaint/complaintList.vue

@@ -624,6 +624,7 @@ export default {
     //4.编辑 start ------------------------------------------------------------>
     //4.编辑 start ------------------------------------------------------------>
     downloadFile(data,name){  
     downloadFile(data,name){  
       let files = [];
       let files = [];
+      let names = [];
       let fileName = name;
       let fileName = name;
       if (!Array.isArray(data)) {
       if (!Array.isArray(data)) {
         data = [data];
         data = [data];
@@ -632,14 +633,14 @@ export default {
       for(let item of data){
       for(let item of data){
         if(item.imgUrl){
         if(item.imgUrl){
           files.push(item.imgUrl);
           files.push(item.imgUrl);
-        }else{
-          files.push(item)
+          names.push(item.oldFileName);
         }
         }
       }
       }
       //console.log(files)
       //console.log(files)
       let getData = {
       let getData = {
         files:files,
         files:files,
-        fileName:fileName
+        fileName:fileName,
+        names:names
       }
       }
 
 
       this.$store.dispatch('complaint/downloadFile',getData).then(res=> {
       this.$store.dispatch('complaint/downloadFile',getData).then(res=> {

+ 1 - 1
src/views/crawler/gather.vue

@@ -8,7 +8,7 @@
   export default {
   export default {
     data() {
     data() {
       return {
       return {
-        externalUrl: 'http://cjq.wngluo.org.cn/index.php?s=/admin/backstage/index' // 外部页面的 URL
+        externalUrl: 'https://cjq.wngluo.org.cn/index.php?s=/admin/backstage/index' // 外部页面的 URL
       };
       };
     }
     }
   }
   }