zhangyuhan 3 жил өмнө
parent
commit
bd5a4b6ed1

+ 0 - 40
src/web/staticres/common-module/file-pack/js/index-wx.js

@@ -120,23 +120,6 @@ var vm = new Vue({
         },
         dataType: 'json'
       }).done(res => {
-         res = {
-           "error_code": 0,
-           "error_msg": "",
-           "data": {
-             "code": 1,
-             "data": [
-               {
-                 "id": 393,
-                 "name": "附件下载包",
-                 "number": 25,
-                 "resourceType": "附件下载包",
-                 "thirtyNum": 0
-               }
-             ],
-             "message": "查询成功"
-           }
-         }
           if (res.error_msg === '' && res.data && res.data.data) {
             this.points = {
               total: '',
@@ -163,29 +146,6 @@ var vm = new Vue({
       this.ajaxEntList().done(this.doFormatList.bind(this))
     },
     doFormatList (r) {
-      r = {
-        "error_code": 0,
-        "error_msg": "",
-        "data": {
-          "list": [
-            {
-              "articleUrl": "/article/content/ABCY1wIfylYFjg4RHtzcE8sMDI%2FQTBgcUJ1PygoOSEgWXtwHBlUCdo%3D",
-              "l_date": "2022/01/07",
-              "s_downUrl": "https://jy-datafile.oss-cn-beijing.aliyuncs.com/c9b1ce564ef81a6e04506e93b7b576d1aaab933ae6dda728e4c7040a9fa537e4.docx",
-              "s_fileName": "空压机配件公告.docx",
-              "s_title": "中煤山西华昱能源有限公司空压机配件采购"
-            },
-            {
-              "articleUrl": "/article/content/ABCY1wIfykeJy87JFVzcE8sMDI%2FQTBgcUJ1PygoPT0wY3lwTwlUCcA%3D",
-              "l_date": "2022/01/07",
-              "s_downUrl": "https://jy-datafile.oss-cn-beijing.aliyuncs.com/aa6731849d5d6e16097abfcb2559674aa481948d4489688f947578d90e227242.pdf",
-              "s_fileName": "更正公告.pdf",
-              "s_title": "静宁县2021年古城镇基础设施(农村公路)建设项目更正公告"
-            }
-          ],
-          "total": 2
-        }
-      }
       if (r && r.error_msg == '' && r.data) {
         this.working = false
         this.empty = true

+ 0 - 40
src/web/staticres/common-module/file-pack/js/index.js

@@ -120,23 +120,6 @@ var vm = new Vue({
         },
         dataType: 'json'
       }).done(res => {
-         res = {
-           "error_code": 0,
-           "error_msg": "",
-           "data": {
-             "code": 1,
-             "data": [
-               {
-                 "id": 393,
-                 "name": "附件下载包",
-                 "number": 25,
-                 "resourceType": "附件下载包",
-                 "thirtyNum": 0
-               }
-             ],
-             "message": "查询成功"
-           }
-         }
           if (res.error_msg === '' && res.data && res.data.data) {
             this.points = {
               total: '',
@@ -163,29 +146,6 @@ var vm = new Vue({
       this.ajaxEntList().done(this.doFormatList.bind(this))
     },
     doFormatList (r) {
-      r = {
-        "error_code": 0,
-        "error_msg": "",
-        "data": {
-          "list": [
-            {
-              "articleUrl": "/article/content/ABCY1wIfylYFjg4RHtzcE8sMDI%2FQTBgcUJ1PygoOSEgWXtwHBlUCdo%3D",
-              "l_date": "2022/01/07",
-              "s_downUrl": "https://jy-datafile.oss-cn-beijing.aliyuncs.com/c9b1ce564ef81a6e04506e93b7b576d1aaab933ae6dda728e4c7040a9fa537e4.docx",
-              "s_fileName": "空压机配件公告.docx",
-              "s_title": "中煤山西华昱能源有限公司空压机配件采购"
-            },
-            {
-              "articleUrl": "/article/content/ABCY1wIfykeJy87JFVzcE8sMDI%2FQTBgcUJ1PygoPT0wY3lwTwlUCcA%3D",
-              "l_date": "2022/01/07",
-              "s_downUrl": "https://jy-datafile.oss-cn-beijing.aliyuncs.com/aa6731849d5d6e16097abfcb2559674aa481948d4489688f947578d90e227242.pdf",
-              "s_fileName": "更正公告.pdf",
-              "s_title": "静宁县2021年古城镇基础设施(农村公路)建设项目更正公告"
-            }
-          ],
-          "total": 2
-        }
-      }
       if (r && r.error_msg == '' && r.data) {
         this.working = false
         this.empty = true