|
|
@ -15,6 +15,7 @@ import com.hxhq.common.core.utils.StringUtils; |
|
|
import com.hxhq.common.core.web.controller.BaseController; |
|
|
import com.hxhq.common.core.web.controller.BaseController; |
|
|
import com.hxhq.common.core.web.domain.AjaxResult; |
|
|
import com.hxhq.common.core.web.domain.AjaxResult; |
|
|
import com.hxhq.common.core.web.page.TableDataInfo; |
|
|
import com.hxhq.common.core.web.page.TableDataInfo; |
|
|
|
|
|
import com.hxhq.common.security.annotation.Logical; |
|
|
import com.hxhq.common.security.annotation.RequiresPermissions; |
|
|
import com.hxhq.common.security.annotation.RequiresPermissions; |
|
|
import com.hxhq.common.security.utils.SecurityUtils; |
|
|
import com.hxhq.common.security.utils.SecurityUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -57,7 +58,7 @@ public class StudyNonTrialController extends BaseController |
|
|
/** |
|
|
/** |
|
|
* 获取试验详细信息 |
|
|
* 获取试验详细信息 |
|
|
*/ |
|
|
*/ |
|
|
@RequiresPermissions({"business:form:nonTrial:list"}) |
|
|
|
|
|
|
|
|
@RequiresPermissions(value = {"business:form:nonTrial:list","business:archive:nonTrial:list"},logical = Logical.OR) |
|
|
@GetMapping(value = "/info") |
|
|
@GetMapping(value = "/info") |
|
|
public AjaxResult getInfo(Long id) |
|
|
public AjaxResult getInfo(Long id) |
|
|
{ |
|
|
{ |
|
|
@ -117,7 +118,7 @@ public class StudyNonTrialController extends BaseController |
|
|
* @param form |
|
|
* @param form |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@RequiresPermissions({"business:form:nonTrial:detail"}) |
|
|
|
|
|
|
|
|
@RequiresPermissions(value = {"business:form:nonTrial:detail","business:archive:nonTrial:xq"},logical = Logical.OR) |
|
|
@GetMapping("/jcgjList") |
|
|
@GetMapping("/jcgjList") |
|
|
public TableDataInfo jcgjList(StudyJcgj form) |
|
|
public TableDataInfo jcgjList(StudyJcgj form) |
|
|
{ |
|
|
{ |
|
|
@ -269,4 +270,22 @@ public class StudyNonTrialController extends BaseController |
|
|
studyService.jy(form); |
|
|
studyService.jy(form); |
|
|
return AjaxResult.success(); |
|
|
return AjaxResult.success(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// region 档案相关 |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 查询档案列表 |
|
|
|
|
|
*/ |
|
|
|
|
|
@GetMapping("/archiveList") |
|
|
|
|
|
@RequiresPermissions("business:archive:nonTrial:list") |
|
|
|
|
|
public TableDataInfo archiveList(StudySearchForm form) |
|
|
|
|
|
{ |
|
|
|
|
|
form.setType(StudyTypeEnum.fsy.getValue()); |
|
|
|
|
|
startPage(); |
|
|
|
|
|
List<StudyListDto> list = studyService.queryArchiveList(form); |
|
|
|
|
|
TableDataInfo table = getDataTable(list); |
|
|
|
|
|
return table; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//endregion |
|
|
} |
|
|
} |