console.log
This commit is contained in:
parent
98be21a0a6
commit
25ed038701
@ -116,14 +116,12 @@ function s2ab(s) {
|
|||||||
|
|
||||||
export function export_table_to_excel(id) {
|
export function export_table_to_excel(id) {
|
||||||
var theTable = document.getElementById(id);
|
var theTable = document.getElementById(id);
|
||||||
console.log('a')
|
|
||||||
var oo = generateArray(theTable);
|
var oo = generateArray(theTable);
|
||||||
var ranges = oo[1];
|
var ranges = oo[1];
|
||||||
|
|
||||||
/* original data */
|
/* original data */
|
||||||
var data = oo[0];
|
var data = oo[0];
|
||||||
var ws_name = "SheetJS";
|
var ws_name = "SheetJS";
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
var wb = new Workbook(),
|
var wb = new Workbook(),
|
||||||
ws = sheet_from_array_of_arrays(data);
|
ws = sheet_from_array_of_arrays(data);
|
||||||
|
@ -114,7 +114,6 @@ export default {
|
|||||||
this.scrollTop();
|
this.scrollTop();
|
||||||
let data = this.searchDataHandle(this.params, { page }, this.other);
|
let data = this.searchDataHandle(this.params, { page }, this.other);
|
||||||
this.isShowLoading(true);
|
this.isShowLoading(true);
|
||||||
console.log(data);
|
|
||||||
service.get('api/exports', { params: data }).then(res => {
|
service.get('api/exports', { params: data }).then(res => {
|
||||||
this.isShowLoading(false);
|
this.isShowLoading(false);
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
@ -25,7 +25,6 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
show(bool) {
|
show(bool) {
|
||||||
this.my_show = bool;
|
this.my_show = bool;
|
||||||
console.log(this.isUpdate);
|
|
||||||
if (bool) {
|
if (bool) {
|
||||||
if (this.data) {
|
if (this.data) {
|
||||||
for (let k in this.data) {
|
for (let k in this.data) {
|
||||||
|
@ -197,8 +197,6 @@ export default {
|
|||||||
isUpdate,
|
isUpdate,
|
||||||
data
|
data
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(this.editObj);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -149,7 +149,6 @@ export default {
|
|||||||
* @return {[type]} [description]
|
* @return {[type]} [description]
|
||||||
*/
|
*/
|
||||||
index(company_id = null) {
|
index(company_id = null) {
|
||||||
console.log(company_id);
|
|
||||||
if (company_id) {
|
if (company_id) {
|
||||||
this.params.company_id = company_id;
|
this.params.company_id = company_id;
|
||||||
this.company = this.companies.find(item => {
|
this.company = this.companies.find(item => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user