commit
8334916a3a
@ -0,0 +1,86 @@
|
|||||||
|
政府采购数据 - 20251211
|
||||||
|
==================================================
|
||||||
|
[★收录] 华东理工大学2026年-2028年校医院药品采购项目延期公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gzgg/202512/t20251211_25903949.htm
|
||||||
|
|
||||||
|
[★收录] 中国贸促会外网OA扩容升级项目比选公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/qtgg/202512/t20251211_25903938.htm
|
||||||
|
|
||||||
|
[★收录] 青海省消防救援总队西宁支队大通消防大队2025年采购家具采购项目更正公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gzgg/202512/t20251211_25903942.htm
|
||||||
|
|
||||||
|
[★收录] 枣庄市台儿庄区消防救援大队山东省枣庄市台儿庄大队主副食配送采购项目终止公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/fblbgg/202512/t20251211_25903932.htm
|
||||||
|
|
||||||
|
[★收录] zycgr22011903多模式微孔板检测仪采购招标项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903924.htm
|
||||||
|
|
||||||
|
[★收录] 山西省大同市消防救援支队特 勤大队一站 2025 年车库门采购项目成交公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/cjgg/202512/t20251211_25903913.htm
|
||||||
|
|
||||||
|
[★收录] 广东省惠州市消防救援支队2025年度泡沫灭火剂采购项目成交公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/cjgg/202512/t20251211_25903902.htm
|
||||||
|
|
||||||
|
[★收录] 中山大学附属第三医院血液透析滤过机采购项目更正公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gzgg/202512/t20251211_25903900.htm
|
||||||
|
|
||||||
|
[★收录] 中国民航科学技术研究院(中国民用航空局航空安全技术中心)服务器(询价)电子询价成交公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/cjgg/202512/t20251211_25903891.htm
|
||||||
|
|
||||||
|
[★收录] 江苏省消防救援总队训练与战勤保障支队职业技能鉴定站物业服务外包项目比选公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/qtgg/202512/t20251211_25903874.htm
|
||||||
|
|
||||||
|
[★收录] 中华人民共和国岳阳海事局岳阳海事局VHF集控系统数字化升级、智能卡口建设等项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903875.htm
|
||||||
|
|
||||||
|
[★收录] 中国气象局成都高原气象研究所数值天气预报模式算力及存储资源租赁项目公开招标中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903869.htm
|
||||||
|
|
||||||
|
[★收录] 中国农业大学2025年校园网出口带宽服务采购项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903877.htm
|
||||||
|
|
||||||
|
[★收录] SPD-23安徽某单位会议室4K会议系统升级询价公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/xjgg/202512/t20251211_25903865.htm
|
||||||
|
|
||||||
|
[★收录] 国家税务总局珲春市税务局2026年劳务外包服务采购项目废标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/fblbgg/202512/t20251211_25903851.htm
|
||||||
|
|
||||||
|
[★收录] 国家智慧教育平台智能化教学应用建设与服务项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903837.htm
|
||||||
|
|
||||||
|
[★收录] 2026年江阴市消防救援大队及所属暨阳站和高铁站食材采购项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903838.htm
|
||||||
|
|
||||||
|
[★收录] 教育部中外语言交流合作中心活动类、项目管理类信息系统运维项目中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903839.htm
|
||||||
|
|
||||||
|
[★收录] 大连海事大学LNG船舶IAS仿真测试平台模拟量板卡模块采购项目成交公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/cjgg/202512/t20251211_25903835.htm
|
||||||
|
|
||||||
|
[★收录] 2025年-2026年南宁铁路公安局南宁公安处广告物料制作服务竞争性磋商公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/jzxcs/202512/t20251211_25903830.htm
|
||||||
|
|
||||||
|
[★收录] 中国石油大学(北京)二面顶压机公开招标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gkzb/202512/t20251211_25903827.htm
|
||||||
|
|
||||||
|
[★收录] 白沟新城消防救援大队河北省消防救援总队保定市消防救援支队白沟新城消防救援大队伙食采购配...
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gzgg/202512/t20251211_25903822.htm
|
||||||
|
|
||||||
|
[★收录] 中国矿业大学高空间分辨立体流场跟踪测速系统中标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/zbgg/202512/t20251211_25903821.htm
|
||||||
|
|
||||||
|
[★收录] 中华人民共和国吉林出入境边防检查总站实操训练室建设采购项目成交结果公告(非政府采购项目)
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/qtgg/202512/t20251211_25903820.htm
|
||||||
|
|
||||||
|
[★收录] 中华人民共和国吉林出入境边防检查总站业务培训室建设采购项目成交结果公告(非政府采购项目)
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/qtgg/202512/t20251211_25903819.htm
|
||||||
|
|
||||||
|
[★收录] 中华人民共和国吉林出入境边防检查总站选取2025年至2026年信息化设备运行维护服务采购项目成...
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/qtgg/202512/t20251211_25903818.htm
|
||||||
|
|
||||||
|
[★收录] 自然资源部国土卫星遥感应用中心0.8米立体测图卫星工程航天保险经纪服务采购废标公告
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/fblbgg/202512/t20251211_25903813.htm
|
||||||
|
|
||||||
|
[★收录] 自然资源部国土卫星遥感应用中心0.8米立体测图卫星工程航天保险经纪服务采购公开招标公告(重...
|
||||||
|
日期: 20251211 | 链接: http://www.ccgp.gov.cn/cggg/zygg/gkzb/202512/t20251211_25903812.htm
|
||||||
|
|
||||||
@ -0,0 +1,104 @@
|
|||||||
|
package com.ruoyi.bid.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
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.bid.domain.BidMyZizhi;
|
||||||
|
import com.ruoyi.bid.service.IBidMyZizhiService;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资质管理Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-12-11
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/bid/myzizhi")
|
||||||
|
public class BidMyZizhiController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IBidMyZizhiService bidMyZizhiService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询资质管理列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<BidMyZizhi> list = bidMyZizhiService.selectBidMyZizhiList(bidMyZizhi);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出资质管理列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:export')")
|
||||||
|
@Log(title = "资质管理", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
List<BidMyZizhi> list = bidMyZizhiService.selectBidMyZizhiList(bidMyZizhi);
|
||||||
|
ExcelUtil<BidMyZizhi> util = new ExcelUtil<BidMyZizhi>(BidMyZizhi.class);
|
||||||
|
util.exportExcel(response, list, "资质管理数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取资质管理详细信息
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:query')")
|
||||||
|
@GetMapping(value = "/{id}")
|
||||||
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return success(bidMyZizhiService.selectBidMyZizhiById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增资质管理
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:add')")
|
||||||
|
@Log(title = "资质管理", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public AjaxResult add(@RequestBody BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
return toAjax(bidMyZizhiService.insertBidMyZizhi(bidMyZizhi));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改资质管理
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:edit')")
|
||||||
|
@Log(title = "资质管理", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public AjaxResult edit(@RequestBody BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
return toAjax(bidMyZizhiService.updateBidMyZizhi(bidMyZizhi));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除资质管理
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('bid:myzizhi:remove')")
|
||||||
|
@Log(title = "资质管理", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{ids}")
|
||||||
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
{
|
||||||
|
return toAjax(bidMyZizhiService.deleteBidMyZizhiByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,226 @@
|
|||||||
|
package com.ruoyi.bid.domain;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资质管理对象 bid_my_zizhi
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-12-11
|
||||||
|
*/
|
||||||
|
public class BidMyZizhi extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** ID */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 文档id */
|
||||||
|
@Excel(name = "文档id")
|
||||||
|
private String documentId;
|
||||||
|
|
||||||
|
/** 编码 */
|
||||||
|
@Excel(name = "编码")
|
||||||
|
private String documentCode;
|
||||||
|
|
||||||
|
/** 证书名称 */
|
||||||
|
@Excel(name = "证书名称")
|
||||||
|
private String documentName;
|
||||||
|
|
||||||
|
/** 评级 */
|
||||||
|
@Excel(name = "评级")
|
||||||
|
private String documentRate;
|
||||||
|
|
||||||
|
/** 开始时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date startTime;
|
||||||
|
|
||||||
|
/** 结束时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date endTime;
|
||||||
|
|
||||||
|
/** 级别值 */
|
||||||
|
@Excel(name = "级别值")
|
||||||
|
private String level;
|
||||||
|
|
||||||
|
/** 长期有效(0否,1是) */
|
||||||
|
@Excel(name = "长期有效(0否,1是)")
|
||||||
|
private String longLalid;
|
||||||
|
|
||||||
|
/** 证书图片 */
|
||||||
|
@Excel(name = "证书图片")
|
||||||
|
private String relatePhoto;
|
||||||
|
|
||||||
|
/** 状态(0,1,2) */
|
||||||
|
@Excel(name = "状态(0,1,2)")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
/** */
|
||||||
|
@Excel(name = "")
|
||||||
|
private String tempId;
|
||||||
|
|
||||||
|
/** 租户代码 */
|
||||||
|
@Excel(name = "租户代码")
|
||||||
|
private String tenantCode;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDocumentId(String documentId)
|
||||||
|
{
|
||||||
|
this.documentId = documentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDocumentId()
|
||||||
|
{
|
||||||
|
return documentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDocumentCode(String documentCode)
|
||||||
|
{
|
||||||
|
this.documentCode = documentCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDocumentCode()
|
||||||
|
{
|
||||||
|
return documentCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDocumentName(String documentName)
|
||||||
|
{
|
||||||
|
this.documentName = documentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDocumentName()
|
||||||
|
{
|
||||||
|
return documentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDocumentRate(String documentRate)
|
||||||
|
{
|
||||||
|
this.documentRate = documentRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDocumentRate()
|
||||||
|
{
|
||||||
|
return documentRate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStartTime(Date startTime)
|
||||||
|
{
|
||||||
|
this.startTime = startTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getStartTime()
|
||||||
|
{
|
||||||
|
return startTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEndTime(Date endTime)
|
||||||
|
{
|
||||||
|
this.endTime = endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getEndTime()
|
||||||
|
{
|
||||||
|
return endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(String level)
|
||||||
|
{
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLevel()
|
||||||
|
{
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLongLalid(String longLalid)
|
||||||
|
{
|
||||||
|
this.longLalid = longLalid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLongLalid()
|
||||||
|
{
|
||||||
|
return longLalid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRelatePhoto(String relatePhoto)
|
||||||
|
{
|
||||||
|
this.relatePhoto = relatePhoto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRelatePhoto()
|
||||||
|
{
|
||||||
|
return relatePhoto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(String status)
|
||||||
|
{
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStatus()
|
||||||
|
{
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTempId(String tempId)
|
||||||
|
{
|
||||||
|
this.tempId = tempId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTempId()
|
||||||
|
{
|
||||||
|
return tempId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTenantCode(String tenantCode)
|
||||||
|
{
|
||||||
|
this.tenantCode = tenantCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTenantCode()
|
||||||
|
{
|
||||||
|
return tenantCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("documentId", getDocumentId())
|
||||||
|
.append("documentCode", getDocumentCode())
|
||||||
|
.append("documentName", getDocumentName())
|
||||||
|
.append("documentRate", getDocumentRate())
|
||||||
|
.append("startTime", getStartTime())
|
||||||
|
.append("endTime", getEndTime())
|
||||||
|
.append("level", getLevel())
|
||||||
|
.append("longLalid", getLongLalid())
|
||||||
|
.append("relatePhoto", getRelatePhoto())
|
||||||
|
.append("status", getStatus())
|
||||||
|
.append("tempId", getTempId())
|
||||||
|
.append("tenantCode", getTenantCode())
|
||||||
|
.append("createBy", getCreateBy())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateBy", getUpdateBy())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.append("remark", getRemark())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.bid.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.bid.domain.BidMyZizhi;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资质管理Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-12-11
|
||||||
|
*/
|
||||||
|
public interface BidMyZizhiMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询资质管理
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 资质管理
|
||||||
|
*/
|
||||||
|
public BidMyZizhi selectBidMyZizhiById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询资质管理列表
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 资质管理集合
|
||||||
|
*/
|
||||||
|
public List<BidMyZizhi> selectBidMyZizhiList(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBidMyZizhi(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBidMyZizhi(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除资质管理
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBidMyZizhiById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除资质管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBidMyZizhiByIds(Long[] ids);
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
package com.ruoyi.bid.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.bid.domain.BidMyZizhi;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资质管理Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-12-11
|
||||||
|
*/
|
||||||
|
public interface IBidMyZizhiService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询资质管理
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 资质管理
|
||||||
|
*/
|
||||||
|
public BidMyZizhi selectBidMyZizhiById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询资质管理列表
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 资质管理集合
|
||||||
|
*/
|
||||||
|
public List<BidMyZizhi> selectBidMyZizhiList(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBidMyZizhi(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBidMyZizhi(BidMyZizhi bidMyZizhi);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除资质管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的资质管理主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBidMyZizhiByIds(Long[] ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除资质管理信息
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBidMyZizhiById(Long id);
|
||||||
|
}
|
||||||
@ -0,0 +1,96 @@
|
|||||||
|
package com.ruoyi.bid.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.bid.mapper.BidMyZizhiMapper;
|
||||||
|
import com.ruoyi.bid.domain.BidMyZizhi;
|
||||||
|
import com.ruoyi.bid.service.IBidMyZizhiService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资质管理Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2025-12-11
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BidMyZizhiServiceImpl implements IBidMyZizhiService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BidMyZizhiMapper bidMyZizhiMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询资质管理
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 资质管理
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BidMyZizhi selectBidMyZizhiById(Long id)
|
||||||
|
{
|
||||||
|
return bidMyZizhiMapper.selectBidMyZizhiById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询资质管理列表
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 资质管理
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BidMyZizhi> selectBidMyZizhiList(BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
return bidMyZizhiMapper.selectBidMyZizhiList(bidMyZizhi);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBidMyZizhi(BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
bidMyZizhi.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bidMyZizhiMapper.insertBidMyZizhi(bidMyZizhi);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改资质管理
|
||||||
|
*
|
||||||
|
* @param bidMyZizhi 资质管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBidMyZizhi(BidMyZizhi bidMyZizhi)
|
||||||
|
{
|
||||||
|
bidMyZizhi.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bidMyZizhiMapper.updateBidMyZizhi(bidMyZizhi);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除资质管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的资质管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBidMyZizhiByIds(Long[] ids)
|
||||||
|
{
|
||||||
|
return bidMyZizhiMapper.deleteBidMyZizhiByIds(ids);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除资质管理信息
|
||||||
|
*
|
||||||
|
* @param id 资质管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBidMyZizhiById(Long id)
|
||||||
|
{
|
||||||
|
return bidMyZizhiMapper.deleteBidMyZizhiById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,131 @@
|
|||||||
|
<?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.bid.mapper.BidMyZizhiMapper">
|
||||||
|
|
||||||
|
<resultMap type="BidMyZizhi" id="BidMyZizhiResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="documentId" column="document_id" />
|
||||||
|
<result property="documentCode" column="document_code" />
|
||||||
|
<result property="documentName" column="document_name" />
|
||||||
|
<result property="documentRate" column="document_rate" />
|
||||||
|
<result property="startTime" column="start_time" />
|
||||||
|
<result property="endTime" column="end_time" />
|
||||||
|
<result property="level" column="level" />
|
||||||
|
<result property="longLalid" column="long_lalid" />
|
||||||
|
<result property="relatePhoto" column="relate_photo" />
|
||||||
|
<result property="status" column="status" />
|
||||||
|
<result property="tempId" column="temp_id" />
|
||||||
|
<result property="tenantCode" column="tenant_code" />
|
||||||
|
<result property="createBy" column="create_by" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateBy" column="update_by" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="remark" column="remark" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBidMyZizhiVo">
|
||||||
|
select id, document_id, document_code, document_name, document_rate, start_time, end_time, level, long_lalid, relate_photo, status, temp_id, tenant_code, create_by, create_time, update_by, update_time, remark from bid_my_zizhi
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBidMyZizhiList" parameterType="BidMyZizhi" resultMap="BidMyZizhiResult">
|
||||||
|
<include refid="selectBidMyZizhiVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="documentId != null and documentId != ''"> and document_id = #{documentId}</if>
|
||||||
|
<if test="documentCode != null and documentCode != ''"> and document_code = #{documentCode}</if>
|
||||||
|
<if test="documentName != null and documentName != ''"> and document_name like concat('%', #{documentName}, '%')</if>
|
||||||
|
<if test="documentRate != null and documentRate != ''"> and document_rate = #{documentRate}</if>
|
||||||
|
<if test="startTime != null "> and start_time = #{startTime}</if>
|
||||||
|
<if test="endTime != null "> and end_time = #{endTime}</if>
|
||||||
|
<if test="level != null and level != ''"> and level = #{level}</if>
|
||||||
|
<if test="longLalid != null and longLalid != ''"> and long_lalid = #{longLalid}</if>
|
||||||
|
<if test="relatePhoto != null and relatePhoto != ''"> and relate_photo = #{relatePhoto}</if>
|
||||||
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||||
|
<if test="tempId != null and tempId != ''"> and temp_id = #{tempId}</if>
|
||||||
|
<if test="tenantCode != null and tenantCode != ''"> and tenant_code = #{tenantCode}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBidMyZizhiById" parameterType="Long" resultMap="BidMyZizhiResult">
|
||||||
|
<include refid="selectBidMyZizhiVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBidMyZizhi" parameterType="BidMyZizhi" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into bid_my_zizhi
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="documentId != null">document_id,</if>
|
||||||
|
<if test="documentCode != null">document_code,</if>
|
||||||
|
<if test="documentName != null">document_name,</if>
|
||||||
|
<if test="documentRate != null">document_rate,</if>
|
||||||
|
<if test="startTime != null">start_time,</if>
|
||||||
|
<if test="endTime != null">end_time,</if>
|
||||||
|
<if test="level != null">level,</if>
|
||||||
|
<if test="longLalid != null">long_lalid,</if>
|
||||||
|
<if test="relatePhoto != null">relate_photo,</if>
|
||||||
|
<if test="status != null">status,</if>
|
||||||
|
<if test="tempId != null">temp_id,</if>
|
||||||
|
<if test="tenantCode != null">tenant_code,</if>
|
||||||
|
<if test="createBy != null">create_by,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateBy != null">update_by,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
<if test="remark != null">remark,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="documentId != null">#{documentId},</if>
|
||||||
|
<if test="documentCode != null">#{documentCode},</if>
|
||||||
|
<if test="documentName != null">#{documentName},</if>
|
||||||
|
<if test="documentRate != null">#{documentRate},</if>
|
||||||
|
<if test="startTime != null">#{startTime},</if>
|
||||||
|
<if test="endTime != null">#{endTime},</if>
|
||||||
|
<if test="level != null">#{level},</if>
|
||||||
|
<if test="longLalid != null">#{longLalid},</if>
|
||||||
|
<if test="relatePhoto != null">#{relatePhoto},</if>
|
||||||
|
<if test="status != null">#{status},</if>
|
||||||
|
<if test="tempId != null">#{tempId},</if>
|
||||||
|
<if test="tenantCode != null">#{tenantCode},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBidMyZizhi" parameterType="BidMyZizhi">
|
||||||
|
update bid_my_zizhi
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="documentId != null">document_id = #{documentId},</if>
|
||||||
|
<if test="documentCode != null">document_code = #{documentCode},</if>
|
||||||
|
<if test="documentName != null">document_name = #{documentName},</if>
|
||||||
|
<if test="documentRate != null">document_rate = #{documentRate},</if>
|
||||||
|
<if test="startTime != null">start_time = #{startTime},</if>
|
||||||
|
<if test="endTime != null">end_time = #{endTime},</if>
|
||||||
|
<if test="level != null">level = #{level},</if>
|
||||||
|
<if test="longLalid != null">long_lalid = #{longLalid},</if>
|
||||||
|
<if test="relatePhoto != null">relate_photo = #{relatePhoto},</if>
|
||||||
|
<if test="status != null">status = #{status},</if>
|
||||||
|
<if test="tempId != null">temp_id = #{tempId},</if>
|
||||||
|
<if test="tenantCode != null">tenant_code = #{tenantCode},</if>
|
||||||
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBidMyZizhiById" parameterType="Long">
|
||||||
|
delete from bid_my_zizhi where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBidMyZizhiByIds" parameterType="String">
|
||||||
|
delete from bid_my_zizhi where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询资质管理列表
|
||||||
|
export function listMyzizhi(query) {
|
||||||
|
return request({
|
||||||
|
url: '/bid/myzizhi/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询资质管理详细
|
||||||
|
export function getMyzizhi(id) {
|
||||||
|
return request({
|
||||||
|
url: '/bid/myzizhi/' + id,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增资质管理
|
||||||
|
export function addMyzizhi(data) {
|
||||||
|
return request({
|
||||||
|
url: '/bid/myzizhi',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改资质管理
|
||||||
|
export function updateMyzizhi(data) {
|
||||||
|
return request({
|
||||||
|
url: '/bid/myzizhi',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除资质管理
|
||||||
|
export function delMyzizhi(id) {
|
||||||
|
return request({
|
||||||
|
url: '/bid/myzizhi/' + id,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
@ -0,0 +1,407 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
|
<el-form-item label="文档id" prop="documentId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.documentId"
|
||||||
|
placeholder="请输入文档id"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编码" prop="documentCode">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.documentCode"
|
||||||
|
placeholder="请输入编码"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="证书名称" prop="documentName">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.documentName"
|
||||||
|
placeholder="请输入证书名称"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="评级" prop="documentRate">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.documentRate"
|
||||||
|
placeholder="请输入评级"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="开始时间" prop="startTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.startTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择开始时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="结束时间" prop="endTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="queryParams.endTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择结束时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="级别值" prop="level">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.level"
|
||||||
|
placeholder="请输入级别值"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="长期有效(0否,1是)" prop="longLalid">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.longLalid"
|
||||||
|
placeholder="请输入长期有效(0否,1是)"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="" prop="tempId">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.tempId"
|
||||||
|
placeholder="请输入"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="租户代码" prop="tenantCode">
|
||||||
|
<el-input
|
||||||
|
v-model="queryParams.tenantCode"
|
||||||
|
placeholder="请输入租户代码"
|
||||||
|
clearable
|
||||||
|
@keyup.enter.native="handleQuery"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="primary" 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"
|
||||||
|
plain
|
||||||
|
icon="el-icon-plus"
|
||||||
|
size="mini"
|
||||||
|
@click="handleAdd"
|
||||||
|
v-hasPermi="['bid:myzizhi:add']"
|
||||||
|
>新增</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="success"
|
||||||
|
plain
|
||||||
|
icon="el-icon-edit"
|
||||||
|
size="mini"
|
||||||
|
:disabled="single"
|
||||||
|
@click="handleUpdate"
|
||||||
|
v-hasPermi="['bid:myzizhi:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="danger"
|
||||||
|
plain
|
||||||
|
icon="el-icon-delete"
|
||||||
|
size="mini"
|
||||||
|
:disabled="multiple"
|
||||||
|
@click="handleDelete"
|
||||||
|
v-hasPermi="['bid:myzizhi:remove']"
|
||||||
|
>删除</el-button>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
type="warning"
|
||||||
|
plain
|
||||||
|
icon="el-icon-download"
|
||||||
|
size="mini"
|
||||||
|
@click="handleExport"
|
||||||
|
v-hasPermi="['bid:myzizhi:export']"
|
||||||
|
>导出</el-button>
|
||||||
|
</el-col>
|
||||||
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-table v-loading="loading" :data="myzizhiList" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
<el-table-column label="ID" align="center" prop="id" />
|
||||||
|
<el-table-column label="文档id" align="center" prop="documentId" />
|
||||||
|
<el-table-column label="编码" align="center" prop="documentCode" />
|
||||||
|
<el-table-column label="证书名称" align="center" prop="documentName" />
|
||||||
|
<el-table-column label="评级" align="center" prop="documentRate" />
|
||||||
|
<el-table-column label="开始时间" align="center" prop="startTime" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.startTime, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="结束时间" align="center" prop="endTime" width="180">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="级别值" align="center" prop="level" />
|
||||||
|
<el-table-column label="长期有效(0否,1是)" align="center" prop="longLalid" />
|
||||||
|
<el-table-column label="证书图片" align="center" prop="relatePhoto" />
|
||||||
|
<el-table-column label="状态(0,1,2)" align="center" prop="status" />
|
||||||
|
<el-table-column label="" align="center" prop="tempId" />
|
||||||
|
<el-table-column label="租户代码" align="center" prop="tenantCode" />
|
||||||
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
|
<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="['bid:myzizhi:edit']"
|
||||||
|
>修改</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['bid:myzizhi: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="文档id" prop="documentId">
|
||||||
|
<el-input v-model="form.documentId" placeholder="请输入文档id" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编码" prop="documentCode">
|
||||||
|
<el-input v-model="form.documentCode" placeholder="请输入编码" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="证书名称" prop="documentName">
|
||||||
|
<el-input v-model="form.documentName" placeholder="请输入证书名称" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="评级" prop="documentRate">
|
||||||
|
<el-input v-model="form.documentRate" placeholder="请输入评级" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="开始时间" prop="startTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.startTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择开始时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="结束时间" prop="endTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="请选择结束时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="级别值" prop="level">
|
||||||
|
<el-input v-model="form.level" placeholder="请输入级别值" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="长期有效(0否,1是)" prop="longLalid">
|
||||||
|
<el-input v-model="form.longLalid" placeholder="请输入长期有效(0否,1是)" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="证书图片" prop="relatePhoto">
|
||||||
|
<el-input v-model="form.relatePhoto" type="textarea" placeholder="请输入内容" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="" prop="tempId">
|
||||||
|
<el-input v-model="form.tempId" placeholder="请输入" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="租户代码" prop="tenantCode">
|
||||||
|
<el-input v-model="form.tenantCode" placeholder="请输入租户代码" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注" prop="remark">
|
||||||
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
||||||
|
</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 { listMyzizhi, getMyzizhi, delMyzizhi, addMyzizhi, updateMyzizhi } from "@/api/bid/myzizhi"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Myzizhi",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
// 遮罩层
|
||||||
|
loading: true,
|
||||||
|
// 选中数组
|
||||||
|
ids: [],
|
||||||
|
// 非单个禁用
|
||||||
|
single: true,
|
||||||
|
// 非多个禁用
|
||||||
|
multiple: true,
|
||||||
|
// 显示搜索条件
|
||||||
|
showSearch: true,
|
||||||
|
// 总条数
|
||||||
|
total: 0,
|
||||||
|
// 资质管理表格数据
|
||||||
|
myzizhiList: [],
|
||||||
|
// 弹出层标题
|
||||||
|
title: "",
|
||||||
|
// 是否显示弹出层
|
||||||
|
open: false,
|
||||||
|
// 查询参数
|
||||||
|
queryParams: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
documentId: null,
|
||||||
|
documentCode: null,
|
||||||
|
documentName: null,
|
||||||
|
documentRate: null,
|
||||||
|
startTime: null,
|
||||||
|
endTime: null,
|
||||||
|
level: null,
|
||||||
|
longLalid: null,
|
||||||
|
relatePhoto: null,
|
||||||
|
status: null,
|
||||||
|
tempId: null,
|
||||||
|
tenantCode: null,
|
||||||
|
},
|
||||||
|
// 表单参数
|
||||||
|
form: {},
|
||||||
|
// 表单校验
|
||||||
|
rules: {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 查询资质管理列表 */
|
||||||
|
getList() {
|
||||||
|
this.loading = true
|
||||||
|
listMyzizhi(this.queryParams).then(response => {
|
||||||
|
this.myzizhiList = response.rows
|
||||||
|
this.total = response.total
|
||||||
|
this.loading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false
|
||||||
|
this.reset()
|
||||||
|
},
|
||||||
|
// 表单重置
|
||||||
|
reset() {
|
||||||
|
this.form = {
|
||||||
|
id: null,
|
||||||
|
documentId: null,
|
||||||
|
documentCode: null,
|
||||||
|
documentName: null,
|
||||||
|
documentRate: null,
|
||||||
|
startTime: null,
|
||||||
|
endTime: null,
|
||||||
|
level: null,
|
||||||
|
longLalid: null,
|
||||||
|
relatePhoto: null,
|
||||||
|
status: null,
|
||||||
|
tempId: null,
|
||||||
|
tenantCode: null,
|
||||||
|
createBy: null,
|
||||||
|
createTime: null,
|
||||||
|
updateBy: null,
|
||||||
|
updateTime: null,
|
||||||
|
remark: 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
|
||||||
|
getMyzizhi(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) {
|
||||||
|
updateMyzizhi(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("修改成功")
|
||||||
|
this.open = false
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
addMyzizhi(this.form).then(response => {
|
||||||
|
this.$modal.msgSuccess("新增成功")
|
||||||
|
this.open = false
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/** 删除按钮操作 */
|
||||||
|
handleDelete(row) {
|
||||||
|
const ids = row.id || this.ids
|
||||||
|
this.$modal.confirm('是否确认删除资质管理编号为"' + ids + '"的数据项?').then(function() {
|
||||||
|
return delMyzizhi(ids)
|
||||||
|
}).then(() => {
|
||||||
|
this.getList()
|
||||||
|
this.$modal.msgSuccess("删除成功")
|
||||||
|
}).catch(() => {})
|
||||||
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
this.download('bid/myzizhi/export', {
|
||||||
|
...this.queryParams
|
||||||
|
}, `myzizhi_${new Date().getTime()}.xlsx`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Loading…
Reference in new issue