update
This commit is contained in:
parent
dc03fdbb46
commit
1b63f773e7
|
@ -34,4 +34,9 @@ public class Const {
|
||||||
* 选民
|
* 选民
|
||||||
*/
|
*/
|
||||||
public static final String TYPE_VOTER = "voter";
|
public static final String TYPE_VOTER = "voter";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 常委会领导
|
||||||
|
*/
|
||||||
|
public static final String TYPE_CWHLD = "cwhld";
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,10 @@ public class _SelectController extends BaseController {
|
||||||
});
|
});
|
||||||
} else if (Const.TYPE_CONTACT.equals(userType)) {
|
} else if (Const.TYPE_CONTACT.equals(userType)) {
|
||||||
qw.eq("account_type", Const.TYPE_CONTACT);
|
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);
|
qw.eq("account_type", Const.TYPE_ADMIN);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<div class="form-unit">常委会领导和代表信息</div>
|
<div class="form-unit">常委会领导和代表信息</div>
|
||||||
<act:title title="" fields="1" />
|
<act:title title="" fields="1" />
|
||||||
<act:input text="会议备注" name="chooseRemark" col="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" />
|
id="${contactDb.id!}" name="chooseAdminUser" />
|
||||||
<act:person text="代表" router="contact_db_user/rddb" type="2" userType="rddb" id="${contactDb.id!}"
|
<act:person text="代表" router="contact_db_user/rddb" type="2" userType="rddb" id="${contactDb.id!}"
|
||||||
name="chooseDbUser" remark="tips:如果指定了常委会领导和代表,而没有指定其他人员,系统将默认同步到其他人员." />
|
name="chooseDbUser" remark="tips:如果指定了常委会领导和代表,而没有指定其他人员,系统将默认同步到其他人员." />
|
||||||
|
|
Loading…
Reference in New Issue