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

删除菜单

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