zhangjie 2 years ago
parent
commit
bcbf1d15e3

+ 6 - 6
src/constants/adminNavs.js

@@ -5,12 +5,12 @@ const navs = [
     name: "超管中心",
     url: "admin"
   },
-  {
-    id: "2",
-    parentId: "1",
-    name: "用户管理",
-    url: "AdminUserManage"
-  },
+  // {
+  //   id: "2",
+  //   parentId: "1",
+  //   name: "用户管理",
+  //   url: "AdminUserManage"
+  // },
   {
     id: "3",
     parentId: "1",

+ 3 - 1
src/constants/app.js

@@ -13,7 +13,9 @@ if (!domain) {
   const hostname = window.location.hostname;
   if (ipFormat.test(hostname)) {
     domain = parseHrefParam(window.location.href, "code");
-    window.sessionStorage.setItem("ipDomainCode", domain);
+    if (domain) {
+      window.sessionStorage.setItem("ipDomainCode", domain);
+    }
   } else {
     domain = hostname.split(".")[0];
   }

+ 1 - 1
src/modules/record/api.js

@@ -45,7 +45,7 @@ export const archivesDetailListPage = datas => {
   return $postParam("/api/admin/paper/archives/page_detail", datas);
 };
 export const archivesDetailDownloadPaper = datas => {
-  return $postParam("/api/admin/paper/archives/paper_download", datas);
+  return $post("/api/admin/paper/archives/paper_download", datas);
 };
 export const updateArchives = datas => {
   return $post("/api/admin/paper/archives/save", datas);

+ 1 - 1
src/modules/record/views/ArchivesDetail.vue

@@ -209,7 +209,7 @@ export default {
       this.getList();
     },
     handleSelectionChange(val) {
-      this.multipleSelection = val.map(item => item.id);
+      this.multipleSelection = val.map(item => item.paperScanTaskDetailId);
     },
     toDetail(row) {
       this.curRow = row;