Browse Source

检查时间

master
jingbowen 2 years ago
parent
commit
8974779904
  1. 2
      components/tabbar.vue
  2. 13
      pages/rescue/index.vue
  3. 8
      pages/rescue/taskapply.vue
  4. 16
      pages/rescue/taskreceive.vue
  5. 2
      unpackage/dist/build/mp-weixin/common/vendor.js

2
components/tabbar.vue

@ -71,7 +71,7 @@
console.log("item", item)
console.log("index", index)
let url = item.pagePath;
uni.switchTab({
uni.reLaunch({
url
})

13
pages/rescue/index.vue

@ -270,13 +270,13 @@
list: [],
month: 0,
nub: 0,
index2:0,
index2:false,
tasktiem:"检查时间",
index: false,
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
mounted() {
created() {
console.log(123456);
let date = new Date()
this.dates.month = date.getMonth() + 1
@ -470,7 +470,7 @@
}
}
this.index2 = 1
this.index2 = true
},
dateYear(e) {
console.log(e);
@ -511,6 +511,9 @@
})
},
start(item) {
if(!item.checkTime){
return 请选择检查时间
}
console.log(item);
// return
uni.navigateTo({
@ -547,10 +550,10 @@
.itembox {
// background: #fff;
position: absolute;
bottom: 180rpx;
bottom: 230rpx;
left: 0;
width: 100%;
height: 500rpx;
height: 600rpx;
.item_top {
height: 60rpx;

8
pages/rescue/taskapply.vue

@ -280,7 +280,7 @@
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
mounted() {
let date = new Date()
this.dates.month = date.getMonth() + 1
@ -360,7 +360,7 @@
},
onReady() {
this.getOrganizations()
},
methods: {
getOrganizations() {
@ -543,10 +543,10 @@
.itembox {
// background: #fff;
position: absolute;
bottom: 0;
bottom: 230rpx;
left: 0;
width: 100%;
height: 800rpx;
height: 600rpx;
.item_top {
height: 60rpx;

16
pages/rescue/taskreceive.vue

@ -114,9 +114,7 @@
<button type="default" @tap="bohui(item)">驳回</button>
</view>
<view v-else class="jiancha" style="color: #FFBA19;">
{{item.approvalStatus}}
</view>
</view>
<view style="display: flex;">
<view style="flex:1">
@ -133,10 +131,9 @@
:class="{jiancha_color:item.approvalStatus=='通过'}">
{{item.approvalStatus}}
</view>
<!-- <view v-else class="jiancha"
style="color: #FFBA19;">
<view v-else style="color: #14B488;">
{{item.approvalStatus}}
</view> -->
</view>
</view>
</view>
@ -285,7 +282,7 @@
months: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}
},
created() {
mounted() {
let date = new Date()
this.dates.month = date.getMonth() + 1
this.today.month = date.getMonth() + 1
@ -396,7 +393,7 @@
} else {
this.getSupervisor()
}
this.index3 =true
this.getTaskListOfStation(userId)
})
},
@ -485,6 +482,7 @@
this.nub += 1
}
}
this.index3 =true
this.opts.subtitle.name = JSON.stringify(this.nub)
},
@ -563,7 +561,7 @@
.itembox {
// background: #fff;
position: absolute;
bottom: 0;
bottom: 160rpx;
left: 0;
width: 100%;
height: 600rpx;

2
unpackage/dist/build/mp-weixin/common/vendor.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save