管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-01-16 3c0bcd367dbc9aff25202d1a8ec2eb143f3e8261
src/views/AuthorizationManagement/menuRoleAuthorization.vue
@@ -13,7 +13,7 @@
        <el-tree
          :data="depList"
          :props="defaultProps"
          :show-checkbox="true"
          :show-checkbox="false"
          :check-on-click-node="true"
          :check-strictly="true"
          node-key="id"
@@ -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="80%"
          height="77%"
          @selection-change="handleSelectionChange"
        >
          <el-table-column type="selection" width="55"> </el-table-column>
@@ -80,6 +80,7 @@
            align="center"
            type="index"
            :label="$t('dataManage.styleObj.index')"
            width="55"
          />
          <el-table-column
            prop="authName"
@@ -186,12 +187,14 @@
        </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 type="primary" @click="addConfirm">{{
          $t('dataManage.dictionaryManageObj.confirm')
        }}</el-button>
        <el-button
  size="small"      type="primary"
          @click="addConfirm"
          >{{ $t('dataManage.dictionaryManageObj.confirm') }}</el-button
        >
      </div>
    </el-dialog>
  </div>
@@ -200,7 +203,7 @@
<script>
import MyBread from '../../components/MyBread.vue';
import {
  selectMenuRecursive,
  selectMenuRecursives,
  select_menuAuth_ByPageAndCount,
  menuAuthDeletes,
  select_AuthMenu_ByPageAndCount,
@@ -265,7 +268,7 @@
    // 部门请求
    async getMenuTree() {
      //获取目录树最大ID,新建节点使用
      const data = await selectMenuRecursive({ name: '管道基础大数据平台' });
      const data = await selectMenuRecursives({ name: menuStartName });
      if (data.code !== 200) {
        return this.$message.error('请求单位报错');
      }
@@ -426,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;
@@ -462,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;
@@ -588,6 +589,9 @@
      background-color: #216fe6;
    }
  }
  .divider {
    margin-top: 8px;
  }
}
</style>
<style>