56 lines
1.1 KiB
JavaScript
56 lines
1.1 KiB
JavaScript
Page({
|
|
data: {
|
|
|
|
},
|
|
onLoad() {},
|
|
ruzhu(){
|
|
// my.request({
|
|
// url: url+'/api/business/add',
|
|
// method: 'POST',
|
|
// data: {
|
|
|
|
// },
|
|
// headers: {
|
|
// 'content-type': 'application/json', //默认值
|
|
// },
|
|
// dataType: 'json',
|
|
// success: (res)=> {
|
|
// my.alert({ content: 'success' });
|
|
// },
|
|
// fail: function (error) {
|
|
// console.error('fail: ', JSON.stringify(error));
|
|
// },
|
|
// complete: function (res) {
|
|
// my.hideLoading();
|
|
// my.alert({ content: 'complete' });
|
|
// },
|
|
// });
|
|
my.alert({ content: '正在审核中,请耐心等待' });
|
|
my.navigateBack()
|
|
},
|
|
businessName(e) {
|
|
this.setData({
|
|
businessName: e.detail.value,
|
|
});
|
|
console.log(e.detail.value);
|
|
},
|
|
person(e) {
|
|
this.setData({
|
|
person: e.detail.value,
|
|
});
|
|
console.log(e.detail.value);
|
|
},
|
|
phone(e) {
|
|
this.setData({
|
|
phone: e.detail.value,
|
|
});
|
|
console.log(e.detail.value);
|
|
},
|
|
idcard(e) {
|
|
this.setData({
|
|
idcard: e.detail.value,
|
|
});
|
|
console.log(e.detail.value);
|
|
},
|
|
});
|