1
This commit is contained in:
+1
@@ -97,6 +97,7 @@ public class MemberApplyMineController {
|
|||||||
LEFT JOIN `wf_process_instance` ins ON ins.businessNo = info.id
|
LEFT JOIN `wf_process_instance` ins ON ins.businessNo = info.id
|
||||||
LEFT JOIN wf_process_task t ON t.processInstanceId = ins.id AND t.taskState = 10
|
LEFT JOIN wf_process_task t ON t.processInstanceId = ins.id AND t.taskState = 10
|
||||||
LEFT JOIN wf_process_task_actor ta ON ta.processTaskId = t.id
|
LEFT JOIN wf_process_task_actor ta ON ta.processTaskId = t.id
|
||||||
|
LEFT JOIN vw_user u on info.userId=u.id
|
||||||
$condition
|
$condition
|
||||||
""");
|
""");
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
|
|||||||
+15
-1
@@ -7,6 +7,7 @@ import com.budwk.app.base.result.Result;
|
|||||||
import com.budwk.app.base.utils.CommonDownloadUtil;
|
import com.budwk.app.base.utils.CommonDownloadUtil;
|
||||||
import com.budwk.app.sys.models.Sys_union;
|
import com.budwk.app.sys.models.Sys_union;
|
||||||
import com.budwk.app.sys.models.Sys_user;
|
import com.budwk.app.sys.models.Sys_user;
|
||||||
|
import com.budwk.app.zhgh.staffmanage.member.models.MemberChangeRecord;
|
||||||
import com.budwk.app.zhgh.staffmanage.member.param.pageform.MemberInfoPageForm;
|
import com.budwk.app.zhgh.staffmanage.member.param.pageform.MemberInfoPageForm;
|
||||||
import com.budwk.app.zhgh.staffmanage.member.service.MemberInfoService;
|
import com.budwk.app.zhgh.staffmanage.member.service.MemberInfoService;
|
||||||
import org.apache.poi.ss.usermodel.Workbook;
|
import org.apache.poi.ss.usermodel.Workbook;
|
||||||
@@ -75,6 +76,19 @@ public class MemberInfoInputController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@At
|
||||||
|
@POST
|
||||||
|
@Aop(TransAop.READ_COMMITTED)
|
||||||
|
@SaCheckPermission("member.info.input")
|
||||||
|
@SLog(tag = "人员补录", msg = "删除会员")
|
||||||
|
public Result doDelete(String id, String userId) {
|
||||||
|
try {
|
||||||
|
memberInfoService.dao().delete(MemberChangeRecord.class, id);
|
||||||
|
memberInfoService.dao().delete(Sys_user.class, userId);
|
||||||
|
return Result.success("删除成功");
|
||||||
|
} catch (Exception e) {
|
||||||
|
return Result.error(e.getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+6
@@ -30,6 +30,10 @@ public class MemberApplyPageForm extends PageForm {
|
|||||||
|
|
||||||
private List<String> preparedBys;
|
private List<String> preparedBys;
|
||||||
|
|
||||||
|
private String aidFundMemberUserType; //人员分类
|
||||||
|
|
||||||
|
private String userAttribute; //人员属性
|
||||||
|
|
||||||
public static void buildSearch(Cnd cnd, MemberApplyPageForm pageForm) {
|
public static void buildSearch(Cnd cnd, MemberApplyPageForm pageForm) {
|
||||||
if (cnd == null) {
|
if (cnd == null) {
|
||||||
cnd = Cnd.NEW();
|
cnd = Cnd.NEW();
|
||||||
@@ -45,5 +49,7 @@ public class MemberApplyPageForm extends PageForm {
|
|||||||
cnd.andEX("info.userState","in",pageForm.getUserStates());
|
cnd.andEX("info.userState","in",pageForm.getUserStates());
|
||||||
cnd.andEX("info.personType","in",pageForm.getPersonTypes());
|
cnd.andEX("info.personType","in",pageForm.getPersonTypes());
|
||||||
cnd.andEX("info.preparedBy","in",pageForm.getPreparedBys());
|
cnd.andEX("info.preparedBy","in",pageForm.getPreparedBys());
|
||||||
|
cnd.andEX("u.aidFundMemberUserType","=",pageForm.getAidFundMemberUserType());
|
||||||
|
cnd.andEX("u.userAttribute","=",pageForm.getUserAttribute());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+5
@@ -1,5 +1,6 @@
|
|||||||
package com.budwk.app.zhgh.staffmanage.member.param.pageform;
|
package com.budwk.app.zhgh.staffmanage.member.param.pageform;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
import cn.hutool.core.util.StrUtil;
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.budwk.app.base.constant.RoleConstant;
|
import com.budwk.app.base.constant.RoleConstant;
|
||||||
import com.budwk.app.base.param.PageForm;
|
import com.budwk.app.base.param.PageForm;
|
||||||
@@ -115,6 +116,10 @@ public class MemberInfoPageForm extends PageForm {
|
|||||||
cnd = Cnd.NEW();
|
cnd = Cnd.NEW();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ObjectUtil.isNotEmpty(this.year)) {
|
||||||
|
cnd.and("year(applyDateTime)", "=", this.getYear());
|
||||||
|
}
|
||||||
|
|
||||||
if (Lang.isNotEmpty(this.getUserIds())) {
|
if (Lang.isNotEmpty(this.getUserIds())) {
|
||||||
List<String> userIds = Optional.ofNullable(this.getUserIds()).orElse(Collections.emptyList())
|
List<String> userIds = Optional.ofNullable(this.getUserIds()).orElse(Collections.emptyList())
|
||||||
.stream().filter(StrUtil::isNotBlank).toList();
|
.stream().filter(StrUtil::isNotBlank).toList();
|
||||||
|
|||||||
+4
@@ -218,8 +218,12 @@ public class MemberManageServiceImpl extends BaseServiceImpl<Sys_user> implement
|
|||||||
List<Sys_dict> dictList = sysDictService.getSubListByCode("ALLOW_CHANGE_FIELDS");
|
List<Sys_dict> dictList = sysDictService.getSubListByCode("ALLOW_CHANGE_FIELDS");
|
||||||
Set<String> allowChangeFieldNames = dictList.stream().map(Sys_dict::getCode).collect(Collectors.toSet());
|
Set<String> allowChangeFieldNames = dictList.stream().map(Sys_dict::getCode).collect(Collectors.toSet());
|
||||||
allowChangeFieldNames.add("member");
|
allowChangeFieldNames.add("member");
|
||||||
|
allowChangeFieldNames.add("aidFundMemberUserType");
|
||||||
|
allowChangeFieldNames.add("userAttribute");
|
||||||
Map<String, String> dictMap = dictList.stream().collect(Collectors.toMap(Sys_dict::getCode, Sys_dict::getName));
|
Map<String, String> dictMap = dictList.stream().collect(Collectors.toMap(Sys_dict::getCode, Sys_dict::getName));
|
||||||
dictMap.put("member", "会员状态");
|
dictMap.put("member", "会员状态");
|
||||||
|
dictMap.put("aidFundMemberUserType", "人员分类");
|
||||||
|
dictMap.put("userAttribute", "人员属性");
|
||||||
return NutMap.NEW().addv("allowChangeFieldNames", allowChangeFieldNames).addv("dictMap", dictMap);
|
return NutMap.NEW().addv("allowChangeFieldNames", allowChangeFieldNames).addv("dictMap", dictMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -103,7 +103,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "userName", label: "姓名", sortable: true },
|
{ prop: "userName", label: "姓名", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
// { prop: "personType", label: "教职工类别", sortable: true },
|
// { prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
// { prop: "sign", label: "签字" },
|
// { prop: "sign", label: "签字" },
|
||||||
|
|||||||
+12
-4
@@ -31,9 +31,17 @@ const COMMON_QUERY = {
|
|||||||
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
||||||
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
||||||
</search-item>
|
</search-item>
|
||||||
<search-item label="编制类别">
|
<!-- <search-item label="编制类别">-->
|
||||||
<dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"
|
<!-- <dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"-->
|
||||||
code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>
|
<!-- code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>-->
|
||||||
|
<!-- </search-item>-->
|
||||||
|
<search-item label="人员分类">
|
||||||
|
<dict-select v-model="pageForm.aidFundMemberUserType" code="AIDFUND_MEMBER_USER_TYPE"
|
||||||
|
style="width: 100%"></dict-select>
|
||||||
|
</search-item>
|
||||||
|
<search-item label="人员属性">
|
||||||
|
<dict-select v-model="pageForm.userAttribute" code="USER_ATTRIBUTE"
|
||||||
|
style="width: 100%"></dict-select>
|
||||||
</search-item>
|
</search-item>
|
||||||
</template>
|
</template>
|
||||||
</search>
|
</search>
|
||||||
@@ -41,7 +49,7 @@ const COMMON_QUERY = {
|
|||||||
store,
|
store,
|
||||||
mixins: [initTableMixins],
|
mixins: [initTableMixins],
|
||||||
data() {
|
data() {
|
||||||
return{
|
return {
|
||||||
unions: [],
|
unions: [],
|
||||||
units: [],
|
units: [],
|
||||||
pageForm: {
|
pageForm: {
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "userName", label: "姓名", sortable: true },
|
{ prop: "userName", label: "姓名", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
// { prop: "personType", label: "教职工类别", sortable: true },
|
// { prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
// { prop: "sign", label: "签字" },
|
// { prop: "sign", label: "签字" },
|
||||||
|
|||||||
+1
-1
@@ -121,7 +121,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "userName", label: "姓名", sortable: true },
|
{ prop: "userName", label: "姓名", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
{ prop: "sign", label: "签字" },
|
{ prop: "sign", label: "签字" },
|
||||||
|
|||||||
@@ -102,12 +102,12 @@ layout("/layouts/platform.html"){
|
|||||||
style="width: 100%"></dict-select>
|
style="width: 100%"></dict-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>-->
|
</el-descriptions-item>-->
|
||||||
<el-descriptions-item label="编制类别">
|
<!-- <el-descriptions-item label="编制类别">-->
|
||||||
<el-form-item prop="preparedBy">
|
<!-- <el-form-item prop="preparedBy">-->
|
||||||
<dict-select v-model="formData.preparedBy" code="USER_PREPARED_BY_TYPE"
|
<!-- <dict-select v-model="formData.preparedBy" code="USER_PREPARED_BY_TYPE"-->
|
||||||
disabled style="width: 100%"></dict-select>
|
<!-- style="width: 100%"></dict-select>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-descriptions-item>
|
<!-- </el-descriptions-item>-->
|
||||||
<el-descriptions-item label="婚姻状况">
|
<el-descriptions-item label="婚姻状况">
|
||||||
<el-form-item prop="marriage" label="婚姻状况">
|
<el-form-item prop="marriage" label="婚姻状况">
|
||||||
<dict-select v-model="formData.marriage" code="USER_MARRIAGE"
|
<dict-select v-model="formData.marriage" code="USER_MARRIAGE"
|
||||||
@@ -133,7 +133,10 @@ layout("/layouts/platform.html"){
|
|||||||
disabled maxlength="50"></el-input>
|
disabled maxlength="50"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item></el-descriptions-item>
|
|
||||||
|
<el-descriptions-item></el-descriptions-item>
|
||||||
|
<el-descriptions-item></el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item label="家庭住址" :span="3">
|
<el-descriptions-item label="家庭住址" :span="3">
|
||||||
<el-form-item prop="homeAddress" label="家庭住址">
|
<el-form-item prop="homeAddress" label="家庭住址">
|
||||||
<el-input v-model="formData.homeAddress" placeholder="请输入家庭住址" maxlength="90"></el-input>
|
<el-input v-model="formData.homeAddress" placeholder="请输入家庭住址" maxlength="90"></el-input>
|
||||||
|
|||||||
+1
-1
@@ -95,7 +95,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "sex", label: "性别", sortable: true },
|
{ prop: "sex", label: "性别", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: 'preparedBy', label: '编制类别', sortable: true },
|
// { prop: 'preparedBy', label: '编制类别', sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
||||||
|
|||||||
+4
-4
@@ -26,10 +26,10 @@ const COMMON_QUERY = {
|
|||||||
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
||||||
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
||||||
</search-item>
|
</search-item>
|
||||||
<search-item label="编制类别">
|
<!-- <search-item label="编制类别">-->
|
||||||
<dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"
|
<!-- <dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"-->
|
||||||
code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>
|
<!-- code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>-->
|
||||||
</search-item>
|
<!-- </search-item>-->
|
||||||
<search-item label="人员分类">
|
<search-item label="人员分类">
|
||||||
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
||||||
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ layout("/layouts/platform.html"){
|
|||||||
<dict-select v-model="pageForm.personType" placeholder="请选择教职工类别" @change="doSearch"
|
<dict-select v-model="pageForm.personType" placeholder="请选择教职工类别" @change="doSearch"
|
||||||
code="USER_PERSON_TYPE"></dict-select>
|
code="USER_PERSON_TYPE"></dict-select>
|
||||||
</search-item>
|
</search-item>
|
||||||
<search-item label="编制类别">
|
<!-- <search-item label="编制类别">-->
|
||||||
<dict-select v-model="pageForm.preparedBy" placeholder="请选择编制类别" @change="doSearch"
|
<!-- <dict-select v-model="pageForm.preparedBy" placeholder="请选择编制类别" @change="doSearch"-->
|
||||||
code="USER_PREPARED_BY_TYPE"></dict-select>
|
<!-- code="USER_PREPARED_BY_TYPE"></dict-select>-->
|
||||||
</search-item>
|
<!-- </search-item>-->
|
||||||
<search-item label="人员分类">
|
<search-item label="人员分类">
|
||||||
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
||||||
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
||||||
@@ -549,12 +549,12 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
||||||
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
// { prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
||||||
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
||||||
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
||||||
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
|
||||||
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
||||||
|
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
||||||
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "sex", label: "性别", sortable: true },
|
{ prop: "sex", label: "性别", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
||||||
|
|||||||
+1
-1
@@ -97,7 +97,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "sex", label: "性别", sortable: true },
|
{ prop: "sex", label: "性别", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: 'preparedBy', label: '编制类别', sortable: true },
|
// { prop: 'preparedBy', label: '编制类别', sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
{ prop: "changeTypes", label: "变更类型", sortable: true, width: 200 },
|
||||||
|
|||||||
@@ -142,12 +142,13 @@ layout("/layouts/platform.html"){
|
|||||||
:disabled="allowFields('personType')" style="width: 100%"></dict-select>
|
:disabled="allowFields('personType')" style="width: 100%"></dict-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="编制类别">
|
<!-- <el-descriptions-item label="编制类别">-->
|
||||||
<el-form-item prop="preparedBy">
|
<!-- <el-form-item prop="preparedBy">-->
|
||||||
<dict-select v-model="formData.preparedBy" code="USER_PREPARED_BY_TYPE"
|
<!-- <dict-select v-model="formData.preparedBy" code="USER_PREPARED_BY_TYPE"-->
|
||||||
:disabled="allowFields('preparedBy')" style="width: 100%"></dict-select>
|
<!-- :disabled="allowFields('preparedBy')" style="width: 100%"></dict-select>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-descriptions-item>
|
<!-- </el-descriptions-item>-->
|
||||||
|
<el-descriptions-item></el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item label="会员状态" :span="1.5">
|
<el-descriptions-item label="会员状态" :span="1.5">
|
||||||
<el-form-item prop="member">
|
<el-form-item prop="member">
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "sex", label: "性别", sortable: true },
|
{ prop: "sex", label: "性别", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
],
|
],
|
||||||
|
|||||||
+4
-4
@@ -41,10 +41,10 @@ const COMMON_QUERY = {
|
|||||||
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
<dict-select v-model="pageForm.personTypes" placeholder="请选择教职工类别" @change="doSearch"
|
||||||
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
code="USER_PERSON_TYPE" multiple collapse-tags></dict-select>
|
||||||
</search-item>
|
</search-item>
|
||||||
<search-item label="编制类别">
|
<!-- <search-item label="编制类别">-->
|
||||||
<dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"
|
<!-- <dict-select v-model="pageForm.preparedBys" placeholder="请选择编制类别" @change="doSearch"-->
|
||||||
code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>
|
<!-- code="USER_PREPARED_BY_TYPE" multiple collapse-tags></dict-select>-->
|
||||||
</search-item>
|
<!-- </search-item>-->
|
||||||
<search-item label="人员分类">
|
<search-item label="人员分类">
|
||||||
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
<dict-select v-model="pageForm.aidFundMemberUserType" placeholder="请选择人员分类" @change="doSearch"
|
||||||
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
code="AIDFUND_MEMBER_USER_TYPE"></dict-select>
|
||||||
|
|||||||
+1
-1
@@ -208,7 +208,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "sex", label: "性别", sortable: true },
|
{ prop: "sex", label: "性别", sortable: true },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true },
|
{ prop: "unitName", label: "所属单位", sortable: true },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
<div style="padding:4px 0;border-bottom:1px solid #eee;">
|
<div style="padding:4px 0;border-bottom:1px solid #eee;">
|
||||||
<el-button size="mini" @click="checkAll">全选</el-button>
|
<el-button size="mini" @click="checkAll">全选</el-button>
|
||||||
<el-button size="mini" @click="invertCheck">反选</el-button>
|
<!-- <el-button size="mini" @click="invertCheck">反选</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="max-height:40vh;overflow-y:auto;padding:6px 0;">
|
<div style="max-height:40vh;overflow-y:auto;padding:6px 0;">
|
||||||
@@ -127,12 +127,12 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
||||||
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
// { prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
||||||
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
||||||
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
||||||
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
|
||||||
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
||||||
|
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
||||||
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "mobile", label: "联系电话" },
|
{ prop: "mobile", label: "联系电话" },
|
||||||
{ prop: "userState", label: "在职状态", sortable: true },
|
{ prop: "userState", label: "在职状态", sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", sortable: true },
|
{ prop: "personType", label: "教职工类别", sortable: true },
|
||||||
{ prop: "preparedBy", label: "编制类别", sortable: true },
|
// { prop: "preparedBy", label: "编制类别", sortable: true },
|
||||||
{ prop: "unionName", label: "所属工会", sortable: true },
|
{ prop: "unionName", label: "所属工会", sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", sortable: true }
|
{ prop: "unitName", label: "所属单位", sortable: true }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -86,9 +86,10 @@ layout("/layouts/platform.html"){
|
|||||||
:prop="column.prop"
|
:prop="column.prop"
|
||||||
:sortable="column.sortable"
|
:sortable="column.sortable"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
<el-table-column label="操作" width="100px">
|
<el-table-column label="操作" width="150px">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button @click="openView(row)" size="mini">查看</el-button>
|
<el-button @click="openView(row)" size="mini">查看</el-button>
|
||||||
|
<el-button @click="doDelete(row)" size="mini" type="danger">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -173,7 +174,22 @@ layout("/layouts/platform.html"){
|
|||||||
if (this.pageForm.unionId) {
|
if (this.pageForm.unionId) {
|
||||||
this.units = await this.$businessTool.listUnit(this.pageForm.unionId)
|
this.units = await this.$businessTool.listUnit(this.pageForm.unionId)
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
doDelete(row){
|
||||||
|
this.$confirm("您确定要删除吗?", "提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "info"
|
||||||
|
}).then(() => {
|
||||||
|
this.$axios.post('/platform/member/info/input/doDelete', {id: row.id, userId: row.userId}).then(res => {
|
||||||
|
if (res.code === 0) {
|
||||||
|
this.$message.success(res.msg);
|
||||||
|
this.doSearch()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.pageData()
|
this.pageData()
|
||||||
|
|||||||
+2
-2
@@ -159,12 +159,12 @@ layout("/layouts/platform.html"){
|
|||||||
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
{ prop: "political", label: "政治面貌", width: 120, sortable: true},
|
||||||
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
{ prop: "userState", label: "在职状态", width: 120, sortable: true },
|
||||||
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
{ prop: "personType", label: "教职工类别", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
// { prop: "preparedBy", label: "编制类别", width: 120, sortable: true },
|
||||||
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
{ prop: "postDoctoralJoinDate", label: "进站时间", sortable: true, checked: 0 },
|
||||||
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
{ prop: "unionName", label: "所属工会", width: 120, sortable: true },
|
||||||
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
{ prop: "unitName", label: "所属单位", width: 120, sortable: true },
|
||||||
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
|
||||||
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
{ prop: "aidFundMemberUserType", label: "人员分类", width: 120, sortable: true },
|
||||||
|
{ prop: "userAttribute", label: "人员属性", width: 120, sortable: true },
|
||||||
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCardType", label: "证件类型", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
{ prop: "idCard", label: "证件号码", width: 120, sortable: true, checked: 0 },
|
||||||
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
{ prop: "marriage", label: "婚姻状况", width: 120, sortable: true, checked: 0 },
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ layout("/layouts/platform_h5.html"){
|
|||||||
},
|
},
|
||||||
|
|
||||||
async onEnter(item) {
|
async onEnter(item) {
|
||||||
debugger
|
|
||||||
if (item.groupId) {
|
if (item.groupId) {
|
||||||
const {
|
const {
|
||||||
code,
|
code,
|
||||||
|
|||||||
Reference in New Issue
Block a user