Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
c1fdd4fa
Commit
c1fdd4fa
authored
Jun 18, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
撤销
parent
8eab1964
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
896 additions
and
208 deletions
+896
-208
wait_back_out.html
application/index/view/finance/wait_back_out.html
+19
-205
office_statement_backout.html
...n/index/view/officeBuilding/office_statement_backout.html
+210
-0
shop_statement_backout.html
...ion/index/view/officeBuilding/shop_statement_backout.html
+210
-0
getCollectionBargainBack.js
public/resource/js/getCollectionBargainBack.js
+43
-0
waitBackoutOffice.js
public/resource/js/waitBackoutOffice.js
+374
-0
waitBackoutShop.js
public/resource/js/waitBackoutShop.js
+2
-2
wait_backout_office_template_tpl.html
...c/resource/template/wait_backout_office_template_tpl.html
+37
-0
wait_backout_shop_template_tpl.html
public/resource/template/wait_backout_shop_template_tpl.html
+1
-1
No files found.
application/index/view/finance/wait_back_out.html
View file @
c1fdd4fa
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"waitBackout"
/>
<style
type=
"text/css"
>
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
/*分佣方姓名搜索*/
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
<input
type=
"hidden"
class=
"page-load"
id=
"getCollectionBargainBack"
/>
<style>
.detail-modal-header-tab
>
span
{
margin-right
:
10px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<a
href=
"#"
>
成交报告撤销
</a>
</li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"10"
class=
"maintable-top-sub-tr"
>
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已撤销
</a>
</td>
</tr>
<!--三级审核的搜索功能-->
<tr>
<td
colspan=
"10"
>
<form
id=
"maintable_form_search"
>
<span
class=
"fore-span"
>
商铺类型:
</span>
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_shop_type"
>
<option
value=
"-1"
>
请选择
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
</select>
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span margin-left-10"
>
至
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_end_time"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_internal_address"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_shop_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_user_phone"
placeholder=
"客户电话"
type=
"text"
value=
""
>
<select
name=
"district_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在部门
</option>
</select>
<select
name=
"store_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在门店
</option>
</select>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<!--<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">-->
<!--同步成交报告-->
<div
class=
"left-phone"
>
<input
class=
"form-control"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"partical_name"
placeholder=
"分佣方姓名"
type=
"text"
value=
""
>
<ul
class=
"user-ul"
></ul>
</div>
<div
class=
"clear"
>
</div>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"bargain_id"
placeholder=
"成交报告id"
type=
"text"
value=
""
>
<div
class=
"text-right"
>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
</div>
<!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>-->
</form>
</td>
</tr>
<tr
class=
"maintable-tr-bar"
>
<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=
"maintable_list"
>
</tbody>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 弹出框 详情 -->
<div
class=
"modal fade"
id=
"modal_detail"
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"
>
×
</button>
</div>
<div
class=
"modal-body detail-modal-body"
>
<iframe
class=
"iframe-bargaininfo-static"
name=
"iframe_bargaininfo_static"
></iframe>
<a
class=
"btn1 bargain-detail-shop btn-info"
href=
"#modal_shop_detail"
data-toggle=
"modal"
style=
"display: none;"
>
商铺
</a>
<a
class=
"btn1 caozuo genj_ure btn-info"
href=
"#modal_user_detail"
data-toggle=
"modal"
style=
"display: none;"
>
客户
</a>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
<div
style=
"width: 100%;background: #fff;"
>
<div
style=
"padding: 6px 0;"
>
<!--<a href="javascript:;">收款记录</a>-->
</div>
</div>
<!-- 弹出框 通过 -->
<div
class=
"modal fade"
id=
"modal-pass"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog button-center-bargain"
>
<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"
>
<label
class=
"control-label"
>
确认审核通过吗?
</label>
<!--<textarea class="form-control" rows="5" id="pass_beizhu"></textarea>
<span class="use-span text-danger">(必填)</span> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
class=
"pass-modal-btn-pass"
id=
"pass_ok_btn"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 时间轴 -->
<div
class=
"modal fade"
id=
"modal-time"
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"
>
×
</button>
<h4
class=
"modal-title"
>
时间轴
</h4>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 恢复正常 -->
<div
class=
"modal fade"
id=
"modal-backNormal"
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"
>
×
</button>
<h4
class=
"modal-title"
>
恢复正常
</h4>
</div>
<div
class=
"modal-body"
>
<div
style=
"font-size: 15px;font-weight: 600;"
>
该成交报告将从撤销状态恢复到一级审核的状态,确定恢复正常么?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
id=
"backToNormal"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
<h4
class=
"modal-title detail-modal-header-tab"
style=
"margin-bottom: 6px;"
>
<span
style=
"margin-right: 20px;margin-left: 5px;"
>
成交报告
</span>
<span
class=
"shop-detail btn btn-info"
>
商铺
</span>
<span
class=
"office-detail btn btn-default"
>
办公楼
</span>
</h4>
<div
class=
"detail-modal-body-sec1"
>
<iframe
src=
""
style=
"width: 100%;height: 1200px;border: 0;"
class=
"iframeShop"
></iframe>
</div>
<div
class=
"detail-modal-body-sec2"
style=
"display: none;"
>
<iframe
src=
""
style=
"width: 100%;height: 1200px;border: 0;"
class=
"iframeOffice"
></iframe>
</div>
</div>
application/index/view/officeBuilding/office_statement_backout.html
0 → 100644
View file @
c1fdd4fa
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"waitBackoutOffice"
/>
<style
type=
"text/css"
>
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
/*分佣方姓名搜索*/
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<a
href=
"#"
>
成交报告撤销
</a>
</li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"10"
class=
"maintable-top-sub-tr"
>
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已撤销
</a>
</td>
</tr>
<!--三级审核的搜索功能-->
<tr>
<td
colspan=
"10"
>
<form
id=
"maintable_form_search"
>
<span
class=
"fore-span"
>
2商铺类型:
</span>
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_shop_type"
>
<option
value=
"-1"
>
请选择
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
</select>
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span margin-left-10"
>
至
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_end_time"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_internal_address"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_shop_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_user_phone"
placeholder=
"客户电话"
type=
"text"
value=
""
>
<select
name=
"district_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在部门
</option>
</select>
<select
name=
"store_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在门店
</option>
</select>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<!--<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">-->
<!--同步成交报告-->
<div
class=
"left-phone"
>
<input
class=
"form-control"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"partical_name"
placeholder=
"分佣方姓名"
type=
"text"
value=
""
>
<ul
class=
"user-ul"
></ul>
</div>
<div
class=
"clear"
>
</div>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"bargain_id"
placeholder=
"成交报告id"
type=
"text"
value=
""
>
<div
class=
"text-right"
>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
</div>
<!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>-->
</form>
</td>
</tr>
<tr
class=
"maintable-tr-bar"
>
<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=
"maintable_list"
>
</tbody>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 弹出框 详情 -->
<div
class=
"modal fade"
id=
"modal_detail"
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"
>
×
</button>
</div>
<div
class=
"modal-body detail-modal-body"
>
<iframe
class=
"iframe-bargaininfo-static"
name=
"iframe_bargaininfo_static"
></iframe>
<a
class=
"btn1 bargain-detail-shop btn-info"
href=
"#modal_shop_detail"
data-toggle=
"modal"
style=
"display: none;"
>
商铺
</a>
<a
class=
"btn1 caozuo genj_ure btn-info"
href=
"#modal_user_detail"
data-toggle=
"modal"
style=
"display: none;"
>
客户
</a>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 通过 -->
<div
class=
"modal fade"
id=
"modal-pass"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog button-center-bargain"
>
<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"
>
<label
class=
"control-label"
>
确认审核通过吗?
</label>
<!--<textarea class="form-control" rows="5" id="pass_beizhu"></textarea>
<span class="use-span text-danger">(必填)</span> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
class=
"pass-modal-btn-pass"
id=
"pass_ok_btn"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 时间轴 -->
<div
class=
"modal fade"
id=
"modal-time"
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"
>
×
</button>
<h4
class=
"modal-title"
>
时间轴
</h4>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 恢复正常 -->
<div
class=
"modal fade"
id=
"modal-backNormal"
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"
>
×
</button>
<h4
class=
"modal-title"
>
恢复正常
</h4>
</div>
<div
class=
"modal-body"
>
<div
style=
"font-size: 15px;font-weight: 600;"
>
该成交报告将从撤销状态恢复到一级审核的状态,确定恢复正常么?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
id=
"backToNormal"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
application/index/view/officeBuilding/shop_statement_backout.html
0 → 100644
View file @
c1fdd4fa
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"waitBackoutShop"
/>
<style
type=
"text/css"
>
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
/*分佣方姓名搜索*/
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<a
href=
"#"
>
成交报告撤销
</a>
</li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"10"
class=
"maintable-top-sub-tr"
>
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已撤销
</a>
</td>
</tr>
<!--三级审核的搜索功能-->
<tr>
<td
colspan=
"10"
>
<form
id=
"maintable_form_search"
>
<span
class=
"fore-span"
>
商铺类型:
</span>
<select
class=
"form-control btn2"
name=
"maintable_shop_type"
id=
"maintable_shop_type"
>
<option
value=
"-1"
>
请选择
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
</select>
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span margin-left-10"
>
至
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_end_time"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_internal_address"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_shop_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_user_phone"
placeholder=
"客户电话"
type=
"text"
value=
""
>
<select
name=
"district_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在部门
</option>
</select>
<select
name=
"store_id"
class=
"form-control btn4"
>
<option
value=
""
>
约带看人所在门店
</option>
</select>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"agent_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<!--<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">-->
<!--同步成交报告-->
<div
class=
"left-phone"
>
<input
class=
"form-control"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"partical_name"
placeholder=
"分佣方姓名"
type=
"text"
value=
""
>
<ul
class=
"user-ul"
></ul>
</div>
<div
class=
"clear"
>
</div>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"bargain_id"
placeholder=
"成交报告id"
type=
"text"
value=
""
>
<div
class=
"text-right"
>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
</div>
<!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>-->
</form>
</td>
</tr>
<tr
class=
"maintable-tr-bar"
>
<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=
"maintable_list"
>
</tbody>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 弹出框 详情 -->
<div
class=
"modal fade"
id=
"modal_detail"
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"
>
×
</button>
</div>
<div
class=
"modal-body detail-modal-body"
>
<iframe
class=
"iframe-bargaininfo-static"
name=
"iframe_bargaininfo_static"
></iframe>
<a
class=
"btn1 bargain-detail-shop btn-info"
href=
"#modal_shop_detail"
data-toggle=
"modal"
style=
"display: none;"
>
商铺
</a>
<a
class=
"btn1 caozuo genj_ure btn-info"
href=
"#modal_user_detail"
data-toggle=
"modal"
style=
"display: none;"
>
客户
</a>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 通过 -->
<div
class=
"modal fade"
id=
"modal-pass"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog button-center-bargain"
>
<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"
>
<label
class=
"control-label"
>
确认审核通过吗?
</label>
<!--<textarea class="form-control" rows="5" id="pass_beizhu"></textarea>
<span class="use-span text-danger">(必填)</span> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
class=
"pass-modal-btn-pass"
id=
"pass_ok_btn"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 时间轴 -->
<div
class=
"modal fade"
id=
"modal-time"
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"
>
×
</button>
<h4
class=
"modal-title"
>
时间轴
</h4>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 恢复正常 -->
<div
class=
"modal fade"
id=
"modal-backNormal"
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"
>
×
</button>
<h4
class=
"modal-title"
>
恢复正常
</h4>
</div>
<div
class=
"modal-body"
>
<div
style=
"font-size: 15px;font-weight: 600;"
>
该成交报告将从撤销状态恢复到一级审核的状态,确定恢复正常么?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
id=
"backToNormal"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
public/resource/js/getCollectionBargainBack.js
0 → 100644
View file @
c1fdd4fa
define
([
'doT'
,
'text!temp/receivables_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
receiv
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
id
:
''
,
isOffice
:
1
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
receiv
.
event
();
},
event
:
function
()
{
var
that
=
receiv
;
var
_doc
=
$
(
document
);
//点击按钮 显示隐藏iframe
$
(
'.iframeShop'
).
attr
(
'src'
,
'/index/undoReportCJShop'
);
// 商铺
$
(
document
).
on
(
'click'
,
'.shop-detail'
,
function
(
e
){
$
(
".detail-modal-body-sec1"
).
show
();
$
(
".detail-modal-body-sec2"
).
hide
();
$
(
this
).
addClass
(
'btn-info'
).
removeClass
(
'btn-default'
);
$
(
".office-detail"
).
addClass
(
'btn-default'
).
removeClass
(
'btn-info'
);
// $('.iframeShop').attr('src', '/index/getCollectionShop');
});
// 办公楼
$
(
document
).
on
(
'click'
,
'.office-detail'
,
function
(
e
){
$
(
".detail-modal-body-sec1"
).
hide
();
$
(
".detail-modal-body-sec2"
).
show
();
$
(
this
).
addClass
(
'btn-info'
).
removeClass
(
'btn-default'
);
$
(
".shop-detail"
).
addClass
(
'btn-default'
).
removeClass
(
'btn-info'
);
if
(
receiv
.
isOffice
==
1
){
$
(
'.iframeOffice'
).
attr
(
'src'
,
'/index/undoReportCJOffice'
);
receiv
.
isOffice
=
2
;
}
});
},
};
return
receiv
;
});
\ No newline at end of file
public/resource/js/waitBackoutOffice.js
0 → 100644
View file @
c1fdd4fa
define
([
'doT'
,
'text!temp/wait_backout_office_template_tpl.html'
,
'text!temp/reportList_no_edit_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
mainTabIndex
:
0
,
bargain_id
:
''
,
order_id
:
0
,
//订单id
agent_id_phone
:
''
,
//全局的经纪人id
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
+
template_tax
);
bargain
.
getList
(
1
);
bargain
.
event
();
},
event
:
function
()
{
var
_doc
=
$
(
document
);
//主页面一级审核,二级审核,三级审核,结单四个tab的点击事件
//专员审核 总监审核 经理审核 出纳审核
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
mainTabIndex
=
_this
.
index
();
console
.
log
(
bargain
.
mainTabIndex
);
bargain
.
getList
(
1
);
});
//分佣方 姓名下拉式
$
(
document
).
on
(
"input"
,
"#partical_name"
,
function
()
{
//手机号新增搜索客方
if
(
$
(
"#partical_name"
).
val
()
==
''
)
{
bargain
.
agent_id_phone
=
''
;
$
(
".user-ul"
).
html
(
''
);
}
else
{
bargain
.
search_phone
();
}
});
//点击li 列表消失
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
bargain
.
addphone
(
this
);
});
//搜索按钮的事件
_doc
.
on
(
'click'
,
'#maintable_search'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
bargain
.
getList
(
1
);
//一级审核搜索
});
//搜索的重置
$
(
"#maintable_reset"
).
click
(
function
()
{
document
.
getElementById
(
"maintable_form_search"
).
reset
();
bargain
.
agent_id_phone
=
''
;
});
//时间轴按钮
_doc
.
on
(
"click"
,
".timeline"
,
function
()
{
// bargain.Timeline();
});
//撤销成交报告 按钮 获取成交报告id
_doc
.
on
(
"click"
,
".backNormal"
,
function
()
{
bargain
.
bargain_id
=
$
(
this
).
attr
(
"data-id"
);
});
//撤销成交报告 确定按钮
_doc
.
on
(
"click"
,
"#backToNormal"
,
function
()
{
bargain
.
backToNormal
();
});
//点击通过,修改全局bargain_id,弹出框出来
_doc
.
on
(
'click'
,
'[href=
\
"#modal-pass
\
"]'
,
function
()
{
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
});
//点击通过,确定按钮触发的事件
_doc
.
on
(
'click'
,
'#pass_ok_btn'
,
function
()
{
bargain
.
pass
();
});
//点击详情按钮事件,获取报告详情
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
var
_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
_id
;
bargain
.
father_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-fatherid"
);
$
(
'.iframe-bargaininfo-static'
).
attr
(
'src'
,
'/app_broker/bargaininfo_detail_static_pc?otherbtn=no&orderid='
+
_id
).
load
;
});
//时间轴点击事件
_doc
.
on
(
'click'
,
'a[href="#modal-time"]'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_id
=
_this
.
closest
(
'tr'
).
data
(
'orderid'
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
_id
);
});
var
_doc
=
$
(
document
);
bargain
.
getDistrict
(
function
()
{
_doc
.
on
(
'input'
,
'[name=district_id],#district_id2'
,
function
()
{
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
_this
.
next
().
html
(
''
);
//先清空
//新增 编辑
var
_objTemp
=
_this
.
parent
().
next
().
find
(
'select'
);
_objTemp
.
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
bargain
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
// var _str = '';
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
_objTemp
.
html
(
_str
);
_this
.
next
().
html
(
_str
);
});
}
else
{};
});
});
},
getDepart
:
function
(
s
,
fn
){
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/getAgentDistrictStore'
,
data
:
{
'id'
:
s
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
fn
&&
fn
(
_data
.
data
);
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'请求超时,请重试'
);
};
}
});
},
//通过
pass
:
function
()
{
//点击通过
var
a_url
=
''
;
if
(
bargain
.
mainTabIndex
==
0
)
{
a_url
=
"/index/checkBackOutOne/1"
};
if
(
bargain
.
mainTabIndex
==
1
)
{
a_url
=
"/index/checkBackOutTwo/2"
};
if
(
bargain
.
mainTabIndex
==
2
)
{
a_url
=
"/index/checkBackOutThree/3"
};
console
.
log
(
a_url
);
// if(bargain.mainTabIndex == 3) {
// a_url = "/index/checkReportCashier/3"
// };
//审核来源 1.成交报告申请结单 2.待撤销(退款) 3.申请撤销成交报告
//成交报告状态 10已提交 20待撤销
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
a_url
,
data
:
{
"id"
:
bargain
.
bargain_id
,
"source"
:
3
,
"status"
:
20
,
"remark"
:
$
.
trim
(
$
(
"#pass_beizhu"
).
val
()),
'step'
:
bargain
.
mainTabIndex
+
1
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
//bargain.getList(1);
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//获取一级审核,二级审核,三级审核,结单不同的ajax请求url
switchUrl
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
return
'/index/backOutOne/5'
;
case
1
:
return
'/index/backOutTwo/7'
;
case
2
:
return
'/index/backOutThree/8'
;
case
3
:
return
'/index/reportListUndone/6'
;
default
:
return
''
;
}
},
//获取一级审核,二级审核,三级审核,结单数据列表共用的方法
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
var
params
=
{
'pageNo'
:
pageNo
,
'pageSize'
:
bargain
.
pageSize
,
'shop_type'
:
$
(
'#maintable_shop_type'
).
val
(),
'create_time'
:
$
.
trim
(
$
(
'#maintable_create_time'
).
val
()),
'end_time'
:
$
.
trim
(
$
(
'#maintable_end_time'
).
val
()),
'internal_address'
:
$
.
trim
(
$
(
'#maintable_internal_address'
).
val
()),
'user_phone'
:
$
.
trim
(
$
(
'#maintable_user_phone'
).
val
()),
'house_number'
:
$
.
trim
(
$
(
'#maintable_shop_num'
).
val
()),
'district_id'
:
$
(
"select[name='district_id'] option:selected"
).
val
(),
'store_id'
:
$
(
"select[name='store_id'] option:selected"
).
val
(),
'agent_name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'agent_phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
()),
'partial_id'
:
bargain
.
agent_id_phone
,
'bargain_id'
:
$
(
'#bargain_id'
).
val
()
};
$
.
ajax
({
type
:
'GET'
,
url
:
bargain
.
switchUrl
(),
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'waitBackout_office_list_tpl'
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
//分佣方 姓名搜索
search_phone
:
function
()
{
//手机号新增客户
$
.
ajax
({
url
:
'/index/getBroker_new'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"phone"
:
$
(
"#partical_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
){
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
);
}
else
{
alert
(
data
.
msg
);
}
}
});
},
//将li里的值 赋给input(分佣方姓名)
addphone
:
function
(
obj
)
{
//新增客户 input赋值
var
user_ht
=
$
(
obj
).
html
()
+
''
;
console
.
log
(
user_ht
.
length
);
var
user_ht_str
=
user_ht
.
substring
(
0
,
user_ht
.
length
-
3
);
$
(
"#partical_name"
).
val
(
user_ht_str
);
$
(
".user-ul"
).
html
(
''
);
bargain
.
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>'
;
});
$
(
'[name=district_id]'
).
append
(
str
);
$
(
'#district_id2'
).
append
(
str
);
fn
&&
fn
();
}
}
});
},
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
);
}
}
});
},
//恢复正常
backToNormal
:
function
()
{
$
.
ajax
({
url
:
'/index/recoveryBargain'
,
type
:
'POST'
,
async
:
true
,
data
:
{
'id'
:
bargain
.
bargain_id
,
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
bargain
.
getList
(
1
);
}
else
{
alert
(
data
.
msg
)
}
}
});
},
};
return
bargain
;
});
\ No newline at end of file
public/resource/js/waitBackout.js
→
public/resource/js/waitBackout
Shop
.js
View file @
c1fdd4fa
define
([
'doT'
,
'text!temp/wait_backout_template_tpl.html'
,
'text!temp/reportList_no_edit_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
)
{
define
([
'doT'
,
'text!temp/wait_backout_
shop_
template_tpl.html'
,
'text!temp/reportList_no_edit_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
...
...
@@ -239,7 +239,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'waitBackout_list_tpl'
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'waitBackout_
shop_
list_tpl'
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo')));
/*分页代码*/
...
...
public/resource/template/wait_backout_office_template_tpl.html
0 → 100644
View file @
c1fdd4fa
<script
id=
"waitBackout_office_list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
"list"
]
&&
it
[
"list"
].
length
&&
it
[
"list"
].
length
>
0
)
{
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
for
(
var
item
in
it
[
"list"
]){
%
]
<
tr
data
-
id
=
"[%= it['list'][item]['id'] %]"
data
-
orderid
=
"[%= it['list'][item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
width
=
"10%"
>
[
%=
it
[
"list"
][
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-left"
>
[
%=
it
[
"list"
][
item
][
'internal_address'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'house_number'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
"list"
][
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
sw
(
it
[
"list"
][
item
][
'trade_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'commission'
]
%
]
<
/td
>
<
td
class
=
"text-center"
width
=
"15%"
>
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
>
详情
<
/a
>
[
%
}
%
]
[
%
if
(
it
[
"step"
]
!=
6
)
{
%
]
[
%
if
(
check_auth
(
'index/checkBackOutOne/1'
)
||
check_auth
(
'index/checkBackOutTwo/2'
)
||
check_auth
(
'index/checkBackOutThree/3'
))
{
%
]
<
a
class
=
"btn1 btn-success"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a
>
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
[
%
if
(
check_auth
(
'index/recoveryBargain'
)){
%
]
<
a
class
=
"btn1 btn-success backNormal"
href
=
"#modal-backNormal"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it['list'][item]['id'] %]"
>
恢复正常
<
/a
>
[
%
}
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"13"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
public/resource/template/wait_backout_template_tpl.html
→
public/resource/template/wait_backout_
shop_
template_tpl.html
View file @
c1fdd4fa
<script
id=
"waitBackout_list_tpl"
type=
"text/template"
>
<script
id=
"waitBackout_
shop_
list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
"list"
]
&&
it
[
"list"
].
length
&&
it
[
"list"
].
length
>
0
)
{
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
for
(
var
item
in
it
[
"list"
]){
%
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment