|
@@ -232,6 +232,7 @@ import XLSX from "xlsx";
|
|
import { Format } from '@/utils/validate'
|
|
import { Format } from '@/utils/validate'
|
|
import { exportToExcel } from '@/utils/table'
|
|
import { exportToExcel } from '@/utils/table'
|
|
import { exportJsonToExcel } from '@/utils/Export2Excel.js'
|
|
import { exportJsonToExcel } from '@/utils/Export2Excel.js'
|
|
|
|
+import { parseTime } from '@/utils'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
// import * as XLSX from 'xlsx'
|
|
// import * as XLSX from 'xlsx'
|
|
import XLSX_STYLE from 'xlsx-style'
|
|
import XLSX_STYLE from 'xlsx-style'
|
|
@@ -840,7 +841,7 @@ export default {
|
|
// console.log(arr);
|
|
// console.log(arr);
|
|
|
|
|
|
// ============ 【添加表格标题行】
|
|
// ============ 【添加表格标题行】
|
|
- let TableTitle = ["用户列表"]; // 表标题内容
|
|
|
|
|
|
+ let TableTitle = ["用户列表" + '(' + parseTime(new Date(), "{y}-{m}-{d} {h}:{i}:{s}") + ')']; // 表标题内容
|
|
// 计算合并标题单元格
|
|
// 计算合并标题单元格
|
|
let ColCount = TableHead.length;
|
|
let ColCount = TableHead.length;
|
|
let ColLetter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
let ColLetter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|