管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-01-16 3c0bcd367dbc9aff25202d1a8ec2eb143f3e8261
src/views/AuthorizationManagement/menuRoleAuthorization.vue
@@ -50,7 +50,7 @@
              size="small"
              :disabled="roleid == null ? true : false"
              @click="adduser"
              style="background: #409eff"
              >{{
                $t('operatManage.UserRoleAuthorizationObj.Added')
              }}</el-button
@@ -72,7 +72,7 @@
        <el-table
          :data="tableData"
          style="width: 100%"
          height="84%"
          height="77%"
          @selection-change="handleSelectionChange"
        >
          <el-table-column type="selection" width="55"> </el-table-column>
@@ -187,11 +187,11 @@
        </el-pagination>
      </div>
      <div slot="footer" class="dialog-footer">
        <el-button @click="dialogTableVisible = false">{{
        <el-button   size="small"   @click="dialogTableVisible = false">{{
          $t('dataManage.dictionaryManageObj.cancel')
        }}</el-button>
        <el-button
          style="background: #409eff; border: 1px solid #409eff; color: white"
  size="small"      type="primary"
          @click="addConfirm"
          >{{ $t('dataManage.dictionaryManageObj.confirm') }}</el-button
        >
@@ -203,7 +203,7 @@
<script>
import MyBread from '../../components/MyBread.vue';
import {
  selectMenuRecursive,
  selectMenuRecursives,
  select_menuAuth_ByPageAndCount,
  menuAuthDeletes,
  select_AuthMenu_ByPageAndCount,
@@ -268,7 +268,7 @@
    // 部门请求
    async getMenuTree() {
      //获取目录树最大ID,新建节点使用
      const data = await selectMenuRecursive({ name: menuStartName });
      const data = await selectMenuRecursives({ name: menuStartName });
      if (data.code !== 200) {
        return this.$message.error('请求单位报错');
      }
@@ -429,19 +429,17 @@
<style lang="less" scoped>
//@import url(); 引入公共css类
.menuSettings_box {
  width: 97%;
  height: 81%;
  height: 98%;
  width: 98%;
  padding: 1%;
  position: absolute;
  .menuTreeBox {
    width: 100%;
    height: 91%;
    position: relative;
    .left_tree {
      width: 30%;
      height: 94%;
      padding: 20px;
      height: 92%;
      padding: 10px;
      border: 1px solid rgb(202, 201, 204);
      border-radius: 5px;
      float: left;
@@ -465,9 +463,9 @@
      }
    }
    .right_menu {
      width: 63%;
      height: 94%;
      padding: 20px;
      width: 65%;
      height: 92%;
      padding: 10px;
      border: 1px solid rgb(202, 201, 204);
      border-radius: 5px;
      float: right;