- adsfadsfasdfasdfasdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.date }}
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+ 编辑
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
\ No newline at end of file
From b3819171300c94d2d73859a49c8a5d6f5d5d90ba Mon Sep 17 00:00:00 2001
From: dhy1725534722 <1725534722@qq.com>
Date: Wed, 2 Aug 2023 21:29:30 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/archives/cosmetics.js | 46 +-
src/api/index.js | 4 +-
src/components/Pagination/index.vue | 4 +-
src/utils/request2.js | 2 +-
.../components/cosmeticsArchives.vue | 796 ++++++------------
5 files changed, 327 insertions(+), 525 deletions(-)
diff --git a/src/api/archives/cosmetics.js b/src/api/archives/cosmetics.js
index b43cad3..5a87be0 100644
--- a/src/api/archives/cosmetics.js
+++ b/src/api/archives/cosmetics.js
@@ -1,11 +1,49 @@
import request from "@/utils/request2";
export default {
- //获取
- getList(query) {
+ //根据名称或者备案号分页查询国产化妆品数据
+ domesticList(query) {
return request({
- url: "/inspectorAssign",
+ url: "/pharmaceuticals/gccp",
method: "GET",
params: query,
});
- }
+ },
+ //根据备案号查询单条国产化妆品数据
+ // domesticGet(bah) {
+ // return request({
+ // url: `/pharmaceuticals/gccp/${bah}`,
+ // method: "GET",
+ // });
+ // },
+ //根据名称或者注册证号分页查询国产特殊化妆品数据
+ specialList(query) {
+ return request({
+ url: "/pharmaceuticals/gctshzp",
+ method: "GET",
+ params: query,
+ });
+ },
+ //通过注册证号查询单条国产特殊化妆品
+ // specialGet(bah) {
+ // return request({
+ // url: `/pharmaceuticals/gctshzp/${bah}`,
+ // method: "GET",
+ // });
+ // },
+ //分页条件查询进口产品
+ importList(query) {
+ return request({
+ url: "/pharmaceuticals/jkcp",
+ method: "GET",
+ params: query,
+ });
+ },
+ //根据名称或者注册证号分页查询进口特殊化妆品数据
+ importSpecialList(query) {
+ return request({
+ url: "/pharmaceuticals/jktshzp",
+ method: "GET",
+ params: query,
+ });
+ },
}
diff --git a/src/api/index.js b/src/api/index.js
index 34b2288..541b2bc 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -1,4 +1,6 @@
import toLogin from "./archives/toLogin";
+import cosmetics from "./archives/cosmetics";
export default {
- toLogin
+ toLogin,
+ cosmetics
};
\ No newline at end of file
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 678aa54..cb95d5a 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -48,7 +48,7 @@ export default {
pageSizes: {
type: Array,
default() {
- return [10, 20, 30, 50];
+ return [5,10,20];
},
},
// 移动端页码按钮的数量端默认值5
@@ -119,7 +119,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
- margin-top: 10px;
+ padding: 15px 20px;
}
.pagination-container.hidden {
diff --git a/src/utils/request2.js b/src/utils/request2.js
index c905591..76979a0 100644
--- a/src/utils/request2.js
+++ b/src/utils/request2.js
@@ -29,7 +29,7 @@ service.interceptors.request.use(
const isRepeatSubmit = (config.headers || {}).repeatSubmit === false;
if (!isToken) {
config.headers["Authentication"] = localStorage.getItem(
- "MSSM-LIAONING__TOKEN"
+ "Authentication"
);
}
// get请求映射params参数
diff --git a/src/views/productsMsg/components/cosmeticsArchives.vue b/src/views/productsMsg/components/cosmeticsArchives.vue
index 3d22b30..ea4e4d5 100644
--- a/src/views/productsMsg/components/cosmeticsArchives.vue
+++ b/src/views/productsMsg/components/cosmeticsArchives.vue
@@ -1,554 +1,316 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.date }}
-
-
-
-
-
-
-
-
-
-
-
- 详情
- 编辑
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+ {{ scope.row.mc || scope.row.cpmc }}
+
+
+
+
+ {{ scope.row.bah || scope.row.pzrq }}
+
+
+
+
+ {{ scope.row.qy || scope.row.sf }}
+
+
+
+
+ 详情
+ 编辑
+
+
+
+
+
+
-
+
+.pagination {
+ display: flex;
+ justify-content: space-between;
+ padding: 15px 20px;
+}
+
\ No newline at end of file