数据管理下,页面风格,按钮大小统一;
场所管理审核异常处理;
发起事务页面处理;
| | |
| | | <span v-text="decimalProcessing(row.lat)"></span> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="confirmFlag"> |
| | | <el-tag size="small" :type="showConfirmFlag(row.confirmFlag).type">{{ showConfirmFlag(row.confirmFlag).text |
| | | <template slot-scope="{row, size}" slot="confirmFlag"> |
| | | <el-tag :size="size" :type="showConfirmFlag(row.confirmFlag).type">{{ showConfirmFlag(row.confirmFlag).text |
| | | }}</el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="confirmFlag"> |
| | | <el-tag size="small" :type="showConfirmFlag(row.confirmFlag).type">{{ showConfirmFlag(row.confirmFlag).text |
| | | <template slot-scope="{row, size}" slot="confirmFlag"> |
| | | <el-tag :size="size" :type="showConfirmFlag(row.confirmFlag).type">{{ showConfirmFlag(row.confirmFlag).text |
| | | }}</el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="source"> |
| | | <el-tag size="small" :type="showSource(row.source).type">{{ showSource(row.source).text |
| | | <template slot-scope="{row, size}" slot="source"> |
| | | <el-tag :size="size" :type="showSource(row.source).type">{{ showSource(row.source).text |
| | | }}</el-tag> |
| | | </template> |
| | | |
| | |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="scope" slot="menu"> |
| | | <el-button type="text" :disabled="scope.row.confirmFlag == 2 || scope.row.confirmFlag != 4" |
| | | icon="el-icon-s-check" size="small" v-if="permission.place_audit_cur" @click="auditCur(scope.row)">审核 |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button :size="size" type="text" :disabled="row.confirmFlag == 2 || row.confirmFlag == 4" |
| | | icon="el-icon-s-check" v-if="permission.place_audit_cur" @click="auditCur(row)">审核 |
| | | </el-button> |
| | | |
| | | <el-button type="text" icon="el-icon-edit" size="small" v-if="permission.place_manage_tenants" |
| | | @click="ManageTenants(scope.row)">场所维护 |
| | | <el-button :size="size" type="text" icon="el-icon-edit" v-if="permission.place_manage_tenants" |
| | | @click="ManageTenants(row)">场所维护 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="tenantName"> |
| | | <el-tag>{{ row.tenantName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="roleName"> |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | </el-col> |
| | |
| | | @row-save="rowSave" :before-open="beforeOpen" :page.sync="page" @search-change="searchChange" |
| | | @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange" |
| | | @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template slot="auditStatus" slot-scope="{row}"> |
| | | <el-tag size="small" :type="showConfirmFlag(row.auditStatus).type"> |
| | | <template slot-scope="{row, size}" slot="auditStatus"> |
| | | <el-tag :size="size" :type="showConfirmFlag(row.auditStatus).type"> |
| | | {{ showConfirmFlag(row.auditStatus).text }} |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot="menuLeft"> |
| | | <el-button type="danger" size="small" plain icon="el-icon-delete" |
| | | <el-button type="danger" :size="size" plain icon="el-icon-delete" |
| | | v-if="permission.houseRental_delete" @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="scope" slot="menu"> |
| | | <el-button type="text" icon="el-icon-circle-plus-outline" size="small" |
| | | v-if="permission.househould_manager" @click="ManageTenants(scope.row)">管理租户 |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button :size="size" type="text" icon="el-icon-circle-plus-outline" |
| | | v-if="permission.househould_manager" @click="ManageTenants(row)">管理租户 |
| | | </el-button> |
| | | <!-- <el-button type="success" size="small" plain icon="el-icon-upload2" @click="handleImport">导入 |
| | | </el-button> |
| | | <el-button type="warning" size="small" plain icon="el-icon-download" @click="handleExport">导出 |
| | | </el-button> --> |
| | | </template> |
| | | <template slot-scope="{row}" slot="tenantName"> |
| | | <el-tag>{{ row.tenantName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="roleName"> |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | |
| | | <el-dialog title="租户管理" append-to-body :visible.sync="roleBox"> |
| | | <avue-crud :option="houseHoldOption" :search.sync="search" :table-loading="loading" :data="houseHold" |
| | |
| | | <el-button type="primary" @click="submitRole">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px"> |
| | | <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter"> |
| | |
| | | icon="el-icon-download" @click="handleExport">导出 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="scope" slot="menu"> |
| | | <el-button type="text" icon="el-icon-circle-plus-outline" size="small" |
| | | v-if="permission.househould_manager" @click="manageLabel(scope.row)">标签 |
| | | |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button :size="size" type="text" icon="el-icon-circle-plus-outline" |
| | | v-if="permission.househould_manager" @click="manageLabel(row)">标签 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="phoneNumber"> |
| | | <el-button type="text" @click="showStringDispose(row, 'phoneNumberflag')"> |
| | | <template slot-scope="{row, size}" slot="phoneNumber"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneNumberflag')"> |
| | | {{ textDispose(row, 'phoneNumberflag', 'phoneNumber') }} |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="idCard"> |
| | | <el-button type="text" @click="showStringDispose(row, 'idCardflag')" |
| | | <template slot-scope="{row, size}" slot="idCard"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'idCardflag')" |
| | | v-text="textDispose(row, 'idCardflag', 'idCard')"></el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="householdLabelList"> |
| | | <template slot-scope="{row, size}" slot="householdLabelList"> |
| | | {{ labelDispose(row.householdLabelList) }} |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="tenantName"> |
| | | <el-tag>{{ row.tenantName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="roleName"> |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | | </template> |
| | | |
| | | |
| | | </avue-crud> |
| | | <el-dialog title="用户角色配置" append-to-body :visible.sync="roleBox" width="345px" center> |
| | | |
| | |
| | | </el-tree> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="roleBox = false">取 消</el-button> |
| | | <el-button type="primary" @click="submitRole">确 定</el-button> |
| | | <el-button size="small" @click="roleBox = false">取 消</el-button> |
| | | <el-button size="small" type="primary" @click="submitRole">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | <avue-form :option="labelOption" v-model="labelForm" :submit="onsubmit"> |
| | | </avue-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="editLabelFlge = false">取 消</el-button> |
| | | <el-button type="primary" @click="onsubmit">确 定</el-button> |
| | | <el-button size="small" @click="editLabelFlge = false">取 消</el-button> |
| | | <el-button size="small" type="primary" @click="onsubmit">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px"> |
| | | <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter"> |
| | | <template slot="excelTemplate"> |
| | | <el-button type="primary" @click="handleTemplate"> |
| | | <el-button size="small" type="primary" @click="handleTemplate"> |
| | | 点击下载<i class="el-icon-download el-icon--right"></i> |
| | | </el-button> |
| | | </template> |
| | |
| | | icon="el-icon-download" @click="handleExport">导出 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="scope" slot="menu"> |
| | | <el-button type="text" icon="el-icon-circle-plus-outline" size="small" |
| | | v-if="permission.househould_manager" @click="handleHouseholdManager(scope.row)">住户管理 |
| | | |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button :size="size" type="text" icon="el-icon-circle-plus-outline" |
| | | v-if="permission.househould_manager" @click="handleHouseholdManager(row)">住户管理 |
| | | </el-button> |
| | | <el-button type="text" icon="el-icon-circle-plus-outline" size="small" |
| | | v-if="permission.househould_manager" @click="manageLabel(scope.row)">标签 |
| | | <el-button :size="size" type="text" icon="el-icon-circle-plus-outline" |
| | | v-if="permission.househould_manager" @click="manageLabel(row)">标签 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="tenantName"> |
| | | <el-tag>{{ row.tenantName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="roleName"> |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{row}" slot="phone"> |
| | | <el-button type="text" @click="showStringDispose(row, 'phoneflag')"> |
| | | <template slot-scope="{row, size}" slot="phone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneflag')"> |
| | | {{ textDispose(row, 'phoneflag', 'phone') }} |
| | | </el-button> |
| | | </template> |
| | |
| | | </el-tree> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="roleBox = false">取 消</el-button> |
| | | <el-button type="primary" @click="submitRole">确 定</el-button> |
| | | <el-button size="small" @click="roleBox = false">取 消</el-button> |
| | | <el-button size="small" type="primary" @click="submitRole">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | <avue-form :option="labelOption" v-model="labelForm" :submit="onsubmit"> |
| | | </avue-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="editLabelFlge = false">取 消</el-button> |
| | | <el-button type="primary" @click="onsubmit">确 定</el-button> |
| | | <el-button size="small" @click="editLabelFlge = false">取 消</el-button> |
| | | <el-button size="small" type="primary" @click="onsubmit">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | @click.stop="handleImage(scope.row, scope.index)">流程图 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="tenantId"> |
| | | <el-tag>{{ row.tenantId === '' ? '通用' : row.tenantId }}</el-tag> |
| | | <template slot-scope="{row, size}" slot="tenantId"> |
| | | <el-tag :size="size">{{ row.tenantId === '' ? '通用' : row.tenantId }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="version"> |
| | | <el-tag>v{{ row.version }}</el-tag> |
| | | <template slot-scope="{row, size}" slot="version"> |
| | | <el-tag :size="size">v{{ row.version }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="suspensionState"> |
| | | <el-tag>{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag> |
| | | <template slot-scope="{row, size}" slot="suspensionState"> |
| | | <el-tag :size="size" :type="row.suspensionState === 1 ? 'success' : 'info'">{{ row.suspensionState === 1 ? |
| | | '激活' : '挂起' |
| | | }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="category"> |
| | | <el-tag>{{ row.categoryName }}</el-tag> |
| | | <template slot-scope="{row, size}" slot="category"> |
| | | <el-tag :size="size">{{ row.categoryName }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | <flow-design is-dialog :is-display.sync="flowBox" :process-definition-id="processDefinitionId"></flow-design> |
| | |
| | | flowBox: false, |
| | | workBox: false, |
| | | option: { |
| | | searchLabelWidth: 96, |
| | | searchShow: true, |
| | | searchMenuSpan: 3, |
| | | menuWidth: 140, |
| | | |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | | index: true, |
| | | selection: true, |
| | |
| | | addBtn: false, |
| | | viewBtn: false, |
| | | delBtn: false, |
| | | menuWidth: 280, |
| | | dialogWidth: 900, |
| | | dialogClickModal: false, |
| | | column: [{ |
| | | column: [ |
| | | { |
| | | width: 120, |
| | | label: '租户编号', |
| | | prop: 'tenantId', |
| | | slot: true, |
| | | width: 120, |
| | | }, |
| | | { |
| | | width: 120, |
| | | label: "流程分类", |
| | | type: "select", |
| | | row: true, |
| | |
| | | slot: true, |
| | | prop: "category", |
| | | search: true, |
| | | width: 100, |
| | | }, |
| | | { |
| | | label: '流程标识', |