app费用减免提交
This commit is contained in:
parent
ef7ecf76e1
commit
fde0014958
|
|
@ -139,7 +139,7 @@
|
||||||
import { ref, reactive,nextTick } from 'vue'
|
import { ref, reactive,nextTick } from 'vue'
|
||||||
import eselect from '@/components/tree-select/eselect.vue'
|
import eselect from '@/components/tree-select/eselect.vue'
|
||||||
import { onLoad,onReady } from '@dcloudio/uni-app'
|
import { onLoad,onReady } from '@dcloudio/uni-app'
|
||||||
import { getUnitList,getProjectList,getThreeType,getFourType,getDirefList,insertApp,getAgreementInfoById,getTypeDataList,leaseTask } from '../../services/back.js';
|
import { getUnitList,getProjectList,getThreeType,getFourType,getDirefList,insertApp,getAgreementInfoById,getTypeDataList,leaseTask,discountSubmit } from '../../services/back.js';
|
||||||
const taskInfo = ref({})
|
const taskInfo = ref({})
|
||||||
const treeSelect = ref(null)
|
const treeSelect = ref(null)
|
||||||
const treeSelect2 = ref(null)
|
const treeSelect2 = ref(null)
|
||||||
|
|
@ -443,11 +443,32 @@ const submitNum = () => {
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}else{
|
}else{
|
||||||
uni.showToast({
|
let obj = {
|
||||||
title: '提交成功!',
|
"agreementId":agreementId.value,
|
||||||
icon: 'none',
|
"detailList":typeList.value,
|
||||||
duration: 1000
|
"bmFileInfos":bmFileInfos.value,
|
||||||
})
|
"reduceStartTime":formData.value.reduceStartTime,
|
||||||
|
"reduceEndTime":formData.value.reduceEndTime,
|
||||||
|
}
|
||||||
|
console.log(obj)
|
||||||
|
discountSubmit(obj).then( res => {
|
||||||
|
console.log(res)
|
||||||
|
if(res.code==200){
|
||||||
|
console.log('xxxxxxxxxxxxxxxx')
|
||||||
|
uni.showToast({ title: '申请成功', icon: 'none',duration: 1000
|
||||||
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
});
|
||||||
|
}, 1000);
|
||||||
|
}else{
|
||||||
|
console.log('yyyyyyyyyyyyy')
|
||||||
|
uni.showToast({ title: res.msg, icon: 'none',duration: 1000 })
|
||||||
|
}
|
||||||
|
}).catch(error => {
|
||||||
|
console.log(error)
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -114,9 +114,9 @@
|
||||||
</uni-td>
|
</uni-td>
|
||||||
<uni-td style="font-size: 24rpx;text-align: center;">
|
<uni-td style="font-size: 24rpx;text-align: center;">
|
||||||
<view class="uni-group">
|
<view class="uni-group">
|
||||||
<view class="action-btn" @click="uploadImg(item)">
|
<!-- <view class="action-btn" @click="uploadImg(item)">
|
||||||
<uni-icons type="camera" size="20" style="color: #3784fb;"/>
|
<uni-icons type="camera" size="20" style="color: #3784fb;"/>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="action-btn delete" @click="delRow(index)">
|
<view class="action-btn delete" @click="delRow(index)">
|
||||||
<uni-icons type="trash-filled" size="20" style="color: red;margin-left:10px;"/>
|
<uni-icons type="trash-filled" size="20" style="color: red;margin-left:10px;"/>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -245,3 +245,12 @@ export const getDetailsByIdApi = (data) => {
|
||||||
data:data,
|
data:data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 减免费用申请提交
|
||||||
|
export const discountSubmit = (data) => {
|
||||||
|
return http({
|
||||||
|
method: 'POST',
|
||||||
|
url: '/material/slt_agreement_reduce/addApply',
|
||||||
|
data:data,
|
||||||
|
})
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue