@@ -111,7 +111,7 @@ export default {
},
saveData() {
let url, type
- if (!this.model.id) {
+ if (!this.model.deptId) {
url = this.url.add
type = 'post'
} else {