Administrator
2021-12-10 6edff528ccf298dd8c25927516798b781dd352e1
保安员新增排序
2 files modified
6 ■■■■■ changed files
src/views/securityGuard/data.js 1 ●●●● patch | view | raw | blame | history
src/views/securityGuard/securityGuard.vue 5 ●●●●● patch | view | raw | blame | history
src/views/securityGuard/data.js
@@ -563,6 +563,7 @@
    label: "年龄",
    prop: "age",
    width: 55,
        sortable: true,
    display: false
},
{
src/views/securityGuard/securityGuard.vue
@@ -33,6 +33,7 @@
          @row-update="rowUpdate"
          :before-open="beforeOpen"
          :page.sync="page"
          @sort-change="sortChange"
          @search-change="searchChange"
          @search-reset="searchReset"
          @selection-change="selectionChange"
@@ -2388,6 +2389,10 @@
    refreshChange() {
      this.onLoad(this.page, this.query);
    },
    //排序
    sortChange(value){
      console.log(value,51151515);
    },
    onLoad(page, params = {}) {
      params = this.search;
      var that = this;