管道基础大数据平台系统开发-【前端】-新系統界面
xing
2023-02-26 925a7c633bcf0379333c050d179f878b9aba0443
src/views/datamanage/versionManage.vue
@@ -11,7 +11,7 @@
      <el-form ref="ruleForm" :model="ruleForm" :inline="true">
        <div class="flex_box">
          <div style="margin-right: auto">
            <el-form-item>
            <el-form-item size="small">
              <el-select
                :popper-append-to-body="false"
                v-model="ruleForm.dirid"
@@ -46,10 +46,11 @@
            }"
            ></el-cascader> -->
            </el-form-item>
            <el-form-item>
            <el-form-item size="small">
              <el-input
                v-model="ruleForm.name"
                :placeholder="$t('common.pleaseInput')"
                suffix-icon="el-icon-edit"
              />
            </el-form-item>
          </div>
@@ -83,6 +84,7 @@
      </el-form>
    </div>
    <div class="dividing-line"></div>
    <div class="table_box" :style="styleVar">
      <el-table
        :data="tableData"
@@ -143,6 +145,7 @@
              "
              type="warning"
              size="small"
              plain
              >{{ $t("common.update") }}</el-button
            >
            <el-button
@@ -150,12 +153,13 @@
              @click="handleDelete(scope.$index, scope.row)"
              type="danger"
              size="small"
              plain
              >{{ $t("common.delete") }}</el-button
            >
          </template>
        </el-table-column>
      </el-table>
      <div class="pagination_box">
      <div class="pagination_box" style="margin-top: 15px">
        <el-pagination
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
@@ -172,9 +176,9 @@
    <el-dialog
      :title="$t('dataManage.vmobj.editVersion')"
      :visible.sync="dialogFormVisible"
      width="25%"
    >
      <el-form :model="upform">
        <div style="height: 500px; overflow: auto">
      <el-form :model="upform" label-position="top">
        <el-form-item
          :label="$t('dataManage.vmobj.name')"
          :label-width="formLabelWidth"
@@ -182,7 +186,7 @@
          <el-input
            v-model="upform.name"
            autocomplete="off"
            style="width: 300px"
             style="width:85%"
          ></el-input>
        </el-form-item>
        <el-form-item
@@ -192,8 +196,8 @@
          <el-select
            :popper-append-to-body="false"
            v-model="upform.dirid"
            placeholder="请选择"
            style="width: 300px"
            :placeholder="$t('shuJuGuanLi.pselect.select')"
             style="width:85%"
          >
            <el-option
              :value="upform.dirid"
@@ -224,10 +228,11 @@
          <el-input
            v-model="upform.descr"
            autocomplete="off"
            style="width: 300px"
             style="width:85%"
          ></el-input>
        </el-form-item>
      </el-form>
        </div>
      <div slot="footer" type="info" class="dialog-footer">
        <el-button size="small" @click="editFromDataClose">{{
          $t("common.close")
@@ -241,15 +246,15 @@
    <el-dialog
      :title="$t('dataManage.vmobj.addVersion')"
      :visible.sync="InsertFormdialog"
      width="25%"
    >
      <el-form :model="insertform">
    <div style="height: 500px; overflow: auto">
      <el-form :model="insertform" label-position="top">
        <el-form-item
          :label="$t('dataManage.vmobj.name')"
          :label-width="formLabelWidth"
        >
          <el-input
            style="width: 300px"
             style="width:85%"
            v-model="insertform.name"
            autocomplete="off"
          ></el-input>
@@ -262,7 +267,7 @@
            :popper-append-to-body="false"
            v-model="insertform.path"
            placeholder="请选择"
            style="width: 300px"
            style="width:85%"
          >
            <el-option
              :value="insertform.path"
@@ -292,12 +297,13 @@
          :label-width="formLabelWidth"
        >
          <el-input
            style="width: 300px"
             style="width:85%"
            v-model="insertform.descr"
            autocomplete="off"
          ></el-input>
        </el-form-item>
      </el-form>
    </div>
      <div slot="footer" class="dialog-footer">
        <el-button @click="insertFromDataClose" type="info" size="small">{{
          $t("common.close")
@@ -490,7 +496,7 @@
      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 + 28}px)`;
      });
    },
    //目录切换
@@ -734,7 +740,7 @@
.verSionBox {
  height: 98%;
  width: 98%;
  padding: 1%;
  padding: 0.5%;
  .verSionContent {
    width: 100%;
    height: 92%;
@@ -752,11 +758,11 @@
}
.inquire {
  padding: 8px;
  margin-top: 20px;
  //margin-top: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  //margin-bottom: 20px;
  .el-form-item {
    margin: 5px;
  }