石广澎
2024-01-05 b2429057ae17e9f5b357435b0bff5f6cc0040b69
admin-web/src/views/systemSetting/department/index.vue
@@ -138,7 +138,7 @@
            align: 'center',
            width: 100,
            formatter: (row) => {
              return { value: row.status === 0 ? '启用' : '禁用' };
              return { value: row.status === 1 ? '启用' : '禁用' };
            },
          },
        ],
@@ -210,7 +210,7 @@
    // 查询table列表
    search(pageNum) {
      if (pageNum != undefined) {
        this.$refs.myTable.search(pageNum);
        this.$refs.myTable.search({pageNum});
      } else {
        this.$refs.myTable.search();
      }