From caa6828681edd722f0b08d00e390ea19afef87ec Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Sat, 2 Sep 2023 11:56:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 6 +-
components/company/company.vue | 4 +-
components/newArchives/residents.vue | 4 +-
pages/oaHome/oaHome.vue | 1349 +++++++++++-----------
store/modules/config.js | 3 +
subpkg/archivesDetail/archivesDetail.vue | 6 +-
subpkg/companySign/companySign.vue | 2 +-
subpkg/contractDetail/contractDetail.vue | 2 +-
8 files changed, 676 insertions(+), 700 deletions(-)
diff --git a/App.vue b/App.vue
index 848526c..3cc61b1 100644
--- a/App.vue
+++ b/App.vue
@@ -3,7 +3,7 @@
const jpushModule = uni.requireNativePlugin("JG-JPush");
// #endif
export default {
- onLaunch: async function() {
+ onLaunch: async function(info) {
// let noticeArr = []
// jpushModule.addNotificationListener(res => {
// if (!noticeArr.includes(res.messageID)) {
@@ -16,6 +16,10 @@
// console.log("app的监听")
// }
// })
+ uni.showModal({
+ content: info
+ })
+ if(info.referrerInfo?.extraData?.uniMP) uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP);
console.log('App Launch')
this.$store.dispatch('initConfig');
try {
diff --git a/components/company/company.vue b/components/company/company.vue
index ffed8c3..33baf6e 100644
--- a/components/company/company.vue
+++ b/components/company/company.vue
@@ -359,9 +359,9 @@
brigade: ''
}
},
- props: ['id', 'type'],
+ props: ['cid', 'type'],
mounted() {
- this.initContract(this.$props.id, this.$props.type || null);
+ this.initContract(this.$props.cid, this.$props.type || null);
},
computed: {
c_address() {
diff --git a/components/newArchives/residents.vue b/components/newArchives/residents.vue
index 5f656e3..f96c31a 100644
--- a/components/newArchives/residents.vue
+++ b/components/newArchives/residents.vue
@@ -4,7 +4,7 @@
常住人口
-
+
@@ -37,7 +37,7 @@
-
+
diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue
index bef6884..27755f0 100644
--- a/pages/oaHome/oaHome.vue
+++ b/pages/oaHome/oaHome.vue
@@ -1,34 +1,28 @@
-
-