commit
ce73b1db0c
@ -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.BidCompany;
|
||||
import com.ruoyi.bid.service.IBidCompanyService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 公司信息Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/bid/company")
|
||||
public class BidCompanyController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IBidCompanyService bidCompanyService;
|
||||
|
||||
/**
|
||||
* 查询公司信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BidCompany bidCompany)
|
||||
{
|
||||
startPage();
|
||||
List<BidCompany> list = bidCompanyService.selectBidCompanyList(bidCompany);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出公司信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:export')")
|
||||
@Log(title = "公司信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BidCompany bidCompany)
|
||||
{
|
||||
List<BidCompany> list = bidCompanyService.selectBidCompanyList(bidCompany);
|
||||
ExcelUtil<BidCompany> util = new ExcelUtil<BidCompany>(BidCompany.class);
|
||||
util.exportExcel(response, list, "公司信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取公司信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(bidCompanyService.selectBidCompanyById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增公司信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:add')")
|
||||
@Log(title = "公司信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BidCompany bidCompany)
|
||||
{
|
||||
return toAjax(bidCompanyService.insertBidCompany(bidCompany));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改公司信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:edit')")
|
||||
@Log(title = "公司信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BidCompany bidCompany)
|
||||
{
|
||||
return toAjax(bidCompanyService.updateBidCompany(bidCompany));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除公司信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:company:remove')")
|
||||
@Log(title = "公司信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(bidCompanyService.deleteBidCompanyByIds(ids));
|
||||
}
|
||||
}
|
||||
@ -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.BidZizhi;
|
||||
import com.ruoyi.bid.service.IBidZizhiService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 资质证书Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/bid/zizhi")
|
||||
public class BidZizhiController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IBidZizhiService bidZizhiService;
|
||||
|
||||
/**
|
||||
* 查询资质证书列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BidZizhi bidZizhi)
|
||||
{
|
||||
startPage();
|
||||
List<BidZizhi> list = bidZizhiService.selectBidZizhiList(bidZizhi);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出资质证书列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:export')")
|
||||
@Log(title = "资质证书", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, BidZizhi bidZizhi)
|
||||
{
|
||||
List<BidZizhi> list = bidZizhiService.selectBidZizhiList(bidZizhi);
|
||||
ExcelUtil<BidZizhi> util = new ExcelUtil<BidZizhi>(BidZizhi.class);
|
||||
util.exportExcel(response, list, "资质证书数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取资质证书详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(bidZizhiService.selectBidZizhiById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增资质证书
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:add')")
|
||||
@Log(title = "资质证书", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BidZizhi bidZizhi)
|
||||
{
|
||||
return toAjax(bidZizhiService.insertBidZizhi(bidZizhi));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改资质证书
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:edit')")
|
||||
@Log(title = "资质证书", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BidZizhi bidZizhi)
|
||||
{
|
||||
return toAjax(bidZizhiService.updateBidZizhi(bidZizhi));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除资质证书
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('bid:zizhi:remove')")
|
||||
@Log(title = "资质证书", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(bidZizhiService.deleteBidZizhiByIds(ids));
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,782 @@
|
||||
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_company
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public class BidCompany extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** ID */
|
||||
private Long id;
|
||||
|
||||
/** 公司ID */
|
||||
@Excel(name = "公司ID")
|
||||
private String companyId;
|
||||
|
||||
/** 租户代码 */
|
||||
@Excel(name = "租户代码")
|
||||
private String tenantCode;
|
||||
|
||||
/** 公司名称 */
|
||||
@Excel(name = "公司名称")
|
||||
private String companyName;
|
||||
|
||||
/** 帐户名称 */
|
||||
@Excel(name = "帐户名称")
|
||||
private String accountName;
|
||||
|
||||
/** 开户银行 */
|
||||
@Excel(name = "开户银行")
|
||||
private String accountBank;
|
||||
|
||||
/** 银行地址 */
|
||||
@Excel(name = "银行地址")
|
||||
private String bankAddress;
|
||||
|
||||
/** 开户许可证照片 */
|
||||
@Excel(name = "开户许可证照片")
|
||||
private String annex;
|
||||
|
||||
/** 银行账号 */
|
||||
@Excel(name = "银行账号")
|
||||
private String bankAccount;
|
||||
|
||||
/** 银行行号 */
|
||||
@Excel(name = "银行行号")
|
||||
private String bankNo;
|
||||
|
||||
/** 银行电话 */
|
||||
@Excel(name = "银行电话")
|
||||
private String bankPhone;
|
||||
|
||||
/** 授权委托人 */
|
||||
@Excel(name = "授权委托人")
|
||||
private String trueName;
|
||||
|
||||
/** 职位 */
|
||||
@Excel(name = "职位")
|
||||
private String position;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String sex;
|
||||
|
||||
/** 身份证照片 */
|
||||
@Excel(name = "身份证照片")
|
||||
private String idPhpto;
|
||||
|
||||
/** 身份证号 */
|
||||
@Excel(name = "身份证号")
|
||||
private String idNumber;
|
||||
|
||||
/** 生日 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date birthday;
|
||||
|
||||
/** 开始日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date idCardStart;
|
||||
|
||||
/** 结束日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date idCardEnd;
|
||||
|
||||
/** 最大进度 */
|
||||
@Excel(name = "最大进度")
|
||||
private String maxProgress;
|
||||
|
||||
/** 企业ID */
|
||||
@Excel(name = "企业ID")
|
||||
private String businessId;
|
||||
|
||||
/** 电话号码 */
|
||||
@Excel(name = "电话号码")
|
||||
private String phoneNumber;
|
||||
|
||||
/** 统一社会信用代码 */
|
||||
@Excel(name = "统一社会信用代码")
|
||||
private String socialCode;
|
||||
|
||||
/** 公司性质 */
|
||||
@Excel(name = "公司性质")
|
||||
private String nature;
|
||||
|
||||
/** 登记机关 */
|
||||
@Excel(name = "登记机关")
|
||||
private String authority;
|
||||
|
||||
/** 开始时间 */
|
||||
@Excel(name = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
/** 邮箱 */
|
||||
@Excel(name = "邮箱")
|
||||
private String email;
|
||||
|
||||
/** 营业执照 */
|
||||
@Excel(name = "营业执照")
|
||||
private String businessLicense;
|
||||
|
||||
/** 法定代表人 */
|
||||
@Excel(name = "法定代表人")
|
||||
private String legalRepresentative;
|
||||
|
||||
/** 注册资本 */
|
||||
@Excel(name = "注册资本")
|
||||
private String registeredCapital;
|
||||
|
||||
/** 地址 */
|
||||
@Excel(name = "地址")
|
||||
private String address;
|
||||
|
||||
/** 完整地址 */
|
||||
@Excel(name = "完整地址")
|
||||
private String fullAddress;
|
||||
|
||||
/** 注册时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date registeredTime;
|
||||
|
||||
/** 经营开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "经营开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date businessStart;
|
||||
|
||||
/** 经营结束时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "经营结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date businessEnd;
|
||||
|
||||
/** 经营范围 */
|
||||
@Excel(name = "经营范围")
|
||||
private String businessScope;
|
||||
|
||||
/** 企业基础代码 */
|
||||
@Excel(name = "企业基础代码")
|
||||
private String companyBasicId;
|
||||
|
||||
/** 企业大小 */
|
||||
@Excel(name = "企业大小")
|
||||
private String enterpriseSize;
|
||||
|
||||
/** 行业 */
|
||||
@Excel(name = "行业")
|
||||
private String industry;
|
||||
|
||||
/** 网站 */
|
||||
@Excel(name = "网站")
|
||||
private String website;
|
||||
|
||||
/** 公司联系电话 */
|
||||
@Excel(name = "公司联系电话")
|
||||
private String contactPhone;
|
||||
|
||||
/** 邮编 */
|
||||
@Excel(name = "邮编")
|
||||
private String postcode;
|
||||
|
||||
/** 传真 */
|
||||
@Excel(name = "传真")
|
||||
private String fax;
|
||||
|
||||
/** 安全许可证 */
|
||||
@Excel(name = "安全许可证")
|
||||
private String securityLicense;
|
||||
|
||||
/** 安全许可证开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "安全许可证开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date securityStart;
|
||||
|
||||
/** 安全许可证结束时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "安全许可证结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date securityEnd;
|
||||
|
||||
/** 结构 */
|
||||
@Excel(name = "结构")
|
||||
private String structure;
|
||||
|
||||
/** 公司简介 */
|
||||
@Excel(name = "公司简介")
|
||||
private String companyProfile;
|
||||
|
||||
/** 描述 */
|
||||
@Excel(name = "描述")
|
||||
private String softPowerText;
|
||||
|
||||
/** 图片 */
|
||||
@Excel(name = "图片")
|
||||
private String softPowerImg;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setCompanyId(String companyId)
|
||||
{
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public String getCompanyId()
|
||||
{
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setTenantCode(String tenantCode)
|
||||
{
|
||||
this.tenantCode = tenantCode;
|
||||
}
|
||||
|
||||
public String getTenantCode()
|
||||
{
|
||||
return tenantCode;
|
||||
}
|
||||
|
||||
public void setCompanyName(String companyName)
|
||||
{
|
||||
this.companyName = companyName;
|
||||
}
|
||||
|
||||
public String getCompanyName()
|
||||
{
|
||||
return companyName;
|
||||
}
|
||||
|
||||
public void setAccountName(String accountName)
|
||||
{
|
||||
this.accountName = accountName;
|
||||
}
|
||||
|
||||
public String getAccountName()
|
||||
{
|
||||
return accountName;
|
||||
}
|
||||
|
||||
public void setAccountBank(String accountBank)
|
||||
{
|
||||
this.accountBank = accountBank;
|
||||
}
|
||||
|
||||
public String getAccountBank()
|
||||
{
|
||||
return accountBank;
|
||||
}
|
||||
|
||||
public void setBankAddress(String bankAddress)
|
||||
{
|
||||
this.bankAddress = bankAddress;
|
||||
}
|
||||
|
||||
public String getBankAddress()
|
||||
{
|
||||
return bankAddress;
|
||||
}
|
||||
|
||||
public void setAnnex(String annex)
|
||||
{
|
||||
this.annex = annex;
|
||||
}
|
||||
|
||||
public String getAnnex()
|
||||
{
|
||||
return annex;
|
||||
}
|
||||
|
||||
public void setBankAccount(String bankAccount)
|
||||
{
|
||||
this.bankAccount = bankAccount;
|
||||
}
|
||||
|
||||
public String getBankAccount()
|
||||
{
|
||||
return bankAccount;
|
||||
}
|
||||
|
||||
public void setBankNo(String bankNo)
|
||||
{
|
||||
this.bankNo = bankNo;
|
||||
}
|
||||
|
||||
public String getBankNo()
|
||||
{
|
||||
return bankNo;
|
||||
}
|
||||
|
||||
public void setBankPhone(String bankPhone)
|
||||
{
|
||||
this.bankPhone = bankPhone;
|
||||
}
|
||||
|
||||
public String getBankPhone()
|
||||
{
|
||||
return bankPhone;
|
||||
}
|
||||
|
||||
public void setTrueName(String trueName)
|
||||
{
|
||||
this.trueName = trueName;
|
||||
}
|
||||
|
||||
public String getTrueName()
|
||||
{
|
||||
return trueName;
|
||||
}
|
||||
|
||||
public void setPosition(String position)
|
||||
{
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getPosition()
|
||||
{
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setSex(String sex)
|
||||
{
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getSex()
|
||||
{
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setIdPhpto(String idPhpto)
|
||||
{
|
||||
this.idPhpto = idPhpto;
|
||||
}
|
||||
|
||||
public String getIdPhpto()
|
||||
{
|
||||
return idPhpto;
|
||||
}
|
||||
|
||||
public void setIdNumber(String idNumber)
|
||||
{
|
||||
this.idNumber = idNumber;
|
||||
}
|
||||
|
||||
public String getIdNumber()
|
||||
{
|
||||
return idNumber;
|
||||
}
|
||||
|
||||
public void setBirthday(Date birthday)
|
||||
{
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
public Date getBirthday()
|
||||
{
|
||||
return birthday;
|
||||
}
|
||||
|
||||
public void setIdCardStart(Date idCardStart)
|
||||
{
|
||||
this.idCardStart = idCardStart;
|
||||
}
|
||||
|
||||
public Date getIdCardStart()
|
||||
{
|
||||
return idCardStart;
|
||||
}
|
||||
|
||||
public void setIdCardEnd(Date idCardEnd)
|
||||
{
|
||||
this.idCardEnd = idCardEnd;
|
||||
}
|
||||
|
||||
public Date getIdCardEnd()
|
||||
{
|
||||
return idCardEnd;
|
||||
}
|
||||
|
||||
public void setMaxProgress(String maxProgress)
|
||||
{
|
||||
this.maxProgress = maxProgress;
|
||||
}
|
||||
|
||||
public String getMaxProgress()
|
||||
{
|
||||
return maxProgress;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId)
|
||||
{
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getBusinessId()
|
||||
{
|
||||
return businessId;
|
||||
}
|
||||
|
||||
public void setPhoneNumber(String phoneNumber)
|
||||
{
|
||||
this.phoneNumber = phoneNumber;
|
||||
}
|
||||
|
||||
public String getPhoneNumber()
|
||||
{
|
||||
return phoneNumber;
|
||||
}
|
||||
|
||||
public void setSocialCode(String socialCode)
|
||||
{
|
||||
this.socialCode = socialCode;
|
||||
}
|
||||
|
||||
public String getSocialCode()
|
||||
{
|
||||
return socialCode;
|
||||
}
|
||||
|
||||
public void setNature(String nature)
|
||||
{
|
||||
this.nature = nature;
|
||||
}
|
||||
|
||||
public String getNature()
|
||||
{
|
||||
return nature;
|
||||
}
|
||||
|
||||
public void setAuthority(String authority)
|
||||
{
|
||||
this.authority = authority;
|
||||
}
|
||||
|
||||
public String getAuthority()
|
||||
{
|
||||
return authority;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime)
|
||||
{
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getStartTime()
|
||||
{
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setEmail(String email)
|
||||
{
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getEmail()
|
||||
{
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setBusinessLicense(String businessLicense)
|
||||
{
|
||||
this.businessLicense = businessLicense;
|
||||
}
|
||||
|
||||
public String getBusinessLicense()
|
||||
{
|
||||
return businessLicense;
|
||||
}
|
||||
|
||||
public void setLegalRepresentative(String legalRepresentative)
|
||||
{
|
||||
this.legalRepresentative = legalRepresentative;
|
||||
}
|
||||
|
||||
public String getLegalRepresentative()
|
||||
{
|
||||
return legalRepresentative;
|
||||
}
|
||||
|
||||
public void setRegisteredCapital(String registeredCapital)
|
||||
{
|
||||
this.registeredCapital = registeredCapital;
|
||||
}
|
||||
|
||||
public String getRegisteredCapital()
|
||||
{
|
||||
return registeredCapital;
|
||||
}
|
||||
|
||||
public void setAddress(String address)
|
||||
{
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getAddress()
|
||||
{
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setFullAddress(String fullAddress)
|
||||
{
|
||||
this.fullAddress = fullAddress;
|
||||
}
|
||||
|
||||
public String getFullAddress()
|
||||
{
|
||||
return fullAddress;
|
||||
}
|
||||
|
||||
public void setRegisteredTime(Date registeredTime)
|
||||
{
|
||||
this.registeredTime = registeredTime;
|
||||
}
|
||||
|
||||
public Date getRegisteredTime()
|
||||
{
|
||||
return registeredTime;
|
||||
}
|
||||
|
||||
public void setBusinessStart(Date businessStart)
|
||||
{
|
||||
this.businessStart = businessStart;
|
||||
}
|
||||
|
||||
public Date getBusinessStart()
|
||||
{
|
||||
return businessStart;
|
||||
}
|
||||
|
||||
public void setBusinessEnd(Date businessEnd)
|
||||
{
|
||||
this.businessEnd = businessEnd;
|
||||
}
|
||||
|
||||
public Date getBusinessEnd()
|
||||
{
|
||||
return businessEnd;
|
||||
}
|
||||
|
||||
public void setBusinessScope(String businessScope)
|
||||
{
|
||||
this.businessScope = businessScope;
|
||||
}
|
||||
|
||||
public String getBusinessScope()
|
||||
{
|
||||
return businessScope;
|
||||
}
|
||||
|
||||
public void setCompanyBasicId(String companyBasicId)
|
||||
{
|
||||
this.companyBasicId = companyBasicId;
|
||||
}
|
||||
|
||||
public String getCompanyBasicId()
|
||||
{
|
||||
return companyBasicId;
|
||||
}
|
||||
|
||||
public void setEnterpriseSize(String enterpriseSize)
|
||||
{
|
||||
this.enterpriseSize = enterpriseSize;
|
||||
}
|
||||
|
||||
public String getEnterpriseSize()
|
||||
{
|
||||
return enterpriseSize;
|
||||
}
|
||||
|
||||
public void setIndustry(String industry)
|
||||
{
|
||||
this.industry = industry;
|
||||
}
|
||||
|
||||
public String getIndustry()
|
||||
{
|
||||
return industry;
|
||||
}
|
||||
|
||||
public void setWebsite(String website)
|
||||
{
|
||||
this.website = website;
|
||||
}
|
||||
|
||||
public String getWebsite()
|
||||
{
|
||||
return website;
|
||||
}
|
||||
|
||||
public void setContactPhone(String contactPhone)
|
||||
{
|
||||
this.contactPhone = contactPhone;
|
||||
}
|
||||
|
||||
public String getContactPhone()
|
||||
{
|
||||
return contactPhone;
|
||||
}
|
||||
|
||||
public void setPostcode(String postcode)
|
||||
{
|
||||
this.postcode = postcode;
|
||||
}
|
||||
|
||||
public String getPostcode()
|
||||
{
|
||||
return postcode;
|
||||
}
|
||||
|
||||
public void setFax(String fax)
|
||||
{
|
||||
this.fax = fax;
|
||||
}
|
||||
|
||||
public String getFax()
|
||||
{
|
||||
return fax;
|
||||
}
|
||||
|
||||
public void setSecurityLicense(String securityLicense)
|
||||
{
|
||||
this.securityLicense = securityLicense;
|
||||
}
|
||||
|
||||
public String getSecurityLicense()
|
||||
{
|
||||
return securityLicense;
|
||||
}
|
||||
|
||||
public void setSecurityStart(Date securityStart)
|
||||
{
|
||||
this.securityStart = securityStart;
|
||||
}
|
||||
|
||||
public Date getSecurityStart()
|
||||
{
|
||||
return securityStart;
|
||||
}
|
||||
|
||||
public void setSecurityEnd(Date securityEnd)
|
||||
{
|
||||
this.securityEnd = securityEnd;
|
||||
}
|
||||
|
||||
public Date getSecurityEnd()
|
||||
{
|
||||
return securityEnd;
|
||||
}
|
||||
|
||||
public void setStructure(String structure)
|
||||
{
|
||||
this.structure = structure;
|
||||
}
|
||||
|
||||
public String getStructure()
|
||||
{
|
||||
return structure;
|
||||
}
|
||||
|
||||
public void setCompanyProfile(String companyProfile)
|
||||
{
|
||||
this.companyProfile = companyProfile;
|
||||
}
|
||||
|
||||
public String getCompanyProfile()
|
||||
{
|
||||
return companyProfile;
|
||||
}
|
||||
|
||||
public void setSoftPowerText(String softPowerText)
|
||||
{
|
||||
this.softPowerText = softPowerText;
|
||||
}
|
||||
|
||||
public String getSoftPowerText()
|
||||
{
|
||||
return softPowerText;
|
||||
}
|
||||
|
||||
public void setSoftPowerImg(String softPowerImg)
|
||||
{
|
||||
this.softPowerImg = softPowerImg;
|
||||
}
|
||||
|
||||
public String getSoftPowerImg()
|
||||
{
|
||||
return softPowerImg;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("companyId", getCompanyId())
|
||||
.append("tenantCode", getTenantCode())
|
||||
.append("companyName", getCompanyName())
|
||||
.append("accountName", getAccountName())
|
||||
.append("accountBank", getAccountBank())
|
||||
.append("bankAddress", getBankAddress())
|
||||
.append("annex", getAnnex())
|
||||
.append("bankAccount", getBankAccount())
|
||||
.append("bankNo", getBankNo())
|
||||
.append("bankPhone", getBankPhone())
|
||||
.append("trueName", getTrueName())
|
||||
.append("position", getPosition())
|
||||
.append("sex", getSex())
|
||||
.append("idPhpto", getIdPhpto())
|
||||
.append("idNumber", getIdNumber())
|
||||
.append("birthday", getBirthday())
|
||||
.append("idCardStart", getIdCardStart())
|
||||
.append("idCardEnd", getIdCardEnd())
|
||||
.append("maxProgress", getMaxProgress())
|
||||
.append("businessId", getBusinessId())
|
||||
.append("phoneNumber", getPhoneNumber())
|
||||
.append("socialCode", getSocialCode())
|
||||
.append("nature", getNature())
|
||||
.append("authority", getAuthority())
|
||||
.append("startTime", getStartTime())
|
||||
.append("email", getEmail())
|
||||
.append("businessLicense", getBusinessLicense())
|
||||
.append("legalRepresentative", getLegalRepresentative())
|
||||
.append("registeredCapital", getRegisteredCapital())
|
||||
.append("address", getAddress())
|
||||
.append("fullAddress", getFullAddress())
|
||||
.append("registeredTime", getRegisteredTime())
|
||||
.append("businessStart", getBusinessStart())
|
||||
.append("businessEnd", getBusinessEnd())
|
||||
.append("businessScope", getBusinessScope())
|
||||
.append("companyBasicId", getCompanyBasicId())
|
||||
.append("enterpriseSize", getEnterpriseSize())
|
||||
.append("industry", getIndustry())
|
||||
.append("website", getWebsite())
|
||||
.append("contactPhone", getContactPhone())
|
||||
.append("postcode", getPostcode())
|
||||
.append("fax", getFax())
|
||||
.append("securityLicense", getSecurityLicense())
|
||||
.append("securityStart", getSecurityStart())
|
||||
.append("securityEnd", getSecurityEnd())
|
||||
.append("structure", getStructure())
|
||||
.append("companyProfile", getCompanyProfile())
|
||||
.append("softPowerText", getSoftPowerText())
|
||||
.append("softPowerImg", getSoftPowerImg())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
package com.ruoyi.bid.domain;
|
||||
|
||||
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_zizhi
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public class BidZizhi extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** ID */
|
||||
private Long id;
|
||||
|
||||
/** 租户代码 */
|
||||
@Excel(name = "租户代码")
|
||||
private String tenantCode;
|
||||
|
||||
/** 证书名称 */
|
||||
@Excel(name = "证书名称")
|
||||
private String documentName;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setTenantCode(String tenantCode)
|
||||
{
|
||||
this.tenantCode = tenantCode;
|
||||
}
|
||||
|
||||
public String getTenantCode()
|
||||
{
|
||||
return tenantCode;
|
||||
}
|
||||
|
||||
public void setDocumentName(String documentName)
|
||||
{
|
||||
this.documentName = documentName;
|
||||
}
|
||||
|
||||
public String getDocumentName()
|
||||
{
|
||||
return documentName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("tenantCode", getTenantCode())
|
||||
.append("documentName", getDocumentName())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.bid.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.bid.domain.BidCompany;
|
||||
|
||||
/**
|
||||
* 公司信息Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public interface BidCompanyMapper
|
||||
{
|
||||
/**
|
||||
* 查询公司信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 公司信息
|
||||
*/
|
||||
public BidCompany selectBidCompanyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询公司信息列表
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 公司信息集合
|
||||
*/
|
||||
public List<BidCompany> selectBidCompanyList(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 新增公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBidCompany(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 修改公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBidCompany(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 删除公司信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidCompanyById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除公司信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidCompanyByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.bid.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.bid.domain.BidZizhi;
|
||||
|
||||
/**
|
||||
* 资质证书Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public interface BidZizhiMapper
|
||||
{
|
||||
/**
|
||||
* 查询资质证书
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 资质证书
|
||||
*/
|
||||
public BidZizhi selectBidZizhiById(Long id);
|
||||
|
||||
/**
|
||||
* 查询资质证书列表
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 资质证书集合
|
||||
*/
|
||||
public List<BidZizhi> selectBidZizhiList(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 新增资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBidZizhi(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 修改资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBidZizhi(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 删除资质证书
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidZizhiById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除资质证书
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidZizhiByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.bid.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.bid.domain.BidCompany;
|
||||
|
||||
/**
|
||||
* 公司信息Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public interface IBidCompanyService
|
||||
{
|
||||
/**
|
||||
* 查询公司信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 公司信息
|
||||
*/
|
||||
public BidCompany selectBidCompanyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询公司信息列表
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 公司信息集合
|
||||
*/
|
||||
public List<BidCompany> selectBidCompanyList(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 新增公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBidCompany(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 修改公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBidCompany(BidCompany bidCompany);
|
||||
|
||||
/**
|
||||
* 批量删除公司信息
|
||||
*
|
||||
* @param ids 需要删除的公司信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidCompanyByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除公司信息信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidCompanyById(Long id);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.bid.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.bid.domain.BidZizhi;
|
||||
|
||||
/**
|
||||
* 资质证书Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
public interface IBidZizhiService
|
||||
{
|
||||
/**
|
||||
* 查询资质证书
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 资质证书
|
||||
*/
|
||||
public BidZizhi selectBidZizhiById(Long id);
|
||||
|
||||
/**
|
||||
* 查询资质证书列表
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 资质证书集合
|
||||
*/
|
||||
public List<BidZizhi> selectBidZizhiList(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 新增资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBidZizhi(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 修改资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBidZizhi(BidZizhi bidZizhi);
|
||||
|
||||
/**
|
||||
* 批量删除资质证书
|
||||
*
|
||||
* @param ids 需要删除的资质证书主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidZizhiByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除资质证书信息
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBidZizhiById(Long id);
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.bid.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.bid.mapper.BidCompanyMapper;
|
||||
import com.ruoyi.bid.domain.BidCompany;
|
||||
import com.ruoyi.bid.service.IBidCompanyService;
|
||||
|
||||
/**
|
||||
* 公司信息Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
@Service
|
||||
public class BidCompanyServiceImpl implements IBidCompanyService
|
||||
{
|
||||
@Autowired
|
||||
private BidCompanyMapper bidCompanyMapper;
|
||||
|
||||
/**
|
||||
* 查询公司信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 公司信息
|
||||
*/
|
||||
@Override
|
||||
public BidCompany selectBidCompanyById(Long id)
|
||||
{
|
||||
return bidCompanyMapper.selectBidCompanyById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询公司信息列表
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 公司信息
|
||||
*/
|
||||
@Override
|
||||
public List<BidCompany> selectBidCompanyList(BidCompany bidCompany)
|
||||
{
|
||||
return bidCompanyMapper.selectBidCompanyList(bidCompany);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertBidCompany(BidCompany bidCompany)
|
||||
{
|
||||
return bidCompanyMapper.insertBidCompany(bidCompany);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改公司信息
|
||||
*
|
||||
* @param bidCompany 公司信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateBidCompany(BidCompany bidCompany)
|
||||
{
|
||||
return bidCompanyMapper.updateBidCompany(bidCompany);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除公司信息
|
||||
*
|
||||
* @param ids 需要删除的公司信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBidCompanyByIds(Long[] ids)
|
||||
{
|
||||
return bidCompanyMapper.deleteBidCompanyByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除公司信息信息
|
||||
*
|
||||
* @param id 公司信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBidCompanyById(Long id)
|
||||
{
|
||||
return bidCompanyMapper.deleteBidCompanyById(id);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ruoyi.bid.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.bid.mapper.BidZizhiMapper;
|
||||
import com.ruoyi.bid.domain.BidZizhi;
|
||||
import com.ruoyi.bid.service.IBidZizhiService;
|
||||
|
||||
/**
|
||||
* 资质证书Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-10
|
||||
*/
|
||||
@Service
|
||||
public class BidZizhiServiceImpl implements IBidZizhiService
|
||||
{
|
||||
@Autowired
|
||||
private BidZizhiMapper bidZizhiMapper;
|
||||
|
||||
/**
|
||||
* 查询资质证书
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 资质证书
|
||||
*/
|
||||
@Override
|
||||
public BidZizhi selectBidZizhiById(Long id)
|
||||
{
|
||||
return bidZizhiMapper.selectBidZizhiById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询资质证书列表
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 资质证书
|
||||
*/
|
||||
@Override
|
||||
public List<BidZizhi> selectBidZizhiList(BidZizhi bidZizhi)
|
||||
{
|
||||
return bidZizhiMapper.selectBidZizhiList(bidZizhi);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertBidZizhi(BidZizhi bidZizhi)
|
||||
{
|
||||
return bidZizhiMapper.insertBidZizhi(bidZizhi);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改资质证书
|
||||
*
|
||||
* @param bidZizhi 资质证书
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateBidZizhi(BidZizhi bidZizhi)
|
||||
{
|
||||
return bidZizhiMapper.updateBidZizhi(bidZizhi);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除资质证书
|
||||
*
|
||||
* @param ids 需要删除的资质证书主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBidZizhiByIds(Long[] ids)
|
||||
{
|
||||
return bidZizhiMapper.deleteBidZizhiByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除资质证书信息
|
||||
*
|
||||
* @param id 资质证书主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBidZizhiById(Long id)
|
||||
{
|
||||
return bidZizhiMapper.deleteBidZizhiById(id);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,296 @@
|
||||
<?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.BidCompanyMapper">
|
||||
|
||||
<resultMap type="BidCompany" id="BidCompanyResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="companyId" column="companyId" />
|
||||
<result property="tenantCode" column="tenant_code" />
|
||||
<result property="companyName" column="company_name" />
|
||||
<result property="accountName" column="account_name" />
|
||||
<result property="accountBank" column="account_bank" />
|
||||
<result property="bankAddress" column="bank_address" />
|
||||
<result property="annex" column="annex" />
|
||||
<result property="bankAccount" column="bank_account" />
|
||||
<result property="bankNo" column="bank_no" />
|
||||
<result property="bankPhone" column="bank_phone" />
|
||||
<result property="trueName" column="trueName" />
|
||||
<result property="position" column="position" />
|
||||
<result property="sex" column="sex" />
|
||||
<result property="idPhpto" column="id_phpto" />
|
||||
<result property="idNumber" column="id_number" />
|
||||
<result property="birthday" column="birthday" />
|
||||
<result property="idCardStart" column="id_card_start" />
|
||||
<result property="idCardEnd" column="id_card_end" />
|
||||
<result property="maxProgress" column="max_progress" />
|
||||
<result property="businessId" column="business_id" />
|
||||
<result property="phoneNumber" column="phone_number" />
|
||||
<result property="socialCode" column="social_code" />
|
||||
<result property="nature" column="nature" />
|
||||
<result property="authority" column="authority" />
|
||||
<result property="startTime" column="startTime" />
|
||||
<result property="email" column="email" />
|
||||
<result property="businessLicense" column="business_license" />
|
||||
<result property="legalRepresentative" column="legal_representative" />
|
||||
<result property="registeredCapital" column="registered_capital" />
|
||||
<result property="address" column="address" />
|
||||
<result property="fullAddress" column="full_address" />
|
||||
<result property="registeredTime" column="registered_time" />
|
||||
<result property="businessStart" column="business_start" />
|
||||
<result property="businessEnd" column="business_end" />
|
||||
<result property="businessScope" column="business_scope" />
|
||||
<result property="companyBasicId" column="company_basic_id" />
|
||||
<result property="enterpriseSize" column="enterprise_size" />
|
||||
<result property="industry" column="industry" />
|
||||
<result property="website" column="website" />
|
||||
<result property="contactPhone" column="contact_phone" />
|
||||
<result property="postcode" column="postcode" />
|
||||
<result property="fax" column="fax" />
|
||||
<result property="securityLicense" column="security_license" />
|
||||
<result property="securityStart" column="security_start" />
|
||||
<result property="securityEnd" column="security_end" />
|
||||
<result property="structure" column="structure" />
|
||||
<result property="companyProfile" column="company_profile" />
|
||||
<result property="softPowerText" column="soft_power_text" />
|
||||
<result property="softPowerImg" column="soft_power_img" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBidCompanyVo">
|
||||
select id, companyId, tenant_code, company_name, account_name, account_bank, bank_address, annex, bank_account, bank_no, bank_phone, trueName, position, sex, id_phpto, id_number, birthday, id_card_start, id_card_end, max_progress, business_id, phone_number, social_code, nature, authority, startTime, email, business_license, legal_representative, registered_capital, address, full_address, registered_time, business_start, business_end, business_scope, company_basic_id, enterprise_size, industry, website, contact_phone, postcode, fax, security_license, security_start, security_end, structure, company_profile, soft_power_text, soft_power_img from bid_company
|
||||
</sql>
|
||||
|
||||
<select id="selectBidCompanyList" parameterType="BidCompany" resultMap="BidCompanyResult">
|
||||
<include refid="selectBidCompanyVo"/>
|
||||
<where>
|
||||
<if test="companyId != null and companyId != ''"> and companyId = #{companyId}</if>
|
||||
<if test="tenantCode != null and tenantCode != ''"> and tenant_code = #{tenantCode}</if>
|
||||
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
|
||||
<if test="accountName != null and accountName != ''"> and account_name like concat('%', #{accountName}, '%')</if>
|
||||
<if test="accountBank != null and accountBank != ''"> and account_bank = #{accountBank}</if>
|
||||
<if test="bankAddress != null and bankAddress != ''"> and bank_address = #{bankAddress}</if>
|
||||
<if test="annex != null and annex != ''"> and annex = #{annex}</if>
|
||||
<if test="bankAccount != null and bankAccount != ''"> and bank_account = #{bankAccount}</if>
|
||||
<if test="bankNo != null and bankNo != ''"> and bank_no = #{bankNo}</if>
|
||||
<if test="bankPhone != null and bankPhone != ''"> and bank_phone = #{bankPhone}</if>
|
||||
<if test="trueName != null and trueName != ''"> and trueName like concat('%', #{trueName}, '%')</if>
|
||||
<if test="position != null and position != ''"> and position = #{position}</if>
|
||||
<if test="sex != null and sex != ''"> and sex = #{sex}</if>
|
||||
<if test="idPhpto != null and idPhpto != ''"> and id_phpto = #{idPhpto}</if>
|
||||
<if test="idNumber != null and idNumber != ''"> and id_number = #{idNumber}</if>
|
||||
<if test="birthday != null "> and birthday = #{birthday}</if>
|
||||
<if test="idCardStart != null "> and id_card_start = #{idCardStart}</if>
|
||||
<if test="idCardEnd != null "> and id_card_end = #{idCardEnd}</if>
|
||||
<if test="maxProgress != null and maxProgress != ''"> and max_progress = #{maxProgress}</if>
|
||||
<if test="businessId != null and businessId != ''"> and business_id = #{businessId}</if>
|
||||
<if test="phoneNumber != null and phoneNumber != ''"> and phone_number = #{phoneNumber}</if>
|
||||
<if test="socialCode != null and socialCode != ''"> and social_code = #{socialCode}</if>
|
||||
<if test="nature != null and nature != ''"> and nature = #{nature}</if>
|
||||
<if test="authority != null and authority != ''"> and authority = #{authority}</if>
|
||||
<if test="startTime != null and startTime != ''"> and startTime = #{startTime}</if>
|
||||
<if test="email != null and email != ''"> and email = #{email}</if>
|
||||
<if test="businessLicense != null and businessLicense != ''"> and business_license = #{businessLicense}</if>
|
||||
<if test="legalRepresentative != null and legalRepresentative != ''"> and legal_representative = #{legalRepresentative}</if>
|
||||
<if test="registeredCapital != null and registeredCapital != ''"> and registered_capital = #{registeredCapital}</if>
|
||||
<if test="address != null and address != ''"> and address = #{address}</if>
|
||||
<if test="fullAddress != null and fullAddress != ''"> and full_address = #{fullAddress}</if>
|
||||
<if test="registeredTime != null "> and registered_time = #{registeredTime}</if>
|
||||
<if test="businessStart != null "> and business_start = #{businessStart}</if>
|
||||
<if test="businessEnd != null "> and business_end = #{businessEnd}</if>
|
||||
<if test="businessScope != null and businessScope != ''"> and business_scope = #{businessScope}</if>
|
||||
<if test="companyBasicId != null and companyBasicId != ''"> and company_basic_id = #{companyBasicId}</if>
|
||||
<if test="enterpriseSize != null and enterpriseSize != ''"> and enterprise_size = #{enterpriseSize}</if>
|
||||
<if test="industry != null and industry != ''"> and industry = #{industry}</if>
|
||||
<if test="website != null and website != ''"> and website = #{website}</if>
|
||||
<if test="contactPhone != null and contactPhone != ''"> and contact_phone = #{contactPhone}</if>
|
||||
<if test="postcode != null and postcode != ''"> and postcode = #{postcode}</if>
|
||||
<if test="fax != null and fax != ''"> and fax = #{fax}</if>
|
||||
<if test="securityLicense != null and securityLicense != ''"> and security_license = #{securityLicense}</if>
|
||||
<if test="securityStart != null "> and security_start = #{securityStart}</if>
|
||||
<if test="securityEnd != null "> and security_end = #{securityEnd}</if>
|
||||
<if test="structure != null and structure != ''"> and structure = #{structure}</if>
|
||||
<if test="companyProfile != null and companyProfile != ''"> and company_profile = #{companyProfile}</if>
|
||||
<if test="softPowerText != null and softPowerText != ''"> and soft_power_text = #{softPowerText}</if>
|
||||
<if test="softPowerImg != null and softPowerImg != ''"> and soft_power_img = #{softPowerImg}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBidCompanyById" parameterType="Long" resultMap="BidCompanyResult">
|
||||
<include refid="selectBidCompanyVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBidCompany" parameterType="BidCompany" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into bid_company
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">companyId,</if>
|
||||
<if test="tenantCode != null">tenant_code,</if>
|
||||
<if test="companyName != null">company_name,</if>
|
||||
<if test="accountName != null">account_name,</if>
|
||||
<if test="accountBank != null">account_bank,</if>
|
||||
<if test="bankAddress != null">bank_address,</if>
|
||||
<if test="annex != null">annex,</if>
|
||||
<if test="bankAccount != null">bank_account,</if>
|
||||
<if test="bankNo != null">bank_no,</if>
|
||||
<if test="bankPhone != null">bank_phone,</if>
|
||||
<if test="trueName != null">trueName,</if>
|
||||
<if test="position != null">position,</if>
|
||||
<if test="sex != null">sex,</if>
|
||||
<if test="idPhpto != null">id_phpto,</if>
|
||||
<if test="idNumber != null">id_number,</if>
|
||||
<if test="birthday != null">birthday,</if>
|
||||
<if test="idCardStart != null">id_card_start,</if>
|
||||
<if test="idCardEnd != null">id_card_end,</if>
|
||||
<if test="maxProgress != null">max_progress,</if>
|
||||
<if test="businessId != null">business_id,</if>
|
||||
<if test="phoneNumber != null">phone_number,</if>
|
||||
<if test="socialCode != null">social_code,</if>
|
||||
<if test="nature != null">nature,</if>
|
||||
<if test="authority != null">authority,</if>
|
||||
<if test="startTime != null">startTime,</if>
|
||||
<if test="email != null">email,</if>
|
||||
<if test="businessLicense != null">business_license,</if>
|
||||
<if test="legalRepresentative != null">legal_representative,</if>
|
||||
<if test="registeredCapital != null">registered_capital,</if>
|
||||
<if test="address != null">address,</if>
|
||||
<if test="fullAddress != null">full_address,</if>
|
||||
<if test="registeredTime != null">registered_time,</if>
|
||||
<if test="businessStart != null">business_start,</if>
|
||||
<if test="businessEnd != null">business_end,</if>
|
||||
<if test="businessScope != null">business_scope,</if>
|
||||
<if test="companyBasicId != null">company_basic_id,</if>
|
||||
<if test="enterpriseSize != null">enterprise_size,</if>
|
||||
<if test="industry != null">industry,</if>
|
||||
<if test="website != null">website,</if>
|
||||
<if test="contactPhone != null">contact_phone,</if>
|
||||
<if test="postcode != null">postcode,</if>
|
||||
<if test="fax != null">fax,</if>
|
||||
<if test="securityLicense != null">security_license,</if>
|
||||
<if test="securityStart != null">security_start,</if>
|
||||
<if test="securityEnd != null">security_end,</if>
|
||||
<if test="structure != null">structure,</if>
|
||||
<if test="companyProfile != null">company_profile,</if>
|
||||
<if test="softPowerText != null">soft_power_text,</if>
|
||||
<if test="softPowerImg != null">soft_power_img,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
<if test="tenantCode != null">#{tenantCode},</if>
|
||||
<if test="companyName != null">#{companyName},</if>
|
||||
<if test="accountName != null">#{accountName},</if>
|
||||
<if test="accountBank != null">#{accountBank},</if>
|
||||
<if test="bankAddress != null">#{bankAddress},</if>
|
||||
<if test="annex != null">#{annex},</if>
|
||||
<if test="bankAccount != null">#{bankAccount},</if>
|
||||
<if test="bankNo != null">#{bankNo},</if>
|
||||
<if test="bankPhone != null">#{bankPhone},</if>
|
||||
<if test="trueName != null">#{trueName},</if>
|
||||
<if test="position != null">#{position},</if>
|
||||
<if test="sex != null">#{sex},</if>
|
||||
<if test="idPhpto != null">#{idPhpto},</if>
|
||||
<if test="idNumber != null">#{idNumber},</if>
|
||||
<if test="birthday != null">#{birthday},</if>
|
||||
<if test="idCardStart != null">#{idCardStart},</if>
|
||||
<if test="idCardEnd != null">#{idCardEnd},</if>
|
||||
<if test="maxProgress != null">#{maxProgress},</if>
|
||||
<if test="businessId != null">#{businessId},</if>
|
||||
<if test="phoneNumber != null">#{phoneNumber},</if>
|
||||
<if test="socialCode != null">#{socialCode},</if>
|
||||
<if test="nature != null">#{nature},</if>
|
||||
<if test="authority != null">#{authority},</if>
|
||||
<if test="startTime != null">#{startTime},</if>
|
||||
<if test="email != null">#{email},</if>
|
||||
<if test="businessLicense != null">#{businessLicense},</if>
|
||||
<if test="legalRepresentative != null">#{legalRepresentative},</if>
|
||||
<if test="registeredCapital != null">#{registeredCapital},</if>
|
||||
<if test="address != null">#{address},</if>
|
||||
<if test="fullAddress != null">#{fullAddress},</if>
|
||||
<if test="registeredTime != null">#{registeredTime},</if>
|
||||
<if test="businessStart != null">#{businessStart},</if>
|
||||
<if test="businessEnd != null">#{businessEnd},</if>
|
||||
<if test="businessScope != null">#{businessScope},</if>
|
||||
<if test="companyBasicId != null">#{companyBasicId},</if>
|
||||
<if test="enterpriseSize != null">#{enterpriseSize},</if>
|
||||
<if test="industry != null">#{industry},</if>
|
||||
<if test="website != null">#{website},</if>
|
||||
<if test="contactPhone != null">#{contactPhone},</if>
|
||||
<if test="postcode != null">#{postcode},</if>
|
||||
<if test="fax != null">#{fax},</if>
|
||||
<if test="securityLicense != null">#{securityLicense},</if>
|
||||
<if test="securityStart != null">#{securityStart},</if>
|
||||
<if test="securityEnd != null">#{securityEnd},</if>
|
||||
<if test="structure != null">#{structure},</if>
|
||||
<if test="companyProfile != null">#{companyProfile},</if>
|
||||
<if test="softPowerText != null">#{softPowerText},</if>
|
||||
<if test="softPowerImg != null">#{softPowerImg},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBidCompany" parameterType="BidCompany">
|
||||
update bid_company
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="companyId != null">companyId = #{companyId},</if>
|
||||
<if test="tenantCode != null">tenant_code = #{tenantCode},</if>
|
||||
<if test="companyName != null">company_name = #{companyName},</if>
|
||||
<if test="accountName != null">account_name = #{accountName},</if>
|
||||
<if test="accountBank != null">account_bank = #{accountBank},</if>
|
||||
<if test="bankAddress != null">bank_address = #{bankAddress},</if>
|
||||
<if test="annex != null">annex = #{annex},</if>
|
||||
<if test="bankAccount != null">bank_account = #{bankAccount},</if>
|
||||
<if test="bankNo != null">bank_no = #{bankNo},</if>
|
||||
<if test="bankPhone != null">bank_phone = #{bankPhone},</if>
|
||||
<if test="trueName != null">trueName = #{trueName},</if>
|
||||
<if test="position != null">position = #{position},</if>
|
||||
<if test="sex != null">sex = #{sex},</if>
|
||||
<if test="idPhpto != null">id_phpto = #{idPhpto},</if>
|
||||
<if test="idNumber != null">id_number = #{idNumber},</if>
|
||||
<if test="birthday != null">birthday = #{birthday},</if>
|
||||
<if test="idCardStart != null">id_card_start = #{idCardStart},</if>
|
||||
<if test="idCardEnd != null">id_card_end = #{idCardEnd},</if>
|
||||
<if test="maxProgress != null">max_progress = #{maxProgress},</if>
|
||||
<if test="businessId != null">business_id = #{businessId},</if>
|
||||
<if test="phoneNumber != null">phone_number = #{phoneNumber},</if>
|
||||
<if test="socialCode != null">social_code = #{socialCode},</if>
|
||||
<if test="nature != null">nature = #{nature},</if>
|
||||
<if test="authority != null">authority = #{authority},</if>
|
||||
<if test="startTime != null">startTime = #{startTime},</if>
|
||||
<if test="email != null">email = #{email},</if>
|
||||
<if test="businessLicense != null">business_license = #{businessLicense},</if>
|
||||
<if test="legalRepresentative != null">legal_representative = #{legalRepresentative},</if>
|
||||
<if test="registeredCapital != null">registered_capital = #{registeredCapital},</if>
|
||||
<if test="address != null">address = #{address},</if>
|
||||
<if test="fullAddress != null">full_address = #{fullAddress},</if>
|
||||
<if test="registeredTime != null">registered_time = #{registeredTime},</if>
|
||||
<if test="businessStart != null">business_start = #{businessStart},</if>
|
||||
<if test="businessEnd != null">business_end = #{businessEnd},</if>
|
||||
<if test="businessScope != null">business_scope = #{businessScope},</if>
|
||||
<if test="companyBasicId != null">company_basic_id = #{companyBasicId},</if>
|
||||
<if test="enterpriseSize != null">enterprise_size = #{enterpriseSize},</if>
|
||||
<if test="industry != null">industry = #{industry},</if>
|
||||
<if test="website != null">website = #{website},</if>
|
||||
<if test="contactPhone != null">contact_phone = #{contactPhone},</if>
|
||||
<if test="postcode != null">postcode = #{postcode},</if>
|
||||
<if test="fax != null">fax = #{fax},</if>
|
||||
<if test="securityLicense != null">security_license = #{securityLicense},</if>
|
||||
<if test="securityStart != null">security_start = #{securityStart},</if>
|
||||
<if test="securityEnd != null">security_end = #{securityEnd},</if>
|
||||
<if test="structure != null">structure = #{structure},</if>
|
||||
<if test="companyProfile != null">company_profile = #{companyProfile},</if>
|
||||
<if test="softPowerText != null">soft_power_text = #{softPowerText},</if>
|
||||
<if test="softPowerImg != null">soft_power_img = #{softPowerImg},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBidCompanyById" parameterType="Long">
|
||||
delete from bid_company where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBidCompanyByIds" parameterType="String">
|
||||
delete from bid_company where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@ -0,0 +1,65 @@
|
||||
<?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.BidZizhiMapper">
|
||||
|
||||
<resultMap type="BidZizhi" id="BidZizhiResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="tenantCode" column="tenant_code" />
|
||||
<result property="documentName" column="document_name" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBidZizhiVo">
|
||||
select id, tenant_code, document_name, remark from bid_zizhi
|
||||
</sql>
|
||||
|
||||
<select id="selectBidZizhiList" parameterType="BidZizhi" resultMap="BidZizhiResult">
|
||||
<include refid="selectBidZizhiVo"/>
|
||||
<where>
|
||||
<if test="tenantCode != null and tenantCode != ''"> and tenant_code = #{tenantCode}</if>
|
||||
<if test="documentName != null and documentName != ''"> and document_name like concat('%', #{documentName}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBidZizhiById" parameterType="Long" resultMap="BidZizhiResult">
|
||||
<include refid="selectBidZizhiVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBidZizhi" parameterType="BidZizhi" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into bid_zizhi
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantCode != null">tenant_code,</if>
|
||||
<if test="documentName != null">document_name,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantCode != null">#{tenantCode},</if>
|
||||
<if test="documentName != null">#{documentName},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBidZizhi" parameterType="BidZizhi">
|
||||
update bid_zizhi
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="tenantCode != null">tenant_code = #{tenantCode},</if>
|
||||
<if test="documentName != null">document_name = #{documentName},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBidZizhiById" parameterType="Long">
|
||||
delete from bid_zizhi where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBidZizhiByIds" parameterType="String">
|
||||
delete from bid_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 listCompany(query) {
|
||||
return request({
|
||||
url: '/bid/company/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询公司信息详细
|
||||
export function getCompany(id) {
|
||||
return request({
|
||||
url: '/bid/company/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增公司信息
|
||||
export function addCompany(data) {
|
||||
return request({
|
||||
url: '/bid/company',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改公司信息
|
||||
export function updateCompany(data) {
|
||||
return request({
|
||||
url: '/bid/company',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除公司信息
|
||||
export function delCompany(id) {
|
||||
return request({
|
||||
url: '/bid/company/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询资质证书列表
|
||||
export function listZizhi(query) {
|
||||
return request({
|
||||
url: '/bid/zizhi/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询资质证书详细
|
||||
export function getZizhi(id) {
|
||||
return request({
|
||||
url: '/bid/zizhi/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增资质证书
|
||||
export function addZizhi(data) {
|
||||
return request({
|
||||
url: '/bid/zizhi',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改资质证书
|
||||
export function updateZizhi(data) {
|
||||
return request({
|
||||
url: '/bid/zizhi',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除资质证书
|
||||
export function delZizhi(id) {
|
||||
return request({
|
||||
url: '/bid/zizhi/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -0,0 +1,954 @@
|
||||
<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="companyId">
|
||||
<el-input
|
||||
v-model="queryParams.companyId"
|
||||
placeholder="请输入公司ID"
|
||||
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 label="公司名称" prop="companyName">
|
||||
<el-input
|
||||
v-model="queryParams.companyName"
|
||||
placeholder="请输入公司名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="帐户名称" prop="accountName">
|
||||
<el-input
|
||||
v-model="queryParams.accountName"
|
||||
placeholder="请输入帐户名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="开户银行" prop="accountBank">
|
||||
<el-input
|
||||
v-model="queryParams.accountBank"
|
||||
placeholder="请输入开户银行"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="银行地址" prop="bankAddress">
|
||||
<el-input
|
||||
v-model="queryParams.bankAddress"
|
||||
placeholder="请输入银行地址"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="银行账号" prop="bankAccount">
|
||||
<el-input
|
||||
v-model="queryParams.bankAccount"
|
||||
placeholder="请输入银行账号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="银行行号" prop="bankNo">
|
||||
<el-input
|
||||
v-model="queryParams.bankNo"
|
||||
placeholder="请输入银行行号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="银行电话" prop="bankPhone">
|
||||
<el-input
|
||||
v-model="queryParams.bankPhone"
|
||||
placeholder="请输入银行电话"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="授权委托人" prop="trueName">
|
||||
<el-input
|
||||
v-model="queryParams.trueName"
|
||||
placeholder="请输入授权委托人"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="职位" prop="position">
|
||||
<el-input
|
||||
v-model="queryParams.position"
|
||||
placeholder="请输入职位"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证号" prop="idNumber">
|
||||
<el-input
|
||||
v-model="queryParams.idNumber"
|
||||
placeholder="请输入身份证号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="生日" prop="birthday">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.birthday"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择生日">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="开始日期" prop="idCardStart">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.idCardStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择开始日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="结束日期" prop="idCardEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.idCardEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="最大进度" prop="maxProgress">
|
||||
<el-input
|
||||
v-model="queryParams.maxProgress"
|
||||
placeholder="请输入最大进度"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="企业ID" prop="businessId">
|
||||
<el-input
|
||||
v-model="queryParams.businessId"
|
||||
placeholder="请输入企业ID"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="电话号码" prop="phoneNumber">
|
||||
<el-input
|
||||
v-model="queryParams.phoneNumber"
|
||||
placeholder="请输入电话号码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="统一社会信用代码" prop="socialCode">
|
||||
<el-input
|
||||
v-model="queryParams.socialCode"
|
||||
placeholder="请输入统一社会信用代码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="公司性质" prop="nature">
|
||||
<el-input
|
||||
v-model="queryParams.nature"
|
||||
placeholder="请输入公司性质"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="登记机关" prop="authority">
|
||||
<el-input
|
||||
v-model="queryParams.authority"
|
||||
placeholder="请输入登记机关"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="开始时间" prop="startTime">
|
||||
<el-input
|
||||
v-model="queryParams.startTime"
|
||||
placeholder="请输入开始时间"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="邮箱" prop="email">
|
||||
<el-input
|
||||
v-model="queryParams.email"
|
||||
placeholder="请输入邮箱"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="营业执照" prop="businessLicense">
|
||||
<el-input
|
||||
v-model="queryParams.businessLicense"
|
||||
placeholder="请输入营业执照"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="法定代表人" prop="legalRepresentative">
|
||||
<el-input
|
||||
v-model="queryParams.legalRepresentative"
|
||||
placeholder="请输入法定代表人"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="注册资本" prop="registeredCapital">
|
||||
<el-input
|
||||
v-model="queryParams.registeredCapital"
|
||||
placeholder="请输入注册资本"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="地址" prop="address">
|
||||
<el-input
|
||||
v-model="queryParams.address"
|
||||
placeholder="请输入地址"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="完整地址" prop="fullAddress">
|
||||
<el-input
|
||||
v-model="queryParams.fullAddress"
|
||||
placeholder="请输入完整地址"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="注册时间" prop="registeredTime">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.registeredTime"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择注册时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营开始时间" prop="businessStart">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.businessStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择经营开始时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营结束时间" prop="businessEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.businessEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择经营结束时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营范围" prop="businessScope">
|
||||
<el-input
|
||||
v-model="queryParams.businessScope"
|
||||
placeholder="请输入经营范围"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="企业基础代码" prop="companyBasicId">
|
||||
<el-input
|
||||
v-model="queryParams.companyBasicId"
|
||||
placeholder="请输入企业基础代码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="企业大小" prop="enterpriseSize">
|
||||
<el-input
|
||||
v-model="queryParams.enterpriseSize"
|
||||
placeholder="请输入企业大小"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="行业" prop="industry">
|
||||
<el-input
|
||||
v-model="queryParams.industry"
|
||||
placeholder="请输入行业"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="网站" prop="website">
|
||||
<el-input
|
||||
v-model="queryParams.website"
|
||||
placeholder="请输入网站"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="公司联系电话" prop="contactPhone">
|
||||
<el-input
|
||||
v-model="queryParams.contactPhone"
|
||||
placeholder="请输入公司联系电话"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="邮编" prop="postcode">
|
||||
<el-input
|
||||
v-model="queryParams.postcode"
|
||||
placeholder="请输入邮编"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="传真" prop="fax">
|
||||
<el-input
|
||||
v-model="queryParams.fax"
|
||||
placeholder="请输入传真"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证" prop="securityLicense">
|
||||
<el-input
|
||||
v-model="queryParams.securityLicense"
|
||||
placeholder="请输入安全许可证"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证开始时间" prop="securityStart">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.securityStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择安全许可证开始时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证结束时间" prop="securityEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.securityEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择安全许可证结束时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="结构" prop="structure">
|
||||
<el-input
|
||||
v-model="queryParams.structure"
|
||||
placeholder="请输入结构"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="描述" prop="softPowerText">
|
||||
<el-input
|
||||
v-model="queryParams.softPowerText"
|
||||
placeholder="请输入描述"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="图片" prop="softPowerImg">
|
||||
<el-input
|
||||
v-model="queryParams.softPowerImg"
|
||||
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:company: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:company: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:company: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:company:export']"
|
||||
>导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="companyList" @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="companyId" />
|
||||
<el-table-column label="租户代码" align="center" prop="tenantCode" />
|
||||
<el-table-column label="公司名称" align="center" prop="companyName" />
|
||||
<el-table-column label="帐户名称" align="center" prop="accountName" />
|
||||
<el-table-column label="开户银行" align="center" prop="accountBank" />
|
||||
<el-table-column label="银行地址" align="center" prop="bankAddress" />
|
||||
<el-table-column label="开户许可证照片" align="center" prop="annex" />
|
||||
<el-table-column label="银行账号" align="center" prop="bankAccount" />
|
||||
<el-table-column label="银行行号" align="center" prop="bankNo" />
|
||||
<el-table-column label="银行电话" align="center" prop="bankPhone" />
|
||||
<el-table-column label="授权委托人" align="center" prop="trueName" />
|
||||
<el-table-column label="职位" align="center" prop="position" />
|
||||
<el-table-column label="性别" align="center" prop="sex" />
|
||||
<el-table-column label="身份证照片" align="center" prop="idPhpto" />
|
||||
<el-table-column label="身份证号" align="center" prop="idNumber" />
|
||||
<el-table-column label="生日" align="center" prop="birthday" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.birthday, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="开始日期" align="center" prop="idCardStart" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.idCardStart, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="结束日期" align="center" prop="idCardEnd" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.idCardEnd, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="最大进度" align="center" prop="maxProgress" />
|
||||
<el-table-column label="企业ID" align="center" prop="businessId" />
|
||||
<el-table-column label="电话号码" align="center" prop="phoneNumber" />
|
||||
<el-table-column label="统一社会信用代码" align="center" prop="socialCode" />
|
||||
<el-table-column label="公司性质" align="center" prop="nature" />
|
||||
<el-table-column label="登记机关" align="center" prop="authority" />
|
||||
<el-table-column label="开始时间" align="center" prop="startTime" />
|
||||
<el-table-column label="邮箱" align="center" prop="email" />
|
||||
<el-table-column label="营业执照" align="center" prop="businessLicense" />
|
||||
<el-table-column label="法定代表人" align="center" prop="legalRepresentative" />
|
||||
<el-table-column label="注册资本" align="center" prop="registeredCapital" />
|
||||
<el-table-column label="地址" align="center" prop="address" />
|
||||
<el-table-column label="完整地址" align="center" prop="fullAddress" />
|
||||
<el-table-column label="注册时间" align="center" prop="registeredTime" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.registeredTime, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="经营开始时间" align="center" prop="businessStart" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.businessStart, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="经营结束时间" align="center" prop="businessEnd" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.businessEnd, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="经营范围" align="center" prop="businessScope" />
|
||||
<el-table-column label="企业基础代码" align="center" prop="companyBasicId" />
|
||||
<el-table-column label="企业大小" align="center" prop="enterpriseSize" />
|
||||
<el-table-column label="行业" align="center" prop="industry" />
|
||||
<el-table-column label="网站" align="center" prop="website" />
|
||||
<el-table-column label="公司联系电话" align="center" prop="contactPhone" />
|
||||
<el-table-column label="邮编" align="center" prop="postcode" />
|
||||
<el-table-column label="传真" align="center" prop="fax" />
|
||||
<el-table-column label="安全许可证" align="center" prop="securityLicense" />
|
||||
<el-table-column label="安全许可证开始时间" align="center" prop="securityStart" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.securityStart, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="安全许可证结束时间" align="center" prop="securityEnd" width="180">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ parseTime(scope.row.securityEnd, '{y}-{m}-{d}') }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="结构" align="center" prop="structure" />
|
||||
<el-table-column label="公司简介" align="center" prop="companyProfile" />
|
||||
<el-table-column label="描述" align="center" prop="softPowerText" />
|
||||
<el-table-column label="图片" align="center" prop="softPowerImg" />
|
||||
<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:company:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['bid:company: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="companyId">
|
||||
<el-input v-model="form.companyId" placeholder="请输入公司ID" />
|
||||
</el-form-item>
|
||||
<el-form-item label="租户代码" prop="tenantCode">
|
||||
<el-input v-model="form.tenantCode" placeholder="请输入租户代码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="公司名称" prop="companyName">
|
||||
<el-input v-model="form.companyName" placeholder="请输入公司名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="帐户名称" prop="accountName">
|
||||
<el-input v-model="form.accountName" placeholder="请输入帐户名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="开户银行" prop="accountBank">
|
||||
<el-input v-model="form.accountBank" placeholder="请输入开户银行" />
|
||||
</el-form-item>
|
||||
<el-form-item label="银行地址" prop="bankAddress">
|
||||
<el-input v-model="form.bankAddress" placeholder="请输入银行地址" />
|
||||
</el-form-item>
|
||||
<el-form-item label="开户许可证照片" prop="annex">
|
||||
<el-input v-model="form.annex" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="银行账号" prop="bankAccount">
|
||||
<el-input v-model="form.bankAccount" placeholder="请输入银行账号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="银行行号" prop="bankNo">
|
||||
<el-input v-model="form.bankNo" placeholder="请输入银行行号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="银行电话" prop="bankPhone">
|
||||
<el-input v-model="form.bankPhone" placeholder="请输入银行电话" />
|
||||
</el-form-item>
|
||||
<el-form-item label="授权委托人" prop="trueName">
|
||||
<el-input v-model="form.trueName" placeholder="请输入授权委托人" />
|
||||
</el-form-item>
|
||||
<el-form-item label="职位" prop="position">
|
||||
<el-input v-model="form.position" placeholder="请输入职位" />
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证照片" prop="idPhpto">
|
||||
<el-input v-model="form.idPhpto" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="身份证号" prop="idNumber">
|
||||
<el-input v-model="form.idNumber" placeholder="请输入身份证号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="生日" prop="birthday">
|
||||
<el-date-picker clearable
|
||||
v-model="form.birthday"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择生日">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="开始日期" prop="idCardStart">
|
||||
<el-date-picker clearable
|
||||
v-model="form.idCardStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择开始日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="结束日期" prop="idCardEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="form.idCardEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="最大进度" prop="maxProgress">
|
||||
<el-input v-model="form.maxProgress" placeholder="请输入最大进度" />
|
||||
</el-form-item>
|
||||
<el-form-item label="企业ID" prop="businessId">
|
||||
<el-input v-model="form.businessId" placeholder="请输入企业ID" />
|
||||
</el-form-item>
|
||||
<el-form-item label="电话号码" prop="phoneNumber">
|
||||
<el-input v-model="form.phoneNumber" placeholder="请输入电话号码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="统一社会信用代码" prop="socialCode">
|
||||
<el-input v-model="form.socialCode" placeholder="请输入统一社会信用代码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="公司性质" prop="nature">
|
||||
<el-input v-model="form.nature" placeholder="请输入公司性质" />
|
||||
</el-form-item>
|
||||
<el-form-item label="登记机关" prop="authority">
|
||||
<el-input v-model="form.authority" placeholder="请输入登记机关" />
|
||||
</el-form-item>
|
||||
<el-form-item label="开始时间" prop="startTime">
|
||||
<el-input v-model="form.startTime" placeholder="请输入开始时间" />
|
||||
</el-form-item>
|
||||
<el-form-item label="邮箱" prop="email">
|
||||
<el-input v-model="form.email" placeholder="请输入邮箱" />
|
||||
</el-form-item>
|
||||
<el-form-item label="营业执照" prop="businessLicense">
|
||||
<el-input v-model="form.businessLicense" placeholder="请输入营业执照" />
|
||||
</el-form-item>
|
||||
<el-form-item label="法定代表人" prop="legalRepresentative">
|
||||
<el-input v-model="form.legalRepresentative" placeholder="请输入法定代表人" />
|
||||
</el-form-item>
|
||||
<el-form-item label="注册资本" prop="registeredCapital">
|
||||
<el-input v-model="form.registeredCapital" placeholder="请输入注册资本" />
|
||||
</el-form-item>
|
||||
<el-form-item label="地址" prop="address">
|
||||
<el-input v-model="form.address" placeholder="请输入地址" />
|
||||
</el-form-item>
|
||||
<el-form-item label="完整地址" prop="fullAddress">
|
||||
<el-input v-model="form.fullAddress" placeholder="请输入完整地址" />
|
||||
</el-form-item>
|
||||
<el-form-item label="注册时间" prop="registeredTime">
|
||||
<el-date-picker clearable
|
||||
v-model="form.registeredTime"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择注册时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营开始时间" prop="businessStart">
|
||||
<el-date-picker clearable
|
||||
v-model="form.businessStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择经营开始时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营结束时间" prop="businessEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="form.businessEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择经营结束时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="经营范围" prop="businessScope">
|
||||
<el-input v-model="form.businessScope" placeholder="请输入经营范围" />
|
||||
</el-form-item>
|
||||
<el-form-item label="企业基础代码" prop="companyBasicId">
|
||||
<el-input v-model="form.companyBasicId" placeholder="请输入企业基础代码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="企业大小" prop="enterpriseSize">
|
||||
<el-input v-model="form.enterpriseSize" placeholder="请输入企业大小" />
|
||||
</el-form-item>
|
||||
<el-form-item label="行业" prop="industry">
|
||||
<el-input v-model="form.industry" placeholder="请输入行业" />
|
||||
</el-form-item>
|
||||
<el-form-item label="网站" prop="website">
|
||||
<el-input v-model="form.website" placeholder="请输入网站" />
|
||||
</el-form-item>
|
||||
<el-form-item label="公司联系电话" prop="contactPhone">
|
||||
<el-input v-model="form.contactPhone" placeholder="请输入公司联系电话" />
|
||||
</el-form-item>
|
||||
<el-form-item label="邮编" prop="postcode">
|
||||
<el-input v-model="form.postcode" placeholder="请输入邮编" />
|
||||
</el-form-item>
|
||||
<el-form-item label="传真" prop="fax">
|
||||
<el-input v-model="form.fax" placeholder="请输入传真" />
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证" prop="securityLicense">
|
||||
<el-input v-model="form.securityLicense" placeholder="请输入安全许可证" />
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证开始时间" prop="securityStart">
|
||||
<el-date-picker clearable
|
||||
v-model="form.securityStart"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择安全许可证开始时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="安全许可证结束时间" prop="securityEnd">
|
||||
<el-date-picker clearable
|
||||
v-model="form.securityEnd"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择安全许可证结束时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="结构" prop="structure">
|
||||
<el-input v-model="form.structure" placeholder="请输入结构" />
|
||||
</el-form-item>
|
||||
<el-form-item label="公司简介" prop="companyProfile">
|
||||
<file-upload v-model="form.companyProfile"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="描述" prop="softPowerText">
|
||||
<el-input v-model="form.softPowerText" placeholder="请输入描述" />
|
||||
</el-form-item>
|
||||
<el-form-item label="图片" prop="softPowerImg">
|
||||
<el-input v-model="form.softPowerImg" 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 { listCompany, getCompany, delCompany, addCompany, updateCompany } from "@/api/bid/company"
|
||||
|
||||
export default {
|
||||
name: "Company",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
// 显示搜索条件
|
||||
showSearch: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 公司信息表格数据
|
||||
companyList: [],
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
companyId: null,
|
||||
tenantCode: null,
|
||||
companyName: null,
|
||||
accountName: null,
|
||||
accountBank: null,
|
||||
bankAddress: null,
|
||||
annex: null,
|
||||
bankAccount: null,
|
||||
bankNo: null,
|
||||
bankPhone: null,
|
||||
trueName: null,
|
||||
position: null,
|
||||
sex: null,
|
||||
idPhpto: null,
|
||||
idNumber: null,
|
||||
birthday: null,
|
||||
idCardStart: null,
|
||||
idCardEnd: null,
|
||||
maxProgress: null,
|
||||
businessId: null,
|
||||
phoneNumber: null,
|
||||
socialCode: null,
|
||||
nature: null,
|
||||
authority: null,
|
||||
startTime: null,
|
||||
email: null,
|
||||
businessLicense: null,
|
||||
legalRepresentative: null,
|
||||
registeredCapital: null,
|
||||
address: null,
|
||||
fullAddress: null,
|
||||
registeredTime: null,
|
||||
businessStart: null,
|
||||
businessEnd: null,
|
||||
businessScope: null,
|
||||
companyBasicId: null,
|
||||
enterpriseSize: null,
|
||||
industry: null,
|
||||
website: null,
|
||||
contactPhone: null,
|
||||
postcode: null,
|
||||
fax: null,
|
||||
securityLicense: null,
|
||||
securityStart: null,
|
||||
securityEnd: null,
|
||||
structure: null,
|
||||
companyProfile: null,
|
||||
softPowerText: null,
|
||||
softPowerImg: null
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
rules: {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
/** 查询公司信息列表 */
|
||||
getList() {
|
||||
this.loading = true
|
||||
listCompany(this.queryParams).then(response => {
|
||||
this.companyList = response.rows
|
||||
this.total = response.total
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false
|
||||
this.reset()
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: null,
|
||||
companyId: null,
|
||||
tenantCode: null,
|
||||
companyName: null,
|
||||
accountName: null,
|
||||
accountBank: null,
|
||||
bankAddress: null,
|
||||
annex: null,
|
||||
bankAccount: null,
|
||||
bankNo: null,
|
||||
bankPhone: null,
|
||||
trueName: null,
|
||||
position: null,
|
||||
sex: null,
|
||||
idPhpto: null,
|
||||
idNumber: null,
|
||||
birthday: null,
|
||||
idCardStart: null,
|
||||
idCardEnd: null,
|
||||
maxProgress: null,
|
||||
businessId: null,
|
||||
phoneNumber: null,
|
||||
socialCode: null,
|
||||
nature: null,
|
||||
authority: null,
|
||||
startTime: null,
|
||||
email: null,
|
||||
businessLicense: null,
|
||||
legalRepresentative: null,
|
||||
registeredCapital: null,
|
||||
address: null,
|
||||
fullAddress: null,
|
||||
registeredTime: null,
|
||||
businessStart: null,
|
||||
businessEnd: null,
|
||||
businessScope: null,
|
||||
companyBasicId: null,
|
||||
enterpriseSize: null,
|
||||
industry: null,
|
||||
website: null,
|
||||
contactPhone: null,
|
||||
postcode: null,
|
||||
fax: null,
|
||||
securityLicense: null,
|
||||
securityStart: null,
|
||||
securityEnd: null,
|
||||
structure: null,
|
||||
companyProfile: null,
|
||||
softPowerText: null,
|
||||
softPowerImg: 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
|
||||
getCompany(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) {
|
||||
updateCompany(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
} else {
|
||||
addCompany(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 delCompany(ids)
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
}).catch(() => {})
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.download('bid/company/export', {
|
||||
...this.queryParams
|
||||
}, `company_${new Date().getTime()}.xlsx`)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -0,0 +1,264 @@
|
||||
<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="租户代码" prop="tenantCode">
|
||||
<el-input
|
||||
v-model="queryParams.tenantCode"
|
||||
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>
|
||||
<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:zizhi: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:zizhi: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:zizhi: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:zizhi:export']"
|
||||
>导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="zizhiList" @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="租户代码" align="center" prop="tenantCode" />
|
||||
<el-table-column label="证书名称" align="center" prop="documentName" />
|
||||
<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:zizhi:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['bid:zizhi: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="tenantCode">
|
||||
<el-input v-model="form.tenantCode" 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="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 { listZizhi, getZizhi, delZizhi, addZizhi, updateZizhi } from "@/api/bid/zizhi"
|
||||
|
||||
export default {
|
||||
name: "Zizhi",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
// 显示搜索条件
|
||||
showSearch: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 资质证书表格数据
|
||||
zizhiList: [],
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
tenantCode: null,
|
||||
documentName: null,
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
rules: {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
/** 查询资质证书列表 */
|
||||
getList() {
|
||||
this.loading = true
|
||||
listZizhi(this.queryParams).then(response => {
|
||||
this.zizhiList = response.rows
|
||||
this.total = response.total
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false
|
||||
this.reset()
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: null,
|
||||
tenantCode: null,
|
||||
documentName: 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
|
||||
getZizhi(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) {
|
||||
updateZizhi(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
} else {
|
||||
addZizhi(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 delZizhi(ids)
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
}).catch(() => {})
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.download('bid/zizhi/export', {
|
||||
...this.queryParams
|
||||
}, `zizhi_${new Date().getTime()}.xlsx`)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in new issue