|
|
@@ -89,6 +89,7 @@
|
|
|
|
|
|
<script>
|
|
|
import {getAfterSalesList} from '@/api/storeAfterSales.js'
|
|
|
+ import {getDicts} from '@/api/index'
|
|
|
import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
|
|
|
export default {
|
|
|
mixins: [MescrollMixin],
|
|
|
@@ -121,6 +122,7 @@
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
var that=this;
|
|
|
+ this.getDicts();
|
|
|
uni.$on('refreshAfterSales', () => {
|
|
|
that.mescroll.resetUpScroll()
|
|
|
})
|
|
|
@@ -131,6 +133,21 @@
|
|
|
this.status = item.value
|
|
|
this.mescroll.resetUpScroll()
|
|
|
},
|
|
|
+ getDicts:function(){
|
|
|
+ getDicts().then(
|
|
|
+ res => {
|
|
|
+ if(res.code==200){
|
|
|
+ uni.setStorageSync('dicts',JSON.stringify(res));
|
|
|
+
|
|
|
+ }else{
|
|
|
+
|
|
|
+ }
|
|
|
+ // this.loadding=false;
|
|
|
+ // this.navigatHandler();
|
|
|
+ },
|
|
|
+ rej => {}
|
|
|
+ );
|
|
|
+ },
|
|
|
mescrollInit(mescroll) {
|
|
|
this.mescroll = mescroll;
|
|
|
},
|