Commit 3d05ad96 authored by 高宇's avatar 高宇

删除菜单

parent b19f892b
...@@ -117,18 +117,24 @@ export default { ...@@ -117,18 +117,24 @@ export default {
}, },
// 提价时要调的接口 // 提价时要调的接口
submitForm() { submitForm() {
this.$refs.form.validate((valid) => { this.$confirm('是否确认提交?', '提示', {
if (valid) { confirmButtonText: '确定',
addApplication(this.form).then(res => { cancelButtonText: '取消',
console.log('res', res) type: 'warning'
if (res.code === 200) { }).then(res => {
this.$message.success('操作成功') this.$refs.form.validate((valid) => {
this.resetFrom() if (valid) {
} else if (res.code === null) { addApplication(this.form).then(res => {
this.$message.success(res.message) console.log('res', res)
} if (res.code === 200) {
}) this.$message.success('操作成功')
} this.resetFrom()
} else if (res.code === null) {
this.$message.success(res.message)
}
})
}
})
}) })
}, },
// 调数据字典查询 // 调数据字典查询
......
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