From 2ccc2e4ae2c0af0d2dd376159fbd0c352ba06554 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com>
Date: Thu, 5 Sep 2024 14:49:50 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=A7=E5=93=81=E6=A1=A3?=
=?UTF-8?q?=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 3 +
src/api/apparatus/index.js | 1 +
src/api/external/index.js | 2 +-
src/main.js | 2 +
src/views/components/MapCarsLog.vue | 4 +-
src/views/components/gegnxinshijian/index.vue | 35 ++++++
.../components/healthSon/QIxiehealthOne.vue | 4 +-
.../components/healthSon/QIxiehealthThree.vue | 6 +-
.../components/healthSon/QixiehealthTow.vue | 4 +-
.../components/healthSon/TiwaihealthOne.vue | 4 +-
.../components/healthSon/TiwaihealthThree.vue | 4 +-
.../components/healthSon/TiwaihealthTow.vue | 4 +-
.../components/healthSon/health.vue | 8 +-
.../components/healthSon/mySortChange.js | 105 +++++++++++-------
.../productsMsg/components/hzpSon/GchzpPt.vue | 2 +
.../productsMsg/components/hzpSon/GchzpTs.vue | 2 +
.../productsMsg/components/hzpSon/JkhzpPt.vue | 2 +
.../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 | 1 +
.../productsMsg/drugArchives/yaopinstscpz.vue | 2 +
.../drugArchives/yaopinyuanliao.vue | 2 +
src/views/productsMsg/zyzj.vue | 2 +
vue.config.js | 2 +-
26 files changed, 155 insertions(+), 62 deletions(-)
create mode 100644 src/views/components/gegnxinshijian/index.vue
diff --git a/src/App.vue b/src/App.vue
index 0029a6d..5ebdba2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -47,6 +47,9 @@ export default {
diff --git a/src/views/productsMsg/components/healthSon/QIxiehealthOne.vue b/src/views/productsMsg/components/healthSon/QIxiehealthOne.vue
index 0284424..4a23a38 100644
--- a/src/views/productsMsg/components/healthSon/QIxiehealthOne.vue
+++ b/src/views/productsMsg/components/healthSon/QIxiehealthOne.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
diff --git a/src/views/productsMsg/components/healthSon/QIxiehealthThree.vue b/src/views/productsMsg/components/healthSon/QIxiehealthThree.vue
index e991bf1..3d555d1 100644
--- a/src/views/productsMsg/components/healthSon/QIxiehealthThree.vue
+++ b/src/views/productsMsg/components/healthSon/QIxiehealthThree.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
@@ -377,9 +379,7 @@ export default {
//搜索
searchList() {
this.mydataFn();
-
this.form.current = 1;
-
for (let i in this.form1) {
this.form[i] = this.form1[i];
}
diff --git a/src/views/productsMsg/components/healthSon/QixiehealthTow.vue b/src/views/productsMsg/components/healthSon/QixiehealthTow.vue
index a2614ca..b82bc74 100644
--- a/src/views/productsMsg/components/healthSon/QixiehealthTow.vue
+++ b/src/views/productsMsg/components/healthSon/QixiehealthTow.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
diff --git a/src/views/productsMsg/components/healthSon/TiwaihealthOne.vue b/src/views/productsMsg/components/healthSon/TiwaihealthOne.vue
index 75c8f30..e75eb0e 100644
--- a/src/views/productsMsg/components/healthSon/TiwaihealthOne.vue
+++ b/src/views/productsMsg/components/healthSon/TiwaihealthOne.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
diff --git a/src/views/productsMsg/components/healthSon/TiwaihealthThree.vue b/src/views/productsMsg/components/healthSon/TiwaihealthThree.vue
index c099d18..2dc92db 100644
--- a/src/views/productsMsg/components/healthSon/TiwaihealthThree.vue
+++ b/src/views/productsMsg/components/healthSon/TiwaihealthThree.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
diff --git a/src/views/productsMsg/components/healthSon/TiwaihealthTow.vue b/src/views/productsMsg/components/healthSon/TiwaihealthTow.vue
index 76d49fb..b89caa6 100644
--- a/src/views/productsMsg/components/healthSon/TiwaihealthTow.vue
+++ b/src/views/productsMsg/components/healthSon/TiwaihealthTow.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
diff --git a/src/views/productsMsg/components/healthSon/health.vue b/src/views/productsMsg/components/healthSon/health.vue
index b40936f..58bf4c8 100644
--- a/src/views/productsMsg/components/healthSon/health.vue
+++ b/src/views/productsMsg/components/healthSon/health.vue
@@ -36,6 +36,8 @@
@@ -65,7 +67,7 @@
- {{ scope.row.zcrszshi }}
+ {{ isdishi(scope.row.zcrszshi) }}
@@ -80,7 +82,9 @@
-
+
+
+
{{ zczt(scope.row.ppztDm) }}
diff --git a/src/views/productsMsg/components/healthSon/mySortChange.js b/src/views/productsMsg/components/healthSon/mySortChange.js
index a051ebe..05c04fc 100644
--- a/src/views/productsMsg/components/healthSon/mySortChange.js
+++ b/src/views/productsMsg/components/healthSon/mySortChange.js
@@ -1,46 +1,65 @@
export const mySortChange = {
- created() {
- console.log('混入');
+ created() {
+ console.log('混入');
+ },
+ methods: {
+ mySortChange(e) {
+ this.sortableshowDaty = e
+ this.form1.pzrqSort = ""
+ this.form1.pzyxqSort = ""
+ this.form1.zcrszshiSort = ""
+ console.log(e.order);
+ let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
+ if (e.column.label == "批准日期") {
+ this.form1.pzrqSort = indextype
+ }
+ if (e.column.label == "批准有效期至") {
+ this.form1.pzyxqSort = indextype
+ }
+ if (e.column.label == "所在地") {
+ this.form1.zcrszshiSort = indextype
+ }
+ this.searchList()
},
- methods: {
- mySortChange(e) {
- this.sortableshowDaty = e
- this.form1.pzrqSort = ""
- this.form1.pzyxqSort = ""
- this.form1.zcrszshiSort = ""
- console.log(e.order);
- let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
- if (e.column.label == "批准日期") {
- this.form1.pzrqSort = indextype
- }
- if (e.column.label == "批准有效期至") {
- this.form1.pzyxqSort = indextype
- }
- if (e.column.label == "所在地") {
- this.form1.zcrszshiSort = indextype
- }
- this.searchList()
- },
- mydataFn() {
- if (this.$refs.mydata.pzrqStartTime) {
- this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
- this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
- } else {
- this.$refs.mydata.form1.pzrqStart = ""
- this.$refs.mydata.form1.pzrqEnd = ""
- }
- if (this.$refs.mydata.yppzwhyxqStartTime) {
- this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
- this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
- } else {
- this.form1.pzyxqStart = ""
- this.form1.pzyxqEnd = ""
- }
- // this.searchList()
- },
- mydataFnqingkong(){
- this.$refs.mydata.pzrqStartTime = ""
- this.$refs.mydata.yppzwhyxqStartTime = ""
- }
+ mydataFn() {
+ if (this.$refs.mydata.pzrqStartTime) {
+ this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
+ this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
+ } else {
+ this.$refs.mydata.form1.pzrqStart = ""
+ this.$refs.mydata.form1.pzrqEnd = ""
+ }
+ if (this.$refs.mydata.yppzwhyxqStartTime) {
+ this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
+ this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
+ } else {
+ this.form1.pzyxqStart = ""
+ this.form1.pzyxqEnd = ""
+ }
+ // this.searchList()
+ },
+ mydataFnqingkong() {
+ this.$refs.mydata.pzrqStartTime = ""
+ this.$refs.mydata.yppzwhyxqStartTime = ""
+ },
+ isdishi(type) {
+ let cities = {
+ 210100000000: '沈阳市',
+ 210200000000: '大连市',
+ 210300000000: '鞍山市',
+ 210400000000: '抚顺市',
+ 210500000000: '本溪市',
+ 210600000000: '丹东市',
+ 210700000000: '锦州市',
+ 210800000000: '营口市',
+ 210900000000: '阜新市',
+ 211000000000: '辽阳市',
+ 211100000000: '盘锦市',
+ 211200000000: '铁岭市',
+ 211300000000: '朝阳市',
+ 211400000000: '葫芦岛市'
+ }
+ return cities[type] || "外地"
}
- };
\ No newline at end of file
+ }
+};
\ No newline at end of file
diff --git a/src/views/productsMsg/components/hzpSon/GchzpPt.vue b/src/views/productsMsg/components/hzpSon/GchzpPt.vue
index 055fbaf..f1f2918 100644
--- a/src/views/productsMsg/components/hzpSon/GchzpPt.vue
+++ b/src/views/productsMsg/components/hzpSon/GchzpPt.vue
@@ -209,6 +209,8 @@
diff --git a/src/views/productsMsg/components/hzpSon/GchzpTs.vue b/src/views/productsMsg/components/hzpSon/GchzpTs.vue
index 2308cb2..3c89b55 100644
--- a/src/views/productsMsg/components/hzpSon/GchzpTs.vue
+++ b/src/views/productsMsg/components/hzpSon/GchzpTs.vue
@@ -208,6 +208,8 @@
diff --git a/src/views/productsMsg/components/hzpSon/JkhzpPt.vue b/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
index 6d4ec68..a8b5a2e 100644
--- a/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
+++ b/src/views/productsMsg/components/hzpSon/JkhzpPt.vue
@@ -205,6 +205,8 @@
diff --git a/src/views/productsMsg/components/hzpSon/JkhzpTs.vue b/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
index 7b7b36f..279ee55 100644
--- a/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
+++ b/src/views/productsMsg/components/hzpSon/JkhzpTs.vue
@@ -208,6 +208,8 @@
diff --git a/src/views/productsMsg/components/productInfo.vue b/src/views/productsMsg/components/productInfo.vue
index c321c91..05f1046 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:81?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:81?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 340edc7..a4e7f5c 100644
--- a/src/views/productsMsg/components/stscpz.vue
+++ b/src/views/productsMsg/components/stscpz.vue
@@ -149,6 +149,8 @@
导出excel
diff --git a/src/views/productsMsg/components/yagao.vue b/src/views/productsMsg/components/yagao.vue
index 9bb5455..7c52131 100644
--- a/src/views/productsMsg/components/yagao.vue
+++ b/src/views/productsMsg/components/yagao.vue
@@ -62,6 +62,8 @@
diff --git a/src/views/productsMsg/drugArchives/yaopinbapz.vue b/src/views/productsMsg/drugArchives/yaopinbapz.vue
index fce8a21..37e80a2 100644
--- a/src/views/productsMsg/drugArchives/yaopinbapz.vue
+++ b/src/views/productsMsg/drugArchives/yaopinbapz.vue
@@ -118,6 +118,7 @@
diff --git a/src/views/productsMsg/drugArchives/yaopinstscpz.vue b/src/views/productsMsg/drugArchives/yaopinstscpz.vue
index 5c85f34..8c034d1 100644
--- a/src/views/productsMsg/drugArchives/yaopinstscpz.vue
+++ b/src/views/productsMsg/drugArchives/yaopinstscpz.vue
@@ -104,6 +104,8 @@
导出excel
diff --git a/src/views/productsMsg/drugArchives/yaopinyuanliao.vue b/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
index dbb52ec..d3c9b14 100644
--- a/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
+++ b/src/views/productsMsg/drugArchives/yaopinyuanliao.vue
@@ -142,6 +142,8 @@
导出excel
diff --git a/src/views/productsMsg/zyzj.vue b/src/views/productsMsg/zyzj.vue
index 228e183..629cc7a 100644
--- a/src/views/productsMsg/zyzj.vue
+++ b/src/views/productsMsg/zyzj.vue
@@ -76,6 +76,8 @@
导出excel
diff --git a/vue.config.js b/vue.config.js
index 013a6f9..407bafd 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -43,7 +43,7 @@ module.exports = {
proxy: {
"/configApi": {
target: "https://dev-mssm-liaoning.lesdev.cn/ggfw-api",
- // target: "http://172.24.21.7/ggfw-api",
+ // target: "http://192.168.0.118:9023/ggfw-api",
changeOrigin: true,
pathRewrite: {
"^/configApi": "",