Commit 95095e40 authored by 罗新东's avatar 罗新东

修复了延期审批详情报错,修改了延期审批无法审批bug

parent 210f143a
Pipeline #7095 passed with stage
in 9 seconds
...@@ -138,8 +138,6 @@ export default { ...@@ -138,8 +138,6 @@ export default {
name: "normal-detail", name: "normal-detail",
params: { params: {
id: data.businessId, id: data.businessId,
api:'/delayApply/deal/',
method:'get'
}, },
}); });
this.showIndex = null; this.showIndex = null;
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
readonly readonly
name="applyDate" name="applyDate"
label="延期时间" label="延期时间"
placeholder="请输入" placeholder=""
:rules="[{ required: true, message: '延期时间不能为空' }]"
/> />
<van-field <van-field
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
rows="1" rows="1"
autosize autosize
type="textarea" type="textarea"
placeholder="空"
/> />
<van-field name="isAgree" label="延期是否通过"> <van-field name="isAgree" label="延期是否通过">
...@@ -79,7 +80,7 @@ export default { ...@@ -79,7 +80,7 @@ export default {
delayTime: "", // 延迟时间 delayTime: "", // 延迟时间
showDelayTime: false, showDelayTime: false,
delayApply: "", // 延迟理由 delayApply: "", // 延迟理由
isAgree: 1, // 延期是否通过 isAgree: '1', // 延期是否通过
opinion: "", //理由或者意见 opinion: "", //理由或者意见
applyDate: "", //延期时间 applyDate: "", //延期时间
applyReason: "", //延期理由 applyReason: "", //延期理由
...@@ -98,8 +99,10 @@ export default { ...@@ -98,8 +99,10 @@ export default {
loadingType: "spinner", loadingType: "spinner",
duration: 0, duration: 0,
}); });
// console.log(this.isAgree)
return false;
let formdata = new FormData(); let formdata = new FormData();
formdata.append("examineResult", values.examineResult); formdata.append("examineResult", this.isAgree*1);
formdata.append("examineReason", values.examineReason); formdata.append("examineReason", values.examineReason);
formdata.append("taskId", this.taskId); formdata.append("taskId", this.taskId);
delayEdit(`/delayApply/edit`, formdata) delayEdit(`/delayApply/edit`, formdata)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment