| | |
| | | <div class="flex_box"> |
| | | <div style="margin-right: auto"> |
| | | <el-form-item |
| | | :label="$t('userManage.RM.roleName')" |
| | | prop="username" |
| | | > |
| | | <el-input |
| | | v-model="roleForm.username" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('userManage.RM.ownedSystem')" |
| | | prop="ownedSystem" |
| | | > |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | size="small" |
| | | v-model="roleForm.depValue" |
| | | placeholder="请选择" |
| | | :placeholder="$t('userManage.RM.ownedSystemHolder')" |
| | | style="width: 200px" |
| | | > |
| | | <el-option |
| | |
| | | :placeholder="$t('common.pleaseInput')" |
| | | /> --> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('userManage.RM.roleName')" |
| | | prop="username" |
| | | > |
| | | <el-input |
| | | v-model="roleForm.username" |
| | | :placeholder="$t('userManage.RM.roleNameHolder')" |
| | | size="small" |
| | | style="width: 200px" |
| | | > |
| | | <i slot="suffix" class="el-icon-search" @click="onSubmit"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | | <!-- <el-form-item>--> |
| | | <!-- <el-button--> |
| | | <!-- size="small"--> |
| | | <!-- type="primary"--> |
| | | <!-- @click="onSubmit('ruleForm')"--> |
| | | <!-- ><i class="el-icon-search"></i> {{--> |
| | | <!-- $t("userManage.RM.query")--> |
| | | <!-- }}</el-button>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item> |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="resetForm('ruleForm')" |
| | | ><i class="el-icon-delete"></i> {{ |
| | | $t("userManage.RM.reset") |
| | | }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | size="small" |
| | | type="primary" |
| | | @click="onSubmit('ruleForm')" |
| | | ><i class="el-icon-search"></i> {{ |
| | | $t("userManage.RM.query") |
| | | type="success" |
| | | size="small" |
| | | @click="setInsertFormdialog" |
| | | v-if="menuStatus.insert" |
| | | ><i class="el-icon-circle-plus-outline"></i> {{ |
| | | $t("userManage.RM.add") |
| | | }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="success" |
| | | size="small" |
| | | @click="setInsertFormdialog" |
| | | v-if="menuStatus.insert" |
| | | ><i class="el-icon-circle-plus-outline"></i> {{ |
| | | $t("userManage.RM.add") |
| | | type="info" |
| | | size="small" |
| | | @click="resetForm('ruleForm')" |
| | | ><i class="el-icon-delete"></i> {{ |
| | | $t("userManage.RM.reset") |
| | | }}</el-button> |
| | | </el-form-item> |
| | | </div> |
| | |
| | | </el-form-item> --> |
| | | </el-form> |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | <div |
| | | class="table_box subpage_Div" |
| | | :style="styleVar" |
| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | height="calc(100% - 57px)" |
| | | border |
| | | height="calc(100% - 45px)" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column |
| | |
| | | size="small" |
| | | plain |
| | | >{{ $t("common.update") }}</el-button> |
| | | |
| | | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div |
| | | style="margin-top: 25px" |
| | | style="margin-top: 10px" |
| | | class="pagination_box" |
| | | > |
| | | <el-pagination |
| | |
| | | |
| | | <el-dialog |
| | | :title="$t('userManage.RM.insertRole')" |
| | | top="2vh" |
| | | |
| | | style="overflow: hidden" |
| | | :visible.sync="InsertFormdialog" |
| | |
| | | </el-dialog> |
| | | <el-dialog |
| | | :title="$t('userManage.RM.updateRole')" |
| | | top="2vh" |
| | | :visible.sync="UpdateFormdialog" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | |
| | | <div class="infoBox_box" v-show="showinfoBox"> |
| | | <div |
| | | class="infoBox box_div subpage_Div" |
| | | |
| | | |
| | | > |
| | | <div |
| | | slot="header" |
| | |
| | | this.$nextTick(() => { |
| | | const rect = this.$refs.container.getBoundingClientRect(); |
| | | this.tableHeight = `${rect.height + 97}px`; |
| | | this.styleVar["height"] = `calc(100% - ${rect.height + 97}px)`; |
| | | // this.styleVar["height"] = `calc(100% - ${rect.height + 97}px)`; |
| | | this.styleVar["height"] = `calc(100% - ${rect.height + 30}px)`; |
| | | }); |
| | | }, |
| | | handleRouleDepList(data, node, nodeData) { |
| | |
| | | .logLog_box { |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | padding: 0.5%; |
| | | |
| | | .el-input { |
| | | width: 300px; |
| | |
| | | .inquire { |
| | | height: auto; |
| | | |
| | | padding: 8px; |
| | | margin-top: 20px; |
| | | //padding: 8px; |
| | | //margin-top: 20px; |
| | | |
| | | border-radius: 5px; |
| | | |
| | | margin-bottom: 20px; |
| | | //margin-bottom: 20px; |
| | | // width: calc(100% - 22px); |
| | | |
| | | .el-form-item { |