管道基础大数据平台系统开发-【前端】-新系統界面
王旭
2023-02-23 b6b78284ba984986dda5de19c88f81dfdf29f5a4
src/views/userManage/roleManage.vue
@@ -231,16 +231,20 @@
          width="200"
        >
          <template slot-scope="scope">
             <el-button
            type="primary"
              @click="showDetail(scope.$index, scope.row)"
              size="small"
              plain
            >{{ $t("common.see") }}</el-button>
            <el-button
              v-if="menuStatus.update"
              type="warning"
              @click="handleEdit(scope.$index, scope.row)"
              size="small"
              plain
            >{{ $t("common.update") }}</el-button>
            <el-button
              @click="showDetail(scope.$index, scope.row)"
              size="small"
            >{{ $t("common.see") }}</el-button>
          </template>
        </el-table-column>
      </el-table>
@@ -263,18 +267,19 @@
    <el-dialog
      :title="$t('userManage.RM.insertRole')"
      top="15vh"
      width="50vh"
      top="2vh"
      style="overflow: hidden"
      :visible.sync="InsertFormdialog"
    >
      <el-form :model="insertform">
        <div style="height: 500px; overflow: auto">
      <el-form :model="insertform" label-position="top">
        <el-form-item
          :label="$t('userManage.RM.roleName')"
          :label-width="formLabelWidth"
        >
          <el-input
            style="width: 95%"
             style="width:85%"
            v-model="insertform.name"
            autocomplete="off"
          ></el-input>
@@ -289,7 +294,7 @@
            :popper-append-to-body="false"
            v-model="insertform.depValue"
            placeholder="请选择"
            style="width: 95%"
             style="width:85%"
          >
            <el-option
              :value="insertform.depid"
@@ -322,7 +327,7 @@
          :label-width="formLabelWidth"
        >
          <el-input
            style="width: 95%"
            style="width:85%"
            v-model="insertform.descr"
            autocomplete="off"
          ></el-input>
@@ -345,12 +350,13 @@
          :label-width="formLabelWidth"
        >
          <el-input
            style="width: 95%"
             style="width:85%"
            v-model="insertform.bak"
            autocomplete="off"
          ></el-input>
        </el-form-item>
      </el-form>
        </div>
      <div
        slot="footer"
        class="dialog-footer"
@@ -372,12 +378,11 @@
    </el-dialog>
    <el-dialog
      :title="$t('userManage.RM.updateRole')"
      top="15vh"
      width="50vh"
      style="overflow: hidden"
      top="2vh"
      :visible.sync="UpdateFormdialog"
    >
      <el-form :model="updateform">
        <div style="height: 500px; overflow: auto">
      <el-form :model="updateform" label-position="top">
        <el-form-item
          :label="$t('userManage.RM.roleName')"
          :label-width="formLabelWidth"
@@ -385,6 +390,7 @@
          <el-input
            v-model="updateform.name"
            autocomplete="off"
             style="width:85%"
          ></el-input>
        </el-form-item>
@@ -397,7 +403,7 @@
            :popper-append-to-body="false"
            v-model="updateform.depValue"
            placeholder="请选择"
            style="width: 95%"
             style="width:85%"
          >
            <el-option
              :value="updateform.depid"
@@ -446,6 +452,7 @@
          <el-input
            v-model="updateform.descr"
            autocomplete="off"
             style="width:85%"
          ></el-input>
        </el-form-item>
        <el-form-item
@@ -455,9 +462,11 @@
          <el-input
            v-model="updateform.bak"
            autocomplete="off"
             style="width:85%"
          ></el-input>
        </el-form-item>
      </el-form>
        </div>
      <div
        slot="footer"
        class="dialog-footer"
@@ -497,10 +506,10 @@
        >取消</el-button>
      </div>
    </div>
<div class="infoBox_box" v-show="showinfoBox">
    <div
      class="infoBox box_div subpage_Div"
      v-show="showinfoBox"
    >
      <div
        slot="header"
@@ -566,6 +575,7 @@
        <el-divider></el-divider>
      </div>
    </div>
</div>
  </div>
</template>