zhanghua
2023-06-24 d7541d3db0a2129f0033683ed63231cd6d6611bd
bug修改
2个文件已修改
45 ■■■■ 已修改文件
src/views/operate/images/updateUser/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/systemSetting/device/bayonet/index.vue 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/images/updateUser/index.vue
@@ -127,7 +127,6 @@
    }
    if (this.dialogType !== "create") {
      let _imageList = [];
      debugger;
      let imageData = this.imagedata.url.split(",");
      imageData.forEach((url) => {
        console.log(
src/views/systemSetting/device/bayonet/index.vue
@@ -4,15 +4,15 @@
      <div class="header-content">
        <div class="search">
          <span style="padding-right: 20px">筛选条件:</span>
          <el-input
            v-model="context"
            placeholder="请输入"
          ></el-input>
          <el-input v-model="context" placeholder="请输入"></el-input>
        </div>
        <div class="main-title">
          <el-button type="primary" icon="el-icon-search" @click="getBayonetListData">查询
          <el-button
            type="primary"
            icon="el-icon-search"
            @click="getBayonetListData"
            >查询
          </el-button>
          <el-button
            class="el-icon-plus button-addition"
@@ -21,8 +21,7 @@
            >添加</el-button
          >
          <el-button @click="handleExport"
            type="primary">导出卡口</el-button>
          <el-button @click="handleExport" type="primary">导出卡口</el-button>
        </div>
      </div>
    </header>
@@ -33,7 +32,6 @@
          :tableOption="tableOption"
          :get-table-list="getBayonetListData"
          :tableData="list"
          :pageShow="true"
        >
          <template #operation="info">
            <el-link
@@ -52,6 +50,25 @@
            >
          </template>
        </MyTable>
        <div class="tools">
          <div class="funs">
            <div class="funsItem funs-sp"></div>
            <div class="funsItem funs-sp"></div>
            <div class="funsItem"></div>
          </div>
          <div class="pagination">
            <el-pagination
              background
              :current-page="current"
              layout="prev, pager, next"
              :total="total"
              :page-size="size"
              @current-change="changeCurrentPage"
            >
            </el-pagination>
          </div>
        </div>
      </div>
    </main>
    <footer>
@@ -101,6 +118,7 @@
      list: [],
      current: 1,
      size: 10,
      total: 0,
      tableOption: {
        group: [
          {
@@ -156,13 +174,19 @@
          current: this.current,
          size: this.size,
        })
        .then(({ records }) => {
        .then(({ records, total }) => {
          this.list = records;
          this.total = total;
        })
        .catch((err) => {
          this.$message({ type: "error", message: err });
        });
    },
     // 当前页改变触发事件
     changeCurrentPage(page) {
      this.current = page;
      this.getBayonetListData();
    },
    // 弹窗关闭
    handleClose(done) {
      this.$confirm("确认关闭?").then((_) => {