|
|
|
|
@ -360,6 +360,7 @@ import { |
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
import print from "vue-print-nb"; |
|
|
|
|
import { calcSex } from "../../util/util"; |
|
|
|
|
import {Base64} from 'js-base64'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
@ -484,14 +485,17 @@ export default { |
|
|
|
|
this.option.column.find(item => item.label == '身份证号码').searchValue = number |
|
|
|
|
}, |
|
|
|
|
handleRegister(row) { |
|
|
|
|
console.log(row) |
|
|
|
|
// console.log('13',row) |
|
|
|
|
let ids = [] |
|
|
|
|
row.details.map(item => { |
|
|
|
|
ids.push(item.id) |
|
|
|
|
}) |
|
|
|
|
let val = ids.join(','); |
|
|
|
|
getStatus(val).then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
res.data.data.resData.cupCardNo = res.data.data.resData.cupCardNo.length > 18 ? Base64.decode(res.data.data.resData.cupCardNo) : res.data.data.resData.cupCardNo; |
|
|
|
|
res.data.data.resData.cupName = res.data.data.resData.cupName.length > 7 ? Base64.decode(res.data.data.resData.cupName) : res.data.data.resData.cupName; |
|
|
|
|
res.data.data.resData.cupPhone = res.data.data.resData.cupPhone.length > 11 ? Base64.decode(res.data.data.resData.cupPhone) : res.data.data.resData.cupPhone; |
|
|
|
|
// console.log('12',res.data); |
|
|
|
|
this.regData = res.data.data; |
|
|
|
|
this.isRegister = true |
|
|
|
|
}) |
|
|
|
|
@ -551,6 +555,11 @@ export default { |
|
|
|
|
getList(page.currentPage, page.pageSize, values).then(res => { |
|
|
|
|
const data = res.data.data; |
|
|
|
|
this.page.total = data.total; |
|
|
|
|
data.records.map(item => { |
|
|
|
|
item.cupCardNo = item.cupCardNo.length > 18 ? Base64.decode(item.cupCardNo) : item.cupCardNo; |
|
|
|
|
item.cupName = item.cupName.length > 7 ? Base64.decode(item.cupName) : item.cupName; |
|
|
|
|
item.cupPhone = item.cupPhone.length > 11 ? Base64.decode(item.cupPhone) : item.cupPhone; |
|
|
|
|
}) |
|
|
|
|
this.data = data.records; |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
@ -659,7 +668,7 @@ export default { |
|
|
|
|
|
|
|
|
|
.mess_box { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 123px; |
|
|
|
|
min-height: 123px; |
|
|
|
|
background: #F5F6FA; |
|
|
|
|
border-radius: 8px; |
|
|
|
|
display: flex; |
|
|
|
|
|