修改对公审核字段错误的问题
This commit is contained in:
parent
efe3d3241d
commit
84c6c54e58
@ -7,9 +7,6 @@ Component({
|
|||||||
properties: {
|
properties: {
|
||||||
list: {
|
list: {
|
||||||
type: Array,
|
type: Array,
|
||||||
watch(newVal) {
|
|
||||||
console.log("newVal ------", newVal)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
header: Array,
|
header: Array,
|
||||||
totalPage: Number,
|
totalPage: Number,
|
||||||
@ -31,7 +28,6 @@ Component({
|
|||||||
},
|
},
|
||||||
lifetimes: {
|
lifetimes: {
|
||||||
attached() {
|
attached() {
|
||||||
console.log('this.data', this.data.list)
|
|
||||||
this.setData({
|
this.setData({
|
||||||
tempList: (this.data.list || [])?.slice(0, 20),
|
tempList: (this.data.list || [])?.slice(0, 20),
|
||||||
})
|
})
|
||||||
|
@ -127,8 +127,4 @@ Page({
|
|||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
// onTabItemTap(item) {
|
|
||||||
// console.log('------------', item)
|
|
||||||
|
|
||||||
// }
|
|
||||||
})
|
})
|
@ -41,7 +41,6 @@ Page({
|
|||||||
async upload(res) {
|
async upload(res) {
|
||||||
|
|
||||||
const result = await uploadPublicFile(res.tempFiles[0]?.tempFilePath)
|
const result = await uploadPublicFile(res.tempFiles[0]?.tempFilePath)
|
||||||
console.log('upload result', result)
|
|
||||||
if (result.statusCode !== 200) {
|
if (result.statusCode !== 200) {
|
||||||
alertInfo("上传失败")
|
alertInfo("上传失败")
|
||||||
return;
|
return;
|
||||||
|
@ -40,7 +40,6 @@ Page({
|
|||||||
},
|
},
|
||||||
async getCode() {
|
async getCode() {
|
||||||
const tenement = wx.getStorageSync('tenement');
|
const tenement = wx.getStorageSync('tenement');
|
||||||
console.log("tenement", tenement)
|
|
||||||
const { code, message, data } = await getWxCode(tenement.id)
|
const { code, message, data } = await getWxCode(tenement.id)
|
||||||
if (code !== OK) {
|
if (code !== OK) {
|
||||||
alertInfo(message)
|
alertInfo(message)
|
||||||
|
@ -28,7 +28,6 @@ Page({
|
|||||||
this.setData({ servicesList: data })
|
this.setData({ servicesList: data })
|
||||||
},
|
},
|
||||||
clickService(e) {
|
clickService(e) {
|
||||||
console.log('e', e)
|
|
||||||
const { type, value } = e.currentTarget.dataset.data;
|
const { type, value } = e.currentTarget.dataset.data;
|
||||||
if (!value) {
|
if (!value) {
|
||||||
alertInfo("暂未开通")
|
alertInfo("暂未开通")
|
||||||
|
@ -75,7 +75,6 @@ Component({
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onChangeReason(e) {
|
onChangeReason(e) {
|
||||||
console.log('e.detail', e.detail)
|
|
||||||
this.setData({
|
this.setData({
|
||||||
reason: e.detail,
|
reason: e.detail,
|
||||||
})
|
})
|
||||||
@ -93,11 +92,8 @@ Component({
|
|||||||
alertInfo("请输入拒绝理由")
|
alertInfo("请输入拒绝理由")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('1')
|
|
||||||
loadingFunc(async () => {
|
loadingFunc(async () => {
|
||||||
console.log('2')
|
|
||||||
const { code, message } = await rechargeApprove({ id: record, status: 1, reason })
|
const { code, message } = await rechargeApprove({ id: record, status: 1, reason })
|
||||||
console.log('3')
|
|
||||||
if (code !== OK) {
|
if (code !== OK) {
|
||||||
alertInfo(message)
|
alertInfo(message)
|
||||||
return;
|
return;
|
||||||
@ -131,7 +127,6 @@ Component({
|
|||||||
if (res.cancel) {
|
if (res.cancel) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
loadingFunc(async () => {
|
loadingFunc(async () => {
|
||||||
const { code, message } = await rechargeApprove({ id: record, status: 0, })
|
const { code, message } = await rechargeApprove({ id: record, status: 0, })
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<van-radio wx:if="{{item.orderStatus !== '已退回'}}" name="{{item.id}}"></van-radio>
|
<van-radio wx:if="{{item.orderStatus !== '已退回'}}" name="{{item.id}}"></van-radio>
|
||||||
</view>
|
</view>
|
||||||
<view class="th" style="width: 200rpx"> {{ item.tenement.shortName }} </view>
|
<view class="th" style="width: 200rpx"> {{ item.tenement.shortName }} </view>
|
||||||
<view class="th" style="width: 200rpx"> {{ item.amount }} </view>
|
<view class="th" style="width: 200rpx"> {{ item.money }} </view>
|
||||||
<view class="th" style="width: 200rpx">
|
<view class="th" style="width: 200rpx">
|
||||||
<view class="primaryTextBtn" bind:tap="jumpToDetail" data-id="{{item.id}}">
|
<view class="primaryTextBtn" bind:tap="jumpToDetail" data-id="{{item.id}}">
|
||||||
查看详细
|
查看详细
|
||||||
|
Loading…
x
Reference in New Issue
Block a user