更新
This commit is contained in:
parent
90c80e57cc
commit
ca6d3fc8c3
@ -66,6 +66,7 @@
|
||||
"path": "pages/oaMy/oaMy",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": true,
|
||||
"app-plus": {
|
||||
"titleNView": false
|
||||
},
|
||||
@ -350,7 +351,7 @@
|
||||
"path": "orderDetail/orderDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "流水详情",
|
||||
"enablePullDownRefresh": false,
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#0122C7",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
@ -458,7 +459,7 @@
|
||||
"path": "taskAdmin/taskAdmin",
|
||||
"style": {
|
||||
"navigationBarTitleText": "任务管理",
|
||||
"enablePullDownRefresh": false,
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#0122C7",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
|
@ -189,6 +189,7 @@
|
||||
async getOaUserInfo() {
|
||||
const res = await userInfo();
|
||||
this.$store.commit('setUserInfo', res.data);
|
||||
uni.stopPullDownRefresh()
|
||||
},
|
||||
navTo (url) {
|
||||
if(url){
|
||||
@ -216,7 +217,6 @@
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
this.getOaUserInfo()
|
||||
uni.stopPullDownRefresh()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -73,7 +73,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.id_card?[{url:formData.qualification.id_card}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.id_card=''" name="id_card"
|
||||
:maxCount="1" width="638rpx" height="300rpx" style="margin-top: 10rpx;">
|
||||
:maxCount="1" width="300rpx" height="200rpx" style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
<!--
|
||||
<u-upload :fileList="formData.avatar?[{url:formData.avatar}]:[]"
|
||||
@ -95,7 +95,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.id_card_b?[{url:formData.qualification.id_card_b}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.id_card_b=''"
|
||||
name="id_card_b" :maxCount="1" width="638rpx" height="300rpx"
|
||||
name="id_card_b" :maxCount="1" width="300rpx" height="200rpx"
|
||||
style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
</view>
|
||||
@ -124,7 +124,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.bank_account?[{url:formData.qualification.bank_account}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.bank_account=''"
|
||||
name="bank_account" :maxCount="1" width="638rpx" height="300rpx"
|
||||
name="bank_account" :maxCount="1" width="300rpx" height="200rpx"
|
||||
style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
</view>
|
||||
@ -142,7 +142,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.bank_account_b?[{url:formData.qualification.bank_account_b}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.bank_account_b=''"
|
||||
name="bank_account_b" :maxCount="1" width="638rpx" height="300rpx"
|
||||
name="bank_account_b" :maxCount="1" width="300rpx" height="200rpx"
|
||||
style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
</view>
|
||||
@ -170,7 +170,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.car_card?[{url:formData.qualification.car_card}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.car_card=''" name="car_card"
|
||||
:maxCount="1" width="638rpx" height="300rpx" style="margin-top: 10rpx;">
|
||||
:maxCount="1" width="300rpx" height="200rpx" style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
</view>
|
||||
</view>
|
||||
@ -187,7 +187,7 @@
|
||||
<u-upload
|
||||
:fileList="formData.qualification.car_card_b?[{url:formData.qualification.car_card_b}]:[]"
|
||||
@afterRead="afterRead" @delete="formData.qualification.car_card_b=''"
|
||||
name="car_card_b" :maxCount="1" width="638rpx" height="300rpx"
|
||||
name="car_card_b" :maxCount="1" width="300rpx" height="200rpx"
|
||||
style="margin-top: 10rpx;">
|
||||
</u-upload>
|
||||
</view>
|
||||
|
@ -110,8 +110,8 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.initDate()
|
||||
this.loadBill()
|
||||
this.initDate();
|
||||
this.initLoad();
|
||||
},
|
||||
onShow() {},
|
||||
computed: {
|
||||
@ -175,6 +175,13 @@
|
||||
this.loadBill()
|
||||
},
|
||||
methods: {
|
||||
// 初始化加载
|
||||
async initLoad(){
|
||||
this.loadConfig.page = 1;
|
||||
this.loadConfig.status = 'loadmore';
|
||||
this.billList = [];
|
||||
await this.loadBill();
|
||||
},
|
||||
async loadBill() {
|
||||
if (this.loadConfig.status == "nomore") return;
|
||||
this.loadConfig.status = "loading"
|
||||
@ -203,10 +210,7 @@
|
||||
this.nowDate.y = e.year;
|
||||
this.nowDate.m = +e.month;
|
||||
this.nowDate.d = e.date;
|
||||
this.loadConfig.page = 1;
|
||||
this.loadConfig.status = 'loadmore';
|
||||
this.billList = [];
|
||||
this.loadBill();
|
||||
this.initLoad()
|
||||
},
|
||||
// 选择月份
|
||||
bindDateChangeMonth(e) {
|
||||
@ -216,7 +220,9 @@
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
uni.stopPullDownRefresh()
|
||||
this.initLoad().then(()=>{
|
||||
uni.stopPullDownRefresh();
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -100,7 +100,11 @@
|
||||
},
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
uni.stopPullDownRefresh()
|
||||
this.loadConfig.page = 1;
|
||||
this.loadConfig.status = 'loadmore';
|
||||
this.loadTaskList().then(()=>{
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user