无数据
This commit is contained in:
parent
c57c767eb6
commit
2af817c0d4
@ -103,16 +103,17 @@ export default {
|
||||
.then(res => {
|
||||
this.isShowLoading(false);
|
||||
if (res.code == 0) {
|
||||
this.data = [];
|
||||
this.columns = [];
|
||||
|
||||
let data = res.data[this.params.company_id];
|
||||
|
||||
if (data.length) {
|
||||
let maxTime = Object.keys(data[0])[
|
||||
Object.keys(data[0]).length - 1
|
||||
];
|
||||
if (data && data.length) {
|
||||
let index = Object.keys(data[0]).length - 1;
|
||||
let maxTime = Object.keys(data[0])[index];
|
||||
this.setColumns(maxTime);
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
this.data = data;
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
|
@ -697,13 +697,13 @@ export default {
|
||||
{ title: "企业名称", key: "company_name" },
|
||||
{ title: "运营商", key: "carrier_operator_name" },
|
||||
{ title: "套餐名称", key: "package_name" },
|
||||
{ title: "套餐单价", key: "unit_price" },
|
||||
{ title: "支付方式", key: "pay_channel_name" },
|
||||
{ title: "支付流水号", key: "transaction_no" },
|
||||
{ title: "订单时间", key: "order_at" },
|
||||
{ title: "SIM", key: "sim" },
|
||||
{ title: "单价", key: "unit_price" },
|
||||
{ title: "数量", key: "counts" },
|
||||
{ title: "订单金额", key: "total_price" },
|
||||
{ title: "金额", key: "total_price" },
|
||||
{ title: "使用状态", key: "virtual_order_id" },
|
||||
{ title: "VD企业", key: "virtual_company_name" },
|
||||
{ title: "VD套餐", key: "virtual_package_name" },
|
||||
@ -737,13 +737,13 @@ export default {
|
||||
company_name: order.company_name,
|
||||
carrier_operator_name: order.carrier_operator_name,
|
||||
package_name: order.package_name,
|
||||
unit_price: order.unit_price,
|
||||
pay_channel_name: order.pay_channel_name,
|
||||
transaction_no: order.transaction_no + "\t",
|
||||
order_at: order.order_at,
|
||||
sim: element.sim + "\t",
|
||||
unit_price: order.unit_price,
|
||||
counts: element.counts,
|
||||
total_price: order.total_price,
|
||||
total_price: order.unit_price * element.counts,
|
||||
virtual_order_id: element.virtual_order_id ? "已使用" : "未使用",
|
||||
virtual_company_name: element.company_name,
|
||||
virtual_package_name: element.package_name,
|
||||
|
1
public/js/app.4a4e0b02.js
Normal file
1
public/js/app.4a4e0b02.js
Normal file
File diff suppressed because one or more lines are too long
14
public/js/chunk-8064e07e.520af0ce.js
Normal file
14
public/js/chunk-8064e07e.520af0ce.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-6ea47298.6166dab5.css rel=prefetch><link href=/css/chunk-8064e07e.03f6c57e.css rel=prefetch><link href=/js/chunk-00ae0766.d130b440.js rel=prefetch><link href=/js/chunk-07a274ec.55e1b3b0.js rel=prefetch><link href=/js/chunk-6ea47298.b6a301d0.js rel=prefetch><link href=/js/chunk-8064e07e.8f4e83ef.js rel=prefetch><link href=/css/app.be09e36f.css rel=preload as=style><link href=/css/chunk-vendors.3c3b2e85.css rel=preload as=style><link href=/js/app.9de5e729.js rel=preload as=script><link href=/js/chunk-vendors.ed6443e8.js rel=preload as=script><link href=/css/chunk-vendors.3c3b2e85.css rel=stylesheet><link href=/css/app.be09e36f.css rel=stylesheet></head><body><noscript><strong>很抱歉,如果没有启用JavaScript,程序不能正常工作,若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.ed6443e8.js></script><script src=/js/app.9de5e729.js></script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-6ea47298.6166dab5.css rel=prefetch><link href=/css/chunk-8064e07e.03f6c57e.css rel=prefetch><link href=/js/chunk-00ae0766.d130b440.js rel=prefetch><link href=/js/chunk-07a274ec.55e1b3b0.js rel=prefetch><link href=/js/chunk-6ea47298.b6a301d0.js rel=prefetch><link href=/js/chunk-8064e07e.520af0ce.js rel=prefetch><link href=/css/app.be09e36f.css rel=preload as=style><link href=/css/chunk-vendors.3c3b2e85.css rel=preload as=style><link href=/js/app.4a4e0b02.js rel=preload as=script><link href=/js/chunk-vendors.ed6443e8.js rel=preload as=script><link href=/css/chunk-vendors.3c3b2e85.css rel=stylesheet><link href=/css/app.be09e36f.css rel=stylesheet></head><body><noscript><strong>很抱歉,如果没有启用JavaScript,程序不能正常工作,若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.ed6443e8.js></script><script src=/js/app.4a4e0b02.js></script></body></html>
|
Loading…
x
Reference in New Issue
Block a user