index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>线索列表详情页</title>
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="format-detection" content="telephone=no">
  12. <link rel="stylesheet" type="text/css" href="../script/lib/layui/css/layui.css" />
  13. <link rel="stylesheet" type="text/css" href="../script/lib/valid/validationEngine.jquery.css">
  14. <!-- <link rel="stylesheet" type="text/css" href="../script/lib/layui/admin/style/admin.css?v9" media="all"> -->
  15. <link rel="stylesheet" type="text/css" href="../script/lib/fancybox/jquery.fancybox.css">
  16. <link rel="stylesheet" type="text/css" href="../script/lib/datetime/jquery.datetimepicker.css">
  17. <link rel="stylesheet" type="text/css" href="../script/lib/color/colpick.css">
  18. <link rel="stylesheet" type="text/css" href="../script/lib/kindeditor/themes/default/default.css?v1" />
  19. <link rel="stylesheet" type="text/css" href="../script/lib/valid/validationEngine.jquery.css">
  20. <link rel="stylesheet" type="text/css" href="../script/lib/highlight/highlight.min.css">
  21. <link rel="stylesheet" type="text/css" href="../script/lib/ui/ui.min.css">
  22. <link rel="stylesheet" href="../script/lib/layui/admin/modules/plugin/formselects/formselects.css" media="all" />
  23. <script src="../script/lib/jquery/jquery.min.js"></script>
  24. <script src="../script/lib/layui/layui.js"></script>
  25. <script src="../script/lib/echarts/echarts.common.min.js"></script>
  26. <script src="../script/lib/miniui/miniui.js"></script>
  27. <script><{Dever::script()}></script>
  28. <script src="../script/dever/core.js"></script>
  29. <script type="text/javascript" src="../script/lib/valid/jquery.validationEngine.min.js?v3"></script>
  30. <script type="text/javascript" src="../script/lib/layui/upload.js?v226"></script>
  31. <script type="text/javascript" src="../script/lib/datetime/jquery.datetimepicker.min.js?v2"></script>
  32. <script type="text/javascript" src="../script/lib/clipboard/clipboard.js?v11"></script>
  33. <script type="text/javascript" src="../script/lib/highlight/highlight.min.js"></script>
  34. <script type="text/javascript" src="../script/lib/fancybox/jquery.fancybox.js"></script>
  35. <script src="../script/lib/manage/main.js?v82"></script>
  36. <script type="text/javascript" src="../script/lib/pic/webp.js"></script>
  37. <script type="text/javascript" src="../script/lib/color/colpick.js"></script>
  38. <script type="text/javascript" src="../script/lib/kindeditor/kindeditor-all-min.js?v9"></script>
  39. <script type="text/javascript" src="../script/lib/kindeditor/lang/zh-CN.js?v7"></script>
  40. <script type="text/javascript" src="../script/lib/ui/ui.min.js"></script>
  41. <script type="text/javascript" src="../script/lib/qiniu/upload/plupload.full.min.js"></script>
  42. <script type="text/javascript" src="../script/lib/qiniu/qiniu.upload.js"></script>
  43. <script type="text/javascript" src="../script/lib/oss/aliyun-oss-sdk-6.11.2.min.js"></script>
  44. <script type="text/javascript" src="../script/lib/tool/md5.js"></script>
  45. <script type="text/javascript" src="../script/lib/layui/upload.js?v226"></script>
  46. <script type="text/javascript" src="../script/lib/layui/layui.js"></script>
  47. <script type="text/javascript" src="../script/lib/clipboard/clipboard.js"></script>
  48. <script type="text/javascript" src="../script/lib/pic/holder.js"></script>
  49. <script type="text/javascript" src="../script/lib/excel/xlsx.min.js"></script>
  50. <script type="text/javascript" src="../script/lib/excel/excel.js?v16"></script>
  51. <style>
  52. body{
  53. background:white;
  54. /*padding-left: 10px;*/
  55. height:100%;
  56. }
  57. .layout{
  58. width: 100%;
  59. height: 100%;
  60. display: flex;
  61. justify-content : space-around;
  62. font-size:14px;
  63. }
  64. .layuiadmin-btn-list {
  65. display: inline-block;
  66. height: 38px;
  67. line-height: 38px;
  68. padding: 0 18px;
  69. background-color: #009688;
  70. color: #fff;
  71. white-space: nowrap;
  72. text-align: center;
  73. font-size: 14px;
  74. border: none;
  75. border-radius: 2px;
  76. cursor: pointer;
  77. }
  78. .aside{
  79. flex:1;
  80. height: 100%;
  81. background: white;
  82. margin-top:20px;
  83. margin-left: 40px;
  84. }
  85. .article{
  86. width:230px;
  87. height: 100%;
  88. background: white;
  89. }
  90. .xiansuo{
  91. margin-top:20px;
  92. /*margin-bottom:-23px;*/
  93. /*margin-left:12px;*/
  94. /*font-size:14px;*/
  95. }
  96. .onebor{
  97. /*width: 700px;*/
  98. padding-left: 25px;
  99. padding-bottom: 10px;
  100. border: 1px solid #ddd;
  101. /*border-left: 1px solid grey;
  102. border-right: 1px solid grey;
  103. border-bottom: 1px solid grey;*/
  104. margin-top: 15px;
  105. margin-bottom: 40px;
  106. box-shadow: 3px 10px 7px -15px;
  107. border-radius: 15px;
  108. }
  109. .bianhao{
  110. margin-bottom: 10px;
  111. }
  112. .chuang{
  113. margin-bottom: 10px;
  114. }
  115. .desc{
  116. margin-top: 10px;
  117. margin-bottom:5px;
  118. margin-right: 10px;
  119. }
  120. .gengzong{
  121. /*width: 700px;*/
  122. padding-left: 25px;
  123. padding-bottom: 10px;
  124. border: 1px solid #ddd;
  125. /*border-left: 1px solid grey;
  126. border-right: 1px solid grey;
  127. border-bottom: 1px solid grey;*/
  128. margin-top: 15px;
  129. margin-bottom: 40px;
  130. box-shadow: 3px 10px 7px -15px;
  131. border-radius: 15px;
  132. }
  133. .tine{
  134. margin-top:25px;
  135. margin-bottom:20px;
  136. }
  137. .gou{
  138. margin-top:10px;
  139. margin-bottom:20px;
  140. }
  141. .dengji{
  142. margin: 0px auto;
  143. width: 146px;
  144. height: 38px;
  145. box-shadow: 2px 10px 7px -12px;
  146. border-radius: 160px;
  147. background: #efefef;
  148. margin-bottom:20px;
  149. margin-top: 30px;
  150. padding-top: 10px;
  151. padding-bottom: 10px;
  152. }
  153. .suo{
  154. margin: 0px auto;
  155. width: 146px;
  156. height: 38px;
  157. box-shadow: 2px 10px 7px -12px;
  158. border-radius: 160px;
  159. background: #efefef;
  160. margin-bottom:20px;
  161. padding-top: 10px;
  162. padding-bottom: 10px;
  163. }
  164. .jin{
  165. margin: 0px auto;
  166. width: 146px;
  167. height: 38px;
  168. box-shadow: 2px 10px 7px -12px;
  169. border-radius: 160px;
  170. background: #efefef;
  171. margin-bottom:20px;
  172. padding-top: 10px;
  173. padding-bottom: 10px;
  174. }
  175. .wei{
  176. margin: 0px auto;
  177. width: 146px;
  178. height: 38px;
  179. box-shadow: 2px 10px 7px -12px;
  180. border-radius: 160px;
  181. background: #efefef;
  182. margin-bottom:20px;
  183. padding-top: 10px;
  184. padding-bottom: 10px;
  185. }
  186. .xia{
  187. margin: 0px auto;
  188. width: 146px;
  189. height: 38px;
  190. box-shadow: 2px 10px 7px -12px;
  191. border-radius: 160px;
  192. background: #efefef;
  193. margin-bottom:20px;
  194. padding-top: 10px;
  195. padding-bottom: 10px;
  196. }
  197. .ren{
  198. margin-bottom:20px;
  199. margin: 0px auto;
  200. width: 146px;
  201. height: 45px;
  202. box-shadow: 2px 10px 7px -12px;
  203. border-radius: 160px;
  204. background: #efefef;
  205. /*padding-top: 10px;*/
  206. /*padding-bottom: 10px;*/
  207. padding-bottom: 16px;
  208. padding-top: 17px;
  209. }
  210. </style>
  211. </head>
  212. <body>
  213. <div class="layout">
  214. <aside class="aside">
  215. <div>
  216. <button class="btn btn-default layui-btn layuiadmin-btn-list" " type="button" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$xiu}>')">修改线索信息</button>
  217. <{if(isset($jichu) && $jichu):}>
  218. <button class="btn btn-default layui-btn layuiadmin-btn-list" " type="button" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$jichu}>')">修改基础信息</button>
  219. <{endif}>
  220. <button class="btn btn-default layui-btn layuiadmin-btn-list" id="quxiao" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$ke}>')">客户等级调整</button>
  221. <{if($info['status_id']<5 || $info['status_id'] ==7):}>
  222. <button class="btn btn-default layui-btn layuiadmin-btn-list" id="quxiao" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$gen}>')">跟进线索</button>
  223. <button class="btn btn-default layui-btn layuiadmin-btn-list" id="quxiao" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$pai}>')">转派跟进人</button>
  224. <button class="btn btn-default layui-btn layuiadmin-btn-list" id="huifu" style="vertical-align: middle;margin-bottom: 2px;" onclick="fastEdit($(this),'<{$status}>')">线索状态调整</button>
  225. <{endif}>
  226. </div>
  227. <div class="xiansuo">
  228. <div class="bianhao">线索编号:<{$info['clue_num']}></div>
  229. <div class="chuang"><span style="margin-bottom: 10px;">创建人:<{$info['admin_name']}></span><span style=" margin-left: 30px; margin-bottom: 10px">创建时间:<{$info['cdate']}></span></div>
  230. </div>
  231. <div class="layui-row onebor">
  232. <div class="layui-col-bg layui-col-md12 ">
  233. <div class="grid-demo grid-demo-bg desc">姓名:<{$info['name']}></div>
  234. </div>
  235. <div class="layui-col-bg layui-col-md12 ">
  236. <div class="grid-demo grid-demo-bg desc">手机号:<{$info['mobile']}></div>
  237. </div>
  238. <div class="layui-col-bg layui-col-md12 ">
  239. <div class="grid-demo grid-demo-bg desc">来源:<{$info['source_name']}></div>
  240. </div>
  241. <div class="layui-col-bg layui-col-md12 ">
  242. <div class="grid-demo grid-demo-bg desc">所在城市:<{$info['area_name']}></div>
  243. </div>
  244. <div class="layui-col-bg layui-col-md12 ">
  245. <div class="grid-demo grid-demo-bg desc">QQ:<{$info['qq']}></div>
  246. </div>
  247. <div class="layui-col-bg layui-col-md12 ">
  248. <div class="grid-demo grid-demo-bg desc">微信:<{$info['wechat']}></div>
  249. </div>
  250. <div class="layui-col-bg layui-col-md12 ">
  251. <div class="grid-demo grid-demo-bg desc">年龄:<{$info['age']}></div>
  252. </div>
  253. <div class="layui-col-bg layui-col-md12 ">
  254. <div class="grid-demo grid-demo-bg desc">性别:<{$info['sex_name']}></div>
  255. </div>
  256. <div class="layui-col-bg layui-col-md12 ">
  257. <div class="grid-demo grid-demo-bg desc">所属行业:<{$info['trade']}></div>
  258. </div>
  259. <div class="layui-col-bg layui-col-md12 ">
  260. <div class="grid-demo grid-demo-bg desc">竞品了解:<{$info['desc']}></div>
  261. </div>
  262. <div class="layui-col-bg layui-col-md12 ">
  263. <div class="grid-demo grid-demo-bg desc">结论备注:<{$info['status_desc']}></div>
  264. </div>
  265. </div>
  266. <{if(isset($follow) && $follow):}>
  267. <{foreach($follow as $k => $v):}>
  268. <div class="layui-row gengzong">
  269. <div class="tine"><span>跟进时间:<{$v['cdate']}></span><span style="margin-left: 10px;">跟进人:<{$v['group_name']}></span><span style="margin-left: 10px;">跟进方式:<{$v['type_name']}></span><span style="margin-left: 10px;">下次跟进:<{$v['xdate']}></span></div>
  270. <div class="gou">沟通结果:<{$v['desc']}></div>
  271. <{if($v['pic']):}>
  272. <div id="layer-photos_log-<{$v['id']}>" class="layer-photos-demo layui-col-xs12" id="tk">
  273. <{foreach($v['pic'] as $k1 => $v1):}>
  274. <img src='<{$v1}>' class="fd show" height='100px'>
  275. <{endforeach}>
  276. </div>
  277. <{endif}>
  278. </div>
  279. <{endforeach}>
  280. <{endif}>
  281. </aside>
  282. <article class="article" >
  283. <div class="dengji" align="center"><{$info['userset_name']}><br/>客户等级</div>
  284. <div class="suo" align="center"><{$info['status_name']}><br/>线索状态</div>
  285. <div class="jin" align="center"><{$info['cishu']}><br/>跟进次数</div>
  286. <div class="wei" align="center"><{$info['day']}><br/>未跟进时间</div>
  287. <div class="xia" align="center"><{$info['xdate']}><br/>计划下次跟进</div>
  288. <div class="ren" align="center"><{$info['people']}><br/>跟进人</div>
  289. </article>
  290. </div>
  291. <script>
  292. var form;
  293. var layer;
  294. layui.config({
  295. base: '../script/lib/layui/admin/' //静态资源所在路径
  296. ,version:true
  297. }).extend({
  298. index: 'lib/index', //主入口模块
  299. formSelects: 'plugin/formselects/formselects',
  300. }).use([ 'form', 'layer'], function(){
  301. form = layui.form;
  302. // var formSelects = layui.formSelects;
  303. layer = layui.layer;
  304. $('.layer-photos-demo').each(function() {
  305. layer.photos({
  306. photos: '#' + $(this).attr('id')
  307. ,anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
  308. });
  309. })
  310. });
  311. </script>
  312. </body>
  313. </html>