| | |
| | | </div> |
| | | |
| | | <div class="footer-btn-box"> |
| | | <el-button size="small" type="primary" @click="dataUpdate">保 存</el-button> |
| | | <el-button size="small" :disabled="disabled" type="primary" @click="dataUpdate">保 存</el-button> |
| | | |
| | | <el-button size="small" @click="roleBoxClose">关 闭</el-button> |
| | | </div> |
| | |
| | | } |
| | | |
| | | return { |
| | | disabled: false, |
| | | roleBox: false, |
| | | baseShow: false, |
| | | restShow: false, |
| | |
| | | option: { |
| | | submitBtn: false, |
| | | emptyBtn: false, |
| | | |
| | | dialogMenuPosition: 'right', |
| | | column: [{ |
| | | span: 12, |
| | | label: "场所名称", |
| | |
| | | }, ], |
| | | }, |
| | | { |
| | | collapseTags: true, |
| | | maxCollapseTags: 3, |
| | | collapseTagsTooltip: true, |
| | | multiple: true, |
| | | span: 5, |
| | | label: "", |
| | | labelWidth: 20, |
| | | prop: "smallLabel", |
| | | type: "select", |
| | |
| | | labelWidth: 120, |
| | | |
| | | }, |
| | | |
| | | { |
| | | label: "备注", |
| | | prop: "remark", |
| | |
| | | submitBtn: false, |
| | | emptyBtn: false, |
| | | column: [{ |
| | | label: "学生人数", |
| | | prop: "studentNumber", |
| | | }, |
| | | { |
| | | label: "教职工人数", |
| | | prop: "workersNumber", |
| | | }, |
| | | { |
| | | label: "专职保安", |
| | | prop: "securityNumber", |
| | | }, |
| | | { |
| | | label: "专职门卫", |
| | | prop: "guardNumber", |
| | | }, |
| | | { |
| | | label: "专兼职保卫人员", |
| | | prop: "temporarySecurityNumber", |
| | | }, |
| | | { |
| | | label: "走读/寄宿", |
| | | prop: "dayStudentsNumber", |
| | | }, |
| | | { |
| | | label: "住校生人数", |
| | | prop: "residentialStudentsNumber", |
| | | }, |
| | | { |
| | | label: "宿舍管理人员", |
| | | prop: "housemasterNumber", |
| | | }, { |
| | | labelWidth: 100, |
| | | label: "法人信息", |
| | | prop: "legalPerson", |
| | | }, |
| | | |
| | | { |
| | | labelWidth: 100, |
| | | label: "法人电话", |
| | |
| | | |
| | | dataUpdate() { |
| | | const that = this |
| | | |
| | | that.disabled = true; |
| | | let imageUrls = this.desposeImage(this.form.imageUrls) |
| | | let placeImages = this.desposeImage(this.placeForm.imageUrls) |
| | | let placePlanImageUrls = this.desposeImage(this.placeForm.planImageUrls) |
| | |
| | | that.placeElement.page, |
| | | that.placeElement.query |
| | | ) |
| | | |
| | | done() |
| | | }) |
| | | ) |
| | | } else { |
| | | console.log("error submit!!") |
| | | that.disabled = false; |
| | | return false |
| | | } |
| | | }) |
| | |
| | | roleBoxClose() { |
| | | this.form = {} |
| | | this.placeForm = {} |
| | | |
| | | this.disabled = false |
| | | this.$refs.baseForm && this.$refs.baseForm.resetForm() |
| | | this.$refs.restForm && this.$refs.restForm.resetForm() |
| | | this.baseShow = false |