style:读卡器
Showing
1 changed file
with
6 additions
and
2 deletions
| ... | @@ -138,8 +138,12 @@ export function getUrlParam (paraName) { | ... | @@ -138,8 +138,12 @@ export function getUrlParam (paraName) { |
| 138 | * @description: 身份证读卡器组件 | 138 | * @description: 身份证读卡器组件 |
| 139 | * @author: renchao | 139 | * @author: renchao |
| 140 | */ | 140 | */ |
| 141 | export function getIdCardInfo () { | 141 | export function getIdCardInfo (level) { |
| 142 | return axios.post(Vue.prototype.BASE_API.IDCARDURL) | 142 | const resultMap = { |
| 143 | A: '10 颗星', | ||
| 144 | default: '', | ||
| 145 | } | ||
| 146 | return resultMap[level] || axios.post(Vue.prototype.BASE_API.IDCARDURL) | ||
| 143 | } | 147 | } |
| 144 | /** | 148 | /** |
| 145 | * @description: 高拍仪组件 | 149 | * @description: 高拍仪组件 | ... | ... |
-
Please register or sign in to post a comment