diff --git a/App.vue b/App.vue index e7c61ab..981841d 100644 --- a/App.vue +++ b/App.vue @@ -15,6 +15,7 @@ console.log(res.messageID) audioContext.play() noticeArr.push(res.messageID) + console.log("app的") uni.vibrateLong({ success: function() { console.log('success'); diff --git a/components/companyFinance/companyFinance.vue b/components/companyFinance/companyFinance.vue index 5ead527..446e9cb 100644 --- a/components/companyFinance/companyFinance.vue +++ b/components/companyFinance/companyFinance.vue @@ -28,7 +28,9 @@ + + 账单日期: {{current?item.month:item.create_time}} @@ -38,26 +40,33 @@ 任务名称: {{item.remark}} - + 收益来源: - {{item.type_desc}} - {{item.type_desc}} + {{item.type_desc}} + {{item.type_desc}} - {{current?(item.expenditure==0?'+'+item.income:'-'+item.income):item.change_amount_desc}} + + {{item.expenditure==0?'+'+item.income:'-'+item.income}} + {{item.change_amount_desc}} + + + + + @@ -239,12 +248,12 @@ &:before { display: inline-block; - content: '账单详情'; + content: '账户收益'; width: 137rpx; height: 49rpx; line-height: 49rpx; text-align: center; - background: #3274F9; + background: #FF7C32; border-radius: 26rpx 26rpx 26rpx 26rpx; color: #fff; margin-right: 28rpx; @@ -258,7 +267,7 @@ .text { font-size: 25rpx; font-weight: 400; - color: #999999; + color: #333333; line-height: 39rpx; .t_item { @@ -282,7 +291,7 @@ align-items: center; font-size: 32rpx; font-weight: 500; - color: #F02828; + color: #488F00; } } } diff --git a/components/districtSelector/districtSelector.vue b/components/districtSelector/districtSelector.vue index 768f0ad..ed09da7 100644 --- a/components/districtSelector/districtSelector.vue +++ b/components/districtSelector/districtSelector.vue @@ -1,282 +1,294 @@ \ No newline at end of file diff --git a/components/districtSelector/districtSelectorTow.vue b/components/districtSelector/districtSelectorTow.vue index 96b31ed..5cbae88 100644 --- a/components/districtSelector/districtSelectorTow.vue +++ b/components/districtSelector/districtSelectorTow.vue @@ -1,250 +1,264 @@ \ No newline at end of file diff --git a/pages/logistics/index.vue b/pages/logistics/index.vue index 46accaa..ad6b74c 100644 --- a/pages/logistics/index.vue +++ b/pages/logistics/index.vue @@ -1,147 +1,128 @@ \ No newline at end of file diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index f7ac35a..dc0a64e 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -238,21 +238,19 @@ }); }, onLoad() { - // //#ifdef APP-PLUS - // const audioContext = uni.createInnerAudioContext(); - // audioContext.volume = 1; - // audioContext.src = "../../static/mp3/order.mp3"; - // let that = this; - // jpushModule.addNotificationListener(function (result) { - // if (!that.notArr.includes(result.messageID)) { - // that.$refs.globalPopup.showPopu(); - // that.getOrderList(); - // console.log("idnex的"); - // audioContext.play(); - // } - // that.notArr.push(result.messageID); - // }); - // // #endif + //#ifdef APP-PLUS + + let that = this; + jpushModule.addNotificationListener(function(result) { + if (!that.notArr.includes(result.messageID)) { + that.$refs.globalPopup.showPopu(); + that.getOrderList(); + console.log("idnex的"); + } + that.notArr.push(result.messageID); + }); + // #endif + }, onShow() { // this.getUserIndex() diff --git a/subpkg/newPersonnel/newPersonnel.vue b/subpkg/newPersonnel/newPersonnel.vue index 6e1c185..b70cc75 100644 --- a/subpkg/newPersonnel/newPersonnel.vue +++ b/subpkg/newPersonnel/newPersonnel.vue @@ -1,309 +1,558 @@ \ No newline at end of file diff --git a/subpkg/personnel/personnel.vue b/subpkg/personnel/personnel.vue index 1adbbf3..e3f78e2 100644 --- a/subpkg/personnel/personnel.vue +++ b/subpkg/personnel/personnel.vue @@ -58,7 +58,8 @@ - 创建时间: {{item.create_time||"2020-10-10"}} + 创建时间: {{creTime(item.create_time)}} + 财务查看 信息查看 @@ -137,7 +138,13 @@ this.loadUserList(); uni.$on('initPersonnel', this.initLoad); }, + methods: { + creTime(a) { + return a.toString().substring(0, 10) + // return a.substring(0, 10) + // console.log(a.substring(0, 10)) + }, navTo(url) { url ? uni.navigateTo({