管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-01-16 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf
src/views/maintenance/parameterConfiguration.vue
@@ -1,14 +1,15 @@
<template>
  <div class="parameterConfiguration_box">
    <My-bread
      :list="[
    <My-bread :list="[
        `${$t('operatManage.operatManage')}`,
        `${$t('operatManage.systemLayout')}`,
      ]"
    ></My-bread>
      ]"></My-bread>
    <el-divider />
    <div class="parameterConfiguration">
      <el-table :data="tableData" style="width: 100%">
      <el-table
        :data="tableData"
        style="width: 100%"
      >
        <el-table-column
          align="center"
          type="index"
@@ -57,24 +58,24 @@
              type="warning"
              plain
              size="small"
              >{{ $t('common.edit') }}</el-button
            >
            >{{ $t('common.edit') }}</el-button>
          </template>
        </el-table-column>
      </el-table>
      <div class="pagination_box">
        <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="listData.pageIndex"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="listData.pageSize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="count"
        >
        </el-pagination>
      </div>
    </div>
    <div class="pagination_box">
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="listData.pageIndex"
        :page-sizes="[10, 20, 30, 40]"
        :page-size="listData.pageSize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="count"
      >
      </el-pagination>
    </div>
    <el-dialog
      :title="$t('operatManage.sysLayOutObj.editSysLayOut')"
      style="overflow: hidden"
@@ -92,7 +93,10 @@
          :label="$t('operatManage.sysLayOutObj.cvalue')"
          :label-width="formLabelWidth"
        >
          <el-input v-model="upform.cvalue" autocomplete="off"></el-input>
          <el-input
            v-model="upform.cvalue"
            autocomplete="off"
          ></el-input>
        </el-form-item>
        <el-form-item
          :label="$t('operatManage.sysLayOutObj.dvalue')"
@@ -119,15 +123,17 @@
          <label class="boxlabel">{{ upform.descr }}</label>
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
      <div
        slot="footer"
        class="dialog-footer"
      >
        <el-button @click="EditFromDataClose">{{
          $t('common.close')
        }}</el-button>
        <el-button
          @click="EditFromData"
          style="background: #409eff; border: 1px solid #409eff; color: white"
          >{{ $t('common.confirm') }}</el-button
        >
        >{{ $t('common.confirm') }}</el-button>
      </div>
    </el-dialog>
  </div>
@@ -249,14 +255,15 @@
<style lang="less" scoped>
//@import url(); 引入公共css类
.parameterConfiguration_box {
  border-radius: 10px;
  height: 100%;
  box-sizing: border-box;
  height: 98%;
  width: 98%;
  padding: 1%;
  position: absolute;
  .parameterConfiguration {
    padding-top: 10px;
    padding-bottom: 10px;
    height: 86%;
    height: 88%;
    overflow: auto;
    border-radius: 5px;
    border: 1px solid rgb(202, 201, 204);
    box-sizing: border-box;