123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- {extend name="public/layout"}
- {block name="body"}
- <link rel="stylesheet" href="__LAYUI__/layui/css/layui.css" media="all">
- <link rel="stylesheet" " href=" /static/css/common.css">
- <script src="/static/js/jquery.min.js"></script>
- <style>
- body {
- font-size: 12px;
- padding-bottom: 60px;
- background: #f5f5f5;
- }
- .toptitbox{
- display: block;
- width: 980px;
- padding: 5px 0 18px;
- margin: 0 auto 5px;
- text-indent: 23px;
- line-height: 29px;
- height: 18px;
- background-color: #fff;
- overflow: hidden;
- box-sizing: content-box;
- }
- .golastbtn{
- display: block;
- margin-right: 21px;
- color: #000;
- background: url(__STATIC__/img/btn_bg.gif) repeat-x;
- border: 1px solid #C0C0C0;
- padding: 0 12px;
- *padding: 0 6px;
- height: 28px;
- cursor: pointer;
- }
- .mainbox{
- display: block;
- width: 980px;
- background-color: #fff;
- margin: 0 auto;
- padding: 20px 20px 20px;
- }
- .signbox{
- display: block;
- width: 940px;
- margin-bottom: 15px;
- table-layout: fixed;
- border: 1px solid #DFDFDF;
- border-collapse: separate !important;
- background-color: #FFF;
- border-right: 0;
- border-bottom: 2px solid #DFDFDF;
- font-size: 15px;
- box-sizing: border-box;
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #EAEAEC;
- }
- .leftsign{
- display: block;
- background-color: #F2F3F7;
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #DFDFDF;
- line-height: 56px;
- padding: 0 5px;
- text-align: center;
- font-family: Arial;
- letter-spacing: 1px;
- color: #333;
- width: 90px;
- box-sizing: border-box;
- font-weight: bold;
- }
- .signmsgbox{
- height: 56px;
- padding: 15px 10px;
- line-height: 25px;
- }
- .despoitbox{
- display: block;
- width: 940px;
- margin-bottom: 15px;
- table-layout: fixed;
- border: 1px solid #DFDFDF;
- border-collapse: separate !important;
- background-color: #FFF;
- border-right: 0;
- border-bottom: 2px solid #DFDFDF;
- font-size: 15px;
- box-sizing: border-box;
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #EAEAEC;
- }
- .leftdespoit{
- display: block;
- background-color: #F2F3F7;
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #DFDFDF;
- line-height: 56px;
- padding: 0 5px;
- text-align: center;
- font-family: Arial;
- letter-spacing: 1px;
- color: #333;
- width: 90px;
- box-sizing: border-box;
- font-weight: bold;
- }
- .despoitmsgbox{
- height: 56px;
- padding: 15px 10px;
- line-height: 25px;
- }
- .mainbox1{
- display: block;
- width: 100%;
- }
- .mainbox1 table{
- table-layout: fixed;
- _width: 100%;
- width: 100%;
- border: 1px solid #DFDFDF;
- border-collapse: separate !important;
- background-color: #FFF;
- border-right: 0;
- border-bottom: 2px solid #DFDFDF;
- }
- .mainbox1 th,.mainbox1 td{
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #EAEAEC;
- }
- .mainbox1 th{
- background-color: #F2F3F7;
- line-height: 25px;
- padding: 5px;
- padding-top: 5px;
- padding-right: 5px;
- padding-bottom: 5px;
- padding-left: 5px;
- text-align: center;
- font-family: Arial;
- font-size: 12px;
- letter-spacing: 1px;
- color: #333;
- text-align: center;
- }
- .mainbox1 td{
- line-height: 28px;
- padding: 13px 8px;
- }
- .red{
- padding-left: 5px;
- padding-right: 5px;
- color: #FF0000;
- font-weight: bold;
- }
- .mainbox2{
- display: block;
- width: 100%;
- margin-top: 25px;
- }
- .mainbox2 table{
- table-layout: fixed;
- _width: 100%;
- width: 100%;
- border: 1px solid #DFDFDF;
- border-collapse: separate !important;
- background-color: #FFF;
- border-right: 0;
- border-bottom: 2px solid #DFDFDF;
- }
- table {
- font-family: Arial, Helvetica, sans-serif;
- }
- .mainbox2 th{
- background-color: #F2F3F7;
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #DFDFDF;
- line-height: 25px;
- padding: 5px;
- text-align: center;
- font-family: Arial;
- font-size: 12px;
- letter-spacing: 1px;
- color: #333;
- }
- .mainbox2 td{
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #EAEAEC;
- padding: 7px;
- line-height: 25px;
- font-size: 13px;
- position: relative;
- }
- </style>
- <body>
- <div class="clearfix toptitbox">
- <div class="left">你正在查看一条记录......</div>
- <button class="right golastbtn" type="button" >返回列表</button>
- </div>
- <div class="mainbox">
- {if $data.sign}
- <div class="signbox clearfix">
- <div class="left leftsign">合同说明</div>
- <div class="left signmsgbox">
- 客户于<span class="red">2022/11/5</span>用<span class="red">拎包套餐</span>签约合同,金额是<span class="red">150,000</span>元,在2022/11/5 16:27:40输入系统。
- </div>
- </div>
- {/if}
- {if $data.deposit}
- <div class="despoitbox clearfix">
- <div class="left leftdespoit">定金管理</div>
- <div class="left despoitmsgbox">
- 客户于<span class="red">{$data.deposit.confirm_date}</span>交纳意向定金<span class="red">{$data.deposit.money}</span>元,更新时间{$data.deposit.addtime}。
- </div>
- </div>
- {/if}
- <div class="mainbox1">
- <table border="0" cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <th width="80">回访过程</th>
- <th>回访内容</th>
- <th width="80">回访时间</th>
- <th width="80">下次回访</th>
- <th width="60">间隔</th>
- <th width="70">回访人</th>
- </tr>
- {volist name="data.visitLog" id="vo" key="k"}
- <tr class="tcenter">
- <td>第<span style="padding-left:1px; padding-right:1px; color:#FF0000;font-weight: bold;">{$k}</span>次</td>
- <td class="tleft"><span>
- {if $vo.type == 1}电话
- {elseif $vo.type == 2 /}短信
- {elseif $vo.type == 3 /}微信
- {else /}见面
- {/if}</span>{$vo.remark}</td>
- <td>{$vo.addtime}</td>
- <td>{$vo.next_contact_date}</td>
- <td>{$vo.xt}</td>
- <td>{$vo.empname}</td>
- </tr>
- {/volist}
- </tbody>
- </table>
- </div>
- <div class="mainbox2">
- <table>
- <tbody>
- <tr>
- <th>客户表单</th>
- <th>小区表单</th>
- <th>必填表单</th>
- </tr>
- <tr>
- <td>
- 客户来源:{$data.source.source|default="无"} 成交产品:{$data.package_name}<br/>
- 家装顾问:{$data.employee.name} 设计师:{$data.designer.name|default="无"}
- </td>
- <td>
- 小区名称:{$data.community_name|default="无"} 户型:{$data.housetype_arrow|default="无"},面积:{$data.square|default=0}<br />
- 装修风格:轻奢风 交房:{$data.house_delivery_time|default="无"}
- </td>
- <td>
- 报名时间:{$data.sign_time}<br />
- 录入时间:{$data.addtime}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </body>
- <script src="__LAYUI__/layui/layui.js"></script>
- {/block}{block name="js"}
- <script type="text/javascript">
- layui.config({
- base: '__LAYUI__/',
- urlbase: '/sys'
- }).extend({
- index: 'lib/index' //主入口模块
- }).use(['table', 'laydate'], function () {
- var table = layui.table,
- laydate = layui.laydate,
- $ = layui.$;
- let hobj= GetRequest();
- var cid= hobj.cid;//客户id
- })
- function GetRequest() {
- var url = location.search; //获取url中"?"符后的字串
- var theRequest = new Object();
- if (url.indexOf("?") != -1) {
- var str = url.substr(1);
- strs = str.split("&");
- for (var i = 0; i < strs.length; i++) {
- theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
- }
- }
- return theRequest;
- }
- $('.golastbtn').click(function(){
- let hobj = GetRequest();
- window.parent.gosearchlist(hobj.cid,'community');
- })
- </script>
- {/block}
|