系统菜单 默认显示&&系统配置、对象建模按钮权限以及按钮图标
| | |
| | | }, |
| | | //配置菜单的属性 |
| | | menu: { |
| | | iconDefault: 'codicon:gear', |
| | | iconDefault: null, |
| | | props: { |
| | | label: 'name', |
| | | path: 'path',//路由path |
| | |
| | | :index="item[pathKey]" |
| | | @click="open(item)"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <span slot="title" style="margin-left: 8px;" |
| | | <icon-show v-if="item[iconKey]" :name="item[iconKey]" :style="{ height: iconSize, width: iconSize }" |
| | | class="iconShowSpan"></icon-show> |
| | | <div v-else :style="{ height: iconSize, width: iconSize }" class="iconShow iconShowSpan"> |
| | | <i :style="{ fontSize: iconSize, width: iconSize,marginTop: '3px'}" class="el-icon-setting"></i> |
| | | </div> |
| | | <span slot="title" |
| | | style="margin-left: 8px" |
| | | :alt="item[pathKey]" |
| | | :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span> |
| | | </div> |
| | |
| | | :index="item[pathKey]"> |
| | | <template slot="title"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <span slot="title" style="margin-left: 8px;" |
| | | <icon-show v-if="item[iconKey]" :name="item[iconKey]" :style="{ height: iconSize, width: iconSize }" |
| | | class="iconShowSpan"></icon-show> |
| | | <div v-else :style="{ height: iconSize, width: iconSize }" class="iconShow iconShowSpan"> |
| | | <i :style="{ fontSize: iconSize, width: iconSize,marginTop: '3px'}" class="el-icon-setting"></i> |
| | | </div> |
| | | <span slot="title" |
| | | style="margin-left: 8px" |
| | | :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span> |
| | | </div> |
| | | </template> |
| | |
| | | :index="child[pathKey],cindex" |
| | | @click="open(child)"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="child[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <span slot="title" style="margin-left: 8px;">{{ generateTitle(child) }}</span> |
| | | <icon-show v-if="child[iconKey]" :name="child[iconKey]" :style="{ height: iconSize, width: iconSize }" |
| | | class="iconShowSpan"></icon-show> |
| | | <div v-else :style="{ height: iconSize, width: iconSize }" class="iconShow iconShowSpan"> |
| | | <i :style="{ fontSize: iconSize, width: iconSize,marginTop: '3px'}" class="el-icon-setting"></i> |
| | | </div> |
| | | <span slot="title" style="margin-left: 8px">{{ generateTitle(child) }}</span> |
| | | </div> |
| | | </el-menu-item> |
| | | <sidebar-item v-else |
| | |
| | | return new Promise((resolve) => { |
| | | getButtons().then(res => { |
| | | const data = res.data.data; |
| | | console.log('getButton',data) |
| | | console.log('getButton', data) |
| | | commit('SET_PERMISSION', data); |
| | | resolve(); |
| | | }) |
| | |
| | | let children = {}; |
| | | if (item.children && item.children.length > 0) { |
| | | item.children.forEach(child => { |
| | | Vue.set(children, child.code, true); |
| | | // const childObject = { |
| | | // [child.code]: true, |
| | | // source: child.source |
| | | // }; |
| | | // Object.assign(children, childObject); |
| | | children[child.code] = { |
| | | source: child.source |
| | | } |
| | | }); |
| | | } |
| | | Vue.set(permission_new, item.id, children); |
| | |
| | | margin-right: 6px; |
| | | } |
| | | |
| | | .el-table td.el-table__cell div.iconShow{ |
| | | font-size: 14px !important; |
| | | width: 14px !important; |
| | | height: 14px !important; |
| | | margin-top: -1px; |
| | | margin-right: 3px; |
| | | } |
| | | |
| | | .avue-crud .avue-crud__menu .el-button--text >span { |
| | | display: flex; |
| | | } |
| | | |
| | | /* |
| | | 树 |
| | | */ |
| | |
| | | content: ''; |
| | | } |
| | | |
| | | .avue-crud .avue-crud__menu .el-button{ |
| | | margin-top: 5px; |
| | | } |
| | | |
| | | .avue-crud__left{ |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .font14{font-size: 14px;width: 12px;height: 12px;display: inline-block;} |
| | | .font16{font-size: 16px;width: 14px;height: 14px;display: inline-block;} |
| | | |
| | |
| | | @current-change="currentChange" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" |
| | | @click="rowSaveHandlerClick">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="rowSaveHandlerClick"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="allDelHandler">删除 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="allDelHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" |
| | | @click="chekView">查看使用范围 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" |
| | | @click="chekView"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" icon="el-icon-download" plain size="small" |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="downloadTemplateHandler"> |
| | | <icon-show :name="permissionList.downloadImportTemplateBtn.source"></icon-show> |
| | | 下载导入模板 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="upLoadHandler">导入 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="upLoadHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" |
| | | @click="downLoadHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="downLoadHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="text" |
| | | @click="editBtnClick(scope.row)">编辑 |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click="editBtnClick(scope.row)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" size="small" type="text" |
| | | @click="rowDeleteHandler(scope.row)">删除 |
| | | <el-button v-if="permissionList.delBtn" size="small" type="text" |
| | | @click="rowDeleteHandler(scope.row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].downloadImportTemplate, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | lastItem() { |
| | |
| | | <el-main> |
| | | <basic-container> |
| | | <div> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" |
| | | @click="addClickHandler">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" |
| | | @click="editClickHandler">修改 |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="editClickHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="deleteClickHandler">删除 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="deleteClickHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="upLoadClickHandler">导入 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="upLoadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" |
| | | @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | <el-button v-if="permissionList.createViewBtn" icon="el-icon-circle-plus-outline" plain size="small" |
| | | type="primary" @click="createViewClickHandler">创建视图 |
| | | <el-button v-if="permissionList.createViewBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="createViewClickHandler"> |
| | | <icon-show :name="permissionList.createViewBtn.source"></icon-show> |
| | | 创建视图 |
| | | </el-button> |
| | | <el-button v-if="permissionList.createIndexBtn" icon="el-icon-circle-plus-outline" plain size="small" |
| | | type="primary" @click="indexClickHandler">创建索引 |
| | | <el-button v-if="permissionList.createIndexBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="indexClickHandler"> |
| | | <icon-show :name="permissionList.createIndexBtn.source"></icon-show> |
| | | 创建索引 |
| | | </el-button> |
| | | <el-button v-if="permissionList.consistencyCheckBtn" icon="el-icon-menu" plain size="small" type="primary" |
| | | @click="checkClickHandler">一致性检查 |
| | | <el-button v-if="permissionList.consistencyCheckBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="checkClickHandler"> |
| | | <icon-show :name="permissionList.consistencyCheckBtn.source"></icon-show> |
| | | 一致性检查 |
| | | </el-button> |
| | | <el-button v-if="permissionList.deleteDataBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="checkClickHandler">删除数据 |
| | | <el-button v-if="permissionList.deleteDataBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="checkClickHandler"> |
| | | <icon-show :name="permissionList.deleteDataBtn.source"></icon-show> |
| | | 删除数据 |
| | | </el-button> |
| | | <el-button v-if="permissionList.deleteEveryTypeBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="checkClickHandler">删除全部类型 |
| | | <el-button v-if="permissionList.deleteEveryTypeBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="checkClickHandler"> |
| | | <icon-show :name="permissionList.deleteEveryTypeBtn.source"></icon-show> |
| | | 删除全部类型 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" |
| | | @click="checkViewClickHandler">查看使用范围 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="checkViewClickHandler"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | </div> |
| | | <div style="display: flex;justify-content:left;margin-top: 15px;"> |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | consistencyCheckBtn: this.vaildData(this.permission[this.$route.query.id].consistencyCheck, false), |
| | | createIndexBtn: this.vaildData(this.permission[this.$route.query.id].createIndex, false), |
| | | createViewBtn: this.vaildData(this.permission[this.$route.query.id].createView, false), |
| | | deleteDataBtn: this.vaildData(this.permission[this.$route.query.id].deleteData, false), |
| | | deleteEveryTypeBtn: this.vaildData(this.permission[this.$route.query.id].deleteEveryType, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | consistencyCheckBtn: this.vaildData(this.permission[this.$route.query.id].USE, false), |
| | | createIndexBtn: this.vaildData(this.permission[this.$route.query.id].DATARIGHT, false), |
| | | createViewBtn: this.vaildData(this.permission[this.$route.query.id].ATTRRIGHT, false), |
| | | deleteDataBtn: this.vaildData(this.permission[this.$route.query.id].FREEZE, false), |
| | | deleteEveryTypeBtn: this.vaildData(this.permission[this.$route.query.id].RESET, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | > |
| | | |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" |
| | | @click="rowSaveHandlerClick">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="rowSaveHandlerClick"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="allDelHandler">删除 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="allDelHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" |
| | | @click="chekView">查看使用范围 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" |
| | | @click="chekView"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" icon="el-icon-download" plain size="small" |
| | | type="primary" @click="downloadTemplateHandler">下载导入模板 |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="downloadTemplateHandler"> |
| | | <icon-show :name="permissionList.downloadImportTemplateBtn.source"></icon-show> |
| | | 下载导入模板 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="uploadUser">导入 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="uploadUser"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" |
| | | @click="downloadHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="downloadHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="text" |
| | | @click="editBtnClick(scope.row)">编辑 |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click="editBtnClick(scope.row)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" size="small" type="text" |
| | | @click="rowDeleteHandler(scope.row)">删除 |
| | | <el-button v-if="permissionList.delBtn" size="small" type="text" |
| | | @click="rowDeleteHandler(scope.row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].downloadImportTemplate, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | lastItem() { |
| | |
| | | <basic-container> |
| | | <div ref="TreeBox" style="height: calc(100vh - 144px);!important;"> |
| | | <div class="headerCon"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" @click="addClickHandler">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editClickHandler">修改 |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" @click="editClickHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delClickHandler">删除 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="delClickHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="uploadClickHandler">导入 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="uploadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" @click="checkViewClickHandler">查看使用范围 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" type="primary" @click="checkViewClickHandler"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | </div> |
| | | <!-- 左侧树 --> |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | <el-main> |
| | | <basic-container> |
| | | <div> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" @click="addClickHandler">创建</el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editClickHandler">修改</el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="deleteClickHandler">删除</el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">导入</el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出</el-button> |
| | | <el-button v-if="permissionList.createViewBtn" icon="el-icon-circle-plus-outline" plain size="small" type="primary" @click="createViewClickHandler">创建视图</el-button> |
| | | <el-button v-if="permissionList.consistencyCheckBtn" icon="el-icon-menu" plain size="small" type="primary" @click="checkClickHandler">一致性检查</el-button> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" @click="editClickHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="deleteClickHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="upLoadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | <el-button v-if="permissionList.createViewBtn" class="button-custom-icon" plain size="small" type="primary" @click="createViewClickHandler"> |
| | | <icon-show :name="permissionList.createViewBtn.source"></icon-show> |
| | | 创建视图 |
| | | </el-button> |
| | | <el-button v-if="permissionList.consistencyCheckBtn" class="button-custom-icon" plain size="small" type="primary" @click="checkClickHandler"> |
| | | <icon-show :name="permissionList.consistencyCheckBtn.source"></icon-show> |
| | | 一致性检查 |
| | | </el-button> |
| | | </div> |
| | | <el-descriptions style="margin: 10px 0 20px" :column="2" border class="margin-top" size="medium"> |
| | | <el-descriptions-item :contentStyle="descriptionOption.contentStyle" |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | consistencyCheckBtn: this.vaildData(this.permission[this.$route.query.id].consistencyCheck, false), |
| | | createViewBtn: this.vaildData(this.permission[this.$route.query.id].createView, false), |
| | | consistencyCheckBtn: this.vaildData(this.permission[this.$route.query.id].USE, false), |
| | | createViewBtn: this.vaildData(this.permission[this.$route.query.id].ATTRRIGHT, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | @current-change="currentChange" |
| | | > |
| | | <template slot="menuLeft"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" @click="addClickHandler">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delClickHandler">删除 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="delClickHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="uploadClickHandler">导入 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" type="primary" @click="checkViewClickHandler"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="uploadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" @click="checkViewClickHandler">查看使用范围 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menu" slot-scope="{row,index}"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="text" @click="editClickHandler(row)">修改 |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click="editClickHandler(row)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="text" @click="delRowClickHandler(row)">删除 |
| | | <el-button v-if="permissionList.delBtn" plain size="small" type="text" @click="delRowClickHandler(row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | @selection-change="selectChange" |
| | | @row-click="rowClickHandler"> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" @click="addClickHandler">创建</el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="uploadClickHandler">导入 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.viewTheScopeBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="checkViewClickHandler"> |
| | | <icon-show :name="permissionList.viewTheScopeBtn.source"></icon-show> |
| | | 查看使用范围 |
| | | </el-button> |
| | | <el-button v-if="permissionList.viewTheScopeBtn" icon="el-icon-view" plain size="small" type="primary" |
| | | @click="checkViewClickHandler">查看使用范围 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="uploadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="text" @click="editClickHandler(scope.row)">编辑 |
| | | <template slot="menu" slot-scope="{row,index}"> |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click="editClickHandler(row)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" size="small" type="text" @click="delClickHandler(scope.row)">删除 |
| | | <el-button v-if="permissionList.delBtn" size="small" type="text" @click="delClickHandler(row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | width="800px" |
| | | @close="visibleCloseHandler" |
| | | > |
| | | <el-form ref="form" size="small" :model="form" :rules="rules" label-width="95px"> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="95px" size="small"> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="名称:" prop="id"> |
| | |
| | | searchMenuSpan: 8, |
| | | refreshBtn: false, |
| | | selection: false, |
| | | header:false, |
| | | header: false, |
| | | column: [ |
| | | { |
| | | label: '名称', |
| | |
| | | lastIndex: null, |
| | | } |
| | | }, |
| | | computed:{ |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | return { |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].viewTheScope, false), |
| | | viewTheScopeBtn: this.vaildData(this.permission[this.$route.query.id].VIRTUALVIEW, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | .el-scrollbar__wrap { |
| | | overflow: auto !important; |
| | | } |
| | | |
| | | .el-input-number--small { |
| | | width: 100%; |
| | | } |
| | |
| | | <el-main> |
| | | <basic-container> |
| | | <div v-if="this.nodeRow && this.nodeRow.label"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="addHandler">创建</el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editHandler">修改</el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delHandler">删除</el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">导入</el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出</el-button> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" @click="addHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" @click="editHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="delHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="upLoadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </div> |
| | | <avue-crud ref="crud" |
| | | @selection-change="selectionChange" |
| | |
| | | <el-main> |
| | | <basic-container> |
| | | <div v-if="this.nodeRow && this.nodeRow.label"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="addHandler">创建</el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editHandler">修改</el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delHandler">删除</el-button> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">导入</el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出</el-button> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" @click="addHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" @click="editHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="delHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="upLoadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </div> |
| | | <avue-crud ref="crud" |
| | | @selection-change="selectionChange" |
| | |
| | | <avue-crud ref="queryCrud" |
| | | :data="attrData" :option="attrOption" :table-loading="tableLoading" style="margin-top: 10px"> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="addHandler">创建</el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editHandler">修改</el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delHandler">删除</el-button> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" @click="addHandler"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" class="button-custom-icon" plain size="small" type="primary" @click="editHandler"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" @click="delHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | |
| | | @row-update="rowTreeUpdataHandler" |
| | | @refresh-change="handleRefresh"> |
| | | <template slot="menuLeft"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" plain size="small" type="primary" @click="addTreeClickHandler(treeNodeRow)">创建 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addTreeClickHandler(treeNodeRow)"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 创建 |
| | | </el-button> |
| | | <!--<el-button v-if="permissionList.editBtn" icon="el-icon-edit" plain size="small" type="primary" @click="editTreeClickHandler">修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" @click="delTreeClickHandler">删除 |
| | | </el-button>--> |
| | | <el-button v-if="permissionList.importBtn" icon="el-icon-upload2" plain size="small" type="primary" @click="uploadClickHandler">导入 |
| | | <el-button v-if="permissionList.importBtn" class="button-custom-icon" plain size="small" type="primary" @click="uploadClickHandler"> |
| | | <icon-show :name="permissionList.importBtn.source"></icon-show> |
| | | 导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | <template #menu="{ row, size }"> |
| | | <el-button v-if="permissionList.addBtn" :size="size" icon="el-icon-plus" |
| | | <template #menu="{ row, index, size }"> |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click="$refs.treeCrud.rowEdit(row, index)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" size="small" type="text" |
| | | @click.stop="rowTreeDelHandler(row,index)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.addBtn" :size="size" |
| | | text |
| | | type="text" |
| | | @click="addTreeClickHandler(row)">新增子级</el-button> |
| | | @click="addTreeClickHandler(row)"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 新增子级 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | |
| | | </el-tag> |
| | | </template> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="treeNodeRow.id !== 'root' && permissionList.actionTopAddBtn" icon="el-icon-plus" plain size="small" type="primary" |
| | | @click="addClickHandler">增加 |
| | | <el-button v-if="treeNodeRow.id !== 'root' && permissionList.actionTopAddBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="addClickHandler"> |
| | | <icon-show :name="permissionList.actionTopAddBtn.source"></icon-show> |
| | | 增加 |
| | | </el-button> |
| | | <el-button v-if="permissionList.actionTopExportBtn" icon="el-icon-download" plain size="small" type="success" @click="downLoadHandler">导出 |
| | | <el-button v-if="permissionList.actionTopExportBtn" class="button-custom-icon" plain size="small" type="success" @click="downLoadHandler"> |
| | | <icon-show :name="permissionList.actionTopExportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | <template #menu="{row,index,size}"> |
| | | <el-button v-if="permissionList.actionTopEditBtn" size="small" type="text" |
| | | @click="$refs.crud.rowEdit(row, index)"> |
| | | <icon-show :name="permissionList.actionTopEditBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.actionTopDelBtn" size="small" type="text" |
| | | @click.stop="rowDelHandler(row,index)"> |
| | | <icon-show :name="permissionList.actionTopDelBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | @row-del="BottomRowDelHandler" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.actionBottomAddBtn" icon="el-icon-plus" plain size="small" type="primary" @click="bottomAddClickHandler">增加 |
| | | <el-button v-if="permissionList.actionBottomAddBtn" class="button-custom-icon" plain size="small" type="primary" @click="bottomAddClickHandler"> |
| | | <icon-show :name="permissionList.actionBottomAddBtn.source"></icon-show> |
| | | 增加 |
| | | </el-button> |
| | | </template> |
| | | <template #menu="{row,index,size}"> |
| | | <el-button v-if="permissionList.actionBottomEditBtn" size="small" type="text" |
| | | @click="$refs.BottomCrud.rowEdit(row, index)"> |
| | | <icon-show :name="permissionList.actionBottomEditBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.actionBottomDelBtn" size="small" type="text" |
| | | @click.stop="BottomRowDelHandler(row,index)"> |
| | | <icon-show :name="permissionList.actionBottomDelBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | <template slot="menuForm" slot-scope="scope"> |
| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | actionTopAddBtn: this.vaildData(this.permission[this.$route.query.id].actionTopAdd, false), |
| | | actionTopDelBtn: this.vaildData(this.permission[this.$route.query.id].actionTopDel, false), |
| | | actionTopEditBtn: this.vaildData(this.permission[this.$route.query.id].actionTopEdit, false), |
| | | actionTopExportBtn: this.vaildData(this.permission[this.$route.query.id].actionTopExport, false), |
| | | actionBottomAddBtn: this.vaildData(this.permission[this.$route.query.id].actionBottomAdd, false), |
| | | actionBottomDelBtn: this.vaildData(this.permission[this.$route.query.id].actionBottomDel, false), |
| | | actionBottomEditBtn: this.vaildData(this.permission[this.$route.query.id].actionBottomEdit, false), |
| | | actionTopAddBtn: this.vaildData(this.permission[this.$route.query.id].USE, false), |
| | | actionTopDelBtn: this.vaildData(this.permission[this.$route.query.id].RESET, false), |
| | | actionTopEditBtn: this.vaildData(this.permission[this.$route.query.id].RECYCLE, false), |
| | | actionTopExportBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | actionBottomAddBtn: this.vaildData(this.permission[this.$route.query.id].FREEZE, false), |
| | | actionBottomDelBtn: this.vaildData(this.permission[this.$route.query.id].BATCHAPPLY, false), |
| | | actionBottomEditBtn: this.vaildData(this.permission[this.$route.query.id].CODEAPPLY, false), |
| | | }; |
| | | }, |
| | | treeCrudOption(){ |
| | | return { |
| | | ...basicOption, |
| | | editBtn: this.permissionList.editBtn, |
| | | delBtn: this.permissionList.delBtn, |
| | | editBtn: false, |
| | | delBtn: false, |
| | | addBtn: false, |
| | | calcHeight: -50, |
| | | highlightCurrentRow: true, |
| | |
| | | option() { |
| | | return { |
| | | ...basicOption, |
| | | editBtn:this.permissionList.actionTopEditBtn, |
| | | delBtn:this.permissionList.actionTopDelBtn, |
| | | editBtn:false, |
| | | delBtn:false, |
| | | addBtn: false, |
| | | height: 350, |
| | | highlightCurrentRow: true, |
| | |
| | | return { |
| | | ...basicOption, |
| | | addBtn: false, |
| | | editBtn:this.permissionList.actionBottomEditBtn, |
| | | delBtn:this.permissionList.actionBottomDelBtn, |
| | | editBtn:false, |
| | | delBtn:false, |
| | | calcHeight: -20, |
| | | selection: false, |
| | | refreshBtn: false, |
| | |
| | | @current-row-change="handleCurrentRowChange" |
| | | > |
| | | <template slot="menu" slot-scope="{row,size,type}"> |
| | | <el-button v-if="permissionList.departmentAddChildrenBtn" icon="el-icon-circle-plus-outline" size="small" |
| | | type="text" @click="handleAdd()">新增子级 |
| | | <el-button v-if="permissionList.departmentAddChildrenBtn" size="small" |
| | | type="text" @click="handleAdd()"> |
| | | <icon-show :name="permissionList.departmentAddChildrenBtn.source"></icon-show> |
| | | 新增子级 |
| | | </el-button> |
| | | <el-button v-if="row.ALLDept !== 'ALLDept' && permissionList.editBtn" icon="el-icon-edit" size="small" |
| | | <el-button v-if="row.ALLDept !== 'ALLDept' && permissionList.editBtn" size="small" |
| | | type="text" |
| | | @click="editBtnClick(row)">编辑 |
| | | @click="editBtnClick(row)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="row.ALLDept !== 'ALLDept' && permissionList.delBtn" icon="el-icon-delete" size="small" |
| | | <el-button v-if="row.ALLDept !== 'ALLDept' && permissionList.delBtn" size="small" |
| | | type="text" |
| | | @click="rowDeleteHandler(row)">删除 |
| | | @click="rowDeleteHandler(row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.assignMembersBtn" icon="el-icon-school" plain size="small" type="primary" |
| | | @click="assignMembersHandler">分配成员 |
| | | <el-button v-if="permissionList.assignMembersBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="assignMembersHandler"> |
| | | <icon-show :name="permissionList.assignMembersBtn.source"></icon-show> |
| | | 分配成员 |
| | | </el-button> |
| | | <el-button v-if="permissionList.statisticsBtn" icon="el-icon-user" plain size="small" type="primary" |
| | | @click="statisticsHandler">统计 |
| | | <el-button v-if="permissionList.statisticsBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="statisticsHandler"> |
| | | <icon-show :name="permissionList.statisticsBtn.source"></icon-show> |
| | | 统计 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importDepartmentBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="upLoadHandler">导入部门 |
| | | <el-button v-if="permissionList.importDepartmentBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="upLoadHandler"> |
| | | <icon-show :name="permissionList.importDepartmentBtn.source"></icon-show> |
| | | 导入部门 |
| | | </el-button> |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" icon="el-icon-download" plain size="small" |
| | | type="primary" @click="downLoadHandler">下载导入模板 |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="downLoadHandler"> |
| | | <icon-show :name="permissionList.downloadImportTemplateBtn.source"></icon-show> |
| | | 下载导入模板 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | return { |
| | | delBtn: this.vaildData(this.permission[this.$route.query.id].DELETE, false), |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | assignMembersBtn: this.vaildData(this.permission[this.$route.query.id].assignMembers, false), |
| | | departmentAddChildrenBtn: this.vaildData(this.permission[this.$route.query.id].departmentAddChildren, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].downloadImportTemplate, false), |
| | | importDepartmentBtn: this.vaildData(this.permission[this.$route.query.id].importDepartment, false), |
| | | statisticsBtn: this.vaildData(this.permission[this.$route.query.id].statistics, false), |
| | | assignMembersBtn: this.vaildData(this.permission[this.$route.query.id].FREEZE, false), |
| | | departmentAddChildrenBtn: this.vaildData(this.permission[this.$route.query.id].ADD, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | importDepartmentBtn: this.vaildData(this.permission[this.$route.query.id].MGR, false), |
| | | statisticsBtn: this.vaildData(this.permission[this.$route.query.id].DISCARD, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | @on-load="getTableList" |
| | | @row-save="rowSaveHandler" |
| | | @row-update="rowUpdateHandler" |
| | | @row-del="rowDeleteHandler" |
| | | @row-click="rowClickHandler" |
| | | @selection-change="selectionChange" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出</el-button> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" |
| | | @click="$refs.crud.rowAdd()"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 新 增 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | <!--<template #menu="{row,index,size}"> |
| | | <el-button icon="el-icon-user" type="text" size="small" @click="userHandler(row,index)">分配成员</el-button> |
| | | </template>--> |
| | | <template slot="menu" slot-scope="{ row, index }"> |
| | | <el-button |
| | | v-if="permissionList.editBtn" |
| | | size="small" |
| | | type="text" |
| | | @click="handleEdit(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button |
| | | v-if="permissionList.delBtn" |
| | | size="small" |
| | | type="text" |
| | | @click="handleDel(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <!-- 分配成员穿梭框 --> |
| | | <transfer ref="transfer" :left-role-data="leftRoleData" :right-role-data="rightRoleData" |
| | |
| | | option(){ |
| | | return { |
| | | ...basicOption, |
| | | addBtn:this.permissionList.addBtn, |
| | | editBtn:this.permissionList.editBtn, |
| | | delBtn:this.permissionList.delBtn, |
| | | addBtn:false, |
| | | editBtn:false, |
| | | delBtn:false, |
| | | calcHeight: -60, |
| | | align:'left', |
| | | headerAlign:'center', |
| | |
| | | }); |
| | | }, |
| | | |
| | | handleEdit(row,index){ |
| | | this.$refs.crud.rowEdit(row, index); |
| | | }, |
| | | |
| | | // 编辑 |
| | | rowUpdateHandler(row, index, done, loading) { |
| | | updatePvolume(row).then(res => { |
| | |
| | | }, |
| | | |
| | | // 删除 |
| | | rowDeleteHandler(row) { |
| | | handleDel(row,index) { |
| | | let params = { |
| | | ids: row.id |
| | | } |
| | |
| | | @current-change="currentChange" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary" |
| | | @click="exportClickHandler">导出 |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="exportClickHandler"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | @row-save="rowSaveHandler" |
| | | @row-update="rowUpdateHandler" |
| | | > |
| | | <template slot="menuLeft" slot-scope="{ row, index }"> |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" |
| | | type="primary" @click="$refs.passWordCrud.rowAdd()"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 新 增 |
| | | </el-button> |
| | | </template> |
| | | <template slot="menu" slot-scope="{ row, index }"> |
| | | <el-button |
| | | v-if="permissionList.editBtn" |
| | | icon="el-icon-edit" |
| | | size="small" |
| | | type="text" |
| | | @click="handleEdit(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button |
| | | v-if="permissionList.delBtn" |
| | | icon="el-icon-delete" |
| | | size="small" |
| | | type="text" |
| | | @click="handleDel(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | |
| | | option() { |
| | | return { |
| | | ...basicOption, |
| | | addBtn: this.permissionList.addBtn, |
| | | addBtn: false, |
| | | selection: false, |
| | | menuWidth: 150, |
| | | editBtn: false, |
| | |
| | | @row-click="rowClickHandler" |
| | | @row-save="rowSaveHandler" |
| | | @row-update="rowUpdateHandler" |
| | | @row-del="rowDeleteHandler" |
| | | > |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="allDelHandler">删除 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" |
| | | @click="$refs.roleCrud.rowAdd()"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 新 增 |
| | | </el-button> |
| | | <el-button v-if="permissionList.assignMembersBtn" icon="el-icon-school" plain size="small" type="primary" |
| | | @click="assignMembersHandler">分配成员 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="allDelHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.statisticsBtn" icon="el-icon-user" plain size="small" type="primary" |
| | | @click="statisticsHandler">统计 |
| | | <el-button v-if="permissionList.assignMembersBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="assignMembersHandler"> |
| | | <icon-show :name="permissionList.assignMembersBtn.source"></icon-show> |
| | | 分配成员 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importRoleBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="upLoadRole">导入角色 |
| | | <el-button v-if="permissionList.statisticsBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="statisticsHandler"> |
| | | <icon-show :name="permissionList.statisticsBtn.source"></icon-show> |
| | | 统计 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary">导出 |
| | | <el-button v-if="permissionList.importRoleBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="upLoadRole"> |
| | | <icon-show :name="permissionList.importRoleBtn.source"></icon-show> |
| | | 导入角色 |
| | | </el-button> |
| | | <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary"> |
| | | <icon-show :name="permissionList.exportBtn.source"></icon-show> |
| | | 导出 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menu" slot-scope="{ row, index }"> |
| | | <el-button |
| | | v-if="permissionList.editBtn" |
| | | size="small" |
| | | type="text" |
| | | @click="handleEdit(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button |
| | | v-if="permissionList.delBtn" |
| | | size="small" |
| | | type="text" |
| | | @click="handleDel(row, index)" |
| | | > |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | delBtn: this.vaildData(this.permission[this.$route.query.id].DELETE, false), |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | assignMembersBtn: this.vaildData(this.permission[this.$route.query.id].assignMembers, false), |
| | | importRoleBtn: this.vaildData(this.permission[this.$route.query.id].importRole, false), |
| | | statisticsBtn: this.vaildData(this.permission[this.$route.query.id].statistics, false), |
| | | assignMembersBtn: this.vaildData(this.permission[this.$route.query.id].FREEZE, false), |
| | | importRoleBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | statisticsBtn: this.vaildData(this.permission[this.$route.query.id].DISCARD, false), |
| | | }; |
| | | }, |
| | | option() { |
| | | return { |
| | | ...basicOption, |
| | | addBtn: this.permissionList.addBtn, |
| | | delBtn: this.permissionList.delBtn, |
| | | editBtn: this.permissionList.editBtn, |
| | | addBtn: false, |
| | | delBtn: false, |
| | | editBtn: false, |
| | | dialogTop: 0, |
| | | dialogWidth: '30%', |
| | | column: column, |
| | |
| | | this.page.total = res.data.total; |
| | | this.tableLoading = false; |
| | | }) |
| | | }, |
| | | |
| | | // 编辑按钮 |
| | | handleEdit(row, index) { |
| | | this.$refs.roleCrud.rowEdit(row, index); |
| | | }, |
| | | |
| | | // 列头刷新 |
| | |
| | | }, |
| | | |
| | | // 删除 |
| | | rowDeleteHandler(row) { |
| | | handleDel(row, index) { |
| | | let params = { |
| | | ids: row.oid |
| | | } |
| | |
| | | </template> |
| | | |
| | | <template #menu="{row,index,size}"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="text" |
| | | @click.stop="rowEditHandler(row,index)">编辑 |
| | | <el-button v-if="permissionList.editBtn" size="small" type="text" |
| | | @click.stop="rowEditHandler(row,index)"> |
| | | <icon-show :name="permissionList.editBtn.source"></icon-show> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button v-if="permissionList.delBtn" icon="el-icon-delete" size="small" type="text" |
| | | @click.stop="rowDeleteHandler(row)">删除 |
| | | <el-button v-if="permissionList.delBtn" size="small" type="text" |
| | | @click.stop="rowDeleteHandler(row)"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.stopActionBtn" size="small" type="text" @click.stop="stopUserHandler(row)"> |
| | | <span v-if="row.status === 0" style="color: #fa3434"><i class="el-icon-video-pause"></i> 停用</span> |
| | | <span v-if="row.status === 1" style="color: #55b61d"><i class="el-icon-video-play"></i> 启用</span> |
| | | <el-button size="small" type="text" @click.stop="stopUserHandler(row)"> |
| | | <span v-if="row.status === 0 && permissionList.stopBtn" style="color: #fa3434;display: flex"> |
| | | <icon-show :name="permissionList.stopBtn.source"></icon-show> |
| | | 停用 |
| | | </span> |
| | | <span v-if="row.status === 1 && permissionList.actionBtn" style="color: #55b61d;display: flex"> |
| | | <icon-show :name="permissionList.actionBtn.source"></icon-show> |
| | | 启用 |
| | | </span> |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-delete" plain size="small" type="danger" |
| | | @click="allDelHandler">删除 |
| | | <el-button v-if="permissionList.addBtn" class="button-custom-icon" size="small" type="primary" |
| | | @click="$refs.userCrud.rowAdd()"> |
| | | <icon-show :name="permissionList.addBtn.source"></icon-show> |
| | | 新 增 |
| | | </el-button> |
| | | <el-button v-if="permissionList.assigningRolesBtn" icon="el-icon-user" plain size="small" type="primary" |
| | | @click="roleHandler">分配角色 |
| | | <el-button v-if="permissionList.delBtn" class="button-custom-icon" plain size="small" type="danger" |
| | | @click="allDelHandler"> |
| | | <icon-show :name="permissionList.delBtn.source"></icon-show> |
| | | 删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.distributionDepartmentBtn" icon="el-icon-school" plain size="small" |
| | | type="primary" @click="departmentHandler">分配部门 |
| | | <el-button v-if="permissionList.assigningRolesBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="roleHandler"> |
| | | <icon-show :name="permissionList.assigningRolesBtn.source"></icon-show> |
| | | 分配角色 |
| | | </el-button> |
| | | <el-button v-if="permissionList.setPasswordPolicyBtn" icon="el-icon-key" plain size="small" type="success" |
| | | @click="setPwsHandler">设置密码策略 |
| | | <el-button v-if="permissionList.distributionDepartmentBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="departmentHandler"> |
| | | <icon-show :name="permissionList.distributionDepartmentBtn.source"></icon-show> |
| | | 分配部门 |
| | | </el-button> |
| | | <el-button v-if="permissionList.importPersonnelBtn" icon="el-icon-upload2" plain size="small" type="primary" |
| | | @click="uploadUser">导入人员 |
| | | <el-button v-if="permissionList.setPasswordPolicyBtn" class="button-custom-icon" plain size="small" |
| | | type="success" |
| | | @click="setPwsHandler"> |
| | | <icon-show :name="permissionList.setPasswordPolicyBtn.source"></icon-show> |
| | | 设置密码策略 |
| | | </el-button> |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" icon="el-icon-download" plain size="small" |
| | | type="primary" @click="downloadHandler">下载导入模板 |
| | | <el-button v-if="permissionList.importPersonnelBtn" class="button-custom-icon" plain size="small" type="primary" |
| | | @click="uploadUser"> |
| | | <icon-show :name="permissionList.importPersonnelBtn.source"></icon-show> |
| | | 导入人员 |
| | | </el-button> |
| | | <el-button v-if="permissionList.downloadImportTemplateBtn" class="button-custom-icon" plain size="small" |
| | | type="primary" @click="downloadHandler"> |
| | | <icon-show :name="permissionList.downloadImportTemplateBtn.source"></icon-show> |
| | | 下载导入模板 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | |
| | | addBtn: this.vaildData(this.permission[this.$route.query.id].ADD, false), |
| | | delBtn: this.vaildData(this.permission[this.$route.query.id].DELETE, false), |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | assigningRolesBtn: this.vaildData(this.permission[this.$route.query.id].assigningRoles, false), |
| | | distributionDepartmentBtn: this.vaildData(this.permission[this.$route.query.id].distributionDepartment, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].downloadImportTemplate, false), |
| | | importPersonnelBtn: this.vaildData(this.permission[this.$route.query.id].importPersonnel, false), |
| | | setPasswordPolicyBtn: this.vaildData(this.permission[this.$route.query.id].setPasswordPolicy, false), |
| | | stopActionBtn: this.vaildData(this.permission[this.$route.query.id].stopAction, false), |
| | | assigningRolesBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | distributionDepartmentBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | downloadImportTemplateBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | importPersonnelBtn: this.vaildData(this.permission[this.$route.query.id].CLSRIGHT, false), |
| | | setPasswordPolicyBtn: this.vaildData(this.permission[this.$route.query.id].RIGHT, false), |
| | | stopBtn: this.vaildData(this.permission[this.$route.query.id].UNFREZE, false), |
| | | actionBtn: this.vaildData(this.permission[this.$route.query.id].RECYCLE, false), |
| | | }; |
| | | }, |
| | | option() { |
| | | return { |
| | | ...basicOption, |
| | | addBtn: this.permissionList.addBtn, |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | | dialogWidth: '50%', |
| | |
| | | this.tableLoading = true; |
| | | getDataUsers(this.page.currentPage, this.page.pageSize, this.searchParams).then(res => { |
| | | const data = res.data.data; |
| | | data.map(item => {item.secretGrade = item.secretGrade.toString()}) |
| | | data.map(item => { |
| | | item.secretGrade = item.secretGrade.toString() |
| | | }) |
| | | this.tableData = data; |
| | | this.page.total = res.data.total; |
| | | this.tableLoading = false;s |
| | | this.tableLoading = false; |
| | | s |
| | | }) |
| | | this.departmentQueryOnLoad() |
| | | }, |