Commit 97197855 authored by 王晓铜's avatar 王晓铜

Merge branch 'master' into xiaotong

parents a3920436 cdc13c25
......@@ -151,7 +151,11 @@ export default {
},
sendFormRules: {
progress: [
{ required: true, message: '请输入测试进度百分比,不需要%', trigger: 'blur' }
{
required: true,
message: '请输入测试进度百分比,不需要%',
trigger: 'blur'
}
]
}
}
......@@ -237,6 +241,10 @@ export default {
this.sendScheduleData.progress = this.sendScheduleForm.progress + '%'
this.sendScheduleData.risk = this.sendScheduleForm.risk
this.sendScheduleData.webhook = this.sendProjectRobot.dingUrl
this.$refs.sendFormRef.validate((valid) => {
if (!valid) {
return false
} else {
sendScheduleReport(this.sendScheduleData).then((resp) => {
if (resp.data.data === true) {
this.sendScheduleDialogVisible = false
......@@ -245,6 +253,8 @@ export default {
return this.$message.error('发送失败!')
}
})
}
})
},
handleSizeChange(newSize) {
this.queryInfo.pageSize = newSize
......
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