heyujie
2021-10-11 ae2d855c89ca722ac7309fdf1aa6ceed370e3b95
src/pages/library/components/personList.vue
@@ -175,10 +175,13 @@
    </div>
    <div class="pt5" style="height:40px;position:relative">
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="refrash"
        :current-page="BaseManageData.page"
        :page-size="BaseManageData.size"
        :page-sizes="[10,20,50,100]"
        style="position:absolute;right:10px;bottom:5px"
        layout="total,sizes,prev,pager,next,jumper"
        :total="BaseManageData.total"
      ></el-pagination>
    </div>
@@ -661,8 +664,8 @@
        confirmButtonClass: "comfirm-class-sure"
      })
        .then(_ => {
          fetch(`/data/api-v/dbperson/deleteDbPersonById/${id}`, {
            method: "POST",
          fetch(`/data/api-v/dbperson/deleteDbPersonById?id=${id}`, {
            method: "GET",
            headers: {
              "Content-Type": "application/json",
              Authorization: token
@@ -725,6 +728,11 @@
      this.BaseManageData.page = current;
      this.getPersonList();
    },
    handleSizeChange(val) {
      //this.pageSize = val;
      this.BaseManageData.size = val;
      this.getPersonList();
    },
    handleClick(row) {
      this.form = row;
      this.dialogFormVisible = true;