| | |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <el-dialog class="place-info-box" title="场所维护" append-to-body :visible.sync="roleBox" center @close="roleBoxClose"> |
| | | <baseAllInfo></baseAllInfo> |
| | | </el-dialog> |
| | | <baseAllInfo ref="BaseAllInfo"></baseAllInfo> |
| | | |
| | | <el-dialog class="place-info-box audit-info-box" title="审核" append-to-body :visible.sync="auditBasePopup" |
| | | width="30%"> |
| | |
| | | } |
| | | |
| | | return { |
| | | curRow: {}, |
| | | roleBox: false, |
| | | |
| | | form: {}, |
| | | query: {}, |
| | | loading: true, |
| | |
| | | width: 156, |
| | | overHidden: true, |
| | | slot: true, |
| | | label: "位置", |
| | | label: "地址", |
| | | prop: "location", |
| | | type: 'map', |
| | | dataType: "string", |
| | |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择位置", |
| | | message: "请选择地址", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | |
| | | label: "name", |
| | | value: "id", |
| | | }, |
| | | cascader: ["gridId"], |
| | | cascader: ["gridCode"], |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | { |
| | | hide: true, |
| | | label: "所属网格", |
| | | prop: "gridId", |
| | | prop: "gridCode", |
| | | type: "tree", |
| | | cell: true, |
| | | props: { |
| | | label: "gridName", |
| | | value: "id", |
| | | value: "gridCode", |
| | | }, |
| | | dicUrl: |
| | | "/api/blade-grid/grid/getGridList?communityCode={{neiCode}}", |
| | |
| | | span: 7, |
| | | label: "场所标签", |
| | | prop: "label", |
| | | type: "cascader", |
| | | type: "select", |
| | | dicUrl: "/api/blade-category/category/getCategory?level=2", |
| | | cascader: ["smallLabel"], |
| | | props: { |
| | |
| | | label: "", |
| | | labelWidth: 20, |
| | | prop: "smallLabel", |
| | | type: "cascader", |
| | | type: "select", |
| | | dicUrl: "/api/blade-category/category/getCategory?parentNo={{label}}", |
| | | props: { |
| | | label: "categoryName", |
| | |
| | | span: 12, |
| | | label: "标签颜色", |
| | | prop: "color", |
| | | type: "cascader", |
| | | type: "select", |
| | | dicData: [ |
| | | { |
| | | label: '绿', |
| | |
| | | value: "value" |
| | | }, |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入场所标签", |
| | | trigger: "blur", |
| | | },], |
| | | }, |
| | | |
| | | { |
| | |
| | | this.auditBasePopup = true |
| | | }, |
| | | |
| | | roleBoxClose () { |
| | | this.curRow = {} |
| | | }, |
| | | |
| | | ManageTenants (item) { |
| | | this.curRow = item |
| | | this.roleBox = true |
| | | this.$refs.BaseAllInfo.initOpen(item) |
| | | }, |
| | | |
| | | rowSave (row, done, loading) { |