Răsfoiți Sursa

样本来源导出添加字段排序参数

jianglw 4 ani în urmă
părinte
comite
ed814ea9d0

+ 5 - 6
src/dashoo.cn/frontend_animal/src/pages/biobank/source/animal.vue

@@ -871,12 +871,12 @@ export default {
       let showcolumnarr = []
       let showcolumnnamearr = []
       let id = ''
-      /* for (var i = 0; i < _this.showcolumn.length; i++) {
+      for (var i = 0; i < _this.showcolumn.length; i++) {
         if (_this.showcolumn[i].show) {
           showcolumnarr.push(_this.showcolumn[i].filed)
           showcolumnnamearr.push(_this.showcolumn[i].name.replace(/,/g, ','))
         }
-      } */
+      }
       let params = {
         currentPage: this.currentPage,
         size: this.size,
@@ -890,10 +890,9 @@ export default {
         Name: this.Name,
         AuditorStatus: this.AuditorStatus,
         AuditorName: this.AuditorName,
-        showcolumnarr: showcolumnarr + '',
-        showcolumnnamearr: showcolumnnamearr + '',
-        ExportFlag: 'stored',
-        Type: 'SampleType'
+        showColumn: showcolumnarr + '',
+        showColumnName: showcolumnnamearr + '',
+        Type: 'SampleSource'
       }
       /*    if (this.CreateOn && this.CreateOn.length === 2) {
         let params2 = {