operate_list.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152
  1. {extend name="public/layout"}
  2. {block name="body"}
  3. <link rel="stylesheet" href="__LAYUI__/layui/css/layui.css" media="all">
  4. <link rel="stylesheet" " href=" /static/css/common.css">
  5. <script src="/static/js/jquery.min.js"></script>
  6. <style>
  7. body {
  8. padding-bottom: 40px;
  9. }
  10. .searchtitlebox {
  11. display: block;
  12. padding: 15px 10px;
  13. border: 1px solid #F0F0F0;
  14. background: #FCFCFC;
  15. margin-top: 5px;
  16. margin-bottom: 10px;
  17. position: relative;
  18. min-width: 800px;
  19. }
  20. .searchbox {
  21. display: block;
  22. margin-top: 8px;
  23. text-align: center;
  24. }
  25. .searchbox input {
  26. display: inline-block;
  27. height: 26px;
  28. line-height: 26px;
  29. padding-left: 3px;
  30. vertical-align: middle;
  31. }
  32. body {
  33. font-size: 12px;
  34. font-family: "宋体";
  35. }
  36. .selectbox {
  37. float: left;
  38. }
  39. .leftselect {
  40. float: left;
  41. height: 26px;
  42. line-height: 26px;
  43. }
  44. .selectbox select {
  45. float: left;
  46. height: 26px;
  47. }
  48. .searchtext {
  49. border: 1px solid #ccc;
  50. background: #fff url(__STATIC__/img/icon071402.png) no-repeat;
  51. padding: 1px 2px;
  52. height: 24px;
  53. line-height: 24px;
  54. vertical-align: middle;
  55. text-indent: 3px;
  56. margin-left: 4px;
  57. }
  58. .searchbtn1 {
  59. margin-left: 4px;
  60. cursor: pointer;
  61. color: #000;
  62. background: url(__STATIC__/img/btn_bg.gif) repeat-x;
  63. border: 1px solid #C0C0C0;
  64. padding: 0 12px;
  65. *padding: 0 6px;
  66. height: 26px;
  67. }
  68. .layui-table td,
  69. .layui-table th {
  70. font-size: 12px;
  71. }
  72. .layui-table th {
  73. font-weight: bold;
  74. }
  75. .dingjingorder {
  76. height: 25px;
  77. width: 40px;
  78. background-color: #65c001;
  79. color: #FFF;
  80. text-align: center;
  81. line-height: 25px;
  82. z-index: 100;
  83. display: block;
  84. position: absolute;
  85. top: 1px;
  86. right: 3px;
  87. border-radius: 11px;
  88. font-size: 12px;
  89. }
  90. .addvx {
  91. position: absolute;
  92. top: -5px;
  93. right: 1px;
  94. height: 14px;
  95. line-height: 14px;
  96. font-size: 16px;
  97. color: #666;
  98. font-family: "宋体";
  99. }
  100. .statebox {
  101. width: 40px;
  102. text-align: center;
  103. z-index: 100;
  104. display: block;
  105. position: absolute;
  106. font-size: 12px;
  107. top: -5px;
  108. right: 0px;
  109. border-radius: 0px;
  110. background: #4285f4;
  111. color: #efefef;
  112. height: 20px;
  113. line-height: 20px;
  114. }
  115. .layui-table-cell {
  116. overflow: initial;
  117. }
  118. #customer_detail {
  119. display: block;
  120. width: 435px;
  121. height: 100%;
  122. position: absolute;
  123. top: 0;
  124. left: 0;
  125. }
  126. .rightbox {
  127. display: block;
  128. width: calc(100% - 435px);
  129. margin-left: 435px;
  130. }
  131. .unstatusbox {
  132. display: block;
  133. position: absolute;
  134. top: -5px;
  135. left: 0;
  136. width: 100%;
  137. height: 37px;
  138. background-color: #FF6600;
  139. text-align: center;
  140. color: #FFF;
  141. }
  142. .statusbox {
  143. position: absolute;
  144. top: 0px;
  145. right: 0px;
  146. color: #666;
  147. text-align: right;
  148. z-index: 100;
  149. display: block;
  150. font-size: 12px;
  151. }
  152. .layui-table-view .layui-form-checkbox {
  153. width: 16px;
  154. height: 16px;
  155. line-height: 16px;
  156. padding-right: 0;
  157. }
  158. .layui-table-view .layui-form-checkbox i {
  159. height: 16px;
  160. width: 16px;
  161. font-size: 14px;
  162. }
  163. .novisitlog {
  164. background-color: #9139db !important;
  165. color: #FFF;
  166. }
  167. .novisitlog a {
  168. color: #FFF;
  169. }
  170. .crmsearchlist {
  171. max-height: 760px;
  172. cursor: pointer;
  173. }
  174. .tablebox .layui-form.layui-border-box.layui-table-view {
  175. max-height: 400px !important;
  176. height: auto !important;
  177. }
  178. .searchbox .layui-form-select {
  179. float: left;
  180. width: 130px;
  181. }
  182. .searchbox input {
  183. border: 1px solid #e6e6e6 !important;
  184. }
  185. .layui-table-body {
  186. max-height: 400px !important;
  187. height: auto !important;
  188. }
  189. .layui-table-view .layui-table td {
  190. cursor: pointer;
  191. overflow: hidden;
  192. }
  193. .layui-form-checked {
  194. background-color: #37AF6E;
  195. }
  196. .layui-table-view .layui-form-checked i {
  197. color: #fff;
  198. }
  199. .summary_report h1 {
  200. text-align: center;
  201. margin-bottom: 20px;
  202. margin-top: 20px;
  203. letter-spacing: 2px;
  204. font-family: Arial, Helvetica, sans-serif;
  205. }
  206. .bgred {
  207. background-color: red;
  208. }
  209. .bgyellow {
  210. background-color: yellow;
  211. }
  212. .bggreen {
  213. background-color: green;
  214. }
  215. .backbtn,
  216. .addbtn {
  217. background-image: linear-gradient(180deg, #A5DFFF, #63A2DE);
  218. color: #fff;
  219. float: right;
  220. }
  221. #popinfo {
  222. position: fixed;
  223. top: -1999px;
  224. }
  225. #ID-demo-layer-direction-r #popinfo {
  226. position: static;
  227. }
  228. #popinfo .popcontent {
  229. width: 900px;
  230. margin: 0 auto;
  231. }
  232. .poptitle {
  233. padding: 15px 10px;
  234. border: 1px solid #F0F0F0;
  235. background: #FCFCFC;
  236. margin-top: 5px;
  237. margin-bottom: 10px;
  238. position: relative;
  239. min-width: 800px;
  240. height: 52px;
  241. line-height: 22px;
  242. overflow: hidden;
  243. }
  244. .title-right {
  245. line-height: 22px;
  246. float: right;
  247. }
  248. #popinfo table {
  249. table-layout: fixed;
  250. width: 100%;
  251. border: 1px solid #DFDFDF;
  252. border-collapse: separate !important;
  253. border-collapse: collapse !important;
  254. background-color: #FFF;
  255. border-right: 0;
  256. border-bottom: 2px solid #DFDFDF;
  257. }
  258. #popinfo table td {
  259. border-right: 1px solid #DFDFDF;
  260. border-bottom: 1px solid #EAEAEC;
  261. line-height: 25px;
  262. font-size: 13px;
  263. position: relative;
  264. }
  265. #popinfo table th {
  266. background-color: #F2F3F7;
  267. border-right: 1px solid #DFDFDF;
  268. border-bottom: 1px solid #DFDFDF;
  269. line-height: 25px;
  270. padding: 5px;
  271. text-align: center;
  272. font-family: Arial;
  273. font-size: 12px;
  274. letter-spacing: 1px;
  275. color: #333;
  276. }
  277. #popinfo .layui-form-item {
  278. margin: 0;
  279. }
  280. #popinfo .layui-form-select {
  281. float: left;
  282. width: 130px;
  283. }
  284. #popinfo .layui-form-radio * {
  285. font-size: 12px;
  286. }
  287. #popinfo .layui-form-radio>i {
  288. font-size: 18px;
  289. margin-right: 2px;
  290. }
  291. #popinfo .layui-form-radio {
  292. margin: 0;
  293. padding-right: 5px;
  294. line-height: 36px;
  295. }
  296. #popinfo .layui-form-label {
  297. line-height: 36px;
  298. padding: 0;
  299. width: 100px;
  300. }
  301. #popinfo .layui-input-block {
  302. margin-left: 90px;
  303. line-height: 36px;
  304. }
  305. </style>
  306. <body class="clearfix">
  307. <iframe id="customer_detail" style="display: none;" src=""></iframe>
  308. <div class="crmbox summary_report">
  309. <form class="layui-form">
  310. <div class="searchtitlebox">
  311. <div style="margin-bottom:8px;">您当前的操作 · <b class="buildering-name">你正在管理您的小区名称......</b>
  312. </div>
  313. <div class="searchbox clearfix operate_report_op2">
  314. <div class="selectbox community1box" style="width: 400px;float: left;">
  315. <input style="width:160px" type="text" class="left searchtext" autocomplete="off"
  316. style="border-color: #ccc;" name="visitime" id="visitime" placeholder="选择时间" readonly />
  317. <select name="community1" lay-search>
  318. <option value="">==小区名称==</option>
  319. {volist name="community" id="vo"}
  320. <option value="{$vo.id}">{$vo.name}</option>
  321. {/volist}
  322. </select>
  323. <button class="left searchbtn1" type="button" lay-submit lay-filter="search1">搜索</button>
  324. </div>
  325. <button type="button" class="layui-btn layui-btn-sm addbtn">运营管控添加</button>
  326. </div>
  327. </div>
  328. <div class="crmsearchlist-box">
  329. <div class="crmsearchlist">
  330. <table lay-filter="crmsearchlist" id="crmsearchlist"></table>
  331. </div>
  332. </div>
  333. </form>
  334. </div>
  335. <div id="popinfo">
  336. <div class="popcontent">
  337. <div class="poptitle">
  338. <!-- 你正在编辑小区“力高”的资料信息...... -->
  339. <span class="title">你正在添加一条新记录......</span>
  340. <div class="title-right">
  341. 点击这里返回编辑列表:
  342. <button type="button" class="layui-btn layui-btn-xs backbtn closebtn">返回列表</button>
  343. </div>
  344. </div>
  345. <form class="layui-form detailform" lay-filter="demo-val-filter">
  346. <table>
  347. <tr>
  348. <td colspan="3">
  349. <div class="layui-form-item">
  350. <input type="text" style="display:none;" name="id" />
  351. <label class="layui-form-label">选择小区: </label>
  352. <div class="layui-input-block">
  353. <div class="searchbox clearfix" style="margin-top: 0;">
  354. <select name="community_id" lay-search lay-verify="required">
  355. <option value="">==小区名称==</option>
  356. {volist name="community" id="vo"}
  357. <option value="{$vo.id}">{$vo.name}</option>
  358. {/volist}
  359. </select>
  360. </div>
  361. </div>
  362. </div>
  363. </td>
  364. </tr>
  365. <tr>
  366. <td colspan="3">
  367. <div class="layui-form-item">
  368. <label class="layui-form-label">日报时间: </label>
  369. <div class="layui-input-block">
  370. <div class="searchbox clearfix" style="margin-top: 0;">
  371. <input style="width:160px;margin-top: 5px;" lay-verify="required" type="text" class="left searchtext" autocomplete="off"
  372. style="border-color: #ccc;" name="record_date" id="date" placeholder="选择时间" readonly />
  373. </div>
  374. </div>
  375. </div>
  376. </td>
  377. </tr>
  378. <tr>
  379. <th>每日必完成项目</th>
  380. <th>实时安排类</th>
  381. <th>到店引流类</th>
  382. </tr>
  383. <tr>
  384. <td>
  385. <div class="layui-form-item">
  386. <label class="layui-form-label">每日加粉:</label>
  387. <div class="layui-input-block">
  388. 系统默认调用数据
  389. </div>
  390. </div>
  391. </td>
  392. <td>
  393. <div class="layui-form-item">
  394. <label class="layui-form-label">社群剧本:</label>
  395. <div class="layui-input-block">
  396. <input type="radio" name="group_script" value="3" title="完成">
  397. <input type="radio" name="group_script" value="2" title="进行中">
  398. <input type="radio" name="group_script" value="1" title="未完成">
  399. </div>
  400. </div>
  401. </td>
  402. <td>
  403. <div class="layui-form-item">
  404. <label class="layui-form-label">小区直播: </label>
  405. <div class="layui-input-block">
  406. <input type="radio" name="community_broadcast" value="3" title="完成">
  407. <input type="radio" name="community_broadcast" value="2" title="进行中">
  408. <input type="radio" name="community_broadcast" value="1" title="未完成">
  409. </div>
  410. </div>
  411. </td>
  412. </tr>
  413. <tr>
  414. <td>
  415. <div class="layui-form-item">
  416. <label class="layui-form-label">邀约进群:</label>
  417. <div class="layui-input-block">
  418. 系统默认调用数据
  419. </div>
  420. </div>
  421. </td>
  422. <td>
  423. <div class="layui-form-item">
  424. <label class="layui-form-label">客户膜拜:</label>
  425. <div class="layui-input-block">
  426. <input type="radio" name="customer_worship" value="3" title="完成">
  427. <input type="radio" name="customer_worship" value="2" title="进行中">
  428. <input type="radio" name="customer_worship" value="1" title="未完成">
  429. </div>
  430. </div>
  431. </td>
  432. <td>
  433. <div class="layui-form-item">
  434. <label class="layui-form-label">户型直播:</label>
  435. <div class="layui-input-block">
  436. <input type="radio" name="housetype_broadcast" value="3" title="完成">
  437. <input type="radio" name="housetype_broadcast" value="2" title="进行中">
  438. <input type="radio" name="housetype_broadcast" value="1" title="未完成">
  439. </div>
  440. </div>
  441. </td>
  442. </tr>
  443. <tr>
  444. <td>
  445. <div class="layui-form-item">
  446. <label class="layui-form-label">记录更新:</label>
  447. <div class="layui-input-block">
  448. 系统默认调用数据
  449. </div>
  450. </div>
  451. </td>
  452. <td>
  453. <div class="layui-form-item">
  454. <label class="layui-form-label">VR楼书输出:</label>
  455. <div class="layui-input-block">
  456. <input type="radio" name="building_output" value="3" title="完成">
  457. <input type="radio" name="building_output" value="2" title="进行中">
  458. <input type="radio" name="building_output" value="1" title="未完成">
  459. </div>
  460. </div>
  461. </td>
  462. <td>
  463. <div class="layui-form-item">
  464. <label class="layui-form-label">收房验房直播:</label>
  465. <div class="layui-input-block">
  466. <input type="radio" name="house_inspection_broadcast" value="3" title="完成">
  467. <input type="radio" name="house_inspection_broadcast" value="2" title="进行中">
  468. <input type="radio" name="house_inspection_broadcast" value="1" title="未完成">
  469. </div>
  470. </div>
  471. </td>
  472. </tr>
  473. <tr>
  474. <td>
  475. <div class="layui-form-item">
  476. <label class="layui-form-label">每客户口碑:</label>
  477. <div class="layui-input-block">
  478. 系统默认调用数据
  479. </div>
  480. </div>
  481. </td>
  482. <td>
  483. <div class="layui-form-item">
  484. <label class="layui-form-label">谈单演练:</label>
  485. <div class="layui-input-block">
  486. <input type="radio" name="talk_drill" value="3" title="完成">
  487. <input type="radio" name="talk_drill" value="2" title="进行中">
  488. <input type="radio" name="talk_drill" value="1" title="未完成">
  489. </div>
  490. </div>
  491. </td>
  492. <td>
  493. <div class="layui-form-item">
  494. <label class="layui-form-label">开工直播:</label>
  495. <div class="layui-input-block">
  496. <input type="radio" name="start_work_broadcast" value="3" title="完成">
  497. <input type="radio" name="start_work_broadcast" value="2" title="进行中">
  498. <input type="radio" name="start_work_broadcast" value="1" title="未完成">
  499. </div>
  500. </div>
  501. </td>
  502. </tr>
  503. <tr>
  504. <td>
  505. <div class="layui-form-item">
  506. <label class="layui-form-label">群内运营:</label>
  507. <div class="layui-input-block">
  508. <input type="radio" name="chat_group" value="3" title="完成">
  509. <input type="radio" name="chat_group" value="2" title="进行中">
  510. <input type="radio" name="chat_group" value="1" title="未完成">
  511. </div>
  512. </div>
  513. </td>
  514. <td>
  515. <div class="layui-form-item">
  516. <label class="layui-form-label">素材包制作:</label>
  517. <div class="layui-input-block">
  518. <input type="radio" name="material_production" value="3" title="完成">
  519. <input type="radio" name="material_production" value="2" title="进行中">
  520. <input type="radio" name="material_production" value="1" title="未完成">
  521. </div>
  522. </div>
  523. </td>
  524. <td>
  525. <div class="layui-form-item">
  526. <label class="layui-form-label">样板间直播:</label>
  527. <div class="layui-input-block">
  528. <input type="radio" name="sample_room_broadcast" value="3" title="完成">
  529. <input type="radio" name="sample_room_broadcast" value="2" title="进行中">
  530. <input type="radio" name="sample_room_broadcast" value="1" title="未完成">
  531. </div>
  532. </div>
  533. </td>
  534. </tr>
  535. <tr>
  536. <td>
  537. <div class="layui-form-item">
  538. <label class="layui-form-label">工作日志:</label>
  539. <div class="layui-input-block">
  540. <input type="radio" name="work_log" value="3" title="完成">
  541. <input type="radio" name="work_log" value="2" title="进行中">
  542. <input type="radio" name="work_log" value="1" title="未完成">
  543. </div>
  544. </div>
  545. </td>
  546. <td>
  547. <div class="layui-form-item">
  548. <label class="layui-form-label">威智慧口碑:</label>
  549. <div class="layui-input-block">
  550. <input type="radio" name="wei_opinions" value="3" title="完成">
  551. <input type="radio" name="wei_opinions" value="2" title="进行中">
  552. <input type="radio" name="wei_opinions" value="1" title="未完成">
  553. </div>
  554. </div>
  555. </td>
  556. <td>
  557. <div class="layui-form-item">
  558. <label class="layui-form-label">定锚引流:</label>
  559. <div class="layui-input-block">
  560. <input type="radio" name="anchoring_traffic" value="3" title="完成">
  561. <input type="radio" name="anchoring_traffic" value="2" title="进行中">
  562. <input type="radio" name="anchoring_traffic" value="1" title="未完成">
  563. </div>
  564. </div>
  565. </td>
  566. </tr>
  567. <tr>
  568. <th>活动类</th>
  569. <th>价值输出类</th>
  570. <th>会议类</th>
  571. </tr>
  572. <tr>
  573. <td>
  574. <div class="layui-form-item">
  575. <label class="layui-form-label">样板间征集:</label>
  576. <div class="layui-input-block">
  577. <input type="radio" name="sample_room_collect" value="3" title="完成">
  578. <input type="radio" name="sample_room_collect" value="2" title="进行中">
  579. <input type="radio" name="sample_room_collect" value="1" title="未完成">
  580. </div>
  581. </div>
  582. </td>
  583. <td>
  584. <div class="layui-form-item">
  585. <label class="layui-form-label">户型分享:</label>
  586. <div class="layui-input-block">
  587. <input type="radio" name="housetype_share" value="3" title="完成">
  588. <input type="radio" name="housetype_share" value="2" title="进行中">
  589. <input type="radio" name="housetype_share" value="1" title="未完成">
  590. </div>
  591. </div>
  592. </td>
  593. <td>
  594. <div class="layui-form-item">
  595. <label class="layui-form-label">周会:</label>
  596. <div class="layui-input-block">
  597. <input type="radio" name="weekly_meeting" value="3" title="完成">
  598. <input type="radio" name="weekly_meeting" value="2" title="进行中">
  599. <input type="radio" name="weekly_meeting" value="1" title="未完成">
  600. </div>
  601. </div>
  602. </td>
  603. </tr>
  604. <tr>
  605. <td>
  606. <div class="layui-form-item">
  607. <label class="layui-form-label">业主团购会:</label>
  608. <div class="layui-input-block">
  609. <input type="radio" name="owner_buy" value="3" title="完成">
  610. <input type="radio" name="owner_buy" value="2" title="进行中">
  611. <input type="radio" name="owner_buy" value="1" title="未完成">
  612. </div>
  613. </div>
  614. </td>
  615. <td>
  616. <div class="layui-form-item">
  617. <label class="layui-form-label">装修省钱攻略:</label>
  618. <div class="layui-input-block">
  619. <input type="radio" name="decoration_saves_money" value="3" title="完成">
  620. <input type="radio" name="decoration_saves_money" value="2" title="进行中">
  621. <input type="radio" name="decoration_saves_money" value="1" title="未完成">
  622. </div>
  623. </div>
  624. </td>
  625. <td>
  626. <div class="layui-form-item">
  627. <label class="layui-form-label">月会:</label>
  628. <div class="layui-input-block">
  629. <input type="radio" name="month_meeting" value="3" title="完成">
  630. <input type="radio" name="month_meeting" value="2" title="进行中">
  631. <input type="radio" name="month_meeting" value="1" title="未完成">
  632. </div>
  633. </div>
  634. </td>
  635. </tr>
  636. <tr>
  637. <td>
  638. <div class="layui-form-item">
  639. <label class="layui-form-label">业主见面会: </label>
  640. <div class="layui-input-block">
  641. <input type="radio" name="owner_meeting" value="3" title="完成">
  642. <input type="radio" name="owner_meeting" value="2" title="进行中">
  643. <input type="radio" name="owner_meeting" value="1" title="未完成">
  644. </div>
  645. </div>
  646. </td>
  647. <td>
  648. <div class="layui-form-item">
  649. <label class="layui-form-label">装修闭坑指南:</label>
  650. <div class="layui-input-block">
  651. <input type="radio" name="decoration_closed_pit" value="3" title="完成">
  652. <input type="radio" name="decoration_closed_pit" value="2" title="进行中">
  653. <input type="radio" name="decoration_closed_pit" value="1" title="未完成">
  654. </div>
  655. </div>
  656. </td>
  657. <td>
  658. <div class="layui-form-item">
  659. <label class="layui-form-label">对单会:</label>
  660. <div class="layui-input-block">
  661. <input type="radio" name="single_meeting" value="3" title="完成">
  662. <input type="radio" name="single_meeting" value="2" title="进行中">
  663. <input type="radio" name="single_meeting" value="1" title="未完成">
  664. </div>
  665. </div>
  666. </td>
  667. </tr>
  668. <tr>
  669. <td>
  670. <div class="layui-form-item">
  671. <label class="layui-form-label">工地直通车:</label>
  672. <div class="layui-input-block">
  673. <input type="radio" name="construction_direct" value="3" title="完成">
  674. <input type="radio" name="construction_direct" value="2" title="进行中">
  675. <input type="radio" name="construction_direct" value="1" title="未完成">
  676. </div>
  677. </div>
  678. </td>
  679. <td>
  680. <div class="layui-form-item">
  681. <label class="layui-form-label">十大空间规划:</label>
  682. <div class="layui-input-block">
  683. <input type="radio" name="top_ten_spatial_planning" value="3" title="完成">
  684. <input type="radio" name="top_ten_spatial_planning" value="2" title="进行中">
  685. <input type="radio" name="top_ten_spatial_planning" value="1" title="未完成">
  686. </div>
  687. </div>
  688. </td>
  689. <td>
  690. <div class="layui-form-item">
  691. <label class="layui-form-label">培训会:</label>
  692. <div class="layui-input-block">
  693. <input type="radio" name="train_meeting" value="3" title="完成">
  694. <input type="radio" name="train_meeting" value="2" title="进行中">
  695. <input type="radio" name="train_meeting" value="1" title="未完成">
  696. </div>
  697. </div>
  698. </td>
  699. </tr>
  700. <tr>
  701. <td>
  702. <div class="layui-form-item">
  703. <label class="layui-form-label">验房抢购会:</label>
  704. <div class="layui-input-block">
  705. <input type="radio" name="house_inspection" value="3" title="完成">
  706. <input type="radio" name="house_inspection" value="2" title="进行中">
  707. <input type="radio" name="house_inspection" value="1" title="未完成">
  708. </div>
  709. </div>
  710. </td>
  711. <td>
  712. <div class="layui-form-item">
  713. <label class="layui-form-label">装修验收标准:</label>
  714. <div class="layui-input-block">
  715. <input type="radio" name="decoration_acceptance_standards " value="3" title="完成">
  716. <input type="radio" name="decoration_acceptance_standards" value="2" title="进行中">
  717. <input type="radio" name="decoration_acceptance_standards" value="1" title="未完成">
  718. </div>
  719. </div>
  720. </td>
  721. <td>
  722. </td>
  723. </tr>
  724. <tr>
  725. <td>
  726. <div class="layui-form-item">
  727. <label class="layui-form-label">归家晚宴会:</label>
  728. <div class="layui-input-block">
  729. <input type="radio" name="home_dinner" value="3" title="完成">
  730. <input type="radio" name="home_dinner" value="2" title="进行中">
  731. <input type="radio" name="home_dinner" value="1" title="未完成">
  732. </div>
  733. </div>
  734. </td>
  735. <td></td>
  736. <td></td>
  737. </tr>
  738. <tr>
  739. <td>
  740. <div class="layui-form-item">
  741. <label class="layui-form-label">客户答谢会:</label>
  742. <div class="layui-input-block">
  743. <input type="radio" name="customer_thanks" value="3" title="完成">
  744. <input type="radio" name="customer_thanks" value="2" title="进行中">
  745. <input type="radio" name="customer_thanks" value="1" title="未完成">
  746. </div>
  747. </div>
  748. </td>
  749. <td></td>
  750. <td></td>
  751. </tr>
  752. <tr>
  753. <td colspan="3">
  754. <div class="layui-form-item" style="width: 100%;padding:5px;text-align: center;">
  755. <button type="button" class="layui-btn layui-btn-sm" lay-submit lay-filter="popsub">保存</button>
  756. <button type="button" class="layui-btn layui-btn-sm layui-btn-primary closebtn">关闭</button>
  757. </div>
  758. </td>
  759. </tr>
  760. </table>
  761. </form>
  762. </div>
  763. </div>
  764. </body>
  765. <script src="__LAYUI__/layui/layui.js"></script>
  766. {/block}{block name="js"}
  767. <script type="text/html" id="edit">
  768. <a style="color: #1e9fff;" lay-event="edit">
  769. 编辑
  770. </a>
  771. </script>
  772. <script type="text/javascript">
  773. var reload = null,
  774. resizefun = null;
  775. layui.config({
  776. base: '__LAYUI__/',
  777. urlbase: '/sys'
  778. }).extend({
  779. index: 'lib/index' //主入口模块
  780. }).use(['table', 'laydate'], function() {
  781. var table = layui.table,
  782. laydate = layui.laydate,
  783. $ = layui.$;
  784. form = layui.form;
  785. var field = {};
  786. laydate.render({
  787. elem: '#visitime',
  788. max: 0,
  789. trigger: 'click',
  790. });
  791. laydate.render({
  792. elem: '#date',
  793. max: 0,
  794. trigger: 'click',
  795. });
  796. form.on('submit(search1)', function(data) {
  797. var community_id = $('[name=community1]').val();
  798. var date = $('#visitime').val();
  799. field['community_id'] = community_id;
  800. field['date'] = date;
  801. //执行重载
  802. table.reload('crmsearchlist', {
  803. where: field,
  804. page: {
  805. curr: 1
  806. }
  807. });
  808. });
  809. form.on('submit(popsub)', function(data) {
  810. if(data.field.id){
  811. $.ajax({
  812. url: '{:url("community/operate_edit")}'
  813. , data: data.field
  814. , type: 'post'
  815. , success: function (res) {
  816. layer.closeAll()
  817. table.reload('crmsearchlist', {
  818. where: field,
  819. page: {
  820. curr: 1
  821. }
  822. });
  823. },
  824. })
  825. }else{
  826. $.ajax({
  827. url: '{:url("community/operate_add")}'
  828. , data: data.field
  829. , type: 'post'
  830. , success: function (res) {
  831. layer.closeAll()
  832. table.reload('crmsearchlist', {
  833. where: field,
  834. page: {
  835. curr: 1
  836. }
  837. });
  838. },
  839. })
  840. }
  841. // return false;
  842. });
  843. $('.addbtn').click(function() {
  844. $('.detailform')[0].reset();
  845. layui.form.render();
  846. $('.poptitle .title').html('你正在添加一条新记录......');
  847. layer.open({
  848. type: 1,
  849. offset: 'r',
  850. anim: 'slideLeft', // 从右往左
  851. area: ['100%', '100%'],
  852. shade: 0,
  853. title: false,
  854. closeBtn: 0,
  855. shadeClose: true,
  856. id: 'ID-demo-layer-direction-r',
  857. content: $('#popinfo'),
  858. success: function() {
  859. // 指定开关事件
  860. laydate.render({
  861. elem: '#date'
  862. });
  863. }
  864. });
  865. })
  866. $('.closebtn').click(function(){
  867. layer.closeAll()
  868. })
  869. table.render({
  870. elem: '#crmsearchlist',
  871. url: '{:url("community/operate_list")}',
  872. resize: true,
  873. //even: true,
  874. cols: [
  875. [{
  876. title: '小区名称 ',
  877. field: 'community_name',
  878. align: 'center',
  879. minWidth: 130,
  880. }, {
  881. title: '日期',
  882. field: 'record_date',
  883. align: 'center',
  884. minWidth: 130,
  885. },
  886. {
  887. title: '运营',
  888. field: 'chat_group',
  889. align: 'center',
  890. minWidth: 30,
  891. },
  892. {
  893. title: '日志',
  894. field: 'work_log',
  895. align: 'center',
  896. minWidth: 30,
  897. },
  898. {
  899. title: '社群剧本',
  900. field: 'group_script',
  901. align: 'center',
  902. minWidth: 30,
  903. },
  904. {
  905. title: '客户膜拜',
  906. field: 'customer_worship',
  907. align: 'center',
  908. minWidth: 30,
  909. },
  910. {
  911. title: 'VR输出',
  912. field: 'building_output',
  913. align: 'center',
  914. minWidth: 30,
  915. },
  916. {
  917. title: '谈单演练',
  918. field: 'talk_drill',
  919. align: 'center',
  920. minWidth: 30,
  921. },
  922. {
  923. title: '素材制作',
  924. field: 'material_production',
  925. align: 'center',
  926. minWidth: 30,
  927. },
  928. {
  929. title: '威智慧口碑',
  930. field: 'wei_opinions',
  931. align: 'center',
  932. minWidth: 30,
  933. },
  934. {
  935. title: '小区直播',
  936. field: 'community_broadcast',
  937. align: 'center',
  938. minWidth: 30,
  939. },
  940. {
  941. title: '户型直播',
  942. field: 'housetype_broadcast',
  943. align: 'center',
  944. minWidth: 30,
  945. },
  946. {
  947. title: '收房验房',
  948. field: 'house_inspection_broadcast',
  949. align: 'center',
  950. minWidth: 30,
  951. },
  952. {
  953. title: '开工直播',
  954. field: 'start_work_broadcast',
  955. align: 'center',
  956. minWidth: 30,
  957. },
  958. {
  959. title: '样板间',
  960. field: 'sample_room_broadcast',
  961. align: 'center',
  962. minWidth: 30,
  963. },
  964. {
  965. title: '操作',
  966. align: 'center',
  967. width: 100,
  968. templet:'#edit',
  969. },
  970. ]
  971. ],
  972. page: true,
  973. limits: [10],
  974. limit: 10, //每页默认显示的数量,
  975. height: 'full-120',
  976. text: '对不起,加载出现异常!',
  977. done: function(res, page, count) {
  978. var that = this.elem.next();
  979. res.data.forEach(function(item, index) {
  980. var tr = that.find("[data-index=" + index + "]").children();
  981. tr.each(function() {
  982. var b = $(this).text();
  983. let arr = ['record_date','community_name']
  984. var field = $(this).attr('data-field');
  985. if (field&&arr.indexOf(field) == -1) {
  986. if (b == '1') {
  987. $(this).css("background-color", "red"); //单元格背景颜色
  988. $(this).css("color", "red"); //单元格字体颜色
  989. } else if (b == '2') {
  990. $(this).css("background-color", "yellow"); //单元格背景颜色
  991. $(this).css("color", "yellow"); //单元格字体颜色
  992. } else if (b == '3') {
  993. $(this).css("background-color", "green"); //单元格背景颜色
  994. $(this).css("color", "green"); //单元格字体颜色
  995. } else {
  996. // $(this).css("background-color", "#fff");//单元格背景颜色
  997. $(this).css("color", "transparent"); //单元格字体颜色
  998. }
  999. }
  1000. })
  1001. })
  1002. },
  1003. });
  1004. resizefun = function() {
  1005. table.resize('crmsearchlist');
  1006. };
  1007. window.resizefun2 = function() {
  1008. table.resize('crmsearchlist');
  1009. };
  1010. reload = function() {
  1011. table.reload('crmsearchlist', {
  1012. where: field
  1013. }, true);
  1014. };
  1015. table.on('tool(crmsearchlist)', function (obj) {
  1016. var data = obj.data;
  1017. // obj.event === 'edit'
  1018. console.log(data);
  1019. $('.detailform')[0].reset();
  1020. form.val('demo-val-filter',data);
  1021. layui.form.render();
  1022. $('.poptitle .title').html(' 你正在编辑小区“'+data.community_name+'”的资料信息......');
  1023. layer.open({
  1024. type: 1,
  1025. offset: 'r',
  1026. anim: 'slideLeft', // 从右往左
  1027. area: ['100%', '100%'],
  1028. shade: 0,
  1029. title: false,
  1030. closeBtn: 0,
  1031. shadeClose: true,
  1032. id: 'ID-demo-layer-direction-r',
  1033. content: $('#popinfo'),
  1034. success: function() {
  1035. // 指定开关事件
  1036. laydate.render({
  1037. elem: '#date'
  1038. });
  1039. }
  1040. });
  1041. })
  1042. })
  1043. function removealog(params) {
  1044. $('#customer_detail').hide();
  1045. $('.crmbox').removeClass('rightbox');
  1046. }
  1047. </script>
  1048. {/block}