Explorar o código

修复数据库列表分类筛选无效bug

cfort %!s(int64=3) %!d(string=hai) anos
pai
achega
b41a18ee83
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/views/platform/bo/boDef/list.vue

+ 4 - 4
src/views/platform/bo/boDef/list.vue

@@ -221,9 +221,9 @@ export default {
     /**
      * 加载数据
      */
-    loadData(id = '') {
+    loadData() {
       this.loading = true
-      queryPageList(this.getFormatParams(id)).then(response => {
+      queryPageList(this.getFormatParams()).then(response => {
             response.data.dataResult.forEach((item)=>{
               if(item.typeId && this.typeFiler.length>0){
                   this.typeFiler.forEach((val)=>{
@@ -246,9 +246,9 @@ export default {
     /**
      * 获取格式化参数
      */
-    getFormatParams(id = '') {
+    getFormatParams() {
       const params = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
-      params['Q^TYPE_ID_^S'] = id
+      params['Q^TYPE_ID_^S'] = this.typeId
       return ActionUtils.formatParams(
         params,
         this.pagination,