| | |
| | | row:true, |
| | | hide:true, |
| | | rules: [{ |
| | | required: false, |
| | | message: "请输入车辆类型", |
| | | required: true, |
| | | message: "请选择学历", |
| | | trigger: "blur" |
| | | }], |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationTypes", |
| | |
| | | created() { |
| | | this.option.height = this.windowHeight - 320; |
| | | if (this.stats == "1") { |
| | | //分公司 |
| | | //学校 |
| | | const educationcolumn = this.findObject( |
| | | this.option.column, |
| | | "education" |
| | |
| | | this.option.column, |
| | | "paper" |
| | | ); |
| | | //法人及电话不可见 |
| | | //学历证书 |
| | | educationcolumn.display = true; |
| | | educationcolumn.hide = false; |
| | | educationcolumn.search = true; |
| | |
| | | methods: { |
| | | rowSave(row, done, loading) { |
| | | row['deptId'] = this.deptid; |
| | | if(this.stats != "1"){ |
| | | delete row.paper; |
| | | } |
| | | adddata2(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |
| | |
| | | }, |
| | | rowUpdate(row, index, done, loading) { |
| | | row['deptId'] = this.deptid; |
| | | if(this.stats != "1"){ |
| | | delete row.paper; |
| | | } |
| | | update2(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |