let confirmText = [
"因本次操作涉及批量导出个人信息,请注意:",
"1、不得用于业务目的以外用途",
"2、不得违规共享或外发数据",
"违反上述内容需承担相应法律法规责任",
]
const newDatas = []
const h = this.$createElement //先用$createElement创建h函数。
for (const i in confirmText) {
newDatas.push(h("p", confirmText[i]))
}
const now = moment(); // 获取当前时间
const year = now.format('YYYY'); // 年
const month = now.format('MM'); // 月 (01-12)
const day = now.format('DD'); // 日 (01-31)
const hour = now.format('HH'); // 时 (00-23)
const minute = now.format('mm'); // 分 (00-59)
const second = now.format('ss'); // 秒 (00-59)
const exportName = `人员认证记录${year+month+day+hour+minute+second}.xlsx`
this.$confirm("提示", { message: h("div", null, newDatas), type: "warning" }).then(async()=>{