loulijun2021
2022-12-31 b012ab3a1e5495be068c543eb8f0482124db13b5
src/views/xtsz/bmgz.vue
@@ -5,12 +5,12 @@
        <el-form
          ref="form"
          :model="form"
          label-width="80px"
          label-width="100px"
          inline
          style="display: flex;justify-content: space-between"
        >
          <div class="elForm">
            <el-form-item label="编码名称" style=" display: flex;">
          <div class="elForm" style="justify-content: flex-start">
            <el-form-item label="编码名称" label-width="70px" style=" display: flex;">
              <el-input v-model="form.rightname" placeholder="请输入" style="width: 200px" />
            </el-form-item>
            <el-form-item label="固定字符" style=" display: flex;">
@@ -33,6 +33,9 @@
            <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button>
          </div>
        </el-form>
        <div
          class="bodyTopFormExpand"
        />
      </div>
      <div style="margin-left: 10px;display: flex">
@@ -65,6 +68,7 @@
            fixed
          />
          <el-table-column
            show-tooltip-when-overflow
            prop="right_code"
            label="编码"
            sortable="custom"
@@ -72,11 +76,19 @@
          <el-table-column
            prop="right_name"
            label="编码名称"
            show-tooltip-when-overflow
            sortable="custom"
          />
          <el-table-column
            prop="Type"
            label="类型"
            sortable="custom"
            show-tooltip-when-overflow
          />
          <el-table-column
            prop="prefix"
            label="固定字符"
            show-tooltip-when-overflow
            sortable="custom"
          >
            <template slot-scope="{row}">
@@ -87,6 +99,7 @@
          <el-table-column
            prop="filingdate"
            label="提交日期"
            show-tooltip-when-overflow
            sortable="custom"
          >
            <template slot-scope="{row}">
@@ -96,6 +109,7 @@
          </el-table-column>
          <el-table-column
            prop="incbit"
            show-tooltip-when-overflow
            label="自增位数"
            sortable="custom"
          >
@@ -112,7 +126,7 @@
            <template slot-scope="{row}">
              <div class="operationClass">
                <el-tooltip class="item" effect="dark" content="编辑" placement="top">
                  <i class="el-icon-edit-outline" @click="edit('edit',row)" />
                  <i class="el-icon-edit-outline" :style="{color:$store.state.settings.theme}" @click="edit('edit',row)" />
                </el-tooltip>
                <!--                <el-button type="text" @click="edit('edit',row)">编辑</el-button>-->
                <!--                <el-button type="text" @click="del(row)">删除</el-button>-->
@@ -388,7 +402,7 @@
    getHeight() {
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 85
        this.tableHeight = this.mainHeight - 140
        this.tableHeight = this.mainHeight - 135
        this.$refs.tableDataRef.doLayout()
      })
    }