|
|
@@ -25,7 +25,7 @@
|
|
|
<!-- 搜索 -->
|
|
|
<template slot="searchs">
|
|
|
<el-form-item prop="keyWords" label="关键字">
|
|
|
- <el-input v-model="search.keyWords" placeholder="请输入人员姓名或证件号关键字"/>
|
|
|
+ <el-input v-model="search.keyWords" clearable placeholder="请输入人员姓名或证件号关键字"/>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
|
|
|
@@ -190,8 +190,8 @@ export default {
|
|
|
return {
|
|
|
keyWords: null,
|
|
|
orgId:this.$store.getters.orgId,
|
|
|
- pageSize:100000,
|
|
|
- pageNum:1,
|
|
|
+ // pageNum: 1,
|
|
|
+ // pageSize: 10,
|
|
|
};
|
|
|
},
|
|
|
resetUserInfo() {
|
|
|
@@ -211,10 +211,11 @@ export default {
|
|
|
},
|
|
|
handleDelete(row)
|
|
|
{
|
|
|
+ var _this = this;
|
|
|
this.$modal.confirm('是否确认删除出入人员 "' + row.userName + '" 的数据项?').then(function() {
|
|
|
delHistoryUser(row.id).then(res=>{
|
|
|
- this.$message.success("删除成功");
|
|
|
- this.search= this.emptySearch();
|
|
|
+ _this.$message.success("删除成功");
|
|
|
+ _this.search= _this.emptySearch();
|
|
|
})
|
|
|
}).then(() => {
|
|
|
}).catch(() => {});
|