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

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

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