图片套版生成模块
This commit is contained in:
parent
922f315f5a
commit
3d73403c72
@ -10,6 +10,8 @@ import cn.com.tenlion.pojo.pos.distribution.DistributionPO;
|
|||||||
import cn.com.tenlion.pojo.vos.distribution.DistributionSaveVO;
|
import cn.com.tenlion.pojo.vos.distribution.DistributionSaveVO;
|
||||||
import cn.com.tenlion.pojo.vos.distribution.DistributionVO;
|
import cn.com.tenlion.pojo.vos.distribution.DistributionVO;
|
||||||
import cn.com.tenlion.pojo.vos.distributionfield.DistributionFieldVO;
|
import cn.com.tenlion.pojo.vos.distributionfield.DistributionFieldVO;
|
||||||
|
import cn.com.tenlion.pojo.vos.examapply.ExamApplyVO;
|
||||||
|
import cn.com.tenlion.service.examapply.IExamApplyService;
|
||||||
import cn.com.tenlion.service.examination.distribution.IDistributionService;
|
import cn.com.tenlion.service.examination.distribution.IDistributionService;
|
||||||
import cn.com.tenlion.service.examination.distributionfield.IDistributionFieldService;
|
import cn.com.tenlion.service.examination.distributionfield.IDistributionFieldService;
|
||||||
import cn.com.tenlion.service.examination.stationuser.IStationUserService;
|
import cn.com.tenlion.service.examination.stationuser.IStationUserService;
|
||||||
@ -50,6 +52,8 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist
|
|||||||
private IOrganizationService iOrganizationService;
|
private IOrganizationService iOrganizationService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private IDistributionFieldService iDistributionFieldService;
|
private IDistributionFieldService iDistributionFieldService;
|
||||||
|
@Autowired
|
||||||
|
private IExamApplyService iExamApplyService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(DistributionSaveVO dstributionSaveVO) {
|
public void save(DistributionSaveVO dstributionSaveVO) {
|
||||||
@ -232,6 +236,10 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist
|
|||||||
if(fieldNumber < number) {
|
if(fieldNumber < number) {
|
||||||
throw new UpdateException("选择的考场无法容纳本次的考试人数");
|
throw new UpdateException("选择的考场无法容纳本次的考试人数");
|
||||||
}
|
}
|
||||||
|
ExamApplyVO vo = new ExamApplyVO();
|
||||||
|
vo.setExamId(distributionId);
|
||||||
|
vo.setStatus(1);
|
||||||
|
iExamApplyService.update(null, vo);
|
||||||
distributionDao.update(params);
|
distributionDao.update(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
[
|
[
|
||||||
{type:'checkbox', fixed: 'left'},
|
{type:'checkbox', fixed: 'left'},
|
||||||
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
|
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
|
||||||
{field: 'planId', width: 180, title: '计划名称', align:'center',
|
{field: 'planName', width: 180, title: '计划名称', align:'center',
|
||||||
templet: function(row) {
|
templet: function(row) {
|
||||||
var rowData = row[this.field];
|
var rowData = row[this.field];
|
||||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
@ -130,7 +130,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// 初始化成立日期时间戳
|
// 初始化成立日期时间戳
|
||||||
function initDistributionAllotTime() {
|
function initDistributionAllotEndTime() {
|
||||||
laydate.render({
|
laydate.render({
|
||||||
elem: '#distributionAllotEndTime',
|
elem: '#distributionAllotEndTime',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
@ -201,6 +201,7 @@
|
|||||||
form.render(null, 'dataForm');
|
form.render(null, 'dataForm');
|
||||||
initDistributionAllotTime();
|
initDistributionAllotTime();
|
||||||
initDistributionFields(dataFormData.stationId);
|
initDistributionFields(dataFormData.stationId);
|
||||||
|
initDistributionAllotEndTime();
|
||||||
}, function(code, data) {
|
}, function(code, data) {
|
||||||
top.dialog.msg(data.msg);
|
top.dialog.msg(data.msg);
|
||||||
}, function() {
|
}, function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user