班组配置请求问题
This commit is contained in:
parent
a5f1a283c3
commit
bb8c35bbb2
|
|
@ -222,13 +222,16 @@ export default {
|
|||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
addTeamItem(this.temp).then((response) => {
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: response.msg,
|
||||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
if(response.code==200){
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: response.msg,
|
||||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}
|
||||
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
})
|
||||
|
|
@ -247,13 +250,15 @@ export default {
|
|||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
updateTeamItem(this.temp).then((response) => {
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: response.msg,
|
||||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
if(response.code==200){
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: response.msg,
|
||||
type: 'success',
|
||||
duration: 2000
|
||||
})
|
||||
this.getList()
|
||||
}
|
||||
}).finally(() => {
|
||||
this.dialogFormVisible = false
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue