Merge branch 'dev'
Showing
2 changed files
with
9 additions
and
4 deletions
1 | { | 1 | { |
2 | "TITLE": "不动产登记系统", | 2 | "TITLE": "不动产登记系统", |
3 | "SERVERAPI": "/bdcdj-th", | 3 | "SERVERAPI": "/bdcdj", |
4 | "ip": "http://192.168.2.38", | 4 | "ip": "http://192.168.2.38", |
5 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0" | 5 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0" |
6 | } | 6 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
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,11 +136,15 @@ export function getUrlParam (paraName) { | ... | @@ -135,11 +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 () { | 142 | export function getIdCardInfo (level) { |
142 | return axios.post(Vue.prototype.BASE_API.IDCARDURL) | 143 | const resultMap = { |
144 | A: '10 颗星', | ||
145 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL), | ||
146 | } | ||
147 | return resultMap[level] || resultMap.default | ||
143 | } | 148 | } |
144 | /** | 149 | /** |
145 | * @description: 高拍仪组件 | 150 | * @description: 高拍仪组件 | ... | ... |
-
Please register or sign in to post a comment