Browse Source

病案首页导出筛选与表格筛选修改

zz 3 months ago
parent
commit
0e1bdd294f
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/data/query/index.vue

+ 6 - 1
src/views/data/query/index.vue

@@ -590,7 +590,12 @@ export default {
       this.tableOptions = [];
       this.cityOptions.forEach((item,index)=>{
         if (checkArray[item.id]){
-          this.tableOptions.push({'prop':item.filed_name,'name':item.name,'filed_width':item.filed_width});
+          if (item.table_name == 'patient_info'){
+            this.tableOptions.push({'prop':item.filed_name,'name':item.name,'filed_width':item.filed_width});
+          }else {
+            this.tableOptions.push({'prop':item.table_name+"[0]."+item.filed_name,'name':item.name,'filed_width':item.filed_width});
+          }
+
         }
       })
       this.exportFilter = false;