|
@@ -1,5 +1,4 @@
|
|
|
const app = getApp()
|
|
|
-import { is_use_project } from '../../utils/dict';
|
|
|
|
|
|
Page({
|
|
|
|
|
@@ -50,12 +49,6 @@ Page({
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 查询
|
|
|
- search: function (e) {
|
|
|
- const that = this;
|
|
|
- that.setData({ 'searchInfo.name': e.detail.value });
|
|
|
- that.watchLogin()
|
|
|
- },
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
@@ -76,7 +69,7 @@ Page({
|
|
|
if (arr.errcode == '0') {
|
|
|
for (const val of arr.data) {
|
|
|
const aee = await app.$get(`/newCourt/api/user/${val.referee_id}`);
|
|
|
- if(aee.errcode=='0')val.referee_name=aee.data.name
|
|
|
+ if (aee.errcode == '0') val.referee_name = aee.data.name;
|
|
|
}
|
|
|
that.setData({ list: arr.data })
|
|
|
} else { wx.showToast({ title: `${res.errMsg}`, icon: 'fail', duration: 2000 }); }
|