提交 18b1408a authored 作者: matian's avatar matian

fix:导出链接修改以及表格宽度调整

上级 01cff181
...@@ -253,8 +253,8 @@ export default { ...@@ -253,8 +253,8 @@ export default {
columnsOptions: { key: 'payments' }, columnsOptions: { key: 'payments' },
columns: [ columns: [
{ type: 'selection', minWidth: '50px', fixed: 'left' }, { type: 'selection', minWidth: '50px', fixed: 'left' },
{ label: '客户名称', prop: 'name', minWidth: 100 }, { label: '客户名称', prop: 'name', minWidth: 150 },
{ label: '项目', prop: 'project_id_name', align: 'center', minWidth: 100 }, { label: '项目', prop: 'project_id_name', align: 'center', minWidth: 150 },
{ label: '支付状态', prop: 'payment_status_name', align: 'center', minWidth: 100 }, { label: '支付状态', prop: 'payment_status_name', align: 'center', minWidth: 100 },
{ label: '费用类型', prop: 'type_name', align: 'center', minWidth: 100 }, { label: '费用类型', prop: 'type_name', align: 'center', minWidth: 100 },
{ label: '首次缴费时间', prop: 'first_payment_time', align: 'center', minWidth: 200 }, { label: '首次缴费时间', prop: 'first_payment_time', align: 'center', minWidth: 200 },
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
{ label: '到账金额', prop: 'amount_received', align: 'center', minWidth: 100 }, { label: '到账金额', prop: 'amount_received', align: 'center', minWidth: 100 },
{ label: '代缴金额', prop: 'amount_waiting_for_pay', align: 'center', minWidth: 100 }, { label: '代缴金额', prop: 'amount_waiting_for_pay', align: 'center', minWidth: 100 },
{ label: '跟进人', prop: 'sales_rep_user_id_name', align: 'center', minWidth: 100 }, { label: '跟进人', prop: 'sales_rep_user_id_name', align: 'center', minWidth: 100 },
{ label: '渠道', prop: 'channel_id_name', align: 'center', minWidth: 100 }, { label: '渠道', prop: 'channel_id_name', align: 'center', minWidth: 300 },
{ label: '交易流水号', prop: 'txn_id_list', align: 'center', minWidth: 300 }, { label: '交易流水号', prop: 'txn_id_list', align: 'center', minWidth: 300 },
{ label: '服务费规则', prop: 'service_fee_rules', align: 'center', minWidth: 120 }, { label: '服务费规则', prop: 'service_fee_rules', align: 'center', minWidth: 120 },
{ label: '服务费比例', prop: 'service_charge_ratio', align: 'center', minWidth: 120 }, { label: '服务费比例', prop: 'service_charge_ratio', align: 'center', minWidth: 120 },
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
{ label: '户名', prop: 'channel_account_name', align: 'center', minWidth: 100 }, { label: '户名', prop: 'channel_account_name', align: 'center', minWidth: 100 },
{ label: '账号', prop: 'channel_account', align: 'center', minWidth: 100 }, { label: '账号', prop: 'channel_account', align: 'center', minWidth: 100 },
{ label: '开户行', prop: 'channel_bank_of_deposit', align: 'center', minWidth: 100 }, { label: '开户行', prop: 'channel_bank_of_deposit', align: 'center', minWidth: 100 },
{ label: '所属班次', prop: 'bill_customer_class', align: 'center', minWidth: 100 }, { label: '所属班次', prop: 'bill_customer_class', align: 'center', minWidth: 200 },
{ label: '开学时间', prop: 'bill_customer_class_start_time', align: 'center', minWidth: 200 }, { label: '开学时间', prop: 'bill_customer_class_start_time', align: 'center', minWidth: 200 },
{ label: '学制期限', prop: 'bill_customer_class_length_of_schooling', align: 'center', minWidth: 100 }, { label: '学制期限', prop: 'bill_customer_class_length_of_schooling', align: 'center', minWidth: 100 },
{ label: '客户编号', prop: 'customer_id', align: 'center', minWidth: 300 }, { label: '客户编号', prop: 'customer_id', align: 'center', minWidth: 300 },
...@@ -492,7 +492,7 @@ export default { ...@@ -492,7 +492,7 @@ export default {
exportAll() { exportAll() {
download(this.tableOptions.remote.params).then(res => { download(this.tableOptions.remote.params).then(res => {
const params = queryString.stringify(this.tableOptions.remote.params) const params = queryString.stringify(this.tableOptions.remote.params)
window.open(`/api/finance/v1/invoices/download?${params}`) window.open(`/api/finance/v1/payments/download?${params}`)
}) })
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论