這是模板**
直接放在之間就可以。
直接放在之間就可以。
"title"
:visible.sync=
"open" width=
"10"
class
="mb8"
>
"1.5"
>
type=
"success"
icon=
"el-icon-plus"
size=
"mini"
@click=
"connect"
>連線<
/el-button>
<
/el-col>
"1.5"
>
type=
"warning"
icon=
"el-icon-download"
size=
"mini"
@click=
"readcert"
>讀卡<
/el-button>
<
/el-col>
"1.5"
>
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
@click=
"disconnect()"
>斷開<
/el-button>
<
/el-col>
<
/el-row>
"form"
:model=
"form"
:rules=
"rules" label-width=
"150px"
>
"*姓名:" prop=
"workername"
>
"form.workername" placeholder=
"請輸入工人姓名"
/>
<
/el-form-item>
"*證件號碼:" prop=
"idcardnumber"
>
"form.idcardnumber" placeholder=
"請輸入證件號碼"
/>
<
/el-form-item>
"*性別:"
>
"form.***" placeholder=
"請輸入證件號碼"
/>
<
/el-form-item>
"身份證**:" prop=
"*民族:" prop=
"nation"
>
"form.nation" placeholder=
"請輸入民族"
/>
<
/el-form-item>
"出生日期:" prop=
"csrq"
>
"expdate" v-model=
"form.csrq" placeholder=
"請輸入出生日期"
/>
<
/el-form-item>
"身份證有效起日期:" prop=
"sfzyxqrq"
>
"form.sfzyxqrq" placeholder=
"請輸入身份證有效起日期"
/>
<
/el-form-item>
"身份證有效止日期:" prop=
"sfzyxzrq"
>
"form.sfzyxzrq" placeholder=
"請輸入身份證有效止日期"
/>
<
/el-form-item>
<
!--檢測是否裝有外掛程式--
>
"certctl" type=
"0" height=
"0">
"color:#ff0000;"
>控制項未安裝或不可用,請檢查安裝後在使用!<
/p>
<
/object>
<
/el-form>
"footer"
class
="dialog-footer"
>
"primary" @click=
"submitform"
>確 定<
/el-button>
"cancel"
>取 消<
/el-button>
<
/div>
<
/el-dialog>這是vue.js
export
default
,// 表單引數
form:
,// 表單校驗
rules:};
},created()
, methods:
;this
.resetform
("form");
},//sfz閱讀器連線
connect()
catch(e
)},//讀取sfz閱讀器
readcert()
,//斷開連線
disconnect()
catch(e
)},}
};<
/script>
讀取身份證資訊 php 讀取身份證資訊
namespace class identitycardservice 獲取位址 public function get addr id 根據身份證號,自動返回對應的星座 param cid return string public function getstarsign cid elseif m...
身份證閱讀器除錯以及sdk
1.主要是找到身份證閱讀器對應的開發包 2.按照開發包的指示,安裝驅動,不同的開發方式,要把dll檔案放到不同的地方,和計算機的系統也有關係,我當時系統是64位,把dll檔案放到c windows syswow64或 c windows system32下 3.sdk也執行了,但是還是會出現異常,j...
QT讀取身份證資訊
ifndef bp readcard h define bp readcard h include include include typedef int stdcall cvr initcomm int 初始化 typedef int stdcall cvr authenticate 卡認證 ty...