Pre Merge pull request !281 from 贾译升/kehu
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmCandidate;
|
||||||
|
import com.ruoyi.system.service.IWkCrmCandidateService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 候选人Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/candidate")
|
||||||
|
public class WkCrmCandidateController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/candidate";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmCandidateService wkCrmCandidateService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:candidate:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String candidate()
|
||||||
|
{
|
||||||
|
return prefix + "/candidate";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询候选人列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:candidate:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmCandidate wkCrmCandidate)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmCandidate> list = wkCrmCandidateService.selectWkCrmCandidateList(wkCrmCandidate);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出候选人列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:candidate:export")
|
||||||
|
@Log(title = "候选人", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmCandidate wkCrmCandidate)
|
||||||
|
{
|
||||||
|
List<WkCrmCandidate> list = wkCrmCandidateService.selectWkCrmCandidateList(wkCrmCandidate);
|
||||||
|
ExcelUtil<WkCrmCandidate> util = new ExcelUtil<WkCrmCandidate>(WkCrmCandidate.class);
|
||||||
|
return util.exportExcel(list, "candidate");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增候选人
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存候选人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:candidate:add")
|
||||||
|
@Log(title = "候选人", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmCandidate wkCrmCandidate)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCandidateService.insertWkCrmCandidate(wkCrmCandidate));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改候选人
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Integer id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmCandidate wkCrmCandidate = wkCrmCandidateService.selectWkCrmCandidateById(id);
|
||||||
|
mmap.put("wkCrmCandidate", wkCrmCandidate);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存候选人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:candidate:edit")
|
||||||
|
@Log(title = "候选人", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmCandidate wkCrmCandidate)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCandidateService.updateWkCrmCandidate(wkCrmCandidate));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除候选人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:candidate:remove")
|
||||||
|
@Log(title = "候选人", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCandidateService.deleteWkCrmCandidateByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmOrganizationManagement;
|
||||||
|
import com.ruoyi.system.service.IWkCrmOrganizationManagementService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 组织管理Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/management")
|
||||||
|
public class WkCrmOrganizationManagementController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/management";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmOrganizationManagementService wkCrmOrganizationManagementService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:management:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String management()
|
||||||
|
{
|
||||||
|
return prefix + "/management";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询组织管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmOrganizationManagement wkCrmOrganizationManagement)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmOrganizationManagement> list = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementList(wkCrmOrganizationManagement);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出组织管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management:export")
|
||||||
|
@Log(title = "组织管理", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmOrganizationManagement wkCrmOrganizationManagement)
|
||||||
|
{
|
||||||
|
List<WkCrmOrganizationManagement> list = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementList(wkCrmOrganizationManagement);
|
||||||
|
ExcelUtil<WkCrmOrganizationManagement> util = new ExcelUtil<WkCrmOrganizationManagement>(WkCrmOrganizationManagement.class);
|
||||||
|
return util.exportExcel(list, "management");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增组织管理
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存组织管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management:add")
|
||||||
|
@Log(title = "组织管理", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmOrganizationManagement wkCrmOrganizationManagement)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmOrganizationManagementService.insertWkCrmOrganizationManagement(wkCrmOrganizationManagement));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改组织管理
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmOrganizationManagement wkCrmOrganizationManagement = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementById(id);
|
||||||
|
mmap.put("wkCrmOrganizationManagement", wkCrmOrganizationManagement);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存组织管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management:edit")
|
||||||
|
@Log(title = "组织管理", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmOrganizationManagement wkCrmOrganizationManagement)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmOrganizationManagementService.updateWkCrmOrganizationManagement(wkCrmOrganizationManagement));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除组织管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management:remove")
|
||||||
|
@Log(title = "组织管理", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmOrganizationManagementService.deleteWkCrmOrganizationManagementByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmRecruitment;
|
||||||
|
import com.ruoyi.system.service.IWkCrmRecruitmentService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘职位Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/recruitment")
|
||||||
|
public class WkCrmRecruitmentController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/recruitment";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmRecruitmentService wkCrmRecruitmentService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:recruitment:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String recruitment()
|
||||||
|
{
|
||||||
|
return prefix + "/recruitment";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询招聘职位列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:recruitment:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmRecruitment wkCrmRecruitment)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmRecruitment> list = wkCrmRecruitmentService.selectWkCrmRecruitmentList(wkCrmRecruitment);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出招聘职位列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:recruitment:export")
|
||||||
|
@Log(title = "招聘职位", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmRecruitment wkCrmRecruitment)
|
||||||
|
{
|
||||||
|
List<WkCrmRecruitment> list = wkCrmRecruitmentService.selectWkCrmRecruitmentList(wkCrmRecruitment);
|
||||||
|
ExcelUtil<WkCrmRecruitment> util = new ExcelUtil<WkCrmRecruitment>(WkCrmRecruitment.class);
|
||||||
|
return util.exportExcel(list, "recruitment");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增招聘职位
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存招聘职位
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:recruitment:add")
|
||||||
|
@Log(title = "招聘职位", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmRecruitment wkCrmRecruitment)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmRecruitmentService.insertWkCrmRecruitment(wkCrmRecruitment));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改招聘职位
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmRecruitment wkCrmRecruitment = wkCrmRecruitmentService.selectWkCrmRecruitmentById(id);
|
||||||
|
mmap.put("wkCrmRecruitment", wkCrmRecruitment);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存招聘职位
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:recruitment:edit")
|
||||||
|
@Log(title = "招聘职位", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmRecruitment wkCrmRecruitment)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmRecruitmentService.updateWkCrmRecruitment(wkCrmRecruitment));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除招聘职位
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:recruitment:remove")
|
||||||
|
@Log(title = "招聘职位", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmRecruitmentService.deleteWkCrmRecruitmentByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,129 @@
|
||||||
|
package com.ruoyi.web.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.system.service.IWkCrmCandidateService;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmStaffManagement1;
|
||||||
|
import com.ruoyi.system.service.IWkCrmStaffManagement1Service;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 员工管理Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/management1")
|
||||||
|
public class WkCrmStaffManagement1Controller extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/management1";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmStaffManagement1Service wkCrmStaffManagement1Service;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:management1:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String management1()
|
||||||
|
{
|
||||||
|
return prefix + "/management1";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询员工管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management1:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmStaffManagement1 wkCrmStaffManagement1)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmStaffManagement1> list = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1List(wkCrmStaffManagement1);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出员工管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management1:export")
|
||||||
|
@Log(title = "员工管理", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmStaffManagement1 wkCrmStaffManagement1)
|
||||||
|
{
|
||||||
|
List<WkCrmStaffManagement1> list = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1List(wkCrmStaffManagement1);
|
||||||
|
ExcelUtil<WkCrmStaffManagement1> util = new ExcelUtil<WkCrmStaffManagement1>(WkCrmStaffManagement1.class);
|
||||||
|
return util.exportExcel(list, "management1");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增员工管理
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存员工管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management1:add")
|
||||||
|
@Log(title = "员工管理", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmStaffManagement1 wkCrmStaffManagement1)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmStaffManagement1Service.insertWkCrmStaffManagement1(wkCrmStaffManagement1));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改员工管理
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmStaffManagement1 wkCrmStaffManagement1 = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1ById(id);
|
||||||
|
mmap.put("wkCrmStaffManagement1", wkCrmStaffManagement1);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存员工管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management1:edit")
|
||||||
|
@Log(title = "员工管理", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmStaffManagement1 wkCrmStaffManagement1)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmStaffManagement1Service.updateWkCrmStaffManagement1(wkCrmStaffManagement1));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除员工管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:management1:remove")
|
||||||
|
@Log(title = "员工管理", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
|
||||||
|
return toAjax(wkCrmStaffManagement1Service.deleteWkCrmStaffManagement1ByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmContacts;
|
||||||
|
import com.ruoyi.system.service.IWkCrmContactsService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/contacts")
|
||||||
|
public class WkCrmContactsController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/contacts";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmContactsService wkCrmContactsService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:contacts:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String contacts()
|
||||||
|
{
|
||||||
|
return prefix + "/contacts";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询联系人列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contacts:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmContacts wkCrmContacts)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmContacts> list = wkCrmContactsService.selectWkCrmContactsList(wkCrmContacts);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出联系人列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contacts:export")
|
||||||
|
@Log(title = "联系人", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmContacts wkCrmContacts)
|
||||||
|
{
|
||||||
|
List<WkCrmContacts> list = wkCrmContactsService.selectWkCrmContactsList(wkCrmContacts);
|
||||||
|
ExcelUtil<WkCrmContacts> util = new ExcelUtil<WkCrmContacts>(WkCrmContacts.class);
|
||||||
|
return util.exportExcel(list, "contacts");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增联系人
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存联系人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contacts:add")
|
||||||
|
@Log(title = "联系人", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmContacts wkCrmContacts)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContactsService.insertWkCrmContacts(wkCrmContacts));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改联系人
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{contactsId}")
|
||||||
|
public String edit(@PathVariable("contactsId") Long contactsId, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmContacts wkCrmContacts = wkCrmContactsService.selectWkCrmContactsById(contactsId);
|
||||||
|
mmap.put("wkCrmContacts", wkCrmContacts);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存联系人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contacts:edit")
|
||||||
|
@Log(title = "联系人", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmContacts wkCrmContacts)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContactsService.updateWkCrmContacts(wkCrmContacts));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除联系人
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contacts:remove")
|
||||||
|
@Log(title = "联系人", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContactsService.deleteWkCrmContactsByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmContract;
|
||||||
|
import com.ruoyi.system.service.IWkCrmContractService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 合同Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/contract")
|
||||||
|
public class WkCrmContractController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/contract";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmContractService wkCrmContractService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:contract:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String contract()
|
||||||
|
{
|
||||||
|
return prefix + "/contract";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询合同列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contract:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmContract wkCrmContract)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmContract> list = wkCrmContractService.selectWkCrmContractList(wkCrmContract);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出合同列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contract:export")
|
||||||
|
@Log(title = "合同", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmContract wkCrmContract)
|
||||||
|
{
|
||||||
|
List<WkCrmContract> list = wkCrmContractService.selectWkCrmContractList(wkCrmContract);
|
||||||
|
ExcelUtil<WkCrmContract> util = new ExcelUtil<WkCrmContract>(WkCrmContract.class);
|
||||||
|
return util.exportExcel(list, "contract");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增合同
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存合同
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contract:add")
|
||||||
|
@Log(title = "合同", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmContract wkCrmContract)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContractService.insertWkCrmContract(wkCrmContract));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改合同
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{contractId}")
|
||||||
|
public String edit(@PathVariable("contractId") Integer contractId, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmContract wkCrmContract = wkCrmContractService.selectWkCrmContractById(contractId);
|
||||||
|
mmap.put("wkCrmContract", wkCrmContract);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存合同
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contract:edit")
|
||||||
|
@Log(title = "合同", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmContract wkCrmContract)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContractService.updateWkCrmContract(wkCrmContract));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除合同
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:contract:remove")
|
||||||
|
@Log(title = "合同", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmContractService.deleteWkCrmContractByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmCustomer;
|
||||||
|
import com.ruoyi.system.service.IWkCrmCustomerService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客户Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/customer")
|
||||||
|
public class WkCrmCustomerController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/customer";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmCustomerService wkCrmCustomerService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:customer:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String customer()
|
||||||
|
{
|
||||||
|
return prefix + "/customer";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询客户列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:customer:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmCustomer wkCrmCustomer)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmCustomer> list = wkCrmCustomerService.selectWkCrmCustomerList(wkCrmCustomer);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出客户列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:customer:export")
|
||||||
|
@Log(title = "客户", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmCustomer wkCrmCustomer)
|
||||||
|
{
|
||||||
|
List<WkCrmCustomer> list = wkCrmCustomerService.selectWkCrmCustomerList(wkCrmCustomer);
|
||||||
|
ExcelUtil<WkCrmCustomer> util = new ExcelUtil<WkCrmCustomer>(WkCrmCustomer.class);
|
||||||
|
return util.exportExcel(list, "customer");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增客户
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存客户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:customer:add")
|
||||||
|
@Log(title = "客户", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmCustomer wkCrmCustomer)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerService.insertWkCrmCustomer(wkCrmCustomer));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改客户
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{customerId}")
|
||||||
|
public String edit(@PathVariable("customerId") Long customerId, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmCustomer wkCrmCustomer = wkCrmCustomerService.selectWkCrmCustomerById(customerId);
|
||||||
|
mmap.put("wkCrmCustomer", wkCrmCustomer);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存客户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:customer:edit")
|
||||||
|
@Log(title = "客户", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmCustomer wkCrmCustomer)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerService.updateWkCrmCustomer(wkCrmCustomer));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除客户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:customer:remove")
|
||||||
|
@Log(title = "客户", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerService.deleteWkCrmCustomerByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmCustomerPool;
|
||||||
|
import com.ruoyi.system.service.IWkCrmCustomerPoolService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公海Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/pool")
|
||||||
|
public class WkCrmCustomerPoolController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/pool";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmCustomerPoolService wkCrmCustomerPoolService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:pool:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String pool()
|
||||||
|
{
|
||||||
|
return prefix + "/pool";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询公海列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:pool:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmCustomerPool wkCrmCustomerPool)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmCustomerPool> list = wkCrmCustomerPoolService.selectWkCrmCustomerPoolList(wkCrmCustomerPool);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出公海列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:pool:export")
|
||||||
|
@Log(title = "公海", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmCustomerPool wkCrmCustomerPool)
|
||||||
|
{
|
||||||
|
List<WkCrmCustomerPool> list = wkCrmCustomerPoolService.selectWkCrmCustomerPoolList(wkCrmCustomerPool);
|
||||||
|
ExcelUtil<WkCrmCustomerPool> util = new ExcelUtil<WkCrmCustomerPool>(WkCrmCustomerPool.class);
|
||||||
|
return util.exportExcel(list, "pool");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增公海
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存公海
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:pool:add")
|
||||||
|
@Log(title = "公海", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmCustomerPool wkCrmCustomerPool)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerPoolService.insertWkCrmCustomerPool(wkCrmCustomerPool));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改公海
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{poolId}")
|
||||||
|
public String edit(@PathVariable("poolId") Long poolId, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmCustomerPool wkCrmCustomerPool = wkCrmCustomerPoolService.selectWkCrmCustomerPoolById(poolId);
|
||||||
|
mmap.put("wkCrmCustomerPool", wkCrmCustomerPool);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存公海
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:pool:edit")
|
||||||
|
@Log(title = "公海", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmCustomerPool wkCrmCustomerPool)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerPoolService.updateWkCrmCustomerPool(wkCrmCustomerPool));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除公海
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:pool:remove")
|
||||||
|
@Log(title = "公海", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmCustomerPoolService.deleteWkCrmCustomerPoolByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.system.domain.WkCrmLeads;
|
||||||
|
import com.ruoyi.system.service.IWkCrmLeadsService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 线索Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2021-04-06
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/leads")
|
||||||
|
public class WkCrmLeadsController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/leads";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IWkCrmLeadsService wkCrmLeadsService;
|
||||||
|
|
||||||
|
@RequiresPermissions("system:leads:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String leads()
|
||||||
|
{
|
||||||
|
return prefix + "/leads";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询线索列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:leads:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(WkCrmLeads wkCrmLeads)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<WkCrmLeads> list = wkCrmLeadsService.selectWkCrmLeadsList(wkCrmLeads);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出线索列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:leads:export")
|
||||||
|
@Log(title = "线索", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(WkCrmLeads wkCrmLeads)
|
||||||
|
{
|
||||||
|
List<WkCrmLeads> list = wkCrmLeadsService.selectWkCrmLeadsList(wkCrmLeads);
|
||||||
|
ExcelUtil<WkCrmLeads> util = new ExcelUtil<WkCrmLeads>(WkCrmLeads.class);
|
||||||
|
return util.exportExcel(list, "leads");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增线索
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存线索
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:leads:add")
|
||||||
|
@Log(title = "线索", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(WkCrmLeads wkCrmLeads)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmLeadsService.insertWkCrmLeads(wkCrmLeads));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改线索
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{leadsId}")
|
||||||
|
public String edit(@PathVariable("leadsId") Long leadsId, ModelMap mmap)
|
||||||
|
{
|
||||||
|
WkCrmLeads wkCrmLeads = wkCrmLeadsService.selectWkCrmLeadsById(leadsId);
|
||||||
|
mmap.put("wkCrmLeads", wkCrmLeads);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存线索
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:leads:edit")
|
||||||
|
@Log(title = "线索", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(WkCrmLeads wkCrmLeads)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmLeadsService.updateWkCrmLeads(wkCrmLeads));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除线索
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("system:leads:remove")
|
||||||
|
@Log(title = "线索", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(wkCrmLeadsService.deleteWkCrmLeadsByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -6,16 +6,16 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://8.136.221.121:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: password
|
password: zsemko
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
enabled: false
|
enabled: true
|
||||||
url:
|
url: jdbc:mysql://8.136.221.121:3306/crm?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username:
|
username: root
|
||||||
password:
|
password: zsemko
|
||||||
# 初始连接数
|
# 初始连接数
|
||||||
initialSize: 5
|
initialSize: 5
|
||||||
# 最小连接池数量
|
# 最小连接池数量
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@ ruoyi:
|
||||||
# 实例演示开关
|
# 实例演示开关
|
||||||
demoEnabled: true
|
demoEnabled: true
|
||||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
profile: D:/ruoyi/uploadPath
|
profile: /Users/jiayisheng/Desktop
|
||||||
# 获取ip地址开关
|
# 获取ip地址开关
|
||||||
addressEnabled: false
|
addressEnabled: false
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为80
|
# 服务器的HTTP端口,默认为80
|
||||||
port: 80
|
port: 888
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- 日志存放路径 -->
|
<!-- 日志存放路径 -->
|
||||||
<property name="log.path" value="/home/ruoyi/logs" />
|
<property name="log.path" value="/Users/jiayisheng/Desktop/bajie/logs" />
|
||||||
<!-- 日志输出格式 -->
|
<!-- 日志输出格式 -->
|
||||||
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
!function(){function o(w,v,i){return w.getAttribute(v)||i}function j(i){return document.getElementsByTagName(i)}function l(){var i=j("script"),w=i.length,v=i[w-1];return{l:w,z:o(v,"zIndex",-1),o:o(v,"opacity",0.5),c:o(v,"color","0,0,0"),n:o(v,"count",99)}}function k(){r=u.width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=u.height=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function b(){e.clearRect(0,0,r,n);var w=[f].concat(t);var x,v,A,B,z,y;t.forEach(function(i){i.x+=i.xa,i.y+=i.ya,i.xa*=i.x>r||i.x<0?-1:1,i.ya*=i.y>n||i.y<0?-1:1,e.fillRect(i.x-0.5,i.y-0.5,1,1);for(v=0;v<w.length;v++){x=w[v];if(i!==x&&null!==x.x&&null!==x.y){B=i.x-x.x,z=i.y-x.y,y=B*B+z*z;y<x.max&&(x===f&&y>=x.max/2&&(i.x-=0.03*B,i.y-=0.03*z),A=(x.max-y)/x.max,e.beginPath(),e.lineWidth=A/2,e.strokeStyle="rgba("+s.c+","+(A+0.2)+")",e.moveTo(i.x,i.y),e.lineTo(x.x,x.y),e.stroke())}}w.splice(w.indexOf(i),1)}),m(b)}var u=document.createElement("canvas"),s=l(),c="c_n"+s.l,e=u.getContext("2d"),r,n,m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(i){window.setTimeout(i,1000/45)},a=Math.random,f={x:null,y:null,max:20000};u.id=c;u.style.cssText="position:fixed;top:0;left:0;z-index:"+s.z+";opacity:"+s.o;j("body")[0].appendChild(u);k(),window.onresize=k;window.onmousemove=function(i){i=i||window.event,f.x=i.clientX,f.y=i.clientY},window.onmouseout=function(){f.x=null,f.y=null};for(var t=[],p=0;s.n>p;p++){var h=a()*r,g=a()*n,q=2*a()-1,d=2*a()-1;t.push({x:h,y:g,xa:q,ya:d,max:6000})}setTimeout(function(){b()},100)}();
|
||||||
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 988 KiB |
|
After Width: | Height: | Size: 988 KiB |
|
After Width: | Height: | Size: 988 KiB |
|
After Width: | Height: | Size: 988 KiB |
|
After Width: | Height: | Size: 566 KiB |
|
After Width: | Height: | Size: 566 KiB |
|
After Width: | Height: | Size: 566 KiB |
|
After Width: | Height: | Size: 566 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 418 KiB |
|
After Width: | Height: | Size: 418 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 418 KiB |
|
After Width: | Height: | Size: 418 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 268 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 329 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 272 KiB |
|
After Width: | Height: | Size: 272 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 272 KiB |
|
After Width: | Height: | Size: 272 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
|
@ -0,0 +1,338 @@
|
||||||
|
/*图片墙设置*/
|
||||||
|
body{
|
||||||
|
margin:0px;
|
||||||
|
padding:0px;
|
||||||
|
}
|
||||||
|
body>div{
|
||||||
|
position:relative;
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
overflow: hidden;
|
||||||
|
padding:0px;
|
||||||
|
margin:0 auto;
|
||||||
|
}
|
||||||
|
body>div:nth-of-type(1){
|
||||||
|
background: url(https://acg.ccoyun.cn/man/api.php) no-repeat;
|
||||||
|
position:absolute;
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
background:rgba(255,255,255,0.7);
|
||||||
|
padding:10px;
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(1){
|
||||||
|
-webkit-transform: rotate(-20deg);
|
||||||
|
-moz-transform: rotate(-20deg);
|
||||||
|
-ms-transform: rotate(-20deg);
|
||||||
|
-o-transform: rotate(-20deg);
|
||||||
|
transform: rotate(-20deg);
|
||||||
|
position:absolute;
|
||||||
|
left:-80px;
|
||||||
|
z-index:5;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(2){
|
||||||
|
-webkit-transform: rotate(30deg);
|
||||||
|
-moz-transform: rotate(30deg);
|
||||||
|
-ms-transform: rotate(30deg);
|
||||||
|
-o-transform: rotate(30deg);
|
||||||
|
transform: rotate(30deg);
|
||||||
|
position:absolute;
|
||||||
|
left:50px;
|
||||||
|
top:150px;
|
||||||
|
z-index:4;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(3){
|
||||||
|
-webkit-transform: rotate(-50deg);
|
||||||
|
-moz-transform: rotate(-50deg);
|
||||||
|
-ms-transform: rotate(-50deg);
|
||||||
|
-o-transform: rotate(-50deg);
|
||||||
|
transform: rotate(-50deg);
|
||||||
|
position:absolute;
|
||||||
|
left:-140px;
|
||||||
|
top:300px;
|
||||||
|
z-index:2;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(4){
|
||||||
|
-webkit-transform: rotate(-20deg);
|
||||||
|
-moz-transform: rotate(-20deg);
|
||||||
|
-ms-transform: rotate(-20deg);
|
||||||
|
-o-transform: rotate(-20deg);
|
||||||
|
transform: rotate(-20deg);
|
||||||
|
position:absolute;
|
||||||
|
left:-30px;
|
||||||
|
top:400px;
|
||||||
|
z-index:3;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(5){
|
||||||
|
-webkit-transform: rotate(6deg);
|
||||||
|
-moz-transform: rotate(6deg);
|
||||||
|
-ms-transform: rotate(6deg);
|
||||||
|
-o-transform: rotate(6deg);
|
||||||
|
transform: rotate(6deg);
|
||||||
|
position:absolute;
|
||||||
|
left:-30px;
|
||||||
|
top:600px;
|
||||||
|
z-index:2;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(6){
|
||||||
|
-webkit-transform: rotate(6deg);
|
||||||
|
-moz-transform: rotate(6deg);
|
||||||
|
-ms-transform: rotate(6deg);
|
||||||
|
-o-transform: rotate(6deg);
|
||||||
|
transform: rotate(6deg);
|
||||||
|
position:absolute;
|
||||||
|
left:260px;
|
||||||
|
z-index:2;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(7){
|
||||||
|
-webkit-transform: rotate(6deg);
|
||||||
|
-moz-transform: rotate(6deg);
|
||||||
|
-ms-transform: rotate(6deg);
|
||||||
|
-o-transform: rotate(6deg);
|
||||||
|
transform: rotate(6deg);
|
||||||
|
position:absolute;
|
||||||
|
left:330px;
|
||||||
|
top:160px;
|
||||||
|
z-index:4;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.9;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(8){
|
||||||
|
-webkit-transform: rotate(-12deg);
|
||||||
|
-moz-transform: rotate(-12deg);
|
||||||
|
-ms-transform: rotate(-12deg);
|
||||||
|
-o-transform: rotate(-12deg);
|
||||||
|
transform: rotate(-12deg);
|
||||||
|
position:absolute;
|
||||||
|
left:500px;
|
||||||
|
top:-150px;
|
||||||
|
z-index:2;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(9){
|
||||||
|
-webkit-transform: rotate(40deg);
|
||||||
|
-moz-transform: rotate(40deg);
|
||||||
|
-ms-transform: rotate(40deg);
|
||||||
|
-o-transform: rotate(40deg);
|
||||||
|
transform: rotate(40deg);
|
||||||
|
position:absolute;
|
||||||
|
left:850px;
|
||||||
|
top:-60px;
|
||||||
|
z-index:4;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(10){
|
||||||
|
-webkit-transform: rotate(40deg);
|
||||||
|
-moz-transform: rotate(40deg);
|
||||||
|
-ms-transform: rotate(40deg);
|
||||||
|
-o-transform: rotate(40deg);
|
||||||
|
transform: rotate(40deg);
|
||||||
|
position:absolute;
|
||||||
|
left:1200px;
|
||||||
|
top:700px;
|
||||||
|
z-index:4;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(11){
|
||||||
|
-webkit-transform: rotate(-40deg);
|
||||||
|
-moz-transform: rotate(-40deg);
|
||||||
|
-ms-transform: rotate(-40deg);
|
||||||
|
-o-transform: rotate(-40deg);
|
||||||
|
transform: rotate(-40deg);
|
||||||
|
position:absolute;
|
||||||
|
left:800px;
|
||||||
|
top:450px;
|
||||||
|
z-index:4;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(12){
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
-moz-transform: rotate(0deg);
|
||||||
|
-ms-transform: rotate(0deg);
|
||||||
|
-o-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
position:absolute;
|
||||||
|
left:400px;
|
||||||
|
top:600px;
|
||||||
|
z-index:1;
|
||||||
|
border-radius:40px;
|
||||||
|
opacity:0.8;
|
||||||
|
filter:alpha(opacity=80);
|
||||||
|
}
|
||||||
|
div>img:hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1);
|
||||||
|
-moz-transform:rotate(0) scale(1.1);
|
||||||
|
-ms-transform:rotate(0) scale(1.1);
|
||||||
|
-o-transform:rotate(0) scale(1.1);
|
||||||
|
transform:rotate(0) scale(1.1);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(1):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(80px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(80px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(80px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(80px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(80px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(3):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(140px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(140px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(140px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(140px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(140px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(4):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(30px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(30px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(30px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(30px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(30px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(5):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(30px,-100px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(30px,-100px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(30px,-100px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(30px,-100px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(30px,-100px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(8):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(0px,150px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(0px,150px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(0px,150px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(0px,150px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(0px,150px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(9):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(-180px,60px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(-180px,60px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(-180px,60px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(-180px,60px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(-180px,60px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(10):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(-220px,-150px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(-220px,-150px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(-220px,-150px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(-220px,150px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(-220px,-150px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(11):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(-55px,0px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(-55px,0px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(-55px,0px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(-55px,0px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(-55px,0px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
div>img:nth-of-type(12):hover{
|
||||||
|
-webkit-transform:rotate(0) scale(1.1) translate(0px,-130px);
|
||||||
|
-moz-transform:rotate(0) scale(1.1) translate(0px,-130px);
|
||||||
|
-ms-transform:rotate(0) scale(1.1) translate(0px,-130px);
|
||||||
|
-o-transform:rotate(0) scale(1.1) translate(0px,-130px);
|
||||||
|
transform:rotate(0) scale(1.1) translate(0px,-130px);
|
||||||
|
z-index:10;
|
||||||
|
-webkit-transition: all 0.5s ease-in-out;
|
||||||
|
-moz-transition: all 0.5s ease-in-out;
|
||||||
|
-ms-transition: all 0.5s ease-in-out;
|
||||||
|
-o-transition: all 0.5s ease-in-out;
|
||||||
|
transition: all 0.5s ease-in-out;
|
||||||
|
opacity:1;
|
||||||
|
filter:alpha(opacity=1);
|
||||||
|
}
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 796 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 103 KiB |
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<title>若依系统首页</title>
|
<title>易创CRM首页</title>
|
||||||
<!-- 避免IE使用兼容模式 -->
|
<!-- 避免IE使用兼容模式 -->
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a th:href="@{/index}">
|
<a th:href="@{/index}">
|
||||||
<li class="logo hidden-xs">
|
<li class="logo hidden-xs">
|
||||||
<span class="logo-lg">RuoYi</span>
|
<span class="logo-lg">易创</span>
|
||||||
</li>
|
</li>
|
||||||
</a>
|
</a>
|
||||||
<div class="sidebar-collapse tab-content" id="side-menu">
|
<div class="sidebar-collapse tab-content" id="side-menu">
|
||||||
|
|
|
||||||