style:身份证读卡器
Showing
1 changed file
with
4 additions
and
3 deletions
1 | import Vue from 'vue' | 1 | import Vue from 'vue' |
2 | import axios from 'axios' | 2 | import axios from 'axios' |
3 | import request from '@/utils/request'; | ||
3 | import { Message } from "element-ui"; | 4 | import { Message } from "element-ui"; |
4 | export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { | 5 | export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { |
5 | if (!treeList || !treeList.length) { | 6 | if (!treeList || !treeList.length) { |
... | @@ -135,15 +136,15 @@ export function getUrlParam (paraName) { | ... | @@ -135,15 +136,15 @@ export function getUrlParam (paraName) { |
135 | } | 136 | } |
136 | } | 137 | } |
137 | /** | 138 | /** |
138 | * @description: 身份证读卡器组件 | 139 | * @description: 身份证读卡器 |
139 | * @author: renchao | 140 | * @author: renchao |
140 | */ | 141 | */ |
141 | export function getIdCardInfo (level) { | 142 | export function getIdCardInfo (level) { |
142 | const resultMap = { | 143 | const resultMap = { |
143 | A: '10 颗星', | 144 | A: '10 颗星', |
144 | default: '', | 145 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL), |
145 | } | 146 | } |
146 | return resultMap[level] || axios.post(Vue.prototype.BASE_API.IDCARDURL) | 147 | return resultMap[level] || resultMap.default |
147 | } | 148 | } |
148 | /** | 149 | /** |
149 | * @description: 高拍仪组件 | 150 | * @description: 高拍仪组件 | ... | ... |
-
Please register or sign in to post a comment