| | |
| | | }, |
| | | dicData: [], |
| | | rules: [{ |
| | | required: true, |
| | | required: false, |
| | | message: "请选择地址", |
| | | trigger: "blur", |
| | | },], |
| | |
| | | } |
| | | |
| | | delete this.form.smallLabel |
| | | if(Array.isArray(this.form.houseCodeBinds) ){ |
| | | this.form.houseCodeBinds = this.form.houseCodeBinds.join(",") |
| | | } |
| | | |
| | | |
| | | this.$refs.baseForm.validate((valid, done, msg) => { |
| | | if (valid) { |
| | |
| | | <template> |
| | | <basic-container> |
| | | |
| | | |
| | | |
| | | |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" v-model="form" |
| | | :permission="permissionList" @row-save="rowSave" :before-open="beforeOpen" @search-change="searchChange" |
| | | @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange" |
| | |
| | | }}</el-tag> |
| | | </template> |
| | | |
| | | <!-- <template slot="menuLeft"> |
| | | <el-button size="small" icon="el-icon-delete" plain v-if="permission.place_delete" @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> --> |
| | | <template slot="menuLeft"> |
| | | <!-- <el-button size="small" icon="el-icon-delete" plain v-if="permission.place_delete" @click="handleDelete">删 除 |
| | | </el-button> --> |
| | | <div class="type-row"> |
| | | <div class="type-item"> |
| | | 未成年人 {{countInfo.minors}}人 |
| | | </div> |
| | | |
| | | <!-- <template slot-scope="{row, size}" slot="menu"> |
| | | <div class="type-item"> |
| | | 少数民族 {{countInfo.nationalMinority}}人 |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button :size="size" type="text" icon="el-icon-s-check" v-if="permission.place_audit_cur" |
| | | @click="auditCur({ ...row, confirmFlag: 1 })">审核 |
| | | </el-button> |
| | |
| | | <el-button :size="size" type="text" icon="el-icon-edit" v-if="permission.place_manage_tenants" |
| | | @click="ManageTenants(row)">场所维护 |
| | | </el-button> |
| | | </template> --> |
| | | </template> |
| | | |
| | | <template slot-scope="{row, size}" slot="principalPhone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'principalPhoneflag')" |
| | |
| | | datetime: "", |
| | | selectionList: [], |
| | | option: { |
| | | header:false, |
| | | // header:true, |
| | | labelWidth: 120, |
| | | searchLabelWidth: 96, |
| | | searchShow: true, |
| | |
| | | data: [], |
| | | |
| | | auditBasePopup: false, |
| | | |
| | | countInfo:{} |
| | | } |
| | | }, |
| | | |
| | |
| | | this.page.total = data.total |
| | | |
| | | this.data = data.records |
| | | this.getPeopleCount(); |
| | | |
| | | this.data.forEach(item => { |
| | | this.$set(item, 'principalPhoneflag', false) |
| | |
| | | this.loading = false |
| | | this.selectionClear() |
| | | }) |
| | | }, |
| | | |
| | | |
| | | getPeopleCount(){ |
| | | getCount().then(res=>{ |
| | | this.countInfo = res.data.data; |
| | | }) |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | .avue-upload__icon { |
| | | line-height: 6; |
| | | } |
| | | .type-row{ |
| | | display: flex; |
| | | padding: 0 0 20px; |
| | | } |
| | | |
| | | .type-item{ |
| | | padding:12px 12px; |
| | | background-color: #429FFF; |
| | | color:#fff; |
| | | font-size:14px; |
| | | margin-right:30px; |
| | | border-radius: 6px; |
| | | text-align: center; |
| | | } |
| | | </style> |