Commit 898305e9 authored by zw's avatar zw

Merge branch '0213-v3.0.7' of https://gitee.com/zwyjjc/tl_estate into 0213-v3.0.7

parents 7b57d2bb 9c2f867d
......@@ -11,7 +11,7 @@
</head>
<body style="display: none;">
<div id="app">
<div id="app" style="color: #061C43;font-size: 14px;">
<main>
<section v-show="dataCode==200">
<table>
......
<?php
namespace app\index\controller;
/**
* Created by PhpStorm.
* User: liu yin ping
* Date: 2018/3/13
* Time: 15:48
*/
use app\index\extend\Basic;
class MyTransfer extends Basic
{
public function myTransferList()
{
if (!$this->request->isAjax()) {
return view('transfer/myTransferList');
}
}
}
......@@ -1059,6 +1059,88 @@
<!-- /.modal -->
</div>
<link href="https://unpkg.com/bootstrap-table/dist/bootstrap-table.min.css" rel="stylesheet">
<script src="https://unpkg.com/bootstrap-table/dist/bootstrap-table.min.js"></script>
<!--状态==详情-->
<div class="modal fade" id="modal-status" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-body-width">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">收款状态详情 </h4>
</div>
<div class="modal-body modal-body-height">
<div class="col-xs-12">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th class="text-center">提交时间</th>
<th class="text-center">收款ID</th>
<th class="text-center">订单ID</th>
<th class="text-center">成交报告ID</th>
<th class="text-center">入账日期</th>
<th class="text-center">提交人</th>
<th class="text-center">对应业务员</th>
<th class="text-center">所属门店</th>
<th class="text-center">类型</th>
<th class="text-center">收款金额</th>
<th class="text-center">实付金额</th>
<th class="text-center">来源</th>
</tr>
</thead>
<tbody class="text-center" id="statusBody1">
</table>
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th class="text-center">提交时间</th>
<th class="text-center">调整ID</th>
<th class="text-center">调整前带看ID</th>
<th class="text-center">调整前商铺ID</th>
<th class="text-center">调整前收款ID</th>
<th class="text-center">调整前商铺地址</th>
<th class="text-center">调整金额</th>
<th class="text-center">入账日期</th>
<th class="text-center">调整类型</th>
<th class="text-center">调整后收款ID</th>
<th class="text-center">提交人</th>
</tr>
</thead>
<tbody class="text-center" id="statusBody2">
</table>
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th class="text-center">提交时间</th>
<th class="text-center">退款ID</th>
<th class="text-center">状态</th>
<th class="text-center">带看(订单)ID</th>
<th class="text-center">收款ID</th>
<th class="text-center">退款金额</th>
<th class="text-center">入账日期</th>
<th class="text-center">退款类型</th>
<th class="text-center">提交人</th>
<th class="text-center">提交时间</th>
<th class="text-center">商铺地址</th>
</tr>
</thead>
<tbody class="text-center" id="statusBody3">
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary submit_edit" id="back_saveChangeBtn"> 提交 </button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
......
......@@ -196,6 +196,21 @@
.ld-Marheight{
margin-top: 5px;
}
/*商铺详情 样式优化*/
.btn-info-liu{
font-size: 18px;
color: #FF8018;
}
.btn-default-liu{
opacity: 0.4;
font-size: 18px;
color: #1F3865;
}
.detail-modal-header-tab span{
cursor: pointer;
margin-left: 30px;
font-weight: 600;
}
</style>
<div id="page-content-wrapper">
<div class="container">
......@@ -240,6 +255,13 @@
<option value="3">无效</option>
</select>
<select class="form-control btn2" id="lease_state">
<option value="">出租状态</option>
<option value="1">求租</option>
<option value="2">已租</option>
<option value="3">无效</option>
</select>
<select class="form-control btn2 " id="yetai_id">
<option value="" selected="selected">业态筛选</option>
</select>
......@@ -339,6 +361,7 @@
<th class="text-center">盘方</th>
<th class="text-center">创建时间</th>
<th class="text-center">上下架</th>
<th class="text-center">出租状态</th>
<th class="text-center">对客户展示</th>
<th class="text-center">操作</th>
</tr>
......@@ -568,14 +591,14 @@
&times;
</button>
<h4 class="modal-title detail-modal-header-tab" >
<a href="javascript:;" class="btn btn-info">查看商铺</a>
<a href="javascript:;" class="btn btn-default">商铺跟进</a>
<a href="javascript:;" class="btn btn-default">盘方记录</a>
<a href="javascript:;" class="btn btn-default">查看日志</a>
<a href="javascript:;" class="btn btn-default">编辑日志</a>
<span class="btn-info-liu">查看商铺</span>
<span class="btn-default-liu">商铺跟进</span>
<span class="btn-default-liu">盘方记录</span>
<span class="btn-default-liu">查看日志</span>
<span class="btn-default-liu">编辑日志</span>
</h4>
</div>
<div class="modal-body modal-body-one">
<div class="modal-body modal-body-one" style="padding-top: 0;">
<div class="detail-modal-body-sec">
<iframe class="iframe-shop-detail"></iframe>
</div>
......
......@@ -240,11 +240,18 @@
width: 30px;
border-radius: 3px;
line-height: 20px;
margin-top: 2px;
font-size: 10px;
font-size: 14px;
text-align: center;
cursor: pointer;
margin-left: 2px;
color: #FF8018;
text-decoration: none;
font-weight: 600;
}
.user_call:hover{
text-decoration: none;
color: #FF8018;
}
/*客户动态*/
......@@ -311,13 +318,14 @@
/*上一条 下一条 样式*/
#user_up,
#user_down {
color: #337ab7;
cursor: pointer;
margin-right: 30px;
}
.detail-modal-header-tab {
width: 220px;
width: 240px;
float: left;
margin-top: 8px;
}
.user_up_con {
......@@ -397,8 +405,6 @@
}
/*收藏样式*/
#user_is_collect{
margin-left: 30px;
font-weight: 600;
cursor: pointer;
}
......@@ -407,26 +413,75 @@
margin: 0 auto;
background-color: white;
}
/*客户详情 样式优化*/
.btn-info-liu{
font-size: 18px;
color: #FF8018;
}
.btn-default-liu{
opacity: 0.4;
font-size: 18px;
color: #1F3865;
}
.detail-modal-header-tab span{
cursor: pointer;
font-weight: 600;
}
.public-box-liu-88{
display: block;
width: 88px;
height: 30px;
line-height: 30px;
text-align: center;
border: 1px solid #D8DBED;
border-radius: 3px;
font-size: 12px;
color: #A4ACCF;
float: left;
}
.public-box-liu-73{
display: block;
width: 73px;
height: 30px;
line-height: 30px;
text-align: center;
border: 1px solid #D8DBED;
border-radius: 3px;
font-size: 12px;
color: #A4ACCF;
float: left;
}
#edit_add{
display: inline-block;
width: 66px;
height: 32px;
text-align: center;
line-height: 32px;
font-size: 12px;
color: #fff;
background-image: linear-gradient(-146deg, #FFDC0F 0%, #FF750E 91%);
border-radius: 3px;
}
</style>
<div>
<div class="modal-header">
<h4 class="modal-title text-info detail-modal-header-tab">
<a href="javascript:;" class="btn btn-info">客户详情/跟进</a>
<a href="javascript:;" class="btn btn-default caozuo-yue">约带看</a>
<span class="btn-info-liu" style="margin-right: 30px;">客户详情/跟进</span>
<span class="btn-default-liu caozuo-yue">约带看</span>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="position: absolute;top: 0;right: 10px;width: 30px;height: 30px;">
×
</button>
</h4>
<div class="user_up_con">
<span id="user_up" class="ld-Marheight text-primary ld-Marheight">上一条客户</span>
<span id="user_down" class="ld-Marheight text-primary ld-Marheight">下一条客户</span>
<span id='user_is_collect' class='ld-Marheight text-primary'>收藏</span>
<a id='user_add_relational' class='ld-Marheight text-primary' style="margin-left: 32px;cursor: pointer;" href="#modal-addRelational" data-toggle="modal">添加关联客户</a>
<span id="user_up" class="public-box-liu-73">上一条客户</span>
<span id="user_down" class="public-box-liu-73">下一条客户</span>
<span id='user_is_collect' class='public-box-liu-73'>收藏</span>
<a id='user_add_relational' class='public-box-liu-88' style="margin-left: 32px;cursor: pointer;" href="#modal-addRelational" data-toggle="modal">添加关联客户</a>
</div>
</div>
<div class="modal-body modal-body1">
<div class="modal-body modal-body1" style="color: #061C43;font-size: 14px;">
<div class="detail-modal-body-sec">
<div class="call-user-five"></div>
<div class="detail-modal-body-sec-2">
......@@ -476,7 +531,7 @@
<td>
<span class="fore-span">电话:</span>
<span class="fore-span cus_phone"></span>
<a class="fore-span btn-primary user_call" >拨打</a>
<a class="fore-span user_call" >拨打</a>
</td>
<td>
......@@ -556,7 +611,7 @@
</table>
<!--关联客户-->
<div>
<div class="text-info" style="font-size: 16px;">
<div style="font-size: 16px;color: #061C43;font-weight: 600;">
关联客户
</div>
<div class="user-detail-relational" style="overflow: hidden;">
......@@ -564,7 +619,7 @@
</div>
<!--客户详情 最近一条带看动态-->
<div>
<div class="text-info" style="margin: 2px;font-size: 16px;">最近一条带看动态</div>
<div style="margin: 2px;font-size: 16px;color: #061C43;font-weight: 600;">最近一条带看动态</div>
<table class="table table-striped table-bordered table-hover table-condensed" style="margin-bottom: 0;">
<tbody class="text-center user-log-detail">
</tbody>
......@@ -572,7 +627,7 @@
</div>
<div class="clear modal-title-genjing">
<span class="modal-title-genjing-con">
<span class="text-info">客户动态</span>
<span class="btn-info-liu">客户动态</span>
<span>带看动态</span>
</span>
......@@ -599,24 +654,18 @@
</div>
<div class="clear margin-top-ld">
</div>
<label class="col-sm-3 control-label">跟进<span class="text-danger">(必填)</span></label>
<div class="col-sm-9">
<textarea class="form-control" rows="2" id="genj_text"></textarea>
<div class="col-sm-12">
<textarea class="form-control" rows="2" id="genj_text" placeholder="请输入客户跟进信息(必填)"></textarea>
</div>
<label class="col-sm-3 control-label">状态标签 <span class="text-danger">(必填)</span></label>
<div class="col-sm-9">
<!--<label class="control-label">无效</label><input type="radio" name="user_status" value="-1">-->
<div class="col-sm-12">
<label class="control-label">已租</label><input type="radio" name="user_status" value="1">
<label class="control-label">求租</label><input type="radio" name="user_status" value="0">
</div>
<!--跟进保存-->
<div class="center-btn">
<button type="button" class="btn btn-primary right-btn" id="edit_add">保存</button>
<button type="button" class="btn btn-default btn-guanbi" data-dismiss="modal">关闭</button>
<span id="edit_add">保存</span>
<!--<button type="button" class="btn btn-default btn-guanbi" data-dismiss="modal">关闭</button>-->
</div>
</div>
......
{layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="plNews" />
<style>
.modal-body1 {
height: 600px;
overflow-y: auto;
padding-bottom: 60px;
}
.modal-body2 {
padding: 35px;
height: 380px;
}
.user-ul {
width: 100%;
height: auto;
padding-bottom: 15px;
float: left;
position: relative;
left: -40px;
}
.user-ul li {
list-style: none;
line-height: 30px;
}
.user-ul2 {
width: 100%;
height: auto;
padding-bottom: 15px;
float: left;
position: relative;
left: -40px;
}
.user-ul2 li {
list-style: none;
line-height: 30px;
}
.input {
width: 16%!important;
}
.text-left {
float: left;
display: inline-block;
height: 26px;
line-height: 26px;
font-size: 14px;
}
.text-right {
float: right;
display: inline-block;
}
#batch {
float: left;
height: 34px;
line-height: 34px;
}
.ld-Marheight {
margin-top: 15px;
}
.phone_list {
margin-top: 32px;
width: 182px;
margin-left: -182px;
}
.phone_jia {
width: 182px;
}
.phone_list li {
height: 22px;
line-height: 22px;
}
.phone_list li:nth-of-type(even) {
display: none;
}
.modal-dialog-one {
width: 668px;
}
.clear {
clear: both;
}
.left {
float: left;
font-size: 12px;
}
.bottom {
margin-top: 30px;
}
.btn6_1 {
width: 80% !important;
float: left;
}
.notice-title {
font-size: 20px;
}
.notice-time {
font-size: 13px;
margin-top: 20px;
}
.notice-text {
font-size: 16px;
margin-top: 30px;
text-indent: 2em;
}
.col-sm-9 .btn5 {
width: 30%!important;
}
.img-pre-ul {
padding-left: 0;
overflow: hidden;
/*width: 100%;*/
}
/*图片上传相关样式*/
.img-pre-ul>li {
list-style: no;
float: left;
width: 210px;
height: 170px;
overflow: hidden;
margin-right: 10px;
margin-top: 10px;
}
.img-pre-ul>li.pdf-pre-li {
height: 70px;
}
.img-pre-ul>li>img {
float: left;
width: 210px;
height: 140px;
object-fit: contain;
cursor: pointer;
}
.img-pre-ul>li>a {
float: left;
width: 210px;
text-align: center;
line-height: 30px;
}
.img-pre-ul>li>a.pdf-pre-a {
line-height: 20px;
word-break: break-all;
}
/*图片点击放大预览区域的样式*/
#img_mask_area {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1999;
background-color: rgba(0, 0, 0, .3);
display: none;
}
#img_mask_area>img {
width: 900px;
height: 700px;
object-fit: contain;
position: absolute;
left: 50%;
top: 50%;
margin-left: -450px;
margin-top: -350px;
}
/*上传图片列表 样式*/
.form-group {
margin: 10px;
}
.input-100-width {
width: 100px!important;
}
.input-360-width {
width: 360px!important;
}
.textarea-500-width {
width: 500px!important;
}
.list-group-item>.full-width-100+.full-width-100 {
padding-top: 10px;
}
.list-group-item>.full-width-100>label {
width: 60px;
}
.list-group-item>.full-pic-area>label {
width: 120px;
}
.delet-pic-btn {
color: red;
}
#modal_content_add {
width: 900px;
}
.cke_skin_kama .cke_wrapper{
background-color:#fff;
}
#modal_detail_value{
height: 200px;
overflow-y: scroll;
border: 1px solid #ccc;
background: #fff;
}
.btn4{
width : 14% !important;
}
</style>
<!--导航star-->
<!-- Sidebar -->
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container">
<div class="row">
<div class="">
<div class="panel panel-default">
<div class="panel-heading breadcrumb">
<li class="active">商学院心得评论</li>
<div class="pull-right">
</div>
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td colspan="11">
<form action="" method="get" id="form_search">
<span class="fore-span ld-Marheight">评论时间:</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="start_date" name="start_date" type="date">
<span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="end_date" name="end_date" type="date">
<select class="form-control btn2 ld-Marheight" id="commit_home">
<option value="">提交人所在部门</option>
</select>
<select class="form-control btn2 ld-Marheight" id="commit_shop">
<option value="">提交人所在门店</option>
</select>
<input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" id="comit_name" placeholder="姓名/手机号" type="text" value="">
<ul class="user-ul" style="display:none"></ul>
<input class="form-control btn2 margin-top-ld" data-rule-phoneus="false" data-rule-required="false" id="release_title" placeholder="文章名称" type="text" value="">
<span class="btn btn-info btn3 margin-top-ld" id="search">搜索</span>
<span class="btn btn-info btn3 margin-top-ld" id="reset">重置</span>
</form>
</td>
</tr>
<tr>
<th class="text-center">评论时间</th>
<th class="text-center">评论人姓名</th>
<th class="text-center">文章标题</th>
<th class="text-center">评论内容</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody id="users_list" class="text-center">
</tbody>
</table>
</div>
<div class="text-right" id="pagediv">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /#wrapper -->
<!-- /#删除模态框 -->
<div class="modal fade" id="modal-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title">
删除
</h4>
</div>
<div class="modal-body">
<div class="modal-body">
<input type="hidden" value="" id="delete_id" /> 确认删除吗?
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" class="btn btn-primary" id="confirm_delete">
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 查看-->
<div class="modal fade" id="show_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-dialog button-center-bargain" style="width:70%!important">
<div class="modal-content" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title">
详情
</h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer text-center">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
......@@ -60,6 +60,15 @@
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false"
data-rule-required="false" id="shop_name" placeholder="店铺名"
type="text" value="">
<select class="form-control btn2 ld-Marheight" id="is_guest">
<option value="">是否有客方</option>
<option value="1"></option>
<option value="2"></option>
</select>
<div class="clear" style="clear: both;">
</div>
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="form_search_reset">重置</span>
</form>
......
{layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="myTransfer"/>
<!--导航star-->
<!-- Sidebar -->
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container">
<div class="row">
<div class="">
<div class="panel panel-default">
<div class="panel-heading">
委托转铺列表
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<td colspan="9">
<form id="form_search">
<!--<span class="fore-span">提交时间:</span>
<div class="form-group">
<div class="input-group date form_date " data-date=""
data-date-format="yyyy-MM-dd" data-link-field="dtp_input2"
data-link-format="yyyy-mm-dd" style="width: 200px;float: left;">
<input class="form-control" size="16" type="text" value=""
id="start_date"
readonly>
<span class="input-group-addon"><span
class="glyphicon glyphicon-remove"></span></span>
<span class="input-group-addon"><span
class="glyphicon glyphicon-calendar"></span></span>
</div>
<div class="input-group date form_date " data-date=""
data-date-format="yyyy-MM-dd" data-link-field="dtp_input2"
data-link-format="yyyy-mm-dd" style="width: 200px;float: left">
<input class="form-control" size="16" type="text" value=""
id="end_date"
readonly>
<span class="input-group-addon"><span
class="glyphicon glyphicon-remove"></span></span>
<span class="input-group-addon"><span
class="glyphicon glyphicon-calendar"></span></span>
</div>
</div>-->
<span class="fore-span ld-Marheight">提交时间:</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="start_date" name="start_date" type="date">
<span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="end_date" name="end_date" type="date">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false"
data-rule-required="false" id="name" placeholder="客户姓名"
type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false"
data-rule-required="false" id="phone" placeholder="手机号" type="text"
value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false"
data-rule-required="false" id="shop_name" placeholder="店铺名"
type="text" value="">
<span class="btn btn-info btn3 ld-Marheight" id="search">搜索</span>
<span class="btn btn-info btn3 ld-Marheight" id="form_search_reset">重置</span>
</form>
</td>
</tr>
<tr>
<th class="text-center">店铺名</th>
<th class="text-center">称呼</th>
<th class="text-center">客户电话</th>
<th class="text-center">经营业态</th>
<th class="text-center">所在区域</th>
<th class="text-center">具体地址</th>
<th class="text-center">期望月租金</th>
<th class="text-center">提交时间</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody id="sublet_list" class="text-center">
</tbody>
</table>
</div>
<!-- /#page-content-wrapper -->
<div class="text-right pageinfo" id="pagediv">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /#wrapper -->
<!-- /#跟进模态框 -->
<div class="modal fade" id="modal-process" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
跟进
</h4>
</div>
<div class="modal-body">
<div class="table-responsive table-responsive1">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>跟进内容</th>
<th>跟进人</th>
<th>跟进时间</th>
</tr>
</thead>
<tbody id="list_follow">
</tbody>
</table>
</div>
<div class="control-group">
<label class="control-label">备注</label>
<div class="controls">
<textarea class="form-control" rows="3" id="content"></textarea>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" class="btn btn-primary" id="submit_follow">
提交
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
......@@ -90,6 +90,7 @@ Route::group('index', [
//transfer转铺列表
'transfer_list' => ['index/transfer/index', ['method' => 'get']],
'my_transfer_list' => ['index/MyTransfer/myTransferList', ['method' => 'get']],//我的转铺列表
'get_transfer' => ['index/transfer/getlist', ['method' => 'get']],
'addFollow' => ['index/transfer/addFollow', ['method' => 'post']], //添加跟进
'followList' => ['index/transfer/followList', ['method' => 'get']], //跟进记录
......
......@@ -18,7 +18,7 @@ table td{
height: 20px;
}
tbody>tr.border-bottom{
border-bottom: 1px solid #999;
border-bottom: 1px solid rgba(206, 213, 235,.5);
}
tbody>tr.tr-bold{
font-size: 16px;
......@@ -27,8 +27,8 @@ tbody>tr.tr-bold{
}
.img-list>li{
width:140px;
height: 140px;
width:66px;
height: 66px;
}
.img-list>li+li{
margin-left: 20px;
......@@ -43,11 +43,12 @@ tbody>tr.tr-bold{
background-color: #e0e0e0;
}
.phone-list>li>a{
background-color: #286090;
color: white;
padding: 0 5px;
border-radius: 4px;
margin-left: 6px;
color: #FF750E;
padding: 0 5px;
border-radius: 4px;
margin-left: 6px;
font-weight: 600;
font-size: 15px;
}
.phone-list>li+li{
margin-left: 20px;
......@@ -243,10 +244,11 @@ html{
/*c端公开样式*/
.is-public-user{
display: inline-block;
background-color: #286090;
background-image: linear-gradient(-146deg, #FFDC0F 0%, #FF750E 91%);
border-radius: 3px;
/*background-color: #FF750E;*/
color: white;
padding: 0 3px;
border-radius: 6px;
width: 83px;
height: 34px;
line-height: 34px;
......
......@@ -74,7 +74,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
formData.append('image', _this[0].files[0]);
$.ajax({
type: 'post',
url: '/index/uploadImg',
url: ServerHostImageLiu + '/index/uploadImg',
data: formData,
dataType: 'json',
contentType: false,
......@@ -111,7 +111,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
formData.append('image', _this[0].files[0]);
$.ajax({
type: 'post',
url: '/index/uploadImg',
url: ServerHostImageLiu + '/index/uploadImg',
data: formData,
dataType: 'json',
contentType: false,
......@@ -349,6 +349,13 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
// that.changeType(order_id);
});
//操作----删除
$(document).on('click','.add-status',function(e){
var id = e.target.dataset.id;
// that.deleteId = id ;
that.getStatusList(1);
});
//操作----删除
$(document).on('click','.list_delete',function(e){
var id = e.target.dataset.id;
......@@ -379,6 +386,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$("#modal-addPic").on("shown.bs.modal", function(event){
});
$("#modal-status").on("shown.bs.modal", function(event){
});
$('#savePayBtn').click(function(){
that.saveRecervables();
})
......@@ -857,7 +869,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
formData.append('image', _this[0].files[0]);
$.ajax({
type: 'post',
url: '/index/uploadImg',
url: ServerHostImage + '/index/uploadImg',
data: formData,
dataType: 'json',
contentType: false,
......@@ -1591,6 +1603,61 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
},
/**
* 获取表格数据
* @param {Object} no
*/
getStatusList : function(no){
var that = receiv;
that.pageNo = no;
var params = that.buildSearchParams(false);
params.pageNo = that.pageNo;
params.pageSize = that.pageSize ;
$.ajax({
type: 'GET',
url: '/index/getCollection',
data: params,
timeout: 30000,
dataType: 'json',
beforeSend: function() {},
success: function(data) {
if(typeof data === 'object') {
if(data.code == 200) {
that.listData = data.data.list;
console.log("123123123-----------------------------------------");
console.log(data.data.list);
var doTtmpl1 = doT.template(document.getElementById('status_body_1').innerHTML);
$("#statusBody1").html(doTtmpl1(data.data.list));
var doTtmpl2 = doT.template(document.getElementById('status_body_2').innerHTML);
$("#statusBody2").html(doTtmpl2(data.data.list));
var doTtmpl3 = doT.template(document.getElementById('status_body_3').innerHTML);
$("#statusBody3").html(doTtmpl3(data.data.list));
/*分页代码*/
// add_page(data.data.total, no, that.pageSize, that.getList);
} else {
alert(data['msg']);
};
} else {
alert('数据错误');
};
},
error: function() {
alert('error');
},
complete: function(xhr, textStatus) {
if(textStatus === 'timeout') {
alert('请求超时');
};
}
});
},
};
return receiv;
});
\ No newline at end of file
......@@ -477,11 +477,11 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
} else {};
});
//查看弹出框里的tab点击事件,查看商铺,商铺跟进
_doc.on('click', '.detail-modal-header-tab>a', function(e){
_doc.on('click', '.detail-modal-header-tab>span', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
_this.removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
_this.removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
business.detailTabIndex = _this.index();
$('.detail-modal-body-sec:nth-of-type('+(business.detailTabIndex+1)+')').show().siblings().hide();
if(business.detailTabIndex == 0){
......@@ -709,7 +709,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
_this.removeClass('btn-success').addClass('btn-warning');
var _id = _this.attr('data-id');
business.id=_id;
$('.detail-modal-header-tab>a:nth-of-type(1)').removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
$('.detail-modal-header-tab>span:nth-of-type(1)').removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
business.detailTabIndex = 0;
$('.detail-modal-body-sec:nth-of-type(1)').show().siblings().hide();
$('.followup-modal-comment-area>textarea').val('');//清空跟进框内容
......
define (['doT', 'text!temp/transfer_template_tpl.html', 'css!style/home.css','paginationStart'], function (doT, template) {
user = {
pageNo: 1, /*第几页*/
pageSize: 10, /*每页显示多少条*/
urls: '',
init: function () {
;(function($){
$.fn.datetimepicker.dates['zh-CN'] = {
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
months: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
monthsShort: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"],
today: "今日",
suffix: [],
meridiem: ["am", "pm"],
weekStart: 1,
};
}(jQuery));
$('.form_datetime').datetimepicker({
//language: 'fr',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showMeridian: 1
});
$('.form_date').datetimepicker({
language: 'zh-CN',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
minView: 2,
forceParse: 0
});
$('.form_time').datetimepicker({
language: 'zh-CN',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 1,
minView: 0,
maxView: 1,
forceParse: 0
});
//初始化dot
$ ("body").append (template);
user.getList ();
user.event ();
},
event: function () {
$("#form_search_reset").click(function () {
document.getElementById("form_search").reset();
});
$("#search").click(function () {
user.getList(1);
});
$("#submit_follow").click(function () {
user.addFollow();
});
$('#datetimepicker').datetimepicker({
format: 'yyyy-MM-dd',
language: 'zh-CN',
pickTime: false
}).on('changeDate',function(){
$(this).datetimepicker('hide');
});
},
getList: function (pageNo) {
user.pageNo = pageNo;
var params = {};
params.start_date = $("#start_date").val();
params.end_date = $("#end_date").val();
params.name = $("#name").val();
params.phone = $("#phone").val();
params.shop_name = $("#shop_name").val();
params.pageNo = user.pageNo;
params.pageSize = user.pageSize;
$.ajax ({
url: '/index/get_transfer',
type: 'GET',
async: true,
data: params,
dataType: 'json',
success: function (data) {
var temp = document.getElementById ('transfer_list_tpl').innerHTML;
var doTtmpl = doT.template (temp);
$ ("#sublet_list").html (doTtmpl (data.data.list));
/*分页代码*/
add_page(data.data.total,pageNo,user.pageSize,user.getList);
/* $ ("#pagediv").pagination ({
length: data.data.total,
current: pageNo,
coping:true,
every: user.pageSize,
onClick: function (el) {
user.getList (el.num.current);
}
});*/
/* pagination_pages = Math.ceil(data.data.total/user.pageSize);
pagination_totals = data.data.total;
addpage(user.getList);*/
}
});
},
addFollow : function () {
var params = {};
params.type = 1;
params.id = id;
params.content = $("#content").val();
$.ajax ({
url: '/index/addFollow',
type: 'POST',
async: true,
data: params,
dataType: 'json',
success: function (data) {
if (data.code == 200) {
$ ("#modal-process").modal ('hide');
} else {
alert(data.msg);
}
}
});
}
};
return user;
});
var id;
function alertFollow(obj){
id = $(obj).attr ("data-id");
$("#content").val('');
$.ajax ({
url: '/index/followList',
type: 'GET',
async: true,
data: {"id":id,"type":1},
dataType: 'json',
success: function (data) {
if (data.code == 200 ) {
var str = '';
$("#list_follow").empty();
$.each(data.data, function (i,item) {
str += "<tr><td>"+item['content']+"</td><td>"+item['admin_name']+"</td><td>"+item['create_time']+"</td></tr>";
});
if(str){
$("#list_follow").html(str);
}else{
$("#list_follow").html('暂无数据');
}
} else {
alert(data.msg);
}
}
});
}
\ No newline at end of file
define (['doT', 'text!temp/plNews_template_tpl.html','ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker",'pagination','bootstrapJs'], function (doT, template) {
//处理文件名,长度过长时处理
function dealFileName(str) {
//如果文件超过30的长度,则用*代替
if(str.length > 26) {
return str.slice(0, 23) + '***' + str.slice(-4);
} else {
return str;
};
};
var user = {
pageNo: 1, /*第几页*/
pageSize: 15, /*每页显示多少条*/
user_id : 0,
urls: '',
agent_id_two:'',
agent_id2 : 0,
modal_btn_id : '' ,
init: function () {
//初始化dot
$ ("body").append (template);
user.event ();
user.getList ();
//时间控件初始化
},
event: function () {
var that = this ;
var _doc = $(document);
$("#search").click(function(){
user.getList(1);
});
$("#reset").click(function () {
document.getElementById("form_search").reset();
});
$("#confirm_delete").click(function(){
var params = {};
params.id = user.announcementdel_id;
console.log(user.announcementdel_id);
if(!params.id || params.id == null){
alert ("要删除的id不能为空");
return false;
}
user.delete_text(params);
});
$("#show_modal").on("shown.bs.modal",function(){
$('.cke_toolbox').hide();
user.text_details();
});
//部门门店的二级联动
that.getDistrict(function() {
_doc.on('input', '#commit_home', function() {
var _this = $(this);
var _id = $('#commit_home').val();
$('#commit_shop').html(''); //先清空
if(_id && _id != '0') {
that.getDistrictStoreList(_id, function(_data) {
var _str = '<option value="0">全部</option>';
$.each(_data, function(i, item) {
_str += '<option value="' + item.id + '">' + item.store_name + '</option>';
});
$('#commit_shop').append(_str)
});
} else {};
});
});
//分佣方 姓名下拉式
$(document).on("input", "#comit_name", function() { //手机号新增搜索客方
if($("#comit_name").val() == '') {
that.agent_id_phone='';
$(".user-ul").html('');
} else {
that.search_person();
}
});
//点击li 列表消失
$(document).delegate(".addphone", "click", function() { //list消失新增客户 点击li事件 获取id ul消失
that.addphone(this);
});
},
//将li里的值 赋给input(分佣方姓名)
addphone: function(obj) {//新增客户 input赋值
var that = this ;
var user_ht = $(obj).html()+'';
var user_ht_str=user_ht.substring(0,user_ht.length-3);
$("#comit_name").val(user_ht_str);
$(".user-ul").html('');
$(".user-ul").hide();
// that.agent_id_phone = $(obj).attr("data-id");
},
getDistrict: function(fn) {
$.ajax({
url: '/index/getDistrict',
type: 'GET',
async: true,
data: {
"pageSize": 1000
},
dataType: 'json',
success: function(data) {
if(data.code == 200 && data.data != null) {
var str = '';
$.each(data.data, function(i, item) {
str += '<option value="' + item.id + '">' + item.district_name + '</option>';
});
$('#commit_home').append(str);
fn && fn();
} else {
alert(data.msg);
}
}
});
},
getDistrictStoreList: function(id, fn) {
$.ajax({
url: '/index/getDistrictStoreList',
type: 'GET',
async: true,
data: {
'id': id,
"pageSize": 1000
},
dataType: 'json',
success: function(data) {
if(data.code == 200 && data.data != null) {
fn && fn(data.data);
} else {
alert(data.msg);
}
}
});
},
search_person: function() { //手机号新增客户
$.ajax({
url: '/index/getBroker_new',
type: 'GET',
async: true,
data: {
"phone": $("#comit_name").val(),
'all' : 1
},
dataType: 'json',
success: function(data) {
if(data.code == 200) {
var user_ul = "";
$.each(data.data, function(i, item) {
if(item.status == 0 || item.status == 4){
var status=' ';
};
if(item.status == 1){
var status='-长假';
};
if(item.status == 2){
var status='-离职';
};
if(item.status == 3){
var status='-转勤';
}
user_ul += '<li class="addphone" data-id="' + item.id + '">' + item.id + '-' + item.name + '-' + item.phone + status + '</li>';
});
$(".user-ul").html(user_ul);
$(".user-ul").show();
} else {
alert(data.msg);
}
}
});
},
//筛选 获取文章列表
getList: function (pageNo) {
user.pageNo = pageNo;
var params = {};
params.start_time = $("#start_date").val();
params.end_time = $("#end_date").val();
params.commit_home = $('#commit_home').val();
params.commit_shop = $('#commit_shop').val();
params.userName = $('#comit_name').val();
params.release_title = $('#release_title').val();
params.pageNo = user.pageNo;
params.pageSize = user.pageSize;
console.log(params);
// $.ajax ({
// url: '/index/business_school',
// type: 'GET',
// async: true,
// data: params,
// dataType: 'json',
// success: function (data) {
// console.log('公告');
// var temp = document.getElementById ('plNews_list_tpl').innerHTML;
// var doTtmpl = doT.template (temp);
// $ ("#users_list").html (doTtmpl (data.data.list));
// /*分页代码*/
// add_page(data.data.total,pageNo,user.pageSize,user.getList);
// $("#total_page").html(data.data.total);
// }
// });
var datas = [
{
'create_time' :'2018-08-08',
'title' : "china",
'comment_number' :"welcome",
'id' : 1
},{
'create_time' :'2018-08-09',
'title' : "china0",
'comment_number' :"welcome1",
'id' : 2
}
]
var temp = document.getElementById ('plNews_list_tpl').innerHTML;
var doTtmpl = doT.template (temp);
$ ("#users_list").html (doTtmpl (datas));
/*分页代码*/
add_page(data.data.total,pageNo,user.pageSize,user.getList);
$("#total_page").html(data.data.total);
},
delete_text : function(params) {//删除文章
$.ajax ({
url: '/index/delNews',
type: 'POST',
async: true,
data: params,
dataType: 'json',
success: function (data) {
$ ("#modal-delete").modal ('hide');
if (data.code == "101") {
alert (data.msg);
return false;
}
user.getList (user.pageNo);
}
});
},
};
return user;
});
......@@ -247,6 +247,7 @@ function hideStr(str){
return str;
}
}
//进场的经纬度 和 进场地址
function adressDeal(str1,str2,address) {
if (address != undefined && address != '') {
......@@ -358,4 +359,10 @@ function getTimeStamp(date){
var oDate = new Date(date);
var time_cha=oDate.getTime();
return time_cha;
};
//处理图片域名 测试 正式
let ServerHostImageLiu = 'http://images.pre2.tonglianjituan.com';
// let ServerHostImageLiu = 'http://images.tonglianjituan.com';
if(location.origin === 'https://api.tonglianjituan.com') {
ServerHostImageLiu = 'http://images.tonglianjituan.com';
};
......@@ -119,9 +119,9 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
$('.look-shop').val('');
$('.look-shop').removeAttr('data-id');
$('.detail-modal-header-tab>a:nth-of-type(1)').removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
$('.detail-modal-header-tab>span:nth-of-type(1)').removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
//点击客户详情 初始化客户动态 带看动态
$('.modal-title-genjing-con>span:nth-of-type(1)').addClass('text-info').siblings().removeClass('text-info');
$('.modal-title-genjing-con>span:nth-of-type(1)').removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
user.detailTabIndex = 0;
$('.detail-modal-body-sec:nth-of-type(1)').show().siblings().hide();
//初始化客户动态 带看动态两个表格切换
......@@ -146,11 +146,11 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
});
//查看弹出框里的tab点击事件,查看客户详情,客户约带看
_doc.on('click', '.detail-modal-header-tab>a', function(e){
_doc.on('click', '.detail-modal-header-tab>span', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
_this.removeClass('btn-default').addClass('btn-info').siblings().removeClass('btn-info').addClass('btn-default');
_this.removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
user.detailTabIndex = _this.index();
$('.detail-modal-body-sec:nth-of-type('+(user.detailTabIndex+1)+')').show().siblings().hide();
if(user.detailTabIndex == 1){
......@@ -303,7 +303,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
_doc.on('click', '#user_up', function() {
user_type='last';
//点击客户详情 初始化客户动态 带看动态
$('.modal-title-genjing-con>span:nth-of-type(1)').addClass('text-info').siblings().removeClass('text-info');
$('.modal-title-genjing-con>span:nth-of-type(1)').removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
//初始化客户动态 带看动态两个表格切换
$('.follow-up-modal-list-area:nth-of-type(1)').show().siblings().hide();
if(_tempUrl === '/index/users_list'){
......@@ -316,7 +316,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
_doc.on('click', '#user_down', function() {
user_type='next';
//点击客户详情 初始化客户动态 带看动态
$('.modal-title-genjing-con>span:nth-of-type(1)').addClass('text-info').siblings().removeClass('text-info');
$('.modal-title-genjing-con>span:nth-of-type(1)').removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
//初始化客户动态 带看动态两个表格切换
$('.follow-up-modal-list-area:nth-of-type(1)').show().siblings().hide();
if(_tempUrl === '/index/users_list'){
......@@ -625,7 +625,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
e.preventDefault();
e.stopPropagation();
var _this = $(this);
_this.addClass('text-info').siblings().removeClass('text-info');
_this.removeClass('btn-default-liu').addClass('btn-info-liu').siblings().removeClass('btn-info-liu').addClass('btn-default-liu');
user.detailTabIndexFollow = _this.index();
$('.follow-up-modal-list-area:nth-of-type('+(user.detailTabIndexFollow+1)+')').show().siblings().hide();
if(user.detailTabIndexFollow){
......@@ -1459,7 +1459,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
$('.is-show-more-followlog').hide();
//如果第一次 进来 没有数据 表格显示暂无跟进信息
if(user.isExitsNewInfo==1){
$("#caozuo_table2").html('暂无跟进信息!!!');
$("#caozuo_table2").html('暂无跟进信息');
}
}
}
......
......@@ -60,6 +60,9 @@
无效
[% } %]
</td>
<td>
求租
</td>
<td>
[%if(it[item]["is_show"] == 0) { %]
......
<script id="transfer_list_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr>
<td>[%= it[item]["shop_name"] %]</td>
<td>[%= it[item]["appellation"] %]</td>
<td>[%= it[item]["tel"] %]</td>
<td>
[%= it[item]["manage_type"] %]
<!--[% if (it[item]['manage_type'] == 0) { %]
餐饮美食
[% } else if (it[item]['manage_type'] == 1){ %]
百货零售
[% } else if (it[item]['manage_type'] == 2){ %]
休闲娱乐
[% }else{ %]
其他
[% } %]-->
</td>
<td>[%= it[item]["province"] %]-[%= it[item]["city"] %]-[%= it[item]["district"] %]</td>
<td>[%= it[item]["address_detail"] %]</td>
<td>[%= it[item]["expected_rent"] %]</td>
<td>[%= it[item]["create_time"] %]</td>
<td>
<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="[%= it[item]['id'] %]" onclick="alertFollow(this)">跟进</a>
[% if (it[item]["status"] == 0){ %]
<a href="/index/houseEdit?source=transfer_list&sublet_id=[%= it[item]['id'] %]" data-toggle="modal" class="btn1 btn-danger">转为上架商铺</a>
[% }else{ %]
<a href="#modal-details" data-toggle="modal" data-id="[%= it[item]['id'] %], [%= it[item]['status'] %]" class="btn1 btn-info">已转为上架商铺</a>
[% } %]
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="8" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
\ No newline at end of file
<script id="plNews_list_tpl" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr>
<td>[%= it[item]['create_time'] %]</td>
<!--<td>[%= hideTel(it[item]["name"]) %]</td>-->
<!--<td>[% if(it[item]["name"] != null) { %]
[%= it[item]["name"] %]
[% } %]
</td>-->
<td>[%= it[item]["title"] %]</td>
<!--<td>[% if(it[item]["label_name"] != null) { %]
[%= it[item]["label_name"] %]
[% } %]
</td>-->
<!--<td>[%= it[item]["label_name"] %]</td>-->
<!--没有评论数字段-->
<td>[%= it[item]["comment_number"] %]</td>
<td>[%= it[item]["comment_number"] %]</td>
<td>
<a href="#show_modal" class="btn1 btn-success show_modal_btn" data-toggle="modal" data-id="[%= it[item]['id'] %]"> 评论详情</a>
<!--<a class="btn1 btn-success" href="new_text.html?id=[%= it[item]['id'] %]" data-createTime='[%= it[item]["create_time"] %]' data-title='[%= it[item]["title"] %]' data-id='[%= it[item]["id"] %]' data-content='[%= it[item]["content"] %]' target="_self">-->
<!--<a class="btn1 btn-success" href="new_text.html?id=[%= it[item]['id'] %]" data-id="[%= it[item]['id'] %]">
编辑
</a>
[% if(check_auth('index/delNews')) { %]-->
<!--删除权限-->
<a class="btn1 btn-danger announcement-del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</a>
<!--[% } %]-->
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="7" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
......@@ -16,15 +16,15 @@
[% if(it[item]['is_refund'] == 1){ %]
[% if(it[item]['source'] == 0) { %]
<td>正常收款,被退款</td>
<td>正常,被退款</td>
<td>正常,被退款 <a class="btn1 btn-success add-status" href="#modal-status" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a></td>
[% } else if ( it[item]['source'] == 1 ) { %]
<td>正常收款,被退款</td>
<td>正常,被退款</td>
<td>正常,被退款 <a class="btn1 btn-success add-status" href="#modal-status" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a></td>
[% } else if ( it[item]['source'] == 2) { %]
<td>被调整收款(调整ID:[%= it[item]['source_id'] %],被退款)</td>
<td>被调整+被退款</td>
<td>被调整+被退款 <a class="btn1 btn-success add-status" href="#modal-status" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a></td>
[% } else{%]
<td>被退款</td>
<td>被退款 <a class="btn1 btn-success add-status" href="#modal-status" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a></td>
[% } %]
[% }else{ %]
[% if(it[item]['source'] == 0) { %]
......@@ -35,7 +35,7 @@
<td>正常</td>
[% } else if ( it[item]['source'] == 2) { %]
<td>被调整收款(调整ID:[%= it[item]['source_id'] %])</td>
<td>被调整</td>
<td>被调整 <a class="btn1 btn-success add-status" href="#modal-status" data-toggle="modal" data-id='[%= it[item]["id"] %]'>详情</a> </td>
[% } else{%]
<td>--</td>
[% } %]
......@@ -83,6 +83,88 @@
<script id="status_body_1" type="text/template">
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['order_id'] %]</td>
<td>[%= it[item]['bargain_id'] %]</td>
<td>[%= it[item]['income_time'] %]</td>
<td>[%= it[item]['name'] %]</td>
<td>[%= it[item]['current_agent_name'] %]</td>
<td>[%= it[item]['store_name'] %]</td>
<td>[%= it[item]['type'] %]</td>
<td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="14" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
<script id="status_body_2" type="text/template">
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['order_id'] %]</td>
<td>[%= it[item]['bargain_id'] %]</td>
<td>[%= it[item]['income_time'] %]</td>
<td>[%= it[item]['name'] %]</td>
<td>[%= it[item]['current_agent_name'] %]</td>
<td>[%= it[item]['store_name'] %]</td>
<td>[%= it[item]['type'] %]</td>
<td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="14" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
<script id="status_body_3" type="text/template">
[% if(it&&it.length!=0) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]['create_time'] %]</td>
<td>[%= it[item]['id'] %]</td>
<td>[%= it[item]['order_id'] %]</td>
<td>[%= it[item]['bargain_id'] %]</td>
<td>[%= it[item]['income_time'] %]</td>
<td>[%= it[item]['name'] %]</td>
<td>[%= it[item]['current_agent_name'] %]</td>
<td>[%= it[item]['store_name'] %]</td>
<td>[%= it[item]['type'] %]</td>
<td>[%= it[item]['money'] %]</td>
<td>[%= it[item]['real_money'] %]</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="14" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment