新增基地区级审核
This commit is contained in:
parent
b7a621336d
commit
0de66b1055
@ -0,0 +1,103 @@
|
|||||||
|
package com.ruoyi.web.controller.jxjs;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PutMapping;
|
||||||
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||||
|
import com.ruoyi.jxjs.service.ITsbzJdcxService;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基地区级审核Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2020-08-20
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/jxjs/jdcx")
|
||||||
|
public class TsbzJdcxController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private ITsbzJdcxService tsbzJdcxService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<TsbzJdcx> list = tsbzJdcxService.selectTsbzJdcxList(tsbzJdcx);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出基地区级审核列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:export')")
|
||||||
|
@Log(title = "基地区级审核", businessType = BusinessType.EXPORT)
|
||||||
|
@GetMapping("/export")
|
||||||
|
public AjaxResult export(TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
List<TsbzJdcx> list = tsbzJdcxService.selectTsbzJdcxList(tsbzJdcx);
|
||||||
|
ExcelUtil<TsbzJdcx> util = new ExcelUtil<TsbzJdcx>(TsbzJdcx.class);
|
||||||
|
return util.exportExcel(list, "jdcx");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取基地区级审核详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return AjaxResult.success(tsbzJdcxService.selectTsbzJdcxById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增基地区级审核
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:add')")
|
||||||
|
@Log(title = "基地区级审核", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
return toAjax(tsbzJdcxService.insertTsbzJdcx(tsbzJdcx));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改基地区级审核
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:edit')")
|
||||||
|
@Log(title = "基地区级审核", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
return toAjax(tsbzJdcxService.updateTsbzJdcx(tsbzJdcx));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除基地区级审核
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('jxjs:jdcx:remove')")
|
||||||
|
@Log(title = "基地区级审核", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(tsbzJdcxService.deleteTsbzJdcxByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
337
ruoyi-system/src/main/java/com/ruoyi/jxjs/domain/TsbzJdcx.java
Normal file
337
ruoyi-system/src/main/java/com/ruoyi/jxjs/domain/TsbzJdcx.java
Normal file
@ -0,0 +1,337 @@
|
|||||||
|
package com.ruoyi.jxjs.domain;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基地区级审核对象 tsbz_jdcx
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2020-08-20
|
||||||
|
*/
|
||||||
|
public class TsbzJdcx extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 编号 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 方案编号 */
|
||||||
|
@Excel(name = "方案编号")
|
||||||
|
private Long faid;
|
||||||
|
|
||||||
|
/** 教师编号 */
|
||||||
|
@Excel(name = "教师编号")
|
||||||
|
private Long jsid;
|
||||||
|
|
||||||
|
/** 当前状态 */
|
||||||
|
@Excel(name = "当前状态")
|
||||||
|
private String dqzt;
|
||||||
|
|
||||||
|
/** 创建人 */
|
||||||
|
@Excel(name = "创建人")
|
||||||
|
private Long createuserid;
|
||||||
|
|
||||||
|
/** 基地校审核人 */
|
||||||
|
@Excel(name = "基地校审核人")
|
||||||
|
private Long jdxshr;
|
||||||
|
|
||||||
|
/** 基地校审核状态 */
|
||||||
|
@Excel(name = "基地校审核状态")
|
||||||
|
private String jdxshzt;
|
||||||
|
|
||||||
|
/** 上报理由 */
|
||||||
|
@Excel(name = "上报理由")
|
||||||
|
private String sbly;
|
||||||
|
|
||||||
|
/** 区级审核人 */
|
||||||
|
@Excel(name = "区级审核人")
|
||||||
|
private Long qjshr;
|
||||||
|
|
||||||
|
/** 区级审核状态 */
|
||||||
|
@Excel(name = "区级审核状态")
|
||||||
|
private String qjshzt;
|
||||||
|
|
||||||
|
/** 区级审核意见 */
|
||||||
|
@Excel(name = "区级审核意见")
|
||||||
|
private String qjshyj;
|
||||||
|
|
||||||
|
/** 基地排序 */
|
||||||
|
@Excel(name = "基地排序")
|
||||||
|
private Long jdpx;
|
||||||
|
|
||||||
|
/** 案例分析得分 */
|
||||||
|
@Excel(name = "案例分析得分")
|
||||||
|
private BigDecimal alfxdf;
|
||||||
|
|
||||||
|
/** 教案设计得分 */
|
||||||
|
@Excel(name = "教案设计得分")
|
||||||
|
private BigDecimal jasjdf;
|
||||||
|
|
||||||
|
/** 钢笔字得分 */
|
||||||
|
@Excel(name = "钢笔字得分")
|
||||||
|
private BigDecimal gbzdf;
|
||||||
|
|
||||||
|
/** 综合得分 */
|
||||||
|
@Excel(name = "综合得分")
|
||||||
|
private BigDecimal zhdf;
|
||||||
|
|
||||||
|
/** 成绩导入创建时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "成绩导入创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date cjdrcreateTime;
|
||||||
|
|
||||||
|
/** 面试确认 */
|
||||||
|
@Excel(name = "面试确认")
|
||||||
|
private String msqr;
|
||||||
|
|
||||||
|
/** 面试确认时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "面试确认时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date msqrcreateTime;
|
||||||
|
|
||||||
|
/** 面试结果模拟课堂教学 */
|
||||||
|
@Excel(name = "面试结果模拟课堂教学")
|
||||||
|
private BigDecimal msjgmnktjxdf;
|
||||||
|
|
||||||
|
/** 演讲得分 */
|
||||||
|
@Excel(name = "演讲得分")
|
||||||
|
private BigDecimal yjdf;
|
||||||
|
|
||||||
|
/** 综合得分2 */
|
||||||
|
@Excel(name = "综合得分2")
|
||||||
|
private BigDecimal zhdf2;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setFaid(Long faid)
|
||||||
|
{
|
||||||
|
this.faid = faid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getFaid()
|
||||||
|
{
|
||||||
|
return faid;
|
||||||
|
}
|
||||||
|
public void setJsid(Long jsid)
|
||||||
|
{
|
||||||
|
this.jsid = jsid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getJsid()
|
||||||
|
{
|
||||||
|
return jsid;
|
||||||
|
}
|
||||||
|
public void setDqzt(String dqzt)
|
||||||
|
{
|
||||||
|
this.dqzt = dqzt;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDqzt()
|
||||||
|
{
|
||||||
|
return dqzt;
|
||||||
|
}
|
||||||
|
public void setCreateuserid(Long createuserid)
|
||||||
|
{
|
||||||
|
this.createuserid = createuserid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getCreateuserid()
|
||||||
|
{
|
||||||
|
return createuserid;
|
||||||
|
}
|
||||||
|
public void setJdxshr(Long jdxshr)
|
||||||
|
{
|
||||||
|
this.jdxshr = jdxshr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getJdxshr()
|
||||||
|
{
|
||||||
|
return jdxshr;
|
||||||
|
}
|
||||||
|
public void setJdxshzt(String jdxshzt)
|
||||||
|
{
|
||||||
|
this.jdxshzt = jdxshzt;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getJdxshzt()
|
||||||
|
{
|
||||||
|
return jdxshzt;
|
||||||
|
}
|
||||||
|
public void setSbly(String sbly)
|
||||||
|
{
|
||||||
|
this.sbly = sbly;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSbly()
|
||||||
|
{
|
||||||
|
return sbly;
|
||||||
|
}
|
||||||
|
public void setQjshr(Long qjshr)
|
||||||
|
{
|
||||||
|
this.qjshr = qjshr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getQjshr()
|
||||||
|
{
|
||||||
|
return qjshr;
|
||||||
|
}
|
||||||
|
public void setQjshzt(String qjshzt)
|
||||||
|
{
|
||||||
|
this.qjshzt = qjshzt;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getQjshzt()
|
||||||
|
{
|
||||||
|
return qjshzt;
|
||||||
|
}
|
||||||
|
public void setQjshyj(String qjshyj)
|
||||||
|
{
|
||||||
|
this.qjshyj = qjshyj;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getQjshyj()
|
||||||
|
{
|
||||||
|
return qjshyj;
|
||||||
|
}
|
||||||
|
public void setJdpx(Long jdpx)
|
||||||
|
{
|
||||||
|
this.jdpx = jdpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getJdpx()
|
||||||
|
{
|
||||||
|
return jdpx;
|
||||||
|
}
|
||||||
|
public void setAlfxdf(BigDecimal alfxdf)
|
||||||
|
{
|
||||||
|
this.alfxdf = alfxdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getAlfxdf()
|
||||||
|
{
|
||||||
|
return alfxdf;
|
||||||
|
}
|
||||||
|
public void setJasjdf(BigDecimal jasjdf)
|
||||||
|
{
|
||||||
|
this.jasjdf = jasjdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getJasjdf()
|
||||||
|
{
|
||||||
|
return jasjdf;
|
||||||
|
}
|
||||||
|
public void setGbzdf(BigDecimal gbzdf)
|
||||||
|
{
|
||||||
|
this.gbzdf = gbzdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getGbzdf()
|
||||||
|
{
|
||||||
|
return gbzdf;
|
||||||
|
}
|
||||||
|
public void setZhdf(BigDecimal zhdf)
|
||||||
|
{
|
||||||
|
this.zhdf = zhdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getZhdf()
|
||||||
|
{
|
||||||
|
return zhdf;
|
||||||
|
}
|
||||||
|
public void setCjdrcreateTime(Date cjdrcreateTime)
|
||||||
|
{
|
||||||
|
this.cjdrcreateTime = cjdrcreateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getCjdrcreateTime()
|
||||||
|
{
|
||||||
|
return cjdrcreateTime;
|
||||||
|
}
|
||||||
|
public void setMsqr(String msqr)
|
||||||
|
{
|
||||||
|
this.msqr = msqr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMsqr()
|
||||||
|
{
|
||||||
|
return msqr;
|
||||||
|
}
|
||||||
|
public void setMsqrcreateTime(Date msqrcreateTime)
|
||||||
|
{
|
||||||
|
this.msqrcreateTime = msqrcreateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getMsqrcreateTime()
|
||||||
|
{
|
||||||
|
return msqrcreateTime;
|
||||||
|
}
|
||||||
|
public void setMsjgmnktjxdf(BigDecimal msjgmnktjxdf)
|
||||||
|
{
|
||||||
|
this.msjgmnktjxdf = msjgmnktjxdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getMsjgmnktjxdf()
|
||||||
|
{
|
||||||
|
return msjgmnktjxdf;
|
||||||
|
}
|
||||||
|
public void setYjdf(BigDecimal yjdf)
|
||||||
|
{
|
||||||
|
this.yjdf = yjdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getYjdf()
|
||||||
|
{
|
||||||
|
return yjdf;
|
||||||
|
}
|
||||||
|
public void setZhdf2(BigDecimal zhdf2)
|
||||||
|
{
|
||||||
|
this.zhdf2 = zhdf2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getZhdf2()
|
||||||
|
{
|
||||||
|
return zhdf2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("faid", getFaid())
|
||||||
|
.append("jsid", getJsid())
|
||||||
|
.append("dqzt", getDqzt())
|
||||||
|
.append("createuserid", getCreateuserid())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("jdxshr", getJdxshr())
|
||||||
|
.append("jdxshzt", getJdxshzt())
|
||||||
|
.append("sbly", getSbly())
|
||||||
|
.append("qjshr", getQjshr())
|
||||||
|
.append("qjshzt", getQjshzt())
|
||||||
|
.append("qjshyj", getQjshyj())
|
||||||
|
.append("jdpx", getJdpx())
|
||||||
|
.append("alfxdf", getAlfxdf())
|
||||||
|
.append("jasjdf", getJasjdf())
|
||||||
|
.append("gbzdf", getGbzdf())
|
||||||
|
.append("zhdf", getZhdf())
|
||||||
|
.append("cjdrcreateTime", getCjdrcreateTime())
|
||||||
|
.append("msqr", getMsqr())
|
||||||
|
.append("msqrcreateTime", getMsqrcreateTime())
|
||||||
|
.append("msjgmnktjxdf", getMsjgmnktjxdf())
|
||||||
|
.append("yjdf", getYjdf())
|
||||||
|
.append("zhdf2", getZhdf2())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.jxjs.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基地区级审核Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2020-08-20
|
||||||
|
*/
|
||||||
|
public interface TsbzJdcxMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 基地区级审核
|
||||||
|
*/
|
||||||
|
public TsbzJdcx selectTsbzJdcxById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核列表
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 基地区级审核集合
|
||||||
|
*/
|
||||||
|
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除基地区级审核
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteTsbzJdcxById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除基地区级审核
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteTsbzJdcxByIds(Long[] ids);
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.jxjs.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基地区级审核Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2020-08-20
|
||||||
|
*/
|
||||||
|
public interface ITsbzJdcxService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 基地区级审核
|
||||||
|
*/
|
||||||
|
public TsbzJdcx selectTsbzJdcxById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核列表
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 基地区级审核集合
|
||||||
|
*/
|
||||||
|
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除基地区级审核
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的基地区级审核ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteTsbzJdcxByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除基地区级审核信息
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteTsbzJdcxById(Long id);
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
package com.ruoyi.jxjs.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.jxjs.mapper.TsbzJdcxMapper;
|
||||||
|
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||||
|
import com.ruoyi.jxjs.service.ITsbzJdcxService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基地区级审核Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2020-08-20
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class TsbzJdcxServiceImpl implements ITsbzJdcxService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private TsbzJdcxMapper tsbzJdcxMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 基地区级审核
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TsbzJdcx selectTsbzJdcxById(Long id)
|
||||||
|
{
|
||||||
|
return tsbzJdcxMapper.selectTsbzJdcxById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询基地区级审核列表
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 基地区级审核
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
return tsbzJdcxMapper.selectTsbzJdcxList(tsbzJdcx);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
tsbzJdcx.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return tsbzJdcxMapper.insertTsbzJdcx(tsbzJdcx);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改基地区级审核
|
||||||
|
*
|
||||||
|
* @param tsbzJdcx 基地区级审核
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx)
|
||||||
|
{
|
||||||
|
return tsbzJdcxMapper.updateTsbzJdcx(tsbzJdcx);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除基地区级审核
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的基地区级审核ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteTsbzJdcxByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return tsbzJdcxMapper.deleteTsbzJdcxByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除基地区级审核信息
|
||||||
|
*
|
||||||
|
* @param id 基地区级审核ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteTsbzJdcxById(Long id)
|
||||||
|
{
|
||||||
|
return tsbzJdcxMapper.deleteTsbzJdcxById(id);
|
||||||
|
}
|
||||||
|
}
|
161
ruoyi-system/src/main/resources/mapper/jxjs/TsbzJdcxMapper.xml
Normal file
161
ruoyi-system/src/main/resources/mapper/jxjs/TsbzJdcxMapper.xml
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.jxjs.mapper.TsbzJdcxMapper">
|
||||||
|
|
||||||
|
<resultMap type="TsbzJdcx" id="TsbzJdcxResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="faid" column="faid" />
|
||||||
|
<result property="jsid" column="jsid" />
|
||||||
|
<result property="dqzt" column="dqzt" />
|
||||||
|
<result property="createuserid" column="createuserid" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="jdxshr" column="jdxshr" />
|
||||||
|
<result property="jdxshzt" column="jdxshzt" />
|
||||||
|
<result property="sbly" column="sbly" />
|
||||||
|
<result property="qjshr" column="qjshr" />
|
||||||
|
<result property="qjshzt" column="qjshzt" />
|
||||||
|
<result property="qjshyj" column="qjshyj" />
|
||||||
|
<result property="jdpx" column="jdpx" />
|
||||||
|
<result property="alfxdf" column="alfxdf" />
|
||||||
|
<result property="jasjdf" column="jasjdf" />
|
||||||
|
<result property="gbzdf" column="gbzdf" />
|
||||||
|
<result property="zhdf" column="zhdf" />
|
||||||
|
<result property="cjdrcreateTime" column="cjdrcreate_time" />
|
||||||
|
<result property="msqr" column="msqr" />
|
||||||
|
<result property="msqrcreateTime" column="msqrcreate_time" />
|
||||||
|
<result property="msjgmnktjxdf" column="msjgmnktjxdf" />
|
||||||
|
<result property="yjdf" column="yjdf" />
|
||||||
|
<result property="zhdf2" column="zhdf2" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectTsbzJdcxVo">
|
||||||
|
select id, faid, jsid, dqzt, createuserid, create_time, jdxshr, jdxshzt, sbly, qjshr, qjshzt, qjshyj, jdpx, alfxdf, jasjdf, gbzdf, zhdf, cjdrcreate_time, msqr, msqrcreate_time, msjgmnktjxdf, yjdf, zhdf2 from tsbz_jdcx
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectTsbzJdcxList" parameterType="TsbzJdcx" resultMap="TsbzJdcxResult">
|
||||||
|
<include refid="selectTsbzJdcxVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="faid != null "> and faid = #{faid}</if>
|
||||||
|
<if test="jsid != null "> and jsid = #{jsid}</if>
|
||||||
|
<if test="dqzt != null and dqzt != ''"> and dqzt = #{dqzt}</if>
|
||||||
|
<if test="createuserid != null "> and createuserid = #{createuserid}</if>
|
||||||
|
<if test="jdxshr != null "> and jdxshr = #{jdxshr}</if>
|
||||||
|
<if test="jdxshzt != null and jdxshzt != ''"> and jdxshzt = #{jdxshzt}</if>
|
||||||
|
<if test="sbly != null and sbly != ''"> and sbly = #{sbly}</if>
|
||||||
|
<if test="qjshr != null "> and qjshr = #{qjshr}</if>
|
||||||
|
<if test="qjshzt != null and qjshzt != ''"> and qjshzt = #{qjshzt}</if>
|
||||||
|
<if test="qjshyj != null and qjshyj != ''"> and qjshyj = #{qjshyj}</if>
|
||||||
|
<if test="jdpx != null "> and jdpx = #{jdpx}</if>
|
||||||
|
<if test="alfxdf != null "> and alfxdf = #{alfxdf}</if>
|
||||||
|
<if test="jasjdf != null "> and jasjdf = #{jasjdf}</if>
|
||||||
|
<if test="gbzdf != null "> and gbzdf = #{gbzdf}</if>
|
||||||
|
<if test="zhdf != null "> and zhdf = #{zhdf}</if>
|
||||||
|
<if test="cjdrcreateTime != null "> and cjdrcreate_time = #{cjdrcreateTime}</if>
|
||||||
|
<if test="msqr != null and msqr != ''"> and msqr = #{msqr}</if>
|
||||||
|
<if test="msqrcreateTime != null "> and msqrcreate_time = #{msqrcreateTime}</if>
|
||||||
|
<if test="msjgmnktjxdf != null "> and msjgmnktjxdf = #{msjgmnktjxdf}</if>
|
||||||
|
<if test="yjdf != null "> and yjdf = #{yjdf}</if>
|
||||||
|
<if test="zhdf2 != null "> and zhdf2 = #{zhdf2}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectTsbzJdcxById" parameterType="Long" resultMap="TsbzJdcxResult">
|
||||||
|
<include refid="selectTsbzJdcxVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertTsbzJdcx" parameterType="TsbzJdcx" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into tsbz_jdcx
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="faid != null">faid,</if>
|
||||||
|
<if test="jsid != null">jsid,</if>
|
||||||
|
<if test="dqzt != null">dqzt,</if>
|
||||||
|
<if test="createuserid != null">createuserid,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="jdxshr != null">jdxshr,</if>
|
||||||
|
<if test="jdxshzt != null">jdxshzt,</if>
|
||||||
|
<if test="sbly != null">sbly,</if>
|
||||||
|
<if test="qjshr != null">qjshr,</if>
|
||||||
|
<if test="qjshzt != null">qjshzt,</if>
|
||||||
|
<if test="qjshyj != null">qjshyj,</if>
|
||||||
|
<if test="jdpx != null">jdpx,</if>
|
||||||
|
<if test="alfxdf != null">alfxdf,</if>
|
||||||
|
<if test="jasjdf != null">jasjdf,</if>
|
||||||
|
<if test="gbzdf != null">gbzdf,</if>
|
||||||
|
<if test="zhdf != null">zhdf,</if>
|
||||||
|
<if test="cjdrcreateTime != null">cjdrcreate_time,</if>
|
||||||
|
<if test="msqr != null">msqr,</if>
|
||||||
|
<if test="msqrcreateTime != null">msqrcreate_time,</if>
|
||||||
|
<if test="msjgmnktjxdf != null">msjgmnktjxdf,</if>
|
||||||
|
<if test="yjdf != null">yjdf,</if>
|
||||||
|
<if test="zhdf2 != null">zhdf2,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="faid != null">#{faid},</if>
|
||||||
|
<if test="jsid != null">#{jsid},</if>
|
||||||
|
<if test="dqzt != null">#{dqzt},</if>
|
||||||
|
<if test="createuserid != null">#{createuserid},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="jdxshr != null">#{jdxshr},</if>
|
||||||
|
<if test="jdxshzt != null">#{jdxshzt},</if>
|
||||||
|
<if test="sbly != null">#{sbly},</if>
|
||||||
|
<if test="qjshr != null">#{qjshr},</if>
|
||||||
|
<if test="qjshzt != null">#{qjshzt},</if>
|
||||||
|
<if test="qjshyj != null">#{qjshyj},</if>
|
||||||
|
<if test="jdpx != null">#{jdpx},</if>
|
||||||
|
<if test="alfxdf != null">#{alfxdf},</if>
|
||||||
|
<if test="jasjdf != null">#{jasjdf},</if>
|
||||||
|
<if test="gbzdf != null">#{gbzdf},</if>
|
||||||
|
<if test="zhdf != null">#{zhdf},</if>
|
||||||
|
<if test="cjdrcreateTime != null">#{cjdrcreateTime},</if>
|
||||||
|
<if test="msqr != null">#{msqr},</if>
|
||||||
|
<if test="msqrcreateTime != null">#{msqrcreateTime},</if>
|
||||||
|
<if test="msjgmnktjxdf != null">#{msjgmnktjxdf},</if>
|
||||||
|
<if test="yjdf != null">#{yjdf},</if>
|
||||||
|
<if test="zhdf2 != null">#{zhdf2},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateTsbzJdcx" parameterType="TsbzJdcx">
|
||||||
|
update tsbz_jdcx
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="faid != null">faid = #{faid},</if>
|
||||||
|
<if test="jsid != null">jsid = #{jsid},</if>
|
||||||
|
<if test="dqzt != null">dqzt = #{dqzt},</if>
|
||||||
|
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="jdxshr != null">jdxshr = #{jdxshr},</if>
|
||||||
|
<if test="jdxshzt != null">jdxshzt = #{jdxshzt},</if>
|
||||||
|
<if test="sbly != null">sbly = #{sbly},</if>
|
||||||
|
<if test="qjshr != null">qjshr = #{qjshr},</if>
|
||||||
|
<if test="qjshzt != null">qjshzt = #{qjshzt},</if>
|
||||||
|
<if test="qjshyj != null">qjshyj = #{qjshyj},</if>
|
||||||
|
<if test="jdpx != null">jdpx = #{jdpx},</if>
|
||||||
|
<if test="alfxdf != null">alfxdf = #{alfxdf},</if>
|
||||||
|
<if test="jasjdf != null">jasjdf = #{jasjdf},</if>
|
||||||
|
<if test="gbzdf != null">gbzdf = #{gbzdf},</if>
|
||||||
|
<if test="zhdf != null">zhdf = #{zhdf},</if>
|
||||||
|
<if test="cjdrcreateTime != null">cjdrcreate_time = #{cjdrcreateTime},</if>
|
||||||
|
<if test="msqr != null">msqr = #{msqr},</if>
|
||||||
|
<if test="msqrcreateTime != null">msqrcreate_time = #{msqrcreateTime},</if>
|
||||||
|
<if test="msjgmnktjxdf != null">msjgmnktjxdf = #{msjgmnktjxdf},</if>
|
||||||
|
<if test="yjdf != null">yjdf = #{yjdf},</if>
|
||||||
|
<if test="zhdf2 != null">zhdf2 = #{zhdf2},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteTsbzJdcxById" parameterType="Long">
|
||||||
|
delete from tsbz_jdcx where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteTsbzJdcxByIds" parameterType="String">
|
||||||
|
delete from tsbz_jdcx where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
53
ruoyi-ui/src/api/jxjs/jdcx.js
Normal file
53
ruoyi-ui/src/api/jxjs/jdcx.js
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询基地区级审核列表
|
||||||
|
export function listJdcx(query) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询基地区级审核详细
|
||||||
|
export function getJdcx(id) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增基地区级审核
|
||||||
|
export function addJdcx(data) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改基地区级审核
|
||||||
|
export function updateJdcx(data) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除基地区级审核
|
||||||
|
export function delJdcx(id) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 导出基地区级审核
|
||||||
|
export function exportJdcx(query) {
|
||||||
|
return request({
|
||||||
|
url: '/jxjs/jdcx/export',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
642
ruoyi-ui/src/views/jxjs/jdcx/index.vue
Normal file
642
ruoyi-ui/src/views/jxjs/jdcx/index.vue
Normal file
@ -0,0 +1,642 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
|
<el-form-item label="方案编号" prop="faid">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.faid"
|
||||||
|
placeholder="请输入方案编号"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="教师编号" prop="jsid">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.jsid"
|
||||||
|
placeholder="请输入教师编号"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="当前状态" prop="dqzt">
|
||||||
|
<el-select v-model="queryParams.dqzt" placeholder="请选择当前状态" clearable size="small">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in dqztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="创建人" prop="createuserid">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.createuserid"
|
||||||
|
placeholder="请输入创建人"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地校审核人" prop="jdxshr">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.jdxshr"
|
||||||
|
placeholder="请输入基地校审核人"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地校审核状态" prop="jdxshzt">
|
||||||
|
<el-select v-model="queryParams.jdxshzt" placeholder="请选择基地校审核状态" clearable size="small">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in jdxshztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="上报理由" prop="sbly">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.sbly"
|
||||||
|
placeholder="请输入上报理由"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核人" prop="qjshr">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.qjshr"
|
||||||
|
placeholder="请输入区级审核人"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核状态" prop="qjshzt">
|
||||||
|
<el-select v-model="queryParams.qjshzt" placeholder="请选择区级审核状态" clearable size="small">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in qjshztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核意见" prop="qjshyj">
|
||||||
|
<el-select v-model="queryParams.qjshyj" placeholder="请选择区级审核意见" clearable size="small">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in qjshyjOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地排序" prop="jdpx">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.jdpx"
|
||||||
|
placeholder="请输入基地排序"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="案例分析得分" prop="alfxdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.alfxdf"
|
||||||
|
placeholder="请输入案例分析得分"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="教案设计得分" prop="jasjdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.jasjdf"
|
||||||
|
placeholder="请输入教案设计得分"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="钢笔字得分" prop="gbzdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.gbzdf"
|
||||||
|
placeholder="请输入钢笔字得分"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="综合得分" prop="zhdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.zhdf"
|
||||||
|
placeholder="请输入综合得分"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="成绩导入创建时间" prop="cjdrcreateTime">
|
||||||
|
<el-date-picker clearable size="small" style="width: 200px"
|
||||||
|
v-model="queryParams.cjdrcreateTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择成绩导入创建时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试确认" prop="msqr">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.msqr"
|
||||||
|
placeholder="请输入面试确认"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试确认时间" prop="msqrcreateTime">
|
||||||
|
<el-date-picker clearable size="small" style="width: 200px"
|
||||||
|
v-model="queryParams.msqrcreateTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择面试确认时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试结果模拟课堂教学" prop="msjgmnktjxdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.msjgmnktjxdf"
|
||||||
|
placeholder="请输入面试结果模拟课堂教学"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="演讲得分" prop="yjdf">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.yjdf"
|
||||||
|
placeholder="请输入演讲得分"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="综合得分2" prop="zhdf2">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.zhdf2"
|
||||||
|
placeholder="请输入综合得分2"
|
||||||
|
clearable
|
||||||
|
size="small"
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
|
||||||
|
<el-row :gutter="10" class="mb8">
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-plus"
|
||||||
|
size="mini"
|
||||||
|
@click="handleAdd"
|
||||||
|
v-hasPermi="['jxjs:jdcx:add']"
|
||||||
|
>新增</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="success"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
size="mini"
|
||||||
|
:disabled="single"
|
||||||
|
@click="handleUpdate"
|
||||||
|
v-hasPermi="['jxjs:jdcx:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="danger"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
size="mini"
|
||||||
|
:disabled="multiple"
|
||||||
|
@click="handleDelete"
|
||||||
|
v-hasPermi="['jxjs:jdcx:remove']"
|
||||||
|
>删除</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="warning"
|
||||||
|
icon="el-icon-download"
|
||||||
|
size="mini"
|
||||||
|
@click="handleExport"
|
||||||
|
v-hasPermi="['jxjs:jdcx:export']"
|
||||||
|
>导出</el-button>
|
||||||
|
</el-col>
|
||||||
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-table v-loading="loading" :data="jdcxList" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
<el-table-column label="编号" align="center" prop="id" />
|
||||||
|
<el-table-column label="方案编号" align="center" prop="faid" />
|
||||||
|
<el-table-column label="教师编号" align="center" prop="jsid" />
|
||||||
|
<el-table-column label="当前状态" align="center" prop="dqzt" :formatter="dqztFormat" />
|
||||||
|
<el-table-column label="创建人" align="center" prop="createuserid" />
|
||||||
|
<el-table-column label="基地校审核人" align="center" prop="jdxshr" />
|
||||||
|
<el-table-column label="基地校审核状态" align="center" prop="jdxshzt" :formatter="jdxshztFormat" />
|
||||||
|
<el-table-column label="上报理由" align="center" prop="sbly" />
|
||||||
|
<el-table-column label="区级审核人" align="center" prop="qjshr" />
|
||||||
|
<el-table-column label="区级审核状态" align="center" prop="qjshzt" :formatter="qjshztFormat" />
|
||||||
|
<el-table-column label="区级审核意见" align="center" prop="qjshyj" :formatter="qjshyjFormat" />
|
||||||
|
<el-table-column label="基地排序" align="center" prop="jdpx" />
|
||||||
|
<el-table-column label="案例分析得分" align="center" prop="alfxdf" />
|
||||||
|
<el-table-column label="教案设计得分" align="center" prop="jasjdf" />
|
||||||
|
<el-table-column label="钢笔字得分" align="center" prop="gbzdf" />
|
||||||
|
<el-table-column label="综合得分" align="center" prop="zhdf" />
|
||||||
|
<el-table-column label="成绩导入创建时间" align="center" prop="cjdrcreateTime" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.cjdrcreateTime, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="面试确认" align="center" prop="msqr" />
|
||||||
|
<el-table-column label="面试确认时间" align="center" prop="msqrcreateTime" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.msqrcreateTime, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="面试结果模拟课堂教学" align="center" prop="msjgmnktjxdf" />
|
||||||
|
<el-table-column label="演讲得分" align="center" prop="yjdf" />
|
||||||
|
<el-table-column label="综合得分2" align="center" prop="zhdf2" />
|
||||||
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
@click="handleUpdate(scope.row)"
|
||||||
|
v-hasPermi="['jxjs:jdcx:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['jxjs:jdcx:remove']"
|
||||||
|
>删除</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
|
||||||
|
<pagination
|
||||||
|
v-show="total>0"
|
||||||
|
:total="total"
|
||||||
|
:page.sync="queryParams.pageNum"
|
||||||
|
:limit.sync="queryParams.pageSize"
|
||||||
|
@pagination="getList"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- 添加或修改基地区级审核对话框 -->
|
||||||
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
|
<el-form-item label="方案编号" prop="faid">
|
||||||
|
<el-input v-model="form.faid" placeholder="请输入方案编号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="教师编号" prop="jsid">
|
||||||
|
<el-input v-model="form.jsid" placeholder="请输入教师编号" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="当前状态" prop="dqzt">
|
||||||
|
<el-select v-model="form.dqzt" placeholder="请选择当前状态">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in dqztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="创建人" prop="createuserid">
|
||||||
|
<el-input v-model="form.createuserid" placeholder="请输入创建人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地校审核人" prop="jdxshr">
|
||||||
|
<el-input v-model="form.jdxshr" placeholder="请输入基地校审核人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地校审核状态" prop="jdxshzt">
|
||||||
|
<el-select v-model="form.jdxshzt" placeholder="请选择基地校审核状态">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in jdxshztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="上报理由" prop="sbly">
|
||||||
|
<el-input v-model="form.sbly" placeholder="请输入上报理由" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核人" prop="qjshr">
|
||||||
|
<el-input v-model="form.qjshr" placeholder="请输入区级审核人" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核状态" prop="qjshzt">
|
||||||
|
<el-select v-model="form.qjshzt" placeholder="请选择区级审核状态">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in qjshztOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区级审核意见" prop="qjshyj">
|
||||||
|
<el-select v-model="form.qjshyj" placeholder="请选择区级审核意见">
|
||||||
|
<el-option
|
||||||
|
v-for="dict in qjshyjOptions"
|
||||||
|
:key="dict.dictValue"
|
||||||
|
:label="dict.dictLabel"
|
||||||
|
:value="dict.dictValue"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="基地排序" prop="jdpx">
|
||||||
|
<el-input v-model="form.jdpx" placeholder="请输入基地排序" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="案例分析得分" prop="alfxdf">
|
||||||
|
<el-input v-model="form.alfxdf" placeholder="请输入案例分析得分" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="教案设计得分" prop="jasjdf">
|
||||||
|
<el-input v-model="form.jasjdf" placeholder="请输入教案设计得分" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="钢笔字得分" prop="gbzdf">
|
||||||
|
<el-input v-model="form.gbzdf" placeholder="请输入钢笔字得分" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="综合得分" prop="zhdf">
|
||||||
|
<el-input v-model="form.zhdf" placeholder="请输入综合得分" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="成绩导入创建时间" prop="cjdrcreateTime">
|
||||||
|
<el-date-picker clearable size="small" style="width: 200px"
|
||||||
|
v-model="form.cjdrcreateTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择成绩导入创建时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试确认" prop="msqr">
|
||||||
|
<el-input v-model="form.msqr" placeholder="请输入面试确认" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试确认时间" prop="msqrcreateTime">
|
||||||
|
<el-date-picker clearable size="small" style="width: 200px"
|
||||||
|
v-model="form.msqrcreateTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择面试确认时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="面试结果模拟课堂教学" prop="msjgmnktjxdf">
|
||||||
|
<el-input v-model="form.msjgmnktjxdf" placeholder="请输入面试结果模拟课堂教学" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="演讲得分" prop="yjdf">
|
||||||
|
<el-input v-model="form.yjdf" placeholder="请输入演讲得分" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="综合得分2" prop="zhdf2">
|
||||||
|
<el-input v-model="form.zhdf2" placeholder="请输入综合得分2" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { listJdcx, getJdcx, delJdcx, addJdcx, updateJdcx, exportJdcx } from "@/api/jxjs/jdcx";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Jdcx",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// 遮罩层
|
||||||
|
loading: true,
|
||||||
|
// 选中数组
|
||||||
|
ids: [],
|
||||||
|
// 非单个禁用
|
||||||
|
single: true,
|
||||||
|
// 非多个禁用
|
||||||
|
multiple: true,
|
||||||
|
// 显示搜索条件
|
||||||
|
showSearch: true,
|
||||||
|
// 总条数
|
||||||
|
total: 0,
|
||||||
|
// 基地区级审核表格数据
|
||||||
|
jdcxList: [],
|
||||||
|
// 弹出层标题
|
||||||
|
title: "",
|
||||||
|
// 是否显示弹出层
|
||||||
|
open: false,
|
||||||
|
// 当前状态字典
|
||||||
|
dqztOptions: [],
|
||||||
|
// 基地校审核状态字典
|
||||||
|
jdxshztOptions: [],
|
||||||
|
// 区级审核状态字典
|
||||||
|
qjshztOptions: [],
|
||||||
|
// 区级审核意见字典
|
||||||
|
qjshyjOptions: [],
|
||||||
|
// 查询参数
|
||||||
|
queryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
faid: null,
|
||||||
|
jsid: null,
|
||||||
|
dqzt: null,
|
||||||
|
createuserid: null,
|
||||||
|
jdxshr: null,
|
||||||
|
jdxshzt: null,
|
||||||
|
sbly: null,
|
||||||
|
qjshr: null,
|
||||||
|
qjshzt: null,
|
||||||
|
qjshyj: null,
|
||||||
|
jdpx: null,
|
||||||
|
alfxdf: null,
|
||||||
|
jasjdf: null,
|
||||||
|
gbzdf: null,
|
||||||
|
zhdf: null,
|
||||||
|
cjdrcreateTime: null,
|
||||||
|
msqr: null,
|
||||||
|
msqrcreateTime: null,
|
||||||
|
msjgmnktjxdf: null,
|
||||||
|
yjdf: null,
|
||||||
|
zhdf2: null
|
||||||
|
},
|
||||||
|
// 表单参数
|
||||||
|
form: {},
|
||||||
|
// 表单校验
|
||||||
|
rules: {
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList();
|
||||||
|
this.getDicts("sys_dm_shzt").then(response => {
|
||||||
|
this.dqztOptions = response.data;
|
||||||
|
});
|
||||||
|
this.getDicts("sys_dm_shzt").then(response => {
|
||||||
|
this.jdxshztOptions = response.data;
|
||||||
|
});
|
||||||
|
this.getDicts("sys_dm_shzt").then(response => {
|
||||||
|
this.qjshztOptions = response.data;
|
||||||
|
});
|
||||||
|
this.getDicts("sys_dm_shyj").then(response => {
|
||||||
|
this.qjshyjOptions = response.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 查询基地区级审核列表 */
|
||||||
|
getList() {
|
||||||
|
this.loading = true;
|
||||||
|
listJdcx(this.queryParams).then(response => {
|
||||||
|
this.jdcxList = response.rows;
|
||||||
|
this.total = response.total;
|
||||||
|
this.loading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 当前状态字典翻译
|
||||||
|
dqztFormat(row, column) {
|
||||||
|
return this.selectDictLabel(this.dqztOptions, row.dqzt);
|
||||||
|
},
|
||||||
|
// 基地校审核状态字典翻译
|
||||||
|
jdxshztFormat(row, column) {
|
||||||
|
return this.selectDictLabel(this.jdxshztOptions, row.jdxshzt);
|
||||||
|
},
|
||||||
|
// 区级审核状态字典翻译
|
||||||
|
qjshztFormat(row, column) {
|
||||||
|
return this.selectDictLabel(this.qjshztOptions, row.qjshzt);
|
||||||
|
},
|
||||||
|
// 区级审核意见字典翻译
|
||||||
|
qjshyjFormat(row, column) {
|
||||||
|
return this.selectDictLabel(this.qjshyjOptions, row.qjshyj);
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false;
|
||||||
|
this.reset();
|
||||||
|
},
|
||||||
|
// 表单重置
|
||||||
|
reset() {
|
||||||
|
this.form = {
|
||||||
|
id: null,
|
||||||
|
faid: null,
|
||||||
|
jsid: null,
|
||||||
|
dqzt: null,
|
||||||
|
createuserid: null,
|
||||||
|
createTime: null,
|
||||||
|
jdxshr: null,
|
||||||
|
jdxshzt: null,
|
||||||
|
sbly: null,
|
||||||
|
qjshr: null,
|
||||||
|
qjshzt: null,
|
||||||
|
qjshyj: null,
|
||||||
|
jdpx: null,
|
||||||
|
alfxdf: null,
|
||||||
|
jasjdf: null,
|
||||||
|
gbzdf: null,
|
||||||
|
zhdf: null,
|
||||||
|
cjdrcreateTime: null,
|
||||||
|
msqr: null,
|
||||||
|
msqrcreateTime: null,
|
||||||
|
msjgmnktjxdf: null,
|
||||||
|
yjdf: null,
|
||||||
|
zhdf2: null
|
||||||
|
};
|
||||||
|
this.resetForm("form");
|
||||||
|
},
|
||||||
|
/** 搜索按钮操作 */
|
||||||
|
handleQuery() {
|
||||||
|
this.queryParams.pageNum = 1;
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
/** 重置按钮操作 */
|
||||||
|
resetQuery() {
|
||||||
|
this.resetForm("queryForm");
|
||||||
|
this.handleQuery();
|
||||||
|
},
|
||||||
|
// 多选框选中数据
|
||||||
|
handleSelectionChange(selection) {
|
||||||
|
this.ids = selection.map(item => item.id)
|
||||||
|
this.single = selection.length!==1
|
||||||
|
this.multiple = !selection.length
|
||||||
|
},
|
||||||
|
/** 新增按钮操作 */
|
||||||
|
handleAdd() {
|
||||||
|
this.reset();
|
||||||
|
this.open = true;
|
||||||
|
this.title = "添加基地区级审核";
|
||||||
|
},
|
||||||
|
/** 修改按钮操作 */
|
||||||
|
handleUpdate(row) {
|
||||||
|
this.reset();
|
||||||
|
const id = row.id || this.ids
|
||||||
|
getJdcx(id).then(response => {
|
||||||
|
this.form = response.data;
|
||||||
|
this.open = true;
|
||||||
|
this.title = "修改基地区级审核";
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 提交按钮 */
|
||||||
|
submitForm() {
|
||||||
|
this.$refs["form"].validate(valid => {
|
||||||
|
if (valid) {
|
||||||
|
if (this.form.id != null) {
|
||||||
|
updateJdcx(this.form).then(response => {
|
||||||
|
if (response.code === 200) {
|
||||||
|
this.msgSuccess("修改成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
addJdcx(this.form).then(response => {
|
||||||
|
if (response.code === 200) {
|
||||||
|
this.msgSuccess("新增成功");
|
||||||
|
this.open = false;
|
||||||
|
this.getList();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/** 删除按钮操作 */
|
||||||
|
handleDelete(row) {
|
||||||
|
const ids = row.id || this.ids;
|
||||||
|
this.$confirm('是否确认删除基地区级审核编号为"' + ids + '"的数据项?', "警告", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(function() {
|
||||||
|
return delJdcx(ids);
|
||||||
|
}).then(() => {
|
||||||
|
this.getList();
|
||||||
|
this.msgSuccess("删除成功");
|
||||||
|
}).catch(function() {});
|
||||||
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
const queryParams = this.queryParams;
|
||||||
|
this.$confirm('是否确认导出所有基地区级审核数据项?', "警告", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(function() {
|
||||||
|
return exportJdcx(queryParams);
|
||||||
|
}).then(response => {
|
||||||
|
this.download(response.msg);
|
||||||
|
}).catch(function() {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
Loading…
x
Reference in New Issue
Block a user