更改
This commit is contained in:
@@ -15,6 +15,8 @@ import org.nutz.ioc.loader.annotation.Inject;
|
|||||||
import org.nutz.ioc.loader.annotation.IocBean;
|
import org.nutz.ioc.loader.annotation.IocBean;
|
||||||
import org.nutz.lang.Lang;
|
import org.nutz.lang.Lang;
|
||||||
import org.nutz.lang.Times;
|
import org.nutz.lang.Times;
|
||||||
|
import org.nutz.mvc.Mvcs;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
@@ -71,7 +73,8 @@ public class LoginUtil {
|
|||||||
sysLog.setCreatedBy(user.getId());
|
sysLog.setCreatedBy(user.getId());
|
||||||
sysLog.setUsername(user.getUsername());
|
sysLog.setUsername(user.getUsername());
|
||||||
sysLog.setLoginname(user.getLoginname());
|
sysLog.setLoginname(user.getLoginname());
|
||||||
sLogService.async(sysLog);
|
SLogService logService = Mvcs.getIoc().get(SLogService.class);
|
||||||
|
logService.async(sysLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import org.nutz.ioc.loader.annotation.IocBean;
|
|||||||
import org.nutz.lang.Lang;
|
import org.nutz.lang.Lang;
|
||||||
import org.nutz.lang.Strings;
|
import org.nutz.lang.Strings;
|
||||||
import org.nutz.lang.util.NutMap;
|
import org.nutz.lang.util.NutMap;
|
||||||
|
import org.nutz.mvc.Mvcs;
|
||||||
import org.nutz.mvc.annotation.At;
|
import org.nutz.mvc.annotation.At;
|
||||||
import org.nutz.mvc.annotation.Ok;
|
import org.nutz.mvc.annotation.Ok;
|
||||||
import org.nutz.mvc.annotation.Param;
|
import org.nutz.mvc.annotation.Param;
|
||||||
@@ -279,7 +280,8 @@ public class ViCommonCon {
|
|||||||
@At
|
@At
|
||||||
@ViReturn
|
@ViReturn
|
||||||
public Object welfareUnits() {
|
public Object welfareUnits() {
|
||||||
return sysWelfareUnitService.query(Cnd.orderBy().asc("welfare_unit_code"));
|
SysWelfareUnitService welfareUnitService = Mvcs.getIoc().get(SysWelfareUnitService.class);
|
||||||
|
return welfareUnitService.query(Cnd.orderBy().asc("welfare_unit_code"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import org.nutz.dao.sql.Sql;
|
|||||||
import org.nutz.ioc.loader.annotation.Inject;
|
import org.nutz.ioc.loader.annotation.Inject;
|
||||||
import org.nutz.ioc.loader.annotation.IocBean;
|
import org.nutz.ioc.loader.annotation.IocBean;
|
||||||
import org.nutz.lang.util.NutMap;
|
import org.nutz.lang.util.NutMap;
|
||||||
|
import org.nutz.mvc.Mvcs;
|
||||||
import org.nutz.mvc.annotation.At;
|
import org.nutz.mvc.annotation.At;
|
||||||
import org.nutz.mvc.annotation.Ok;
|
import org.nutz.mvc.annotation.Ok;
|
||||||
import org.nutz.mvc.annotation.Param;
|
import org.nutz.mvc.annotation.Param;
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ layout("/mobile/platform.html"){
|
|||||||
<script>
|
<script>
|
||||||
const vue = new Vue({
|
const vue = new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
dicts: ['memberApplyPersonType'],
|
//dicts: ['memberApplyPersonType'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
swipeShow: false,
|
swipeShow: false,
|
||||||
@@ -599,7 +599,7 @@ layout("/mobile/platform.html"){
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async initData() {
|
async initData() {
|
||||||
await this.getNeedItems();
|
//await this.getNeedItems();
|
||||||
await this.getMemberCheckSelfAgenda()
|
await this.getMemberCheckSelfAgenda()
|
||||||
await this.getWelfareCheckSelfAgenda()
|
await this.getWelfareCheckSelfAgenda()
|
||||||
await this.getCompletes();
|
await this.getCompletes();
|
||||||
|
|||||||
Reference in New Issue
Block a user