|
|
@ -175,43 +175,19 @@ |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
size="mini" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit" |
|
|
|
icon="el-icon-s-promotion" |
|
|
|
@click="registered(scope.row)" |
|
|
|
@click="registered(scope.row)" |
|
|
|
v-hasPermi="['invoiceall:invoiceallyhdj:edit']" |
|
|
|
v-hasPermi="['invoiceall:invoiceallyhdj:edit']" |
|
|
|
v-if="scope.row.dqbm != null |
|
|
|
v-if="isShowRegistered(scope.row)" |
|
|
|
&& scope.row.dqbm != '' |
|
|
|
|
|
|
|
&& scope.row.dlfs != null |
|
|
|
|
|
|
|
&& scope.row.dlfs != '' |
|
|
|
|
|
|
|
&& scope.row.dlsfmm != null |
|
|
|
|
|
|
|
&& scope.row.dlsfmm != '' |
|
|
|
|
|
|
|
&& scope.row.dlmm != null |
|
|
|
|
|
|
|
&& scope.row.dlmm != '' |
|
|
|
|
|
|
|
&& scope.row.dlzh != null |
|
|
|
|
|
|
|
&& scope.row.dlzh != '' |
|
|
|
|
|
|
|
&& scope.row.nsrmc != null |
|
|
|
|
|
|
|
&& scope.row.nsrmc != '' |
|
|
|
|
|
|
|
&& scope.row.nsrsbh != null |
|
|
|
|
|
|
|
&& scope.row.nsrsbh != '' |
|
|
|
|
|
|
|
&& scope.row.bsrysfzjhm != null |
|
|
|
|
|
|
|
&& scope.row.bsrysfzjhm != '' |
|
|
|
|
|
|
|
&& scope.row.identity != null |
|
|
|
|
|
|
|
&& scope.row.identity != ''" |
|
|
|
|
|
|
|
>登记</el-button> |
|
|
|
>登记</el-button> |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit" |
|
|
|
icon="el-icon-s-check" |
|
|
|
@click="qrcode(scope.row)" |
|
|
|
@click="loginVerificated(scope.row)" |
|
|
|
v-hasPermi="['invoiceall:invoiceallyhdj:remove']" |
|
|
|
v-hasPermi="['invoiceall:invoiceallyhdj:remove']" |
|
|
|
v-show="scope.row.dqbm != null |
|
|
|
v-show="isShowLoginVerificated(scope.row)" |
|
|
|
&& scope.row.dqbm != '' |
|
|
|
>登录校验</el-button> |
|
|
|
&& scope.row.nsrsbh != null |
|
|
|
|
|
|
|
&& scope.row.nsrsbh != '' |
|
|
|
|
|
|
|
&& scope.row.bsrysfzjhm != null |
|
|
|
|
|
|
|
&& scope.row.bsrysfzjhm != '' |
|
|
|
|
|
|
|
&& scope.row.identity != null |
|
|
|
|
|
|
|
&& scope.row.identity != ''" |
|
|
|
|
|
|
|
>人脸识别</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -405,17 +381,14 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//获取人脸二维码参数 |
|
|
|
//登录校验参数 |
|
|
|
qrcodeParams : { |
|
|
|
loginVerificatedParams : { |
|
|
|
appkey: "935248bf224f6c8431cdc1969f029519", |
|
|
|
appkey: "935248bf224f6c8431cdc1969f029519", |
|
|
|
async: true, |
|
|
|
async: true, |
|
|
|
bsrysfzjhm:"", |
|
|
|
bsrysfzjhm:"", |
|
|
|
dqbm: "", |
|
|
|
dqbm: "", |
|
|
|
nsrsbh: "", |
|
|
|
nsrsbh: "", |
|
|
|
jsonData: { |
|
|
|
serviceId: "dlyz" |
|
|
|
rlsblx: "" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
serviceId: "hqrlsbewm" |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -528,8 +501,8 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
/** 人脸识别 */ |
|
|
|
/** 登陆验证 */ |
|
|
|
qrcode(row){ |
|
|
|
loginVerificated(row){ |
|
|
|
this.reset(); |
|
|
|
this.reset(); |
|
|
|
getCompanyservice(row.identity).then(resp=>{ |
|
|
|
getCompanyservice(row.identity).then(resp=>{ |
|
|
|
//请求成功 |
|
|
|
//请求成功 |
|
|
@ -537,7 +510,7 @@ export default { |
|
|
|
this.convertRegistedParam(row,false) |
|
|
|
this.convertRegistedParam(row,false) |
|
|
|
const requestBody = { |
|
|
|
const requestBody = { |
|
|
|
key: resp.data.secret, |
|
|
|
key: resp.data.secret, |
|
|
|
order: JSON.stringify(this.qrcodeParams), |
|
|
|
order: JSON.stringify(this.loginVerificatedParams), |
|
|
|
} |
|
|
|
} |
|
|
|
encrypt(requestBody).then(res => { |
|
|
|
encrypt(requestBody).then(res => { |
|
|
|
if (res.code == 200 && res.data != null && res.data != "") { |
|
|
|
if (res.code == 200 && res.data != null && res.data != "") { |
|
|
@ -550,7 +523,11 @@ export default { |
|
|
|
this.$message.error('登记失败') |
|
|
|
this.$message.error('登记失败') |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
this.$message.error(response.msg) |
|
|
|
if(response.msg){ |
|
|
|
|
|
|
|
this.$message.error(response.msg) |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.$message.error(response.message) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}else if (res.data == null || res.data == ""){ |
|
|
|
}else if (res.data == null || res.data == ""){ |
|
|
@ -580,9 +557,9 @@ export default { |
|
|
|
this.registeredParams.jsonData.zjh = row.zjh; |
|
|
|
this.registeredParams.jsonData.zjh = row.zjh; |
|
|
|
this.registeredParams.jsonData.bsrysfzjhm = row.bsrysfzjhm; |
|
|
|
this.registeredParams.jsonData.bsrysfzjhm = row.bsrysfzjhm; |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
this.qrcodeParams.bsrysfzjhm = row.bsrysfzjhm; |
|
|
|
this.loginVerificatedParams.bsrysfzjhm = row.bsrysfzjhm; |
|
|
|
this.qrcodeParams.dqbm = row.dqbm; |
|
|
|
this.loginVerificatedParams.dqbm = row.dqbm; |
|
|
|
this.qrcodeParams.nsrsbh = row.nsrsbh; |
|
|
|
this.loginVerificatedParams.nsrsbh = row.nsrsbh; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
/** 提交按钮 */ |
|
|
|
/** 提交按钮 */ |
|
|
@ -620,6 +597,36 @@ export default { |
|
|
|
this.download('invoiceall/invoiceallyhdj/export', { |
|
|
|
this.download('invoiceall/invoiceallyhdj/export', { |
|
|
|
...this.queryParams |
|
|
|
...this.queryParams |
|
|
|
}, `invoiceallyhdj_${new Date().getTime()}.xlsx`) |
|
|
|
}, `invoiceallyhdj_${new Date().getTime()}.xlsx`) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
isShowRegistered(row){ |
|
|
|
|
|
|
|
return row.dqbm != null |
|
|
|
|
|
|
|
&& row.dqbm != '' |
|
|
|
|
|
|
|
&& row.dlfs != null |
|
|
|
|
|
|
|
&& row.dlfs != '' |
|
|
|
|
|
|
|
&& row.dlsfmm != null |
|
|
|
|
|
|
|
&& row.dlsfmm != '' |
|
|
|
|
|
|
|
&& row.dlmm != null |
|
|
|
|
|
|
|
&& row.dlmm != '' |
|
|
|
|
|
|
|
&& row.dlzh != null |
|
|
|
|
|
|
|
&& row.dlzh != '' |
|
|
|
|
|
|
|
&& row.nsrmc != null |
|
|
|
|
|
|
|
&& row.nsrmc != '' |
|
|
|
|
|
|
|
&& row.nsrsbh != null |
|
|
|
|
|
|
|
&& row.nsrsbh != '' |
|
|
|
|
|
|
|
&& row.bsrysfzjhm != null |
|
|
|
|
|
|
|
&& row.bsrysfzjhm != '' |
|
|
|
|
|
|
|
&& row.identity != null |
|
|
|
|
|
|
|
&& row.identity != '' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
isShowLoginVerificated(row){ |
|
|
|
|
|
|
|
return row.dqbm != null |
|
|
|
|
|
|
|
&& row.dqbm != '' |
|
|
|
|
|
|
|
&& row.nsrsbh != null |
|
|
|
|
|
|
|
&& row.nsrsbh != '' |
|
|
|
|
|
|
|
&& row.bsrysfzjhm != null |
|
|
|
|
|
|
|
&& row.bsrysfzjhm != '' |
|
|
|
|
|
|
|
&& row.identity != null |
|
|
|
|
|
|
|
&& row.identity != '' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|