This commit is contained in:
jiask 2025-11-27 17:21:20 +08:00
parent 341bd0dcd0
commit 44e977cca6
5 changed files with 41 additions and 9 deletions

View File

@ -204,7 +204,7 @@
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="name">
<el-input v-model="baseForm.name" placeholder="请输入" maxlength="30" clearable/>
<el-input v-model="baseForm.name" readonly="true" placeholder="请输入" maxlength="30" clearable/>
</el-form-item>
</el-col>
<el-col el-col :span="12" v-if="baseForm.deptId !== 0">

View File

@ -382,7 +382,7 @@
if(CertificateNos!=null&&CertificateNos.length>0){
}else{
this.$modal.msgError("请选择证件");
this.$modal.msgWarning("请选择证件");
return;
}
var titlemsg="是否确定自助取证?"

View File

@ -262,7 +262,7 @@
const CertificateNos = this.ids
if(CertificateNos!=null&&CertificateNos.length>0){
}else{
this.$modal.msgError("请选择证件");
this.$modal.msgWarning("请选择证件");
return;
}
this.open = true;
@ -280,7 +280,7 @@
const CertificateNos = this.ids
if(CertificateNos!=null&&CertificateNos.length>0){
}else{
this.$modal.msgError("请选择证件");
this.$modal.msgWarning("请选择证件");
return;
}
this.open = true;

View File

@ -17,10 +17,10 @@
<el-option label="大型" value="3"/>
</el-select>
</el-form-item>
<el-form-item label="单位名称" prop="unitName">
<el-form-item label="关键字" prop="keyWord">
<el-input
v-model="queryParams.unitName"
placeholder="请输入单位名称"
v-model="queryParams.keyWord"
placeholder="请输入"
clearable maxlength="20"
style="width: 300px"
@keyup.enter.native="handleQuery"
@ -235,6 +235,8 @@
queryParams: {
pageNum: 1,
pageSize: 10,
deviceName:"",
deviceType:"",
keyWord:"",//
},
activeName:"baseSetting",
@ -343,6 +345,8 @@
let param = {
"pageNum":this.queryParams.pageNum,
"pageSize":this.queryParams.pageSize,
"deviceName":this.queryParams.deviceName,
"deviceType":this.queryParams.deviceType,
"searchValue":this.queryParams.keyWord
}
console.log("param",param)

View File

@ -100,8 +100,8 @@
></right-toolbar>
</el-row>
<div style="width: 98%;margin: 10px;display: flex;justify-content: flex-end;">
<span style="font-weight: bold;">有证人数231</span>
<span style="font-weight: bold;margin-left: 20px;">无证人数65</span>
<span style="font-weight: bold;">有证人数{{statistics.ownNum}}</span>
<span style="font-weight: bold;margin-left: 20px;">无证人数{{statistics.unOwnNum}}</span>
</div>
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center"/>
@ -170,6 +170,7 @@ import {
deptTreeSelect,
} from '@/api/system/user'
import {getCertificateUserListPageApi,addCertificateCheckApi} from "@/api/certificateManage/index"
import { getStatisticsApi } from "@/api/certificateStatistics/index";
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
export default {
@ -206,6 +207,22 @@ export default {
children: 'children',
label: 'label',
},
statistics:{
registerNum:0,
ownNum:0,
unOwnNum:0,
storeNum:0,
unStoreNum:0,
passPortNum:0,
outPassPortNum:0,
inPassPortNum:0,
hMCardNum:0,
outHMCardNum:0,
inHMCardNum:0,
taiwanNum:0,
outTaiwanNum:0,
inTaiwanNum:0,
},
//
queryParams: {
pageNum: 1,
@ -241,6 +258,7 @@ export default {
created() {
this.getList()
this.getDeptTree()
this.initStatistics();
},
methods: {
/* 手机号码脱敏 */
@ -248,6 +266,16 @@ export default {
if (!phone) return ''
return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
},
initStatistics(){
let param = {}
getStatisticsApi(param).then(response => {
console.log("getStatisticsApi",response)
if(response.code==200){
this.statistics =response.data;
console.log("this.statistics",this.statistics)
}
});
},
/** 查询用户列表 */
getList() {
this.loading = true