123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152 |
- {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 {
- padding-bottom: 40px;
- }
- .searchtitlebox {
- display: block;
- padding: 15px 10px;
- border: 1px solid #F0F0F0;
- background: #FCFCFC;
- margin-top: 5px;
- margin-bottom: 10px;
- position: relative;
- min-width: 800px;
- }
- .searchbox {
- display: block;
- margin-top: 8px;
- text-align: center;
- }
- .searchbox input {
- display: inline-block;
- height: 26px;
- line-height: 26px;
- padding-left: 3px;
- vertical-align: middle;
- }
- body {
- font-size: 12px;
- font-family: "宋体";
- }
- .selectbox {
- float: left;
- }
- .leftselect {
- float: left;
- height: 26px;
- line-height: 26px;
- }
- .selectbox select {
- float: left;
- height: 26px;
- }
- .searchtext {
- border: 1px solid #ccc;
- background: #fff url(__STATIC__/img/icon071402.png) no-repeat;
- padding: 1px 2px;
- height: 24px;
- line-height: 24px;
- vertical-align: middle;
- text-indent: 3px;
- margin-left: 4px;
- }
- .searchbtn1 {
- margin-left: 4px;
- cursor: pointer;
- color: #000;
- background: url(__STATIC__/img/btn_bg.gif) repeat-x;
- border: 1px solid #C0C0C0;
- padding: 0 12px;
- *padding: 0 6px;
- height: 26px;
- }
- .layui-table td,
- .layui-table th {
- font-size: 12px;
- }
- .layui-table th {
- font-weight: bold;
- }
- .dingjingorder {
- height: 25px;
- width: 40px;
- background-color: #65c001;
- color: #FFF;
- text-align: center;
- line-height: 25px;
- z-index: 100;
- display: block;
- position: absolute;
- top: 1px;
- right: 3px;
- border-radius: 11px;
- font-size: 12px;
- }
- .addvx {
- position: absolute;
- top: -5px;
- right: 1px;
- height: 14px;
- line-height: 14px;
- font-size: 16px;
- color: #666;
- font-family: "宋体";
- }
- .statebox {
- width: 40px;
- text-align: center;
- z-index: 100;
- display: block;
- position: absolute;
- font-size: 12px;
- top: -5px;
- right: 0px;
- border-radius: 0px;
- background: #4285f4;
- color: #efefef;
- height: 20px;
- line-height: 20px;
- }
- .layui-table-cell {
- overflow: initial;
- }
- #customer_detail {
- display: block;
- width: 435px;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .rightbox {
- display: block;
- width: calc(100% - 435px);
- margin-left: 435px;
- }
- .unstatusbox {
- display: block;
- position: absolute;
- top: -5px;
- left: 0;
- width: 100%;
- height: 37px;
- background-color: #FF6600;
- text-align: center;
- color: #FFF;
- }
- .statusbox {
- position: absolute;
- top: 0px;
- right: 0px;
- color: #666;
- text-align: right;
- z-index: 100;
- display: block;
- font-size: 12px;
- }
- .layui-table-view .layui-form-checkbox {
- width: 16px;
- height: 16px;
- line-height: 16px;
- padding-right: 0;
- }
- .layui-table-view .layui-form-checkbox i {
- height: 16px;
- width: 16px;
- font-size: 14px;
- }
- .novisitlog {
- background-color: #9139db !important;
- color: #FFF;
- }
- .novisitlog a {
- color: #FFF;
- }
- .crmsearchlist {
- max-height: 760px;
- cursor: pointer;
- }
- .tablebox .layui-form.layui-border-box.layui-table-view {
- max-height: 400px !important;
- height: auto !important;
- }
- .searchbox .layui-form-select {
- float: left;
- width: 130px;
- }
- .searchbox input {
- border: 1px solid #e6e6e6 !important;
- }
- .layui-table-body {
- max-height: 400px !important;
- height: auto !important;
- }
- .layui-table-view .layui-table td {
- cursor: pointer;
- overflow: hidden;
- }
- .layui-form-checked {
- background-color: #37AF6E;
- }
- .layui-table-view .layui-form-checked i {
- color: #fff;
- }
- .summary_report h1 {
- text-align: center;
- margin-bottom: 20px;
- margin-top: 20px;
- letter-spacing: 2px;
- font-family: Arial, Helvetica, sans-serif;
- }
- .bgred {
- background-color: red;
- }
- .bgyellow {
- background-color: yellow;
- }
- .bggreen {
- background-color: green;
- }
- .backbtn,
- .addbtn {
- background-image: linear-gradient(180deg, #A5DFFF, #63A2DE);
- color: #fff;
- float: right;
- }
- #popinfo {
- position: fixed;
- top: -1999px;
- }
- #ID-demo-layer-direction-r #popinfo {
- position: static;
- }
- #popinfo .popcontent {
- width: 900px;
- margin: 0 auto;
- }
- .poptitle {
- padding: 15px 10px;
- border: 1px solid #F0F0F0;
- background: #FCFCFC;
- margin-top: 5px;
- margin-bottom: 10px;
- position: relative;
- min-width: 800px;
- height: 52px;
- line-height: 22px;
- overflow: hidden;
- }
-
- .title-right {
- line-height: 22px;
- float: right;
- }
-
- #popinfo table {
- table-layout: fixed;
- width: 100%;
- border: 1px solid #DFDFDF;
- border-collapse: separate !important;
- border-collapse: collapse !important;
- background-color: #FFF;
- border-right: 0;
- border-bottom: 2px solid #DFDFDF;
- }
-
- #popinfo table td {
- border-right: 1px solid #DFDFDF;
- border-bottom: 1px solid #EAEAEC;
- line-height: 25px;
- font-size: 13px;
- position: relative;
- }
-
- #popinfo table 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;
- }
-
- #popinfo .layui-form-item {
- margin: 0;
- }
-
- #popinfo .layui-form-select {
- float: left;
- width: 130px;
- }
-
- #popinfo .layui-form-radio * {
- font-size: 12px;
-
- }
-
- #popinfo .layui-form-radio>i {
- font-size: 18px;
- margin-right: 2px;
- }
-
- #popinfo .layui-form-radio {
- margin: 0;
- padding-right: 5px;
- line-height: 36px;
- }
-
- #popinfo .layui-form-label {
- line-height: 36px;
- padding: 0;
- width: 100px;
- }
-
- #popinfo .layui-input-block {
- margin-left: 90px;
- line-height: 36px;
- }
- </style>
- <body class="clearfix">
- <iframe id="customer_detail" style="display: none;" src=""></iframe>
- <div class="crmbox summary_report">
- <form class="layui-form">
- <div class="searchtitlebox">
- <div style="margin-bottom:8px;">您当前的操作 · <b class="buildering-name">你正在管理您的小区名称......</b>
- </div>
- <div class="searchbox clearfix operate_report_op2">
- <div class="selectbox community1box" style="width: 400px;float: left;">
- <input style="width:160px" type="text" class="left searchtext" autocomplete="off"
- style="border-color: #ccc;" name="visitime" id="visitime" placeholder="选择时间" readonly />
- <select name="community1" lay-search>
- <option value="">==小区名称==</option>
- {volist name="community" id="vo"}
- <option value="{$vo.id}">{$vo.name}</option>
- {/volist}
- </select>
- <button class="left searchbtn1" type="button" lay-submit lay-filter="search1">搜索</button>
- </div>
- <button type="button" class="layui-btn layui-btn-sm addbtn">运营管控添加</button>
- </div>
- </div>
- <div class="crmsearchlist-box">
- <div class="crmsearchlist">
- <table lay-filter="crmsearchlist" id="crmsearchlist"></table>
- </div>
- </div>
- </form>
- </div>
- <div id="popinfo">
- <div class="popcontent">
- <div class="poptitle">
- <!-- 你正在编辑小区“力高”的资料信息...... -->
-
- <span class="title">你正在添加一条新记录......</span>
- <div class="title-right">
- 点击这里返回编辑列表:
- <button type="button" class="layui-btn layui-btn-xs backbtn closebtn">返回列表</button>
- </div>
- </div>
- <form class="layui-form detailform" lay-filter="demo-val-filter">
- <table>
- <tr>
- <td colspan="3">
- <div class="layui-form-item">
- <input type="text" style="display:none;" name="id" />
- <label class="layui-form-label">选择小区: </label>
- <div class="layui-input-block">
- <div class="searchbox clearfix" style="margin-top: 0;">
- <select name="community_id" lay-search lay-verify="required">
- <option value="">==小区名称==</option>
- {volist name="community" id="vo"}
- <option value="{$vo.id}">{$vo.name}</option>
- {/volist}
- </select>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="3">
- <div class="layui-form-item">
- <label class="layui-form-label">日报时间: </label>
- <div class="layui-input-block">
- <div class="searchbox clearfix" style="margin-top: 0;">
- <input style="width:160px;margin-top: 5px;" lay-verify="required" type="text" class="left searchtext" autocomplete="off"
- style="border-color: #ccc;" name="record_date" id="date" placeholder="选择时间" readonly />
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th>每日必完成项目</th>
- <th>实时安排类</th>
- <th>到店引流类</th>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">每日加粉:</label>
- <div class="layui-input-block">
- 系统默认调用数据
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">社群剧本:</label>
- <div class="layui-input-block">
- <input type="radio" name="group_script" value="3" title="完成">
- <input type="radio" name="group_script" value="2" title="进行中">
- <input type="radio" name="group_script" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">小区直播: </label>
- <div class="layui-input-block">
- <input type="radio" name="community_broadcast" value="3" title="完成">
- <input type="radio" name="community_broadcast" value="2" title="进行中">
- <input type="radio" name="community_broadcast" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">邀约进群:</label>
- <div class="layui-input-block">
- 系统默认调用数据
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">客户膜拜:</label>
- <div class="layui-input-block">
- <input type="radio" name="customer_worship" value="3" title="完成">
- <input type="radio" name="customer_worship" value="2" title="进行中">
- <input type="radio" name="customer_worship" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">户型直播:</label>
- <div class="layui-input-block">
- <input type="radio" name="housetype_broadcast" value="3" title="完成">
- <input type="radio" name="housetype_broadcast" value="2" title="进行中">
- <input type="radio" name="housetype_broadcast" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">记录更新:</label>
- <div class="layui-input-block">
- 系统默认调用数据
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">VR楼书输出:</label>
- <div class="layui-input-block">
- <input type="radio" name="building_output" value="3" title="完成">
- <input type="radio" name="building_output" value="2" title="进行中">
- <input type="radio" name="building_output" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">收房验房直播:</label>
- <div class="layui-input-block">
- <input type="radio" name="house_inspection_broadcast" value="3" title="完成">
- <input type="radio" name="house_inspection_broadcast" value="2" title="进行中">
- <input type="radio" name="house_inspection_broadcast" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">每客户口碑:</label>
- <div class="layui-input-block">
- 系统默认调用数据
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">谈单演练:</label>
- <div class="layui-input-block">
- <input type="radio" name="talk_drill" value="3" title="完成">
- <input type="radio" name="talk_drill" value="2" title="进行中">
- <input type="radio" name="talk_drill" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">开工直播:</label>
- <div class="layui-input-block">
- <input type="radio" name="start_work_broadcast" value="3" title="完成">
- <input type="radio" name="start_work_broadcast" value="2" title="进行中">
- <input type="radio" name="start_work_broadcast" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">群内运营:</label>
- <div class="layui-input-block">
- <input type="radio" name="chat_group" value="3" title="完成">
- <input type="radio" name="chat_group" value="2" title="进行中">
- <input type="radio" name="chat_group" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">素材包制作:</label>
- <div class="layui-input-block">
- <input type="radio" name="material_production" value="3" title="完成">
- <input type="radio" name="material_production" value="2" title="进行中">
- <input type="radio" name="material_production" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">样板间直播:</label>
- <div class="layui-input-block">
- <input type="radio" name="sample_room_broadcast" value="3" title="完成">
- <input type="radio" name="sample_room_broadcast" value="2" title="进行中">
- <input type="radio" name="sample_room_broadcast" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">工作日志:</label>
- <div class="layui-input-block">
- <input type="radio" name="work_log" value="3" title="完成">
- <input type="radio" name="work_log" value="2" title="进行中">
- <input type="radio" name="work_log" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">威智慧口碑:</label>
- <div class="layui-input-block">
- <input type="radio" name="wei_opinions" value="3" title="完成">
- <input type="radio" name="wei_opinions" value="2" title="进行中">
- <input type="radio" name="wei_opinions" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">定锚引流:</label>
- <div class="layui-input-block">
- <input type="radio" name="anchoring_traffic" value="3" title="完成">
- <input type="radio" name="anchoring_traffic" value="2" title="进行中">
- <input type="radio" name="anchoring_traffic" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <th>活动类</th>
- <th>价值输出类</th>
- <th>会议类</th>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">样板间征集:</label>
- <div class="layui-input-block">
- <input type="radio" name="sample_room_collect" value="3" title="完成">
- <input type="radio" name="sample_room_collect" value="2" title="进行中">
- <input type="radio" name="sample_room_collect" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">户型分享:</label>
- <div class="layui-input-block">
- <input type="radio" name="housetype_share" value="3" title="完成">
- <input type="radio" name="housetype_share" value="2" title="进行中">
- <input type="radio" name="housetype_share" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">周会:</label>
- <div class="layui-input-block">
- <input type="radio" name="weekly_meeting" value="3" title="完成">
- <input type="radio" name="weekly_meeting" value="2" title="进行中">
- <input type="radio" name="weekly_meeting" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">业主团购会:</label>
- <div class="layui-input-block">
- <input type="radio" name="owner_buy" value="3" title="完成">
- <input type="radio" name="owner_buy" value="2" title="进行中">
- <input type="radio" name="owner_buy" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">装修省钱攻略:</label>
- <div class="layui-input-block">
- <input type="radio" name="decoration_saves_money" value="3" title="完成">
- <input type="radio" name="decoration_saves_money" value="2" title="进行中">
- <input type="radio" name="decoration_saves_money" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">月会:</label>
- <div class="layui-input-block">
- <input type="radio" name="month_meeting" value="3" title="完成">
- <input type="radio" name="month_meeting" value="2" title="进行中">
- <input type="radio" name="month_meeting" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">业主见面会: </label>
- <div class="layui-input-block">
- <input type="radio" name="owner_meeting" value="3" title="完成">
- <input type="radio" name="owner_meeting" value="2" title="进行中">
- <input type="radio" name="owner_meeting" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">装修闭坑指南:</label>
- <div class="layui-input-block">
- <input type="radio" name="decoration_closed_pit" value="3" title="完成">
- <input type="radio" name="decoration_closed_pit" value="2" title="进行中">
- <input type="radio" name="decoration_closed_pit" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">对单会:</label>
- <div class="layui-input-block">
- <input type="radio" name="single_meeting" value="3" title="完成">
- <input type="radio" name="single_meeting" value="2" title="进行中">
- <input type="radio" name="single_meeting" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">工地直通车:</label>
- <div class="layui-input-block">
- <input type="radio" name="construction_direct" value="3" title="完成">
- <input type="radio" name="construction_direct" value="2" title="进行中">
- <input type="radio" name="construction_direct" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">十大空间规划:</label>
- <div class="layui-input-block">
- <input type="radio" name="top_ten_spatial_planning" value="3" title="完成">
- <input type="radio" name="top_ten_spatial_planning" value="2" title="进行中">
- <input type="radio" name="top_ten_spatial_planning" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">培训会:</label>
- <div class="layui-input-block">
- <input type="radio" name="train_meeting" value="3" title="完成">
- <input type="radio" name="train_meeting" value="2" title="进行中">
- <input type="radio" name="train_meeting" value="1" title="未完成">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">验房抢购会:</label>
- <div class="layui-input-block">
- <input type="radio" name="house_inspection" value="3" title="完成">
- <input type="radio" name="house_inspection" value="2" title="进行中">
- <input type="radio" name="house_inspection" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">装修验收标准:</label>
- <div class="layui-input-block">
- <input type="radio" name="decoration_acceptance_standards " value="3" title="完成">
- <input type="radio" name="decoration_acceptance_standards" value="2" title="进行中">
- <input type="radio" name="decoration_acceptance_standards" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">归家晚宴会:</label>
- <div class="layui-input-block">
- <input type="radio" name="home_dinner" value="3" title="完成">
- <input type="radio" name="home_dinner" value="2" title="进行中">
- <input type="radio" name="home_dinner" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item">
- <label class="layui-form-label">客户答谢会:</label>
- <div class="layui-input-block">
- <input type="radio" name="customer_thanks" value="3" title="完成">
- <input type="radio" name="customer_thanks" value="2" title="进行中">
- <input type="radio" name="customer_thanks" value="1" title="未完成">
- </div>
- </div>
- </td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td colspan="3">
- <div class="layui-form-item" style="width: 100%;padding:5px;text-align: center;">
- <button type="button" class="layui-btn layui-btn-sm" lay-submit lay-filter="popsub">保存</button>
- <button type="button" class="layui-btn layui-btn-sm layui-btn-primary closebtn">关闭</button>
- </div>
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- </body>
- <script src="__LAYUI__/layui/layui.js"></script>
- {/block}{block name="js"}
- <script type="text/html" id="edit">
- <a style="color: #1e9fff;" lay-event="edit">
- 编辑
- </a>
- </script>
- <script type="text/javascript">
- var reload = null,
- resizefun = null;
- layui.config({
- base: '__LAYUI__/',
- urlbase: '/sys'
- }).extend({
- index: 'lib/index' //主入口模块
- }).use(['table', 'laydate'], function() {
- var table = layui.table,
- laydate = layui.laydate,
- $ = layui.$;
- form = layui.form;
- var field = {};
- laydate.render({
- elem: '#visitime',
- max: 0,
- trigger: 'click',
- });
- laydate.render({
- elem: '#date',
- max: 0,
- trigger: 'click',
- });
- form.on('submit(search1)', function(data) {
- var community_id = $('[name=community1]').val();
- var date = $('#visitime').val();
- field['community_id'] = community_id;
- field['date'] = date;
- //执行重载
- table.reload('crmsearchlist', {
- where: field,
- page: {
- curr: 1
- }
- });
- });
- form.on('submit(popsub)', function(data) {
- if(data.field.id){
- $.ajax({
- url: '{:url("community/operate_edit")}'
- , data: data.field
- , type: 'post'
- , success: function (res) {
- layer.closeAll()
- table.reload('crmsearchlist', {
- where: field,
- page: {
- curr: 1
- }
- });
- },
- })
- }else{
- $.ajax({
- url: '{:url("community/operate_add")}'
- , data: data.field
- , type: 'post'
- , success: function (res) {
- layer.closeAll()
- table.reload('crmsearchlist', {
- where: field,
- page: {
- curr: 1
- }
- });
- },
- })
- }
-
-
- // return false;
- });
- $('.addbtn').click(function() {
-
- $('.detailform')[0].reset();
- layui.form.render();
-
- $('.poptitle .title').html('你正在添加一条新记录......');
- layer.open({
- type: 1,
- offset: 'r',
- anim: 'slideLeft', // 从右往左
- area: ['100%', '100%'],
- shade: 0,
- title: false,
- closeBtn: 0,
- shadeClose: true,
- id: 'ID-demo-layer-direction-r',
- content: $('#popinfo'),
- success: function() {
- // 指定开关事件
- laydate.render({
- elem: '#date'
- });
- }
- });
- })
- $('.closebtn').click(function(){
- layer.closeAll()
- })
- table.render({
- elem: '#crmsearchlist',
- url: '{:url("community/operate_list")}',
- resize: true,
- //even: true,
- cols: [
- [{
- title: '小区名称 ',
- field: 'community_name',
- align: 'center',
- minWidth: 130,
- }, {
- title: '日期',
- field: 'record_date',
- align: 'center',
- minWidth: 130,
- },
- {
- title: '运营',
- field: 'chat_group',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '日志',
- field: 'work_log',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '社群剧本',
- field: 'group_script',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '客户膜拜',
- field: 'customer_worship',
- align: 'center',
- minWidth: 30,
- },
- {
- title: 'VR输出',
- field: 'building_output',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '谈单演练',
- field: 'talk_drill',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '素材制作',
- field: 'material_production',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '威智慧口碑',
- field: 'wei_opinions',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '小区直播',
- field: 'community_broadcast',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '户型直播',
- field: 'housetype_broadcast',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '收房验房',
- field: 'house_inspection_broadcast',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '开工直播',
- field: 'start_work_broadcast',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '样板间',
- field: 'sample_room_broadcast',
- align: 'center',
- minWidth: 30,
- },
- {
- title: '操作',
- align: 'center',
- width: 100,
- templet:'#edit',
- },
- ]
- ],
- page: true,
- limits: [10],
- limit: 10, //每页默认显示的数量,
- height: 'full-120',
- text: '对不起,加载出现异常!',
- done: function(res, page, count) {
- var that = this.elem.next();
- res.data.forEach(function(item, index) {
- var tr = that.find("[data-index=" + index + "]").children();
- tr.each(function() {
- var b = $(this).text();
- let arr = ['record_date','community_name']
- var field = $(this).attr('data-field');
- if (field&&arr.indexOf(field) == -1) {
- if (b == '1') {
- $(this).css("background-color", "red"); //单元格背景颜色
- $(this).css("color", "red"); //单元格字体颜色
- } else if (b == '2') {
- $(this).css("background-color", "yellow"); //单元格背景颜色
- $(this).css("color", "yellow"); //单元格字体颜色
- } else if (b == '3') {
- $(this).css("background-color", "green"); //单元格背景颜色
- $(this).css("color", "green"); //单元格字体颜色
- } else {
- // $(this).css("background-color", "#fff");//单元格背景颜色
- $(this).css("color", "transparent"); //单元格字体颜色
- }
- }
- })
- })
- },
- });
- resizefun = function() {
- table.resize('crmsearchlist');
- };
- window.resizefun2 = function() {
- table.resize('crmsearchlist');
- };
- reload = function() {
- table.reload('crmsearchlist', {
- where: field
- }, true);
- };
-
- table.on('tool(crmsearchlist)', function (obj) {
- var data = obj.data;
- // obj.event === 'edit'
- console.log(data);
- $('.detailform')[0].reset();
- form.val('demo-val-filter',data);
- layui.form.render();
-
- $('.poptitle .title').html(' 你正在编辑小区“'+data.community_name+'”的资料信息......');
- layer.open({
- type: 1,
- offset: 'r',
- anim: 'slideLeft', // 从右往左
- area: ['100%', '100%'],
- shade: 0,
- title: false,
- closeBtn: 0,
- shadeClose: true,
- id: 'ID-demo-layer-direction-r',
- content: $('#popinfo'),
- success: function() {
- // 指定开关事件
- laydate.render({
- elem: '#date'
- });
- }
- });
-
-
- })
- })
- function removealog(params) {
- $('#customer_detail').hide();
- $('.crmbox').removeClass('rightbox');
- }
- </script>
- {/block}
|