拆分查询导出

This commit is contained in:
caoyang
2022-04-07 18:49:11 +08:00
parent be170a4cb7
commit 7da98e7371
3 changed files with 8 additions and 3 deletions
@@ -157,7 +157,7 @@
sorter: res.sort sorter: res.sort
}) })
if(res.db_field_name=='iterms_conditions'){ if(res.db_field_name=='iterms_conditions'){
this.columns[index].width='35%' this.columns[index].width='500'
this.columns[index].scopedSlots = { this.columns[index].scopedSlots = {
customRender: 'showContent' customRender: 'showContent'
} }
@@ -184,7 +184,7 @@
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
}) })
} }
// console.log('columns',this.columns) console.log('columns',this.columns)
} }
}) })
}, },
@@ -272,6 +272,7 @@
} }
.content-show{ .content-show{
width: 500px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@@ -309,7 +309,7 @@
<!-- <span class="title-num-add">{{$t('addQuantity')}}</span>--> <!-- <span class="title-num-add">{{$t('addQuantity')}}</span>-->
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
<a-input-number class="title-num-edit" :min="1" :max="100" v-model="numberForm.textNumber" :placeholder="$t('enterQuantity')" :formatter="limitNumber" :parser="limitNumber" ></a-input-number> <a-input-number class="title-num-edit" :min="0" :max="100" v-model="numberForm.textNumber" :placeholder="$t('enterQuantity')" :formatter="limitNumber" :parser="limitNumber" ></a-input-number>
</a-col> </a-col>
</a-row> </a-row>
</a-form-model-item> </a-form-model-item>
@@ -730,6 +730,10 @@
}, },
//导出 //导出
handleExportManage(){ handleExportManage(){
if(JSON.stringify(this.parameter)=='{}'){
this.parameter.info_id=this.infoId
this.parameter.menu_id=this.menuId
}
let dateName = moment(new Date()).format('YYYY-MM-DD HH-mm-ss') let dateName = moment(new Date()).format('YYYY-MM-DD HH-mm-ss')
let name = this.$route.query.infoNumber +' '+ dateName+'.zip' let name = this.$route.query.infoNumber +' '+ dateName+'.zip'