| | |
| | | */ |
| | | @RequestMapping(value = "/list") |
| | | @ResponseBody |
| | | public Object list(String principal,String principalPhone,String createTime) { |
| | | EntityWrapper<TAgent> wrapper = tAgentService.getAgentWrapper(principal,principalPhone,createTime); |
| | | public Object list(String principal,String principalPhone,String createTime,Integer status) { |
| | | EntityWrapper<TAgent> wrapper = tAgentService.getAgentWrapper(principal,principalPhone,createTime,status); |
| | | List<TAgent> tAgents = tAgentService.selectList(wrapper); |
| | | // 代理商列表数据封装(导出共用) |
| | | return tAgentService.getAgentResp(tAgents); |
| | |
| | | tDriver.setStatus(1); |
| | | } |
| | | } |
| | | tDriverService.updateBatchById(list); |
| | | if(!CollectionUtils.isEmpty(list)){ |
| | | tDriverService.updateBatchById(list); |
| | | } |
| | | return SUCCESS_TIP; |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "导出代理商列表",notes="导出代理商列表") |
| | | @RequestMapping(value = "/export") |
| | | @ResponseBody |
| | | public void export(String principal,String principalPhone,String createTime, HttpServletResponse response) { |
| | | public void export(String principal,String principalPhone,Integer status,String createTime, HttpServletResponse response) { |
| | | try { |
| | | Date date = new Date(); |
| | | DateFormat format = new SimpleDateFormat("yyyyMMdd"); |
| | |
| | | String fileName = "Agent"+time1+".xls"; |
| | | String[] title = new String[] {"时间","姓名","联系电话","代理区域","客服电话","订单数量", |
| | | "有效订单","已发放优惠券","已使用优惠券","累计优惠券金额","司机充值","司机数","状态"}; |
| | | EntityWrapper<TAgent> wrapper = tAgentService.getAgentWrapper(principal,principalPhone,createTime); |
| | | EntityWrapper<TAgent> wrapper = tAgentService.getAgentWrapper(principal,principalPhone,createTime,status); |
| | | // 是否异常 |
| | | List<TAgent> list = tAgentService.selectList(wrapper); |
| | | |
| | |
| | | if(isExit){ |
| | | return new SuccessTip(500,"该优惠券名称与类型已存在!"); |
| | | } |
| | | // 如果是新人优惠券,查询是否存在已启用的新人优惠券 |
| | | if(tCoupon.getCouponType() == 2){ |
| | | int count = tCouponService.selectCount(new EntityWrapper<TCoupon>() |
| | | .eq("coupon_type", 2) |
| | | .eq("coupon_state", 1) |
| | | .eq("status", true)); |
| | | if(count>0){ |
| | | return new SuccessTip(500,"已存在已启用的新人优惠券!"); |
| | | } |
| | | } |
| | | tCouponService.insert(tCoupon); |
| | | return SUCCESS_TIP; |
| | | } |
| | |
| | | if(Objects.nonNull(tDriver)){ |
| | | tDriverCommissionResp.setInviterName(tDriver.getName()); |
| | | tDriverCommissionResp.setInviterPhone(tDriver.getPhone()); |
| | | |
| | | if(Objects.nonNull(tDriver.getInviterId())){ |
| | | TDriver driver = tDriverService.selectById(tDriver.getInviterId()); |
| | | if(Objects.nonNull(driver.getInviterId())){ |
| | | tDriverCommissionResp.setLevel("三级"); |
| | | }else { |
| | | tDriverCommissionResp.setLevel("二级"); |
| | | } |
| | | }else { |
| | | tDriverCommissionResp.setLevel("一级"); |
| | | } |
| | | |
| | | } |
| | | } |
| | | return commissionResp; |
| | |
| | | TSystemConfig tSystemConfig = tSystemConfigService.selectOne(new EntityWrapper<TSystemConfig>().eq("type", 2) |
| | | .last("LIMIT 1")); |
| | | JSONObject jsonObject = JSONObject.parseObject(tSystemConfig.getContent()); |
| | | model.addAttribute("num1",jsonObject.getInteger("num1")); |
| | | model.addAttribute("num2",jsonObject.getInteger("num2")); |
| | | model.addAttribute("num3",jsonObject.getInteger("num3")); |
| | | model.addAttribute("num4",jsonObject.getInteger("num4")); |
| | | model.addAttribute("num5",jsonObject.getInteger("num5")); |
| | | model.addAttribute("num6",jsonObject.getInteger("num6")); |
| | | model.addAttribute("num7",jsonObject.getInteger("num7")); |
| | | model.addAttribute("num1",jsonObject.getString("num1")); |
| | | model.addAttribute("num2",jsonObject.getString("num2")); |
| | | model.addAttribute("num3",jsonObject.getString("num3")); |
| | | model.addAttribute("num4",jsonObject.getString("num4")); |
| | | model.addAttribute("num5",jsonObject.getString("num5")); |
| | | model.addAttribute("num6",jsonObject.getString("num6")); |
| | | model.addAttribute("num7",jsonObject.getString("num7")); |
| | | return PREFIX + "tSystemConfigCommissionShareRules.html"; |
| | | } |
| | | |
| | |
| | | |
| | | public class TDriverCommissionResp extends TDriver { |
| | | |
| | | @ApiModelProperty(value = "层级") |
| | | private String level; |
| | | |
| | | // 所属代理商 |
| | | @ApiModelProperty(value = "所属代理商") |
| | | private String agentName; |
| | |
| | | @ApiModelProperty(value = "邀约人电话") |
| | | private String inviterPhone; |
| | | |
| | | public String getLevel() { |
| | | return level; |
| | | } |
| | | |
| | | public void setLevel(String level) { |
| | | this.level = level; |
| | | } |
| | | |
| | | @Override |
| | | public String getInviterName() { |
| | | return inviterName; |
| | |
| | | @Permission |
| | | @RequestMapping(value = "/list") |
| | | @ResponseBody |
| | | public Object list(@RequestParam(required = false) String roleName) { |
| | | List<Map<String, Object>> roles = this.roleService.selectRoles(super.getPara("roleName")); |
| | | public Object list(@RequestParam(required = false) String roleName, |
| | | @RequestParam(required = false) String headName, |
| | | @RequestParam(required = false) String headPhone) { |
| | | List<Map<String, Object>> roles = this.roleService.selectRoles(super.getPara("roleName"),super.getPara("headName"),super.getPara("headPhone")); |
| | | return super.warpObject(new RoleWarpper(roles)); |
| | | } |
| | | |
| | |
| | | * @return |
| | | * @date 2017年2月12日 下午9:14:34 |
| | | */ |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition); |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition, |
| | | @Param("headName") String headName, |
| | | @Param("headPhone") String headPhone); |
| | | |
| | | /** |
| | | * 删除某个角色的所有权限 |
| | |
| | | <result column="deptid" property="deptid" /> |
| | | <result column="tips" property="tips" /> |
| | | <result column="version" property="version" /> |
| | | <result column="headName" property="headName" /> |
| | | <result column="headPhone" property="headPhone" /> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | |
| | | <select id="selectRoles" resultType="map"> |
| | | select rr.*,(SELECT COUNT(id) from sys_user where FIND_IN_SET(rr.id,roleid)) as userCount |
| | | from sys_role as rr |
| | | <if test="condition != null"> |
| | | where rr.name like CONCAT('%',#{condition},'%') |
| | | </if> |
| | | <where> |
| | | <if test="condition != null and condition != ''"> |
| | | and rr.name like CONCAT('%',#{condition},'%') |
| | | </if> |
| | | <if test="headName != null and headName != ''"> |
| | | and rr.headName like CONCAT('%',#{headName},'%') |
| | | </if> |
| | | <if test="headPhone != null and headPhone != ''"> |
| | | and rr.headPhone like CONCAT('%',#{headPhone},'%') |
| | | </if> |
| | | </where> |
| | | ORDER BY rr.num |
| | | </select> |
| | | |
| | | <delete id="deleteRolesById"> |
| | |
| | | * 保留字段(暂时没用) |
| | | */ |
| | | private Integer version; |
| | | /** |
| | | * 负责人姓名 |
| | | */ |
| | | private String headName; |
| | | /** |
| | | * 负责人电话 |
| | | */ |
| | | private String headPhone; |
| | | |
| | | public String getHeadName() { |
| | | return headName; |
| | | } |
| | | |
| | | public void setHeadName(String headName) { |
| | | this.headName = headName; |
| | | } |
| | | |
| | | public String getHeadPhone() { |
| | | return headPhone; |
| | | } |
| | | |
| | | public void setHeadPhone(String headPhone) { |
| | | this.headPhone = headPhone; |
| | | } |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | private Date createTime; |
| | | @ApiModelProperty(value = "优推距离") |
| | | private Integer distance; |
| | | @ApiModelProperty(value = "图片") |
| | | @TableField(value = "picture") |
| | | private String picture; |
| | | |
| | | @TableField(exist = false) |
| | | private String serviceContent; |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public String getServiceContent() { |
| | | return serviceContent; |
| | | } |
| | |
| | | * @return |
| | | * @date 2017年2月12日 下午9:14:34 |
| | | */ |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition); |
| | | List<Map<String, Object>> selectRoles(@Param("condition") String condition, |
| | | @Param("headName") String headName, |
| | | @Param("headPhone") String headPhone); |
| | | |
| | | /** |
| | | * 删除某个角色的所有权限 |
| | |
| | | * @param createTime |
| | | * @return |
| | | */ |
| | | EntityWrapper<TAgent> getAgentWrapper(String principal, String principalPhone, String createTime); |
| | | EntityWrapper<TAgent> getAgentWrapper(String principal, String principalPhone, String createTime,Integer status); |
| | | |
| | | /** |
| | | * 代理商查看详情 |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> selectRoles(String condition) { |
| | | return this.baseMapper.selectRoles(condition); |
| | | public List<Map<String, Object>> selectRoles(String condition,String headName,String headPhone) { |
| | | return this.baseMapper.selectRoles(condition,headName,headPhone); |
| | | } |
| | | |
| | | @Override |
| | |
| | | private TUserToCouponMapper tUserToCouponMapper; |
| | | |
| | | @Override |
| | | public EntityWrapper<TAgent> getAgentWrapper(String principal, String principalPhone, String createTime) { |
| | | public EntityWrapper<TAgent> getAgentWrapper(String principal, String principalPhone, String createTime,Integer status) { |
| | | EntityWrapper<TAgent> wrapper = new EntityWrapper<>(); |
| | | // 昵称 |
| | | if(StringUtils.hasLength(principal)){ |
| | |
| | | if(Objects.requireNonNull(ShiroKit.getUser()).getRoleType() == 3){ |
| | | wrapper.eq("id",ShiroKit.getUser().getObjectId()); |
| | | } |
| | | // 状态 |
| | | if(Objects.nonNull(status)){ |
| | | wrapper.eq("status",status); |
| | | } |
| | | wrapper.ne("status", StatusEnum.DELETE.getCode()); |
| | | wrapper.orderBy("createTime",false); |
| | | return wrapper; |
| | |
| | | |
| | | // 计算驾龄 |
| | | if(Objects.nonNull(tDriver.getFirstCertificateTime())){ |
| | | ZoneId zoneId = ZoneId.systemDefault(); |
| | | LocalDate firstTime = tDriver.getFirstCertificateTime().toInstant().atZone(zoneId).toLocalDate(); |
| | | LocalDate now = tDriver.getFirstCertificateTime().toInstant().atZone(zoneId).toLocalDate(); |
| | | Period period = Period.between(firstTime, now); |
| | | model.addAttribute("drivingExperience",period.getYears()); |
| | | Period period = Period.between(LocalDate.now(), com.stylefeng.guns.modular.system.util.DateUtil.dateToLocalDate(tDriver.getFirstCertificateTime())); |
| | | model.addAttribute("drivingExperience",Math.max(Math.abs(period.getYears()), 1)); |
| | | }else { |
| | | model.addAttribute("drivingExperience",0); |
| | | } |
| | |
| | | TDriver tDriver1 = tDriverMapper.selectById(tDriver.getInviterId()); |
| | | model.addAttribute("inviterName",tDriver1.getName()); |
| | | model.addAttribute("inviterPhone",tDriver1.getPhone()); |
| | | }else { |
| | | model.addAttribute("inviterName",""); |
| | | model.addAttribute("inviterPhone",""); |
| | | } |
| | | }else { |
| | | model.addAttribute("inviterName",""); |
| | | model.addAttribute("inviterPhone",""); |
| | | } |
| | | |
| | | // 查询当前用户邀请了哪些人 |
| | |
| | | <div id="noVipUnlockDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div noVipUnlockTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="noVipUnlockTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="noVipUnlockSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="noVipUnlockSubmit()"/> |
| | | </div> |
| | | <div class="noVipUnlockTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | <div id="vipUnlockDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div vipUnlockTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="vipUnlockTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="vipUnlockSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="vipUnlockSubmit()"/> |
| | | </div> |
| | | <div class="vipUnlockTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | <div id="allIncomeDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div allIncomeTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="allIncomeTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="allIncomeSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="allIncomeSubmit()"/> |
| | | </div> |
| | | <div class="allIncomeTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | <div id="addVipDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div addVipTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="addVipTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="addVipSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="addVipSubmit()"/> |
| | | </div> |
| | | <div class="addVipTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | <div id="sendActiveDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div sendActiveTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="sendActiveTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="sendActiveSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="sendActiveSubmit()"/> |
| | | </div> |
| | | <div class="sendActiveTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | <div id="userDiv" class="flex-div"> |
| | | <div class="sp-hidden flex-div userTimess sp-width" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);"> |
| | | <input type="text" id="userTime" class="form-control layer-date " > |
| | | <#button style="margin: 0;" btnCs="info" name="搜索" id="ensure" icon="fa-check" clickFun="userSubmit()"/> |
| | | <#button style="margin: 0;" btnCs="info" name="查询" id="ensure" icon="fa-check" clickFun="userSubmit()"/> |
| | | </div> |
| | | <div class="userTimes flex-div" style="position: absolute;right: 40px;top: 50%;transform: translateY(-50%);width: 180px;justify-content: flex-end;"> |
| | | <span class="active sp-item">今日</span> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <#button name="搜索" icon="fa-search" clickFun="getData()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="getData()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="reset()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <#button name="搜索" icon="fa-search" clickFun="getDataOrder()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="getDataOrder()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="resetOrder()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="phone" name="手机号" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Home.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Home.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="Home.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="getData()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="getData()"/> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="getData1()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="getData1()"/> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Dept.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Dept.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="DeptTableToolbar" role="group"> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Dict.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Dict.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="DictTableToolbar" role="group"> |
| | |
| | | <#NameCon id="name" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="DriverActivity.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="DriverActivity.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="DriverActivity.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="logName" name="用户名称" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="OptLog.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="OptLog.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="OptLog.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="logName" name="用户名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="LoginLog.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="LoginLog.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="LoginLog.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="level" name="层级" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Menu.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Menu.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="menuTableToolbar" role="group"> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Notice.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Notice.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="NoticeTableToolbar" role="group"> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatistics.search1()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatistics.search1()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatistics.resetSearch1()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatistics.downloadExcel1()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatistics.search2()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatistics.search2()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatistics.resetSearch2()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatistics.downloadExcel2()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatistics.search3()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatistics.search3()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatistics.resetSearch3()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatistics.downloadExcel3()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatistics.search4()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatistics.search4()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatistics.resetSearch4()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatistics.downloadExcel4()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatistics.search5()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatistics.search5()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatistics.resetSearch5()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatistics.downloadExcel5()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="CouponStatisticsInfo.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="CouponStatisticsInfo.search()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="CouponStatisticsInfo.resetSearch()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="CouponStatisticsInfo.downloadExcel()"/> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="OperationalData.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="OperationalData.search()"/> |
| | | <#button name="重置" icon="fa-search" clickFun="OperationalData.resetSearch()"/> |
| | | <#button name="下载" icon="fa-download" clickFun="OperationalData.downloadExcel()"/> |
| | | </div> |
| | |
| | | <#NameCon id="roleName" name="角色名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Role.search()"/> |
| | | <#NameCon id="headName" name="负责人" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="headPhone" name="负责人电话" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="查询" icon="fa-search" clickFun="Role.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="Role.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#button name="添加" icon="fa-plus" clickFun="Role.openAddRole()" /> |
| | | @} |
| | | @if(shiro.hasPermission("/role/edit")){ |
| | | <#button name="修改" icon="fa-edit" clickFun="Role.openChangeRole()" space="true"/> |
| | | <#button name="编辑" icon="fa-edit" clickFun="Role.openChangeRole()" space="true"/> |
| | | @} |
| | | @if(shiro.hasPermission("/role/remove")){ |
| | | <#button name="删除" icon="fa-remove" clickFun="Role.delRole()" space="true"/> |
| | |
| | | <#input id="pName" name="上级名称" underline="true" hidden="pid" readonly="readonly" |
| | | clickFun="RolInfoDlg.showPNameSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | <#input id="headName" name="负责人名称" underline="true"/> |
| | | <#input id="deptName" name="部门名称" hidden="deptid" readonly="readonly" |
| | | clickFun="RolInfoDlg.showDeptSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <#input id="tips" name="别名" underline="true"/> |
| | | <#input id="num" name="排序"/> |
| | | <#input id="num" name="排序" underline="true"/> |
| | | <#input id="headPhone" name="负责人电话" underline="true"/> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <#input id="pName" name="上级名称" underline="true" hidden="pid" hiddenValue="${role.pid}" readonly="readonly" value="${pName}" |
| | | clickFun="RolInfoDlg.showPNameSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | <#input id="headName" name="负责人名称" value="${role.headName}" underline="true"/> |
| | | <#input id="deptName" name="部门名称" hidden="deptid" hiddenValue="${role.deptid}" readonly="readonly" value="${deptName}" |
| | | clickFun="RolInfoDlg.showDeptSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <#input id="tips" name="别名" underline="true" value="${role.tips}"/> |
| | | <#input id="num" name="排序" value="${role.num}"/> |
| | | <#input id="num" name="排序" value="${role.num}" underline="true"/> |
| | | <#input id="headPhone" name="负责人电话" value="${role.headPhone}" underline="true"/> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="col-sm-3"> |
| | | <#TimeCon id="createTime" name="时间" /> |
| | | </div> |
| | | <!--<div class="col-sm-1"> |
| | | <select class="input-group" id="status" style="width: 80px;height: 33px" name="status"> |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | <option value="3">已删除</option> |
| | | </select> |
| | | </div>--> |
| | | <div class="col-sm-2"> |
| | | <#SelectCon id="status" name="状态" > |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TAgent.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TAgent.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TAgent.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | @if(shiro.hasPermission("/tAgent/export")){ |
| | | <#button name="导出" icon="" clickFun="TAgent.export()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAgent/add")){ |
| | | <#button name="添加" icon="fa-plus" clickFun="TAgent.openAddTAgent()"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | | <!--<div class="hidden-xs" id="TAgentTableToolbar" role="group"> |
| | | <div class="hidden-xs" id="TAgentTableToolbar" role="group"> |
| | | @if(shiro.hasPermission("/tAgent/export")){ |
| | | <#button name="导出" icon="" clickFun="TAgent.export()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAgent/add")){ |
| | | <#button name="添加" icon="fa-plus" clickFun="TAgent.openAddTAgent()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAgent/update")){ |
| | | <#button name="修改" icon="fa-edit" clickFun="TAgent.openTAgentDetail()" space="true"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAgent/delete")){ |
| | | <#button name="删除" icon="fa-remove" clickFun="TAgent.delete()" space="true"/> |
| | | @} |
| | | </div>--> |
| | | </div> |
| | | <#table id="TAgentTable"/> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="col-sm-2"> |
| | | <#NameCon id="phone" name="手机号" /> |
| | | </div> |
| | | <div class="col-sm-1"> |
| | | <select class="input-group" id="status" style="width: 80px;height: 33px" name="status"> |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </select> |
| | | <div class="col-sm-2"> |
| | | <#SelectCon id="status" name="状态" > |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TAppUser.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TAppUser.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TAppUser.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | @if(shiro.hasPermission("/tAppUser/export-userInfo")){ |
| | | <#button name="导出" icon="" clickFun="TAppUser.export()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAppUser/tAppUser_exception")){ |
| | | <#button name="异常" icon="" clickFun="TAppUserException.tAppUserException()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAppUser/sendCoupon")){ |
| | | <#button name="赠送优惠劵" icon="" clickFun="TAppUser.searchCoupon()"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | | <!--<div class="hidden-xs" id="TAppUserTableToolbar" role="group"> |
| | | @if(shiro.hasPermission("/tAppUser/add")){ |
| | | <#button name="添加" icon="fa-plus" clickFun="TAppUser.openAddTAppUser()"/> |
| | | <div class="hidden-xs" id="TAppUserTableToolbar" role="group"> |
| | | @if(shiro.hasPermission("/tAppUser/export-userInfo")){ |
| | | <#button name="导出" icon="" clickFun="TAppUser.export()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAppUser/update")){ |
| | | <#button name="修改" icon="fa-edit" clickFun="TAppUser.openTAppUserDetail()" space="true"/> |
| | | @if(shiro.hasPermission("/tAppUser/tAppUser_exception")){ |
| | | <#button name="异常" icon="" clickFun="TAppUserException.tAppUserException()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tAppUser/delete")){ |
| | | <#button name="删除" icon="fa-remove" clickFun="TAppUser.delete()" space="true"/> |
| | | @if(shiro.hasPermission("/tAppUser/sendCoupon")){ |
| | | <#button name="赠送优惠劵" icon="" clickFun="TAppUser.searchCoupon()"/> |
| | | @} |
| | | </div>--> |
| | | </div> |
| | | <#table id="TAppUserTable"/> |
| | | </div> |
| | | </div> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TAppUserException.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TAppUserException.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TAppUserException.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | <#NameCon id="couponName" name="优惠券名称" placeholder="请输入优惠券名称"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | </div> |
| | | </div> |
| | | <#table id="TCouponTable"/> |
| | |
| | | <#NameCon id="couponName" name="优惠券名称" placeholder="请输入优惠券名称"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | </div> |
| | | </div> |
| | | <#table id="TCouponTable"/> |
| | |
| | | <#NameCon id="addresseePhone" name="手机号" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="state" style="width: 180px;height: 33px" name="state"> |
| | | <option value="">状态</option> |
| | | <option value="1">待开票</option> |
| | | <option value="2">已开票</option> |
| | | <option value="3">开票失败</option> |
| | | </select> |
| | | <#SelectCon id="state" name="状态" > |
| | | <option value="">状态</option> |
| | | <option value="1">待开票</option> |
| | | <option value="2">已开票</option> |
| | | <option value="3">开票失败</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="billType" style="width: 180px;height: 33px" name="billType"> |
| | | <option value="">发票类型</option> |
| | | <option value="1">电子发票</option> |
| | | </select> |
| | | <#SelectCon id="billType" name="发票类型" > |
| | | <option value="">发票类型</option> |
| | | <option value="1">电子发票</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="billHeaderType" style="width: 180px;height: 33px" name="billHeaderType"> |
| | | <option value="">抬头类型</option> |
| | | <option value="1">公司</option> |
| | | <option value="2">个人</option> |
| | | </select> |
| | | <#SelectCon id="billHeaderType" name="抬头类型" > |
| | | <option value="">抬头类型</option> |
| | | <option value="1">公司</option> |
| | | <option value="2">个人</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TBill.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TBill.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TBill.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#NameCon id="condition" name="管理人电话" /> |
| | | </div>--> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="operatingBusiness" style="width: 180px;height: 33px" name="operatingBusiness"> |
| | | <option value="">选择经营业务</option> |
| | | <option value="1">司机代驾</option> |
| | | </select> |
| | | <#SelectCon id="operatingBusiness" name="选择经营业务" > |
| | | <option value="">选择经营业务</option> |
| | | <option value="1">司机代驾</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="status" style="width: 180px;height: 33px" name="status"> |
| | | <option value="">选择状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </select> |
| | | <#SelectCon id="status" name="选择状态" > |
| | | <option value="">选择状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TBranchOffice.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TBranchOffice.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TBranchOffice.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | | @if(shiro.hasPermission("/tBranchOffice/add")){ |
| | | <#button name="添加" icon="fa-plus" clickFun="TBranchOffice.openAddTBranchOffice()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tBranchOffice/update")){ |
| | | <#button name="编辑" icon="fa-edit" clickFun="TBranchOffice.openTBranchOfficeDetail()" space="true"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tBranchOffice/stop")){ |
| | | <#button name="冻结" icon="fa-edit" clickFun="TBranchOffice.stop()" space="true"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tBranchOffice/start")){ |
| | | <#button name="启动" icon="fa-edit" clickFun="TBranchOffice.start()" space="true"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | | <!--<div class="hidden-xs" id="TBranchOfficeTableToolbar" role="group"> |
| | | <div class="hidden-xs" id="TBranchOfficeTableToolbar" role="group"> |
| | | @if(shiro.hasPermission("/tBranchOffice/add")){ |
| | | <#button name="添加" icon="fa-plus" clickFun="TBranchOffice.openAddTBranchOffice()"/> |
| | | <#button name="添加" icon="fa-plus" clickFun="TBranchOffice.openAddTBranchOffice()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tBranchOffice/update")){ |
| | | <#button name="修改" icon="fa-edit" clickFun="TBranchOffice.openTBranchOfficeDetail()" space="true"/> |
| | | <#button name="编辑" icon="fa-edit" clickFun="TBranchOffice.openTBranchOfficeDetail()" space="true"/> |
| | | @} |
| | | </div>--> |
| | | @if(shiro.hasPermission("/tBranchOffice/stop")){ |
| | | <#button name="冻结" icon="fa-edit" clickFun="TBranchOffice.stop()" space="true"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tBranchOffice/start")){ |
| | | <#button name="启动" icon="fa-edit" clickFun="TBranchOffice.start()" space="true"/> |
| | | @} |
| | | </div> |
| | | <#table id="TBranchOfficeTable"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="content" name="消息内容" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TBroadcast.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TBroadcast.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TBroadcast.resetSearch()"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCancelOrder.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCancelOrder.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="TCancelOrderTableToolbar" role="group"> |
| | |
| | | <hr/> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div style="background-color: gray;height: 35px;line-height: 35px"> |
| | | <label style="color: #0C0C0C">取消信息</label> |
| | | </div> |
| | | </div> |
| | | <hr/> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label" >取消时间:</label> |
| | | <label>${cancelTime}</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label" >取消原因:</label> |
| | | <div style="margin-left: 70px" > |
| | | <textarea id="cause" style="width: 681px; height: 249px;" readonly>${cause}</textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <hr/> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div style="background-color: gray;height: 35px;line-height: 35px"> |
| | | <label style="color: #0C0C0C">费用明细</label> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <hr/> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div style="background-color: gray;height: 35px;line-height: 35px"> |
| | | <label style="color: #0C0C0C">取消信息</label> |
| | | </div> |
| | | </div> |
| | | <hr/> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label" >取消时间:</label> |
| | | <label>${cancelTime}</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label" >取消原因:</label> |
| | | <div style="margin-left: 70px" > |
| | | <textarea id="cause" style="width: 681px; height: 249px;" readonly>${cause}</textarea> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="hidden-xs" id="TDriverTableToolbar" role="group" style="text-align: center"> |
| | | <#button name="取消" icon="fa-plus" clickFun="TCancelOrderInfoDlg.close()" /> |
| | | </div> |
| | |
| | | <#NameCon id="franchiseeName" name="所属加盟商" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCar.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCar.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TCar.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="Franchisee.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="Franchisee.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="Franchisee.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCompany.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCompany.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TCompany.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="driverPhone" name="司机手机号" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="state" style="width: 180px;height: 33px" name="state"> |
| | | <option value="">选择状态</option> |
| | | <option value="1">待处理</option> |
| | | <option value="2">已处理</option> |
| | | </select> |
| | | <#SelectCon id="state" name="选择状态" > |
| | | <option value="">选择状态</option> |
| | | <option value="1">待处理</option> |
| | | <option value="2">已处理</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TComplaint.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TComplaint.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TComplaint.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#TimeCon id="createTime" name="发布时间"/> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="couponType" style="width: 180px;height: 33px" name="couponType"> |
| | | <option value="">优惠券类型</option> |
| | | <option value="1">活动券</option> |
| | | <option value="2">优惠券</option> |
| | | </select> |
| | | <#SelectCon id="couponType" name="优惠券类型" > |
| | | <option value="">优惠券类型</option> |
| | | <option value="1">活动券</option> |
| | | <option value="2">优惠券</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="couponServiceType" style="width: 180px;height: 33px" name="couponServiceType"> |
| | | <option value="">服务类类型</option> |
| | | <option value="1">通用券</option> |
| | | </select> |
| | | <#SelectCon id="couponServiceType" name="服务类类型" > |
| | | <option value="">服务类类型</option> |
| | | <option value="1">通用券</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCoupon.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TCoupon.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >优惠券类型:</label> |
| | | <select id="couponType" name="couponType" onclick="TCoupon.changeCouponType()" style="height: 30px" required> |
| | | <select id="couponType" name="couponType" onclick="TCoupon.changeCouponType()" style="height: 30px;width: 180px" required> |
| | | <option value="">请选择优惠券类型</option> |
| | | <option value="1">活动券</option> |
| | | <option value="2">新人券</option> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class=" control-label">服务类类型:</label> |
| | | <select id="couponServiceType" name="couponServiceType" style="height: 30px" required> |
| | | <select id="couponServiceType" name="couponServiceType" style="height: 30px;width: 180px" required> |
| | | <option value="">请选择服务类类型</option> |
| | | <option value="1">通用型</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-12 control-label form-group" id="coupon1" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label">优惠券限制数量:</label> |
| | | <input id="couponCount" name="couponCount" type="number" min="0" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" id="coupon2" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">优惠券限制数量:</label> |
| | | <input id="couponCount" name="couponCount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="couponCount" name="couponCount" type="number" min="0" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">条件金额:订单满</label> |
| | | <input id="couponConditionalAmount" name="couponConditionalAmount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="couponConditionalAmount" name="couponConditionalAmount" type="number" min="14" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <label>可使用</label> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">优惠金额:</label> |
| | | <input id="couponPreferentialAmount" name="couponPreferentialAmount" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="couponPreferentialAmount" name="couponPreferentialAmount" type="number" min="1" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">有效期:</label> |
| | | <input id="couponValidity" name="couponValidity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="couponValidity" name="couponValidity" type="number" min="1" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <label>天</label> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">优惠券总量:</label> |
| | | <input id="remainingQuantity" name="remainingQuantity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="remainingQuantity" name="remainingQuantity" min="1" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label">赠送数量:</label> |
| | | <input id="couponSendQuantity" name="couponSendQuantity" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | <input id="couponSendQuantity" name="couponSendQuantity" min="1" type="number" maxlength="4" placeholder="最多4位数字" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <label>张</label> |
| | |
| | | <script src="${ctxPath}/static/modular/system/tCoupon/tCoupon_info.js"></script> |
| | | <script src="${ctxPath}/static/modular/system/tCoupon/tCoupon.js"></script> |
| | | <script type="text/javascript"> |
| | | //监听下拉菜单的变动操作 |
| | | $("#couponType").change(function(){ |
| | | if(this.value == 1){ |
| | | $("#coupon1").show() |
| | | $("#coupon2").hide() |
| | | } |
| | | if(this.value == 2){ |
| | | $("#coupon1").hide() |
| | | $("#coupon2").show() |
| | | } |
| | | }) |
| | | </script> |
| | | @} |
| | |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="phone" name="手机号" /> |
| | | </div> |
| | | <div class="col-sm-1"> |
| | | <select class="input-group" id="status" style="width: 80px;height: 33px" name="status"> |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </select> |
| | | <div class="col-sm-2"> |
| | | <#SelectCon id="status" name="状态" > |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TDriver.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TDriver.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TDriver.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <label class="control-label" >手机号:</label> |
| | | <label>${phone}</label> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">紧急联系人电话:</label> |
| | | <label>${emergencyPhone}</label> |
| | |
| | | <label>未知</label> |
| | | @} |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label">司机来源:</label> |
| | | <label></label> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">邀请人:</label> |
| | | <label>${phone}</label> |
| | | <label>${inviterName}</label> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label">电话:</label> |
| | | <label>${phone}</label> |
| | | <label>${inviterPhone}</label> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <label class="control-label" >驾驶证号码:</label> |
| | | <label>${driverLicenseNumber}</label> |
| | | </div> |
| | | </div> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">驾龄:</label> |
| | | <label>${driverLicenseNumber}</label> |
| | | <label>${drivingExperience}</label> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <label class="control-label" >身份证号码:</label> |
| | | <label>${idcard}</label> |
| | | </div> |
| | | </div> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">加盟城市:</label> |
| | | <label>${cityName}</label> |
| | | </div> |
| | | </div> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">服务区域:</label> |
| | | <label>${areaName}</label> |
| | |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="name" name="司机姓名" /> |
| | | </div> |
| | | <div class="col-sm-1"> |
| | | <select class="input-group" id="status" style="width: 80px;height: 33px" name="status"> |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </select> |
| | | <div class="col-sm-2"> |
| | | <#SelectCon id="status" name="状态" > |
| | | <option value="">状态</option> |
| | | <option value="1">正常</option> |
| | | <option value="2">冻结</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TDriverCommission.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TDriverCommission.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TDriverCommission.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | <hr/> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div style="background-color: gray;height: 35px;line-height: 35px"> |
| | | <label style="color: #0C0C0C">用户资料</label> |
| | | <label style="color: #0C0C0C">司机详情</label> |
| | | </div> |
| | | </div> |
| | | <hr/> |
| | |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label" >身份证正面照:</label><br/> |
| | | <img src="${idcardFront}" style="height: 100px;width: 100px"/> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">身份证背面照:</label><br/> |
| | | <img src="${idcardBack}" style="height: 100px;width: 100px"/> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label" >姓名:</label> |
| | | <label>${name}</label> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label" >身份证正面照:</label><br/> |
| | | <img src="${idcardFront}" style="height: 100px;width: 100px"/> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <label class="control-label">身份证背面照:</label><br/> |
| | | <img src="${idcardBack}" style="height: 100px;width: 100px"/> |
| | | </div> |
| | | </div> |
| | | |
| | | <hr/> |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div style="background-color: gray;height: 35px;line-height: 35px"> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TDriverException.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TDriverException.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TDriverException.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | <#NameCon id="serverStr" name="服务模式" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="SelectCar.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="SelectCar.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="SelectCar.resetSearch()" space="true"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="SelectCar.selectCarOpt()" space="true"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SelectCar.close()" space="true"/> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="YesDriver.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="YesDriver.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="YesDriver.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | |
| | | <#NameCon id="editionNo" name="版本号" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TEdition.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TEdition.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TEdition.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </select> |
| | | </div>--> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="score" style="width: 120px;height: 33px" name="score"> |
| | | <option value="">选择分数</option> |
| | | <option value="1">非常差</option> |
| | | <option value="2">差</option> |
| | | <option value="3">一般</option> |
| | | <option value="4">满意</option> |
| | | <option value="5">非常满意</option> |
| | | </select> |
| | | <#SelectCon id="score" name="评价分数" > |
| | | <option value="">选择分数</option> |
| | | <option value="1">非常差</option> |
| | | <option value="2">差</option> |
| | | <option value="3">一般</option> |
| | | <option value="4">满意</option> |
| | | <option value="5">非常满意</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TEvaluate.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TEvaluate.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TEvaluate.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label" >订单来源:</label> |
| | | <label>${source}</label> |
| | | @if(1 == source){ |
| | | <label>用户创建</label> |
| | | @} |
| | | @if(2 == source){ |
| | | <label>司机创建</label> |
| | | @} |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <label class="control-label" >乘车时间:</label> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="initialLevel col-sm-2 control-label form-group" > |
| | | <#button name="搜索" icon="fa-search" clickFun="getData()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="getData()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="reset()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="THtml.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="THtml.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="THtmlTableToolbar" role="group"> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TInvoice.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TInvoice.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TInvoice.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TLine.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TLine.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TLine.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-2" style="text-align: center"> |
| | | @if(shiro.hasPermission("/tMainContent/driverCancelOrder/add")){ |
| | | <#button btnCss="info" name="新增" id="ensure" icon="fa-check" clickFun="TMainContent.driverCancelOrderAdd()"/> |
| | | <#button btnCss="info" name="新增" id="ensure" icon="" clickFun="TMainContent.driverCancelOrderAdd()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tMainContent/driverCancelOrder/update")){ |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="fa-check" clickFun="TMainContent.driverCancelOrderUpdate()"/> |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="" clickFun="TMainContent.driverCancelOrderUpdate()"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.driverCancelOrderAddSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="" clickFun="TMainContentInfoDlg.driverCancelOrderAddSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.driverCancelOrderUpdateSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="" clickFun="TMainContentInfoDlg.driverCancelOrderUpdateSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TMainContent.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TMainContent.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="TMainContentTableToolbar" role="group"> |
| | |
| | | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10"> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="" clickFun="TMainContentInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10"> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.editSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="" clickFun="TMainContentInfoDlg.editSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-2" style="text-align: center"> |
| | | @if(shiro.hasPermission("/tMainContent/transferOrder/add")){ |
| | | <#button btnCss="info" name="新增" id="ensure" icon="fa-check" clickFun="TMainContent.transferOrderAdd()"/> |
| | | <#button btnCss="info" name="新增" id="ensure" icon="" clickFun="TMainContent.transferOrderAdd()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tMainContent/transferOrder/update")){ |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="fa-check" clickFun="TMainContent.transferOrderUpdate()"/> |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="" clickFun="TMainContent.transferOrderUpdate()"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.transferOrderAddSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="" clickFun="TMainContentInfoDlg.transferOrderAddSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.transferOrderUpdateSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="" clickFun="TMainContentInfoDlg.transferOrderUpdateSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-2" style="text-align: center"> |
| | | @if(shiro.hasPermission("/tMainContent/userCancelOrder/add")){ |
| | | <#button btnCss="info" name="新增" id="ensure" icon="fa-check" clickFun="TMainContent.userCancelOrderAdd()"/> |
| | | <#button btnCss="info" name="新增" id="ensure" icon="" clickFun="TMainContent.userCancelOrderAdd()"/> |
| | | @} |
| | | @if(shiro.hasPermission("/tMainContent/userCancelOrder/update")){ |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="fa-check" clickFun="TMainContent.userCancelOrderUpdate()"/> |
| | | <#button btnCss="info" name="编辑" id="ensure" icon="" clickFun="TMainContent.userCancelOrderUpdate()"/> |
| | | @} |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.userCancelOrderAddSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="保存" id="ensure" icon="" clickFun="TMainContentInfoDlg.userCancelOrderAddSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-12" style="text-align: center"> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="fa-check" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="TMainContentInfoDlg.userCancelOrderUpdateSubmit()"/> |
| | | <#button btnCss="info" name="取消" id="cancel" icon="" clickFun="TMainContentInfoDlg.close()"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="" clickFun="TMainContentInfoDlg.userCancelOrderUpdateSubmit()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="content" name="消息内容" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="System.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="System.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="System.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="content" name="消息内容" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TNotices.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TNotices.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TNotices.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TCancelOrder.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TCancelOrder.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TCancelOrder.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <div class="row row-lg"> |
| | | <div class="col-sm-12"> |
| | | <div class="row"> |
| | | <div class="col-sm-2"> |
| | | <div class="col-sm-3"> |
| | | <#TimeCon id="createTime" name="订单时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="code" name="订单编号" /> |
| | | </div> |
| | | <div class="col-sm-1"> |
| | | <select class="input-group" id="source" style="width: 120px;height: 33px" name="source"> |
| | | <option value="">请选择订单来源</option> |
| | | <option value="1">小程序</option> |
| | | <option value="2">司机创建</option> |
| | | </select> |
| | | <div class="col-sm-3"> |
| | | <#SelectCon id="source" name="订单来源" > |
| | | <option value="">请选择订单来源</option> |
| | | <option value="1">小程序</option> |
| | | <option value="2">司机创建</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="userName" name="下单用户昵称" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="userPhone" name="下单用户手机" /> |
| | | </div> |
| | | <div class="col-sm-1"> |
| | | <select class="input-group" id="state" style="width: 120px;height: 33px" name="state"> |
| | | <option value="">请选择订单状态</option> |
| | | <option value="101">待接单</option> |
| | | <option value="102">已接单</option> |
| | | <option value="103">前往预约点</option> |
| | | <option value="104">到达预约点</option> |
| | | <option value="105">开始服务</option> |
| | | <option value="106">到达目的地</option> |
| | | <option value="107">待支付</option> |
| | | <option value="108">待评价</option> |
| | | <option value="109">已完成</option> |
| | | <option value="201">转单中</option> |
| | | <option value="301">已取消</option> |
| | | <option value="401">等待中</option> |
| | | </select> |
| | | <div class="col-sm-3"> |
| | | <#SelectCon id="state" name="状态" > |
| | | <option value="">请选择订单状态</option> |
| | | <option value="101">待接单</option> |
| | | <option value="102">已接单</option> |
| | | <option value="103">前往预约点</option> |
| | | <option value="104">到达预约点</option> |
| | | <option value="105">开始服务</option> |
| | | <option value="106">到达目的地</option> |
| | | <option value="107">待支付</option> |
| | | <option value="108">待评价</option> |
| | | <option value="109">已完成</option> |
| | | <option value="201">转单中</option> |
| | | <option value="301">已取消</option> |
| | | <option value="401">等待中</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <div class="col-sm-3"> |
| | | <#NameCon id="driverName" name="司机姓名" /> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TOrder.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TOrder.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TOrder.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TOrderException.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TOrderException.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TOrderException.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TOrderEvaluate.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TOrderEvaluate.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TOrderEvaluate.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TOrderRefusal.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TOrderRefusal.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="TOrderRefusalTableToolbar" role="group"> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TReassign.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TReassign.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TReassign.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TReassign.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TReassign.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TReassign.resetSearch()" space="true"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="phone" name="司机手机号" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="SelectPrivateCarDriver.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="SelectPrivateCarDriver.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="SelectPrivateCarDriver.resetSearch()" space="true"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="SelectPrivateCarDriver.selectDriver()" space="true"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SelectPrivateCarDriver.close()" space="true"/> |
| | |
| | | <#NameCon id="phone" name="司机手机号" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="SelectCrossDriver.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="SelectCrossDriver.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="SelectCrossDriver.resetSearch()" space="true"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="SelectCrossDriver.selectDriver()" space="true"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SelectCrossDriver.close()" space="true"/> |
| | |
| | | <#NameCon id="phone" name="司机手机号" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="SelectPrivateCarDriver.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="SelectPrivateCarDriver.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="SelectPrivateCarDriver.resetSearch()" space="true"/> |
| | | <#button btnCss="info" name="确定" id="ensure" icon="fa-check" clickFun="SelectPrivateCarDriver.selectDriver()" space="true"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SelectPrivateCarDriver.close()" space="true"/> |
| | |
| | | <#TimeCon id="businessTime" name="交易时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TRechargeRecord.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TRechargeRecord.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TRechargeRecord.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#TimeCon id="createTime" name="充值时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TRechargeRecordAgent.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TRechargeRecordAgent.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TRechargeRecordAgent.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#TimeCon id="createTime" name="充值时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TRechargeRecordUser.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TRechargeRecordUser.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TRechargeRecordUser.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TRegion.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TRegion.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="TRegionTableToolbar" role="group"> |
| | |
| | | <#NameCon id="code" name="订单号" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="businessType" style="width: 180px;height: 33px" name="businessType"> |
| | | <option value="">交易类型</option> |
| | | <option value="11">佣金提现</option> |
| | | <option value="12">余额提现</option> |
| | | <option value="1">支付订单</option> |
| | | </select> |
| | | <#SelectCon id="businessType" name="交易类型" > |
| | | <option value="">交易类型</option> |
| | | <option value="11">佣金提现</option> |
| | | <option value="12">余额提现</option> |
| | | <option value="1">支付订单</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="payType" style="width: 180px;height: 33px" name="payType"> |
| | | <option value="">支付渠道</option> |
| | | <option value="1">微信支付</option> |
| | | <option value="2">余额支付</option> |
| | | <option value="3">线下收款</option> |
| | | </select> |
| | | <#SelectCon id="payType" name="支付渠道" > |
| | | <option value="">支付渠道</option> |
| | | <option value="1">微信支付</option> |
| | | <option value="2">余额支付</option> |
| | | <option value="3">线下收款</option> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#NameCon id="driverName" name="司机姓名" /> |
| | |
| | | <#TimeCon id="businessTime" name="交易时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TRevenue.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TRevenue.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TRevenue.resetSearch()" space="true"/> |
| | | </div> |
| | | <div class="col-sm-12"> |
| | |
| | | <#NameCon id="content" name="消息内容" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TSystemBulletin.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TSystemBulletin.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TSystemBulletin.resetSearch()"/> |
| | | </div> |
| | | </div> |
| | |
| | | <#NameCon id="condition" name="名称" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TSystemConfig.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TSystemConfig.search()"/> |
| | | </div> |
| | | </div> |
| | | <div class="hidden-xs" id="TSystemConfigTableToolbar" role="group"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group" style="text-align: left" > |
| | | <!--<div class="initialLevel col-sm-12 control-label form-group" style="text-align: left" > |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <span class="control-label" >司机邀请1名用户,下单后完成订单后获得</span> |
| | | <input class="control-label" id="num1" name="num1" value="${num1}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num1" name="num1" value="${num1}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单</span> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <div class="initialLevel col-sm-12 control-label form-group" style="text-align: left" > |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <span class="control-label" >司机A邀请1名司机B,完成有效单后获得</span> |
| | | <input class="control-label" id="num2" name="num2" value="${num2}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num2" name="num2" value="${num2}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单</span> |
| | | </div> |
| | | </div> |
| | | <div class="initialLevel col-sm-12 control-label form-group" style="text-align: left" > |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <span class="control-label" >司机B邀请1名司机C,完成有效单后B获得</span> |
| | | <input class="control-label" id="num3" name="num3" value="${num3}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num3" name="num3" value="${num3}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单 司机A获得</span> |
| | | <input class="control-label" id="num4" name="num4" value="${num4}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num4" name="num4" value="${num4}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单</span> |
| | | </div> |
| | | </div> |
| | | <div class="initialLevel col-sm-12 control-label form-group" style="text-align: left" > |
| | | <div class="initialLevel col-sm-12 control-label form-group" > |
| | | <span class="control-label" >司机C邀请1名司机D,完成有效单后C获得</span> |
| | | <input class="control-label" id="num5" name="num5" value="${num5}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num5" name="num5" value="${num5}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单 司机B获得</span> |
| | | <input class="control-label" id="num6" name="num6" value="${num6}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num6" name="num6" value="${num6}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单 司机A获得</span> |
| | | <input class="control-label" id="num7" name="num7" value="${num7}" type="number" min="0" style="height: 30px;width: 80px"> |
| | | <input class="control-label" id="num7" name="num7" value="${num7}" type="text" min="0" style="height: 30px;width: 80px"> |
| | | <span class="control-label" >元/单</span> |
| | | </div> |
| | | </div> |
| | |
| | | <script src="${ctxPath}/static/modular/system/tSystemConfig/tSystemConfig.js"></script> |
| | | <script src="${ctxPath}/static/modular/system/tSystemConfig/tSystemConfig_info.js"></script> |
| | | <script> |
| | | $("input[name=num1]").bind('input',function(){ |
| | | $("input[name=num1]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num2]").bind('input',function(){ |
| | | $("input[name=num2]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num3]").bind('input',function(){ |
| | | $("input[name=num3]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num4]").bind('input',function(){ |
| | | $("input[name=num4]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num5]").bind('input',function(){ |
| | | $("input[name=num5]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num6]").bind('input',function(){ |
| | | $("input[name=num6]").mouseleave('input',function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | $("input[name=num7]").bind('input',function(){ |
| | | $("input[name=num7]").mouseleave(function(){ |
| | | var value = $(this).val() |
| | | regexp(value) |
| | | }) |
| | | function regexp(value){ |
| | | var reg=/^[1-9]\d*$/;//由 1-9开头 的正则表达式 |
| | | var reg=/^(\d+.?)?\d{0,2}$/;//由 1-9开头 的正则表达式 整数 |
| | | var reg1 = /^(([1-9]{1}\d*)|(0{1}))(\.\d{2})$/; // 两位小数 |
| | | //先判断是否为整数 在判断 是否在 1-总页 整数范围之内 |
| | | if(reg.test(value)){ |
| | | if(parseInt(value) <= 0){ |
| | | Feng.error("请输入大于0的正整数"); |
| | | if(value == 0){ |
| | | Feng.error("请输入大于0的整数或保留两位小数"); |
| | | return; |
| | | } |
| | | }else{ |
| | | Feng.error("请输入大于0的正整数"); |
| | | Feng.error("请输入整数或保留两位小数"); |
| | | return; |
| | | } |
| | | } |
| | |
| | | <#TimeCon id="createTime" name="发布时间" /> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <select class="input-group" id="type" style="width: 180px;height: 33px" name="type"> |
| | | <#SelectCon id="type" name="服务类类型" > |
| | | <option value="">服务类类型</option> |
| | | <option value="1">次数</option> |
| | | <option value="2">小时</option> |
| | | </select> |
| | | </#SelectCon> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TYouTui.search()"/> |
| | | <#button name="查询" icon="fa-search" clickFun="TYouTui.search()"/> |
| | | <#button name="重置" icon="fa-trash" clickFun="TYouTui.resetSearch()"/> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >优推类型:</label> |
| | | <input id="number" name="number" type="number" placeholder="请输入0以上的数字" min="0" style="height: 30px" required> |
| | | <input id="number" name="number" type="number" placeholder="请输入0以上的数字" min="1" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <select id="type" name="type" style="height: 30px" required> |
| | | <option value="">请选择类型</option> |
| | | <option value="1">次数</option> |
| | | <option value="2">小时</option> |
| | | </select> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >兑换条件:</label> |
| | | <input id="integral" name="integral" type="number" maxlength="4" placeholder="最多4位数" style="height: 30px" required> |
| | | <input id="integral" name="integral" type="number" min="1" maxlength="4" placeholder="最多4位数" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <label>积分</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group"> |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | |
| | | <div class="initialLevel col-sm-3 control-label form-group" > |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >有效期:</label> |
| | | <input id="effectiveTime" name="effectiveTime" maxlength="4" placeholder="最多4位数" type="number" style="height: 30px" required> |
| | | <input id="effectiveTime" name="effectiveTime" min="1" maxlength="4" placeholder="最多4位数" type="number" style="height: 30px" required> |
| | | </div> |
| | | <div class="initialLevel col-sm-3 control-label form-group" style="text-align: left" > |
| | | <label>天</label> |
| | |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >服务内容:</label> |
| | | <textarea id="serviceContent" name="serviceContent" placeholder="请输入" maxlength="500" style="height: 80px" required></textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="initialLevel col-sm-12 control-label form-group"> |
| | | <div class="initialLevel col-sm-8 control-label form-group" > |
| | | <div style="width: 20%"> |
| | | <span style="color:red">*</span> |
| | | <label class="control-label" >上传图片:</label> |
| | | </div> |
| | | <div style="width: 80%" > |
| | | <#uploadImg id="picture" name="picture"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <script src="${ctxPath}/static/modular/system/tYouTui/tYouTui_info.js"></script> |
| | | <script type="text/javascript"> |
| | | $(function (){ |
| | | var idCardPositive = new $WebUpload("picture"); |
| | | idCardPositive.setUploadBarId("progressBar"); |
| | | idCardPositive.init(); |
| | | }) |
| | | </script> |
| | | @} |
| | |
| | | return ""; |
| | | }*/ |
| | | }, |
| | | {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '名称', field: 'name', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: 'ID', field: 'id', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '角色名称', field: 'name', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '上级角色', field: 'pName', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '所在部门', field: 'deptName', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '包含账户数', field: 'userCount', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '别名', field: 'tips', align: 'center', valign: 'middle', sortable: true}] |
| | | {title: '所属部门', field: 'deptName', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '负责人', field: 'headName', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '负责人电话', field: 'headPhone', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '包含账户数', field: 'userCount',visible: false, align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '排序', field: 'num', align: 'center', valign: 'middle', sortable: true}, |
| | | {title: '别名', field: 'tips', visible: false,align: 'center', valign: 'middle', sortable: true}] |
| | | return columns; |
| | | }; |
| | | |
| | |
| | | Role.search = function () { |
| | | var queryData = {}; |
| | | queryData['roleName'] = $("#roleName").val(); |
| | | queryData['headName'] = $("#headName").val(); |
| | | queryData['headPhone'] = $("#headPhone").val(); |
| | | Role.table.refresh({query: queryData}); |
| | | } |
| | | |
| | |
| | | */ |
| | | Role.resetSearch = function (){ |
| | | $("#roleName").val(''); |
| | | $("#headName").val(''); |
| | | $("#headPhone").val(''); |
| | | Role.search(); |
| | | } |
| | | |
| | |
| | | message: '别名不能为空' |
| | | } |
| | | } |
| | | }/*, |
| | | pName: { |
| | | }, |
| | | headName: { |
| | | validators: { |
| | | notEmpty: { |
| | | message: '父级名称不能为空' |
| | | message: '负责人名称不能为空' |
| | | }, |
| | | regexp: { |
| | | regexp: /^[\u4E00-\u9FA5A-Za-z\s]+$/, |
| | | message: '不能输入特殊字符和数字' |
| | | } |
| | | } |
| | | }*/ |
| | | }, |
| | | headPhone: { |
| | | validators: { |
| | | regexp: { |
| | | regexp: /^1[3-9]\d{9}$/, |
| | | message: '请输入合法手机号' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | |
| | |
| | | * 收集数据 |
| | | */ |
| | | RolInfoDlg.collectData = function () { |
| | | this.set('id').set('name').set('pid').set('deptid').set('tips').set('num'); |
| | | this.set('id').set('name').set('pid').set('deptid').set('tips').set('num').set("headName").set("headPhone"); |
| | | }; |
| | | |
| | | /** |
| | |
| | | var principal=$("#principal").val(); |
| | | var principalPhone = $("#principalPhone").val(); |
| | | var createTime = $("#createTime").val(); |
| | | var status = $("#status").val(); |
| | | window.location.href=Feng.ctxPath + "/tAgent/export?principal="+principal |
| | | +"&principalPhone="+principalPhone |
| | | +"&createTime="+createTime |
| | | +"&status="+status |
| | | ; |
| | | } |
| | | |
| | |
| | | queryData['principal'] = $("#principal").val(); |
| | | queryData['principalPhone'] = $("#principalPhone").val(); |
| | | queryData['createTime'] = $("#createTime").val(); |
| | | queryData['status'] = $("#status").val(); |
| | | TAgent.table.refresh({query: queryData}); |
| | | }; |
| | | |
| | |
| | | $("#principal").val(''); |
| | | $("#principalPhone").val(''); |
| | | $("#createTime").val(''); |
| | | $("#status").val(''); |
| | | TAgent.search(); |
| | | } |
| | | |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '停用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tAppUser/tAppUser_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '启用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tAppUser/tAppUser_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '停用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tAppUser/tAppUserException_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '启用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tAppUser/tAppUserException_start_and_stop?id='+id |
| | |
| | | validators: { |
| | | notEmpty: { |
| | | message: '优惠券名称不能为空' |
| | | }, |
| | | regexp: { |
| | | regexp: /^[\u4E00-\u9FA5A-Za-z\s]+$/, |
| | | message: '不能输入特殊字符和数字' |
| | | } |
| | | } |
| | | }, |
| | |
| | | validators: { |
| | | notEmpty: { |
| | | message: '请选择服务类类型' |
| | | } |
| | | } |
| | | }, |
| | | couponCount: { |
| | | validators: { |
| | | notEmpty: { |
| | | message: '优惠券数量不能为空' |
| | | }, |
| | | regexp: { |
| | | regexp: /^[1-9]\d*$/, |
| | | message: '请输入大于0的正整数' |
| | | } |
| | | } |
| | | }, |
| | |
| | | return ; |
| | | } |
| | | |
| | | var couponConditionalAmount = $('#couponConditionalAmount').val(); |
| | | if(couponConditionalAmount < 14){ |
| | | Feng.info("条件金额最低14元!") |
| | | return; |
| | | } |
| | | |
| | | var couponCount = $('#couponCount').val(); |
| | | var couponType = $('#couponType').val(); |
| | | if(couponType == 2 && (couponCount == null || couponCount == '')){ |
| | | Feng.info("请填写优惠券限制数量!") |
| | | return; |
| | | } |
| | | |
| | | //提交信息 |
| | | var ajax = new $ax(Feng.ctxPath + "/tCoupon/add", function(data){ |
| | | Feng.success("添加成功!"); |
| | | window.parent.TCoupon.table.refresh(); |
| | | TCouponInfoDlg.close(); |
| | | if(500 == data.code){ |
| | | Feng.error(data.message) |
| | | return; |
| | | }else { |
| | | Feng.success("添加成功!"); |
| | | window.parent.TCoupon.table.refresh(); |
| | | TCouponInfoDlg.close(); |
| | | } |
| | | },function(data){ |
| | | Feng.error("添加失败!" + data.responseJSON.message + "!"); |
| | | }); |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '冻结', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDriver/tDriver_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '启用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDriver/tDriver_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '充值余额', |
| | | area: ['45%', '20%'], //宽高 |
| | | area: ['800px', '220px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDriver/rechargeBalancePage?id=' + id |
| | |
| | | return [ |
| | | {field: 'selectItem', radio: true}, |
| | | {title: '主键', field: 'id', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '关联层级', field: 'id', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '关联层级', field: 'level', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '用户姓名', field: 'name', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '联系电话', field: 'phone', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '上级人员', field: 'inviterName', visible: true, align: 'center', valign: 'middle'}, |
| | |
| | | } |
| | | }}, |
| | | {title: '关联人数', field: 'connectedPersons', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '更新时间', field: 'createTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '操作', visible: true, align: 'center', valign: 'middle',width:150, |
| | | formatter: function (value, row) { |
| | | return '<a href="#" onclick="TDriverCommissionConnect.searchTDriverDetail('+row.id+')" style="color:blue">查询</a>' |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '停用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDriver/tDriverException_start_and_stop?id='+id |
| | |
| | | var index = layer.open({ |
| | | type: 2, |
| | | title: '启用', |
| | | area: ['45%', '50%'], //宽高 |
| | | area: ['800px', '420px'], //宽高 |
| | | fix: false, //不固定 |
| | | maxmin: true, |
| | | content: Feng.ctxPath + '/tDriver/tDriverException_start_and_stop?id='+id |
| | |
| | | Feng.error("保存失败!" + data.responseJSON.message + "!"); |
| | | }); |
| | | var reqData = {}; |
| | | reqData['num1'] = Number($("#num1").val()); |
| | | reqData['num2'] = Number($("#num2").val()); |
| | | reqData['num3'] = Number($("#num3").val()); |
| | | reqData['num4'] = Number($("#num4").val()); |
| | | reqData['num5'] = Number($("#num5").val()); |
| | | reqData['num6'] = Number($("#num6").val()); |
| | | reqData['num7'] = Number($("#num7").val()); |
| | | reqData['num1'] = $("#num1").val(); |
| | | reqData['num2'] = $("#num2").val(); |
| | | reqData['num3'] = $("#num3").val(); |
| | | reqData['num4'] = $("#num4").val(); |
| | | reqData['num5'] = $("#num5").val(); |
| | | reqData['num6'] = $("#num6").val(); |
| | | reqData['num7'] = $("#num7").val(); |
| | | console.log(JSON.stringify(reqData)) |
| | | ajax.set("content",JSON.stringify(reqData)); |
| | | ajax.set("type",2); |
| | | ajax.start(); |
| | |
| | | } |
| | | }, |
| | | {title: '服务内容', field: 'content', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '图片', field: 'picture', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | return '<img src="'+row.picture+'" style="height: 60px;width: 60px"/>' |
| | | } |
| | | }, |
| | | {title: '兑换积分数', field: 'integral', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '优推值', field: 'number', visible: false, align: 'center', valign: 'middle'}, |
| | | {title: '优推距离(米)', field: 'distance', visible: true, align: 'center', valign: 'middle'}, |
| | |
| | | {title: '状态', field: 'status', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | if (row.status === 1){ |
| | | return '<span>正常</span>' |
| | | return '<span>启用</span>' |
| | | }else if (row.status === 2){ |
| | | return '<span>冻结</span>' |
| | | return '<span>停用</span>' |
| | | }else if (row.status === 3){ |
| | | return '<span>已删除</span>' |
| | | } |
| | |
| | | {title: '操作', visible: true, align: 'center', valign: 'middle',width:150, |
| | | formatter: function (value, row) { |
| | | if (row.status === 1){ |
| | | return '<a href="#" onclick="TYouTui.updateStatus('+row.id+','+row.status+')" style="color:red">冻结</a>' +' ' + |
| | | '<a href="#" onclick="TYouTui.delete('+row.id+')" style="color:red">删除</a>' |
| | | return '<a href="#" onclick="TYouTui.updateStatus('+row.id+','+row.status+')" style="color:lightskyblue">停用</a>' +' ' + |
| | | '<a href="#" onclick="TYouTui.delete('+row.id+')" style="color:lightskyblue">删除</a>' |
| | | }else if (row.status === 2){ |
| | | return '<a href="#" onclick="TYouTui.updateStatus('+row.id+','+row.status+')" style="color:green">解冻</a>' +' ' + |
| | | '<a href="#" onclick="TYouTui.delete('+row.id+')" style="color:red">删除</a>' |
| | | return '<a href="#" onclick="TYouTui.updateStatus('+row.id+','+row.status+')" style="color:lightskyblue">启用</a>' +' ' + |
| | | '<a href="#" onclick="TYouTui.delete('+row.id+')" style="color:lightskyblue">删除</a>' |
| | | } |
| | | } |
| | | } |
| | |
| | | validators: { |
| | | notEmpty: { |
| | | message: '优推名称不能为空' |
| | | }, |
| | | regexp: { |
| | | regexp: /^[\u4E00-\u9FA5A-Za-z\s]+$/, |
| | | message: '不能输入特殊字符和数字' |
| | | } |
| | | } |
| | | }, |
| | |
| | | .set('status') |
| | | .set('distance') |
| | | .set('serviceContent') |
| | | .set('picture') |
| | | .set('createTime'); |
| | | } |
| | | |