邮箱模板 调整

szh-new
张同海 2 months ago
parent bdec4fa43e
commit c4e736c2bf

@ -27,12 +27,19 @@
let waitingData = ref()
let passData = ref()
let failData = ref()
function ArrToStr(data) {
let RData = ''
data.forEach((item) => {
RData = RData == '' ? item : `${RData}\n${item}`
})
return RData
}
function FnCheck() {
ApiCheck({ cntrno: waitingData.value })
.then((res) => {
console.log(res)
failData.value = res.data.wrongCntrnoList
passData.value = res.data.rightCntrnoList
failData.value = ArrToStr(res.data.wrongCntrnoList)
passData.value = ArrToStr(res.data.rightCntrnoList)
notification.success({ message: '校验完成', duration: 3 })
})
.catch((err) => {

Loading…
Cancel
Save