diff --git a/components/not-logged/not-logged.vue b/components/not-logged/not-logged.vue index 2a0fae4..6ddbe1a 100644 --- a/components/not-logged/not-logged.vue +++ b/components/not-logged/not-logged.vue @@ -42,8 +42,8 @@ margin-top: 40%; } .view-image{ - width: 100rpx; - height: 100rpx; + width: 750rpx; + height: 456rpx; } .login-btn{ width: 90%; diff --git a/pages.json b/pages.json index 52a041b..1df235b 100644 --- a/pages.json +++ b/pages.json @@ -330,8 +330,7 @@ "enablePullDownRefresh": false } } - - ], + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", diff --git a/pages/add-record/index.vue b/pages/add-record/index.vue index d96a409..1fc86ab 100644 --- a/pages/add-record/index.vue +++ b/pages/add-record/index.vue @@ -78,14 +78,17 @@ export default { form: { address: '', content: '', - customerEnterpriseId: this.$store.state.supplierInfo.id || null, - mallSupplierId: this.$store.state.supplierInfo.supplierId || null, + customerEnterpriseId: null, + mallSupplierId: this.$store.state.supplierInfo.supplierId || null, remark: '', respondent: '' } } }, - onLoad() { + onLoad(option) { + if (option.customerEnterpriseId) { + this.form.customerEnterpriseId = option.customerEnterpriseId + } this.locatePosition() }, methods: { diff --git a/pages/follow-up-records/index.vue b/pages/follow-up-records/index.vue index f2b93c0..83c948d 100644 --- a/pages/follow-up-records/index.vue +++ b/pages/follow-up-records/index.vue @@ -78,10 +78,8 @@ export default { params: { asc: '', desc: '', - customerEnterpriseId: this.$store.state.supplierInfo.id || null, + customerEnterpriseId: null, mallSupplierId: this.$store.state.supplierInfo.supplierId || null - // enterpriseIds : ['651107734133018624'], - // mallSupplierId : '670334117090562048', }, pagination: { pageNum: 0, // 初始会执行一次下拉加载 @@ -103,9 +101,9 @@ export default { this.downCallback() }, onLoad(option) { - // if (option.customerEnterpriseId) { - // this.params.customerEnterpriseId = option.customerEnterpriseId - // } + if (option.customerEnterpriseId) { + this.params.customerEnterpriseId = option.customerEnterpriseId + } }, methods: { back, @@ -133,7 +131,7 @@ export default { }) }, addTap() { - go2('add-record') + go2('add-record', { customerEnterpriseId: this.params.customerEnterpriseId }) }, downCallback() { this.pagination.pageNum = 1 diff --git a/pages/mall/index.vue b/pages/mall/index.vue index 84ad048..09dc9bf 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -1,6 +1,6 @@