This commit is contained in:
lijiaqi 2022-09-08 11:57:25 +08:00
parent dc03fdbb46
commit 1b63f773e7
3 changed files with 10 additions and 2 deletions

View File

@ -34,4 +34,9 @@ public class Const {
* 选民
*/
public static final String TYPE_VOTER = "voter";
/**
* 常委会领导
*/
public static final String TYPE_CWHLD = "cwhld";
}

View File

@ -56,7 +56,10 @@ public class _SelectController extends BaseController {
});
} else if (Const.TYPE_CONTACT.equals(userType)) {
qw.eq("account_type", Const.TYPE_CONTACT);
} else {
} else if(Const.TYPE_CWHLD.equals(userType)){
qw.eq("account_type", Const.TYPE_CWHLD);
}
else {
//默认县级机关人员
qw.eq("account_type", Const.TYPE_ADMIN);
}

View File

@ -24,7 +24,7 @@
<div class="form-unit">常委会领导和代表信息</div>
<act:title title="" fields="1" />
<act:input text="会议备注" name="chooseRemark" col="1" />
<act:person text="常委会领导" router="contact_db_user/admin" type="2" userType="admin"
<act:person text="常委会领导" router="contact_db_user/admin" type="2" userType="cwhld"
id="${contactDb.id!}" name="chooseAdminUser" />
<act:person text="代表" router="contact_db_user/rddb" type="2" userType="rddb" id="${contactDb.id!}"
name="chooseDbUser" remark="tips:如果指定了常委会领导和代表,而没有指定其他人员,系统将默认同步到其他人员." />