Commit 62531a5c authored by 王晓铜's avatar 王晓铜

Merge branch 'master' of git.quantgroup.cn:QA/qa-platform-ui

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