58205c2d by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 63931883 c207fe69
{
"TITLE": "不动产登记系统",
"SERVERAPI": "/bdcdj-th",
"SERVERAPI": "/bdcdj",
"ip": "http://192.168.2.38",
"IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0"
}
\ No newline at end of file
......
import Vue from 'vue'
import axios from 'axios'
import request from '@/utils/request';
import { Message } from "element-ui";
export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
if (!treeList || !treeList.length) {
......@@ -135,11 +136,15 @@ export function getUrlParam (paraName) {
}
}
/**
* @description: 身份证读卡器组件
* @description: 身份证读卡器
* @author: renchao
*/
export function getIdCardInfo () {
return axios.post(Vue.prototype.BASE_API.IDCARDURL)
export function getIdCardInfo (level) {
const resultMap = {
A: '10 颗星',
default: axios.post(Vue.prototype.BASE_API.IDCARDURL),
}
return resultMap[level] || resultMap.default
}
/**
* @description: 高拍仪组件
......