From cc5526517c8fdfde25aa523488254a97a9444184 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com>
Date: Sat, 12 Oct 2024 09:26:45 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +-
src/api/external/index.js | 2 +-
src/views/components/AdvancedSearch/qixie.vue | 31 ++++----
src/views/components/MapCars.vue | 71 ++++++++++---------
src/views/components/MapCarsLog.vue | 47 ++++++------
.../components/healthSon/QIxiehealthOne.vue | 5 +-
.../components/healthSon/QIxiehealthThree.vue | 5 +-
.../components/healthSon/QixiehealthTow.vue | 4 +-
.../components/healthSon/TiwaihealthOne.vue | 4 +-
.../components/healthSon/TiwaihealthThree.vue | 5 +-
.../components/healthSon/TiwaihealthTow.vue | 5 +-
.../components/healthSon/health.vue | 3 +-
.../components/healthSon/mySortChange.js | 43 ++++++-----
.../productsMsg/components/hzpSon/GchzpPt.vue | 11 ++-
.../productsMsg/components/hzpSon/GchzpTs.vue | 2 +-
.../productsMsg/components/hzpSon/JkhzpPt.vue | 11 ++-
.../productsMsg/components/hzpSon/JkhzpTs.vue | 2 +-
.../productsMsg/components/productInfo.vue | 10 +--
src/views/productsMsg/components/stscpz.vue | 2 +-
src/views/productsMsg/components/yagao.vue | 2 +-
.../productsMsg/drugArchives/yaopinbapz.vue | 24 +++++--
.../productsMsg/drugArchives/yaopinstscpz.vue | 11 ++-
.../drugArchives/yaopinyuanliao.vue | 2 +-
src/views/productsMsg/zyzj.vue | 13 +++-
24 files changed, 194 insertions(+), 123 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 5ebdba2..11c14e4 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -33,7 +33,7 @@ export default {
// renderDom: "#app",
// resize: true
// }, false) // 可关闭控制台运行提示输出
- //! 检查 external的 getselfInfo
+ //! 检查 external 的 getselfInfo
/* npm run build:prod
sudo mv ggfw-dangan.zip /usr/share/nginx/html/ggfw-dangan 在 MSSM-Dev 文件夹下 移动压缩包到 ggfw文件夹下
diff --git a/src/api/external/index.js b/src/api/external/index.js
index ba82bc3..527f619 100644
--- a/src/api/external/index.js
+++ b/src/api/external/index.js
@@ -3,7 +3,7 @@ import request from "@/utils/request";
//获取用户信息
export function getselfInfo() {
return request({
- // baseURL: location.origin,
+ baseURL: location.origin,
url: "/api/admin/user/getSelfInfo",
method: "GET",
});
diff --git a/src/views/components/AdvancedSearch/qixie.vue b/src/views/components/AdvancedSearch/qixie.vue
index d2279d5..a7fdbef 100644
--- a/src/views/components/AdvancedSearch/qixie.vue
+++ b/src/views/components/AdvancedSearch/qixie.vue
@@ -23,8 +23,7 @@
-
+
@@ -37,6 +36,14 @@
diff --git a/src/views/productsMsg/components/hzpSon/JkhzpPt.vue b/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
index a8b5a2e..17f568b 100644
--- a/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
+++ b/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
@@ -205,7 +205,8 @@
@@ -437,6 +438,14 @@ export default {
created() {
},
methods: {
+ getitem() {
+ if (this.tableData.length != 0) {
+ localStorage.setItem("lastdata", this.tableData[0].latestCreateTime)
+ }
+ if (localStorage.getItem("lastdata")) {
+ return localStorage.getItem("lastdata")
+ }
+ },
mySortChange(e) {
this.sortableshowDaty = e
this.form1.sjSort = ""
diff --git a/src/views/productsMsg/components/hzpSon/JkhzpTs.vue b/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
index 279ee55..c88a742 100644
--- a/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
+++ b/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
@@ -208,7 +208,7 @@
diff --git a/src/views/productsMsg/components/productInfo.vue b/src/views/productsMsg/components/productInfo.vue
index 9979df8..fbf678a 100644
--- a/src/views/productsMsg/components/productInfo.vue
+++ b/src/views/productsMsg/components/productInfo.vue
@@ -43,13 +43,13 @@ export default {
},
activated() {
this.$nextTick(() => {
- // this.Url = `${location.origin}/ggfw-iframe/#/productinformation?type=${this.$route.query.type
- // }&flag=${this.$route.query.flag}&data=${this.$route.query.data
- // }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
-
- this.Url = `http://localhost:82?type=${this.$route.query.type
+ this.Url = `${location.origin}/ggfw-iframe/#/productinformation?type=${this.$route.query.type
}&flag=${this.$route.query.flag}&data=${this.$route.query.data
}&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
+
+ // this.Url = `http://localhost:82?type=${this.$route.query.type
+ // }&flag=${this.$route.query.flag}&data=${this.$route.query.data
+ // }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
let dom = document.getElementsByClassName("ifram-view");
let height = dom[0].getBoundingClientRect();
diff --git a/src/views/productsMsg/components/stscpz.vue b/src/views/productsMsg/components/stscpz.vue
index a4e7f5c..ebb9148 100644
--- a/src/views/productsMsg/components/stscpz.vue
+++ b/src/views/productsMsg/components/stscpz.vue
@@ -149,7 +149,7 @@
diff --git a/src/views/productsMsg/components/yagao.vue b/src/views/productsMsg/components/yagao.vue
index 7c52131..3e97b7a 100644
--- a/src/views/productsMsg/components/yagao.vue
+++ b/src/views/productsMsg/components/yagao.vue
@@ -62,7 +62,7 @@
diff --git a/src/views/productsMsg/drugArchives/yaopinbapz.vue b/src/views/productsMsg/drugArchives/yaopinbapz.vue
index 37e80a2..db3249d 100644
--- a/src/views/productsMsg/drugArchives/yaopinbapz.vue
+++ b/src/views/productsMsg/drugArchives/yaopinbapz.vue
@@ -118,14 +118,14 @@
{{
- item.label
- }}
+ item.label
+ }}
导出excel
@@ -174,7 +174,7 @@
{{ scope.row.ypssxkcyr }}
-
+
@@ -322,7 +322,7 @@ export default {
fsnf: "", // 发生年份
zzjyjl: "",//结论
tsypglfl: "",
- cpbq:"",//标签
+ cpbq: "",//标签
area: this.$store.getters.usersort,
myEntrust: "全部",
type: ""
@@ -574,7 +574,7 @@ export default {
type: "",
zzjyjl: "",//结论
tsypglfl: "",
- cpbq:"",
+ cpbq: "",
area: this.$store.getters.usersort
};
this.form = {
@@ -595,12 +595,24 @@ export default {
this.loading = true;
let msg1 = await this.$api.cosmetics.vRdgYpwhGxwz(this.form);
this.tableData = msg1.data.records;
+
this.total = msg1.data.total;
this.form.size = msg1.data.size;
this.form.current = msg1.data.current;
this.loading = false;
+
+
+ },
+ getitem() {
+ if (this.tableData.length != 0) {
+ localStorage.setItem("lastdata", this.tableData[0].latestCreateTime)
+ }
+ if (localStorage.getItem("lastdata")) {
+ return localStorage.getItem("lastdata")
+ }
},
},
+
beforeRouteLeave(to, from, next) {
if (to.path != '/cosmeticsDetail') {
this.reset(1)
diff --git a/src/views/productsMsg/drugArchives/yaopinstscpz.vue b/src/views/productsMsg/drugArchives/yaopinstscpz.vue
index 8c034d1..f100235 100644
--- a/src/views/productsMsg/drugArchives/yaopinstscpz.vue
+++ b/src/views/productsMsg/drugArchives/yaopinstscpz.vue
@@ -104,7 +104,7 @@
@@ -493,6 +493,15 @@ export default {
this.form.size = msg1.data.size;
this.form.current = msg1.data.current;
this.loading = false;
+
+ },
+ getitem() {
+ if (this.tableData.length != 0) {
+ localStorage.setItem("lastdata", this.tableData[0].latestCreateTime)
+ }
+ if (localStorage.getItem("lastdata")) {
+ return localStorage.getItem("lastdata")
+ }
},
},
beforeRouteLeave(to, from, next) {
diff --git a/src/views/productsMsg/drugArchives/yaopinyuanliao.vue b/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
index d3c9b14..60bbd25 100644
--- a/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
+++ b/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
@@ -142,7 +142,7 @@
diff --git a/src/views/productsMsg/zyzj.vue b/src/views/productsMsg/zyzj.vue
index 629cc7a..ca36816 100644
--- a/src/views/productsMsg/zyzj.vue
+++ b/src/views/productsMsg/zyzj.vue
@@ -76,7 +76,7 @@
@@ -158,7 +158,7 @@ import dishi from "@/views/components/AdvancedSearch/dishi.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
export default {
- components: { MapCars, dishi,cpbq },
+ components: { MapCars, dishi, cpbq },
data() {
return {
MapCarsshow: true,
@@ -236,6 +236,7 @@ export default {
created() {
},
methods: {
+
// 点击input上的x号
isclear() {
this.searchList()
@@ -360,6 +361,14 @@ export default {
this.form.current = msg1.data.current;
this.loading = false;
},
+ getitem() {
+ if (this.tableData.length != 0) {
+ localStorage.setItem("lastdata", this.tableData[0].latestCreateTime)
+ }
+ if (localStorage.getItem("lastdata")) {
+ return localStorage.getItem("lastdata")
+ }
+ },
},
beforeRouteLeave(to, from, next) {
if (to.path != '/cosmeticsDetail') {