管道基础大数据平台系统开发-【前端】-新系統界面
584911253@qq.com
2023-03-02 8bb00665765e8348aeb3a6e799069287e503e1ab
src/views/userManage/resourceManage.vue
@@ -13,7 +13,9 @@
      >
        <div class="flex_box">
          <el-form-item :label="$t('userManage.resManageObj.name')" style="margin-right: auto">
          <el-input v-model="ruleForm.name" style="width:200px"></el-input>
          <el-input v-model="ruleForm.name" size="small" style="width:200px" :placeholder="$t('userManage.resManageObj.nameHolder')">
            <i slot="suffix" class="el-icon-search" @click="submitForm"></i>
          </el-input>
        </el-form-item>
        <el-form-item>
          <el-button
@@ -30,13 +32,13 @@
            type="danger"
            size="small"
          >{{ $t('common.delete') }}</el-button>
          <el-button
            @click="submitForm('ruleForm')"
            icon="el-icon-search"
            size="small"
            type="primary"
            style="background: #1890ff"
          >{{ $t('common.iquery') }}</el-button>
<!--          <el-button-->
<!--            @click="submitForm('ruleForm')"-->
<!--            icon="el-icon-search"-->
<!--            size="small"-->
<!--            type="primary"-->
<!--            style="background: #1890ff"-->
<!--          >{{ $t('common.iquery') }}</el-button>-->
          <el-button
            @click="resetForm('ruleForm')"
            icon="el-icon-refresh"
@@ -45,16 +47,18 @@
          >{{ $t('common.empty') }}</el-button>
        </el-form-item>
          </div>
      </el-form>
    </div>
    <div class="dividing-line"></div>
    <div class="table_box" :style="styleVar">
      <el-table
        :data="tableData"
        style="width: 100%"
        fit
        border
        @selection-change="handleSelectionChange"
         height="calc(100% - 57px)"
         height="calc(100% - 45px)"
      >
        <el-table-column
          type="selection"
@@ -110,7 +114,7 @@
        >
        </el-table-column>
        <el-table-column
          :label="$t('common.operate')"
          width="170px"
        >
@@ -131,7 +135,7 @@
          </template>
        </el-table-column>
      </el-table>
      <div class="pagination_box">
      <div class="pagination_box" style="margin-top: 10px">
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
@@ -147,7 +151,7 @@
     <div class="infoBox_box" v-show="showinfoBox">
    <div
      class="infoBox box_div "
    >
      <div
        slot="header"
@@ -240,7 +244,6 @@
    <el-dialog
      :title="dialogTitle"
      :visible.sync="isTransfer"
       top="2vh"
      append-to-body
    >
      <el-tree
@@ -267,7 +270,6 @@
      :title="$t('userManage.resManageObj.addResource')"
      style="overflow: hidden"
      :visible.sync="InsertFormdialog"
      top="2vh"
    >
     <div style="height: 500px; overflow: auto">
      <el-form :model="insertform" label-position="top">
@@ -384,9 +386,9 @@
            autocomplete="off"
            style="width:100%"
          ></el-input>
          </div>
           <div class="BoxFlexbutton">
             <input
            name="file1"
@@ -410,8 +412,8 @@
          ><i class="el-icon-upload2"></i></el-link>
           </div>
         </div>
        </el-form-item>
        <el-form-item
          :label="$t('userManage.resManageObj.bak')"
@@ -447,10 +449,9 @@
    </el-dialog>
    <el-dialog
      :title="$t('userManage.userInfoObj.editPermission')"
      :visible.sync="EditFormdialog"
      :before-close="EditFromDataClose"
      top="2vh"
    >
        <div style="height: 500px; overflow: auto">
      <el-form :model="upform" label-position="top">
@@ -576,7 +577,7 @@
            disabled
            autocomplete="off"
             style="width:100%"
          ></el-input>
            </div>
 <div class="BoxFlexbutton">
@@ -791,7 +792,8 @@
      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)`;
      });
    },
    handleEditDepList(data, node, nodeData) {
@@ -1118,20 +1120,20 @@
.power_box {
  height: 98%;
  width: 98%;
  padding: 1%;
  padding: 0.5%;
  .el-input {
    width: 730px;
  }
  .power_quire {
    padding: 8px;
    //padding: 10px;
    margin-top: 20px;
    //margin-top: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    //margin-bottom: 20px;
    .el-form-item {
      margin: 5px;
    }
@@ -1161,4 +1163,3 @@
  }
}
</style>