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
4e2b5216
Commit
4e2b5216
authored
May 30, 2018
by
xishifeng
Committed by
hujun
May 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug处理
parent
0eed4dcd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
101 additions
and
73 deletions
+101
-73
account_statement.html
application/index/view/finance/account_statement.html
+14
-24
refund_order_list.html
application/index/view/finance/refund_order_list.html
+1
-1
report_list.css
public/resource/css/report_list.css
+1
-0
reportList.js
public/resource/js/reportList.js
+73
-47
reportList_maid_sub1_template_tpl.html
.../resource/template/reportList_maid_sub1_template_tpl.html
+11
-0
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+1
-1
No files found.
application/index/view/finance/account_statement.html
View file @
4e2b5216
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_user_phone"
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=
""
>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
<
span
class=
"btn btn-info btn3"
id=
"maintable_export"
>
导出excel
</span
>
<
!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>--
>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -252,35 +252,25 @@
...
@@ -252,35 +252,25 @@
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 时间 -->
<!-- 弹出框 时间
轴
-->
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
时间轴
时间轴
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<div
class=
"modal-body"
id=
"del_msg"
>
<iframe
class=
"iframe-time-line"
></iframe>
时间轴
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
</div>
<!-- /.modal -->
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
" "
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 分佣提成新增 -->
<!-- 弹出框 分佣提成新增 -->
<div
class=
"modal fade"
id=
"modal_new_maid"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal_new_maid"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
...
...
application/index/view/finance/refund_order_list.html
View file @
4e2b5216
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</div>
<!-- /.modal -->
</div>
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 时间 -->
<!-- 弹出框 时间
轴
-->
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
...
public/resource/css/report_list.css
View file @
4e2b5216
...
@@ -118,6 +118,7 @@ addtax_
...
@@ -118,6 +118,7 @@ addtax_
}
}
[
href
=
"#modal_new_maid"
]
{
[
href
=
"#modal_new_maid"
]
{
float
:
left
;
float
:
left
;
display
:
none
;
}
}
#maid_new_btn
{
#maid_new_btn
{
float
:
right
;
float
:
right
;
...
...
public/resource/js/reportList.js
View file @
4e2b5216
define
([
'doT'
,
'text!temp/reportList_template_tpl.html'
,
'text!temp/reportList_shuiFee_template_tpl.html'
,
'text!temp/reportList_maid_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
)
{
define
([
'doT'
,
'text!temp/reportList_template_tpl.html'
,
'text!temp/reportList_shuiFee_template_tpl.html'
,
'text!temp/reportList_maid_template_tpl.html'
,
'text!temp/reportList_maid_sub1_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
bargain
=
{
bargain
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -12,7 +12,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -12,7 +12,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
maidTotalCommission
:
0
,
//应收总佣金
maidTotalCommission
:
0
,
//应收总佣金
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
document
.
body
).
append
(
template
+
template_tax
+
template_maid
);
$
(
document
.
body
).
append
(
template
+
template_tax
+
template_maid
+
template_maid_sub1
);
bargain
.
getList
(
1
);
bargain
.
getList
(
1
);
bargain
.
event
();
bargain
.
event
();
},
},
...
@@ -273,7 +273,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -273,7 +273,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
content
:
'确认增加吗?'
,
content
:
'确认增加吗?'
,
btn
:
[
'确定'
,
'取消'
],
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
yes
:
function
(
_index
){
$
(
'.detail-modal-maid-mix-td'
).
append
(
'<div class="oh"><span contenteditable class="detail-modal-maid-span-real-fee"></span><span contenteditable class="detail-modal-maid-span-service-charge"></span><span contenteditable class="detail-modal-maid-span-charity-fund"></span><span contenteditable class="detail-modal-maid-span-cash"></span><span contenteditable class="detail-modal-maid-span-practical-fee"></span><span class="detail-modal-maid-span-time"></span></div>'
);
$
(
'.detail-modal-maid-mix-td'
).
append
(
document
.
getElementById
(
'reportList_maid_sub1_list_tpl'
).
innerHTML
);
layer
.
close
(
_index
);
layer
.
close
(
_index
);
}
}
});
});
...
@@ -293,58 +293,73 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -293,58 +293,73 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
//新增分佣提成,业务员input输入搜索
//新增分佣提成,业务员input输入搜索
var
_ajaxObjTel
=
null
;
var
_ajaxObjTel
=
null
;
var
_addmaid_input_servantObj
=
$
(
'#addmaid_input_servant'
);
_doc
.
on
(
'input'
,
'#addmaid_input_ywy'
,
function
()
{
_doc
.
on
(
'input'
,
'#addmaid_input_ywy'
,
function
()
{
var
_this
=
$
(
this
),
var
_this
=
$
(
this
);
_thisVal
=
$
.
trim
(
_this
.
val
());
if
(
_addmaid_input_servantObj
.
val
()
==
'5'
){
_this
.
removeAttr
(
'data-id'
);
//移除之前携带的信息
//当分佣方的值为5,合作方的时候,才能查询
if
(
_thisVal
!=
''
)
{
var
_thisVal
=
$
.
trim
(
_this
.
val
());
_ajaxObjTel
&&
_ajaxObjTel
.
abort
();
_this
.
removeAttr
(
'data-id'
);
//移除之前携带的信息
_ajaxObjTel
=
$
.
ajax
({
if
(
_thisVal
!=
''
)
{
type
:
'GET'
,
_ajaxObjTel
&&
_ajaxObjTel
.
abort
();
url
:
'/index/getBroker_new'
,
_ajaxObjTel
=
$
.
ajax
({
data
:
{
type
:
'GET'
,
'phone'
:
$
.
trim
(
_this
.
val
())
url
:
'/index/getBroker_new'
,
},
data
:
{
timeout
:
30000
,
'phone'
:
$
.
trim
(
_this
.
val
())
dataType
:
'json'
,
},
beforeSend
:
function
()
{},
timeout
:
30000
,
success
:
function
(
data
)
{
dataType
:
'json'
,
if
(
typeof
data
===
'object'
)
{
beforeSend
:
function
()
{},
if
(
data
.
code
==
200
)
{
success
:
function
(
data
)
{
if
(
data
[
'data'
].
length
>
0
)
{
if
(
typeof
data
===
'object'
)
{
var
_htmlTemp
=
''
;
if
(
data
.
code
==
200
)
{
$
.
each
(
data
[
'data'
],
function
(
i
,
item
)
{
if
(
data
[
'data'
].
length
>
0
)
{
_htmlTemp
+=
'<li data-id="{3}">{0}-{1}<li>'
.
stringFormatObj
({
var
_htmlTemp
=
''
;
'0'
:
item
[
'name'
],
$
.
each
(
data
[
'data'
],
function
(
i
,
item
)
{
'1'
:
item
[
'phone'
],
_htmlTemp
+=
'<li data-id="{3}">{0}-{1}<li>'
.
stringFormatObj
({
'3'
:
item
[
'id'
]
'0'
:
item
[
'name'
],
'1'
:
item
[
'phone'
],
'3'
:
item
[
'id'
]
});
});
});
});
_this
.
next
().
show
().
html
(
_htmlTemp
);
_this
.
next
().
show
().
html
(
_htmlTemp
);
}
else
{
_this
.
next
().
html
(
''
);
};
}
else
{
}
else
{
_this
.
next
().
html
(
''
);
alert
(
data
[
'msg'
]
);
};
};
}
else
{
}
else
{
alert
(
data
[
'msg'
]
);
alert
(
'数据错误'
);
};
};
}
else
{
},
alert
(
'数据错误'
);
error
:
function
()
{
};
//alert('error');
},
},
error
:
function
()
{
complete
:
function
(
xhr
,
textStatus
)
{
//alert('error');
if
(
textStatus
===
'timeout'
)
{
},
alert
(
'请求超时'
);
complete
:
function
(
xhr
,
textStatus
)
{
};
if
(
textStatus
===
'timeout'
)
{
}
alert
(
'请求超时'
);
});
};
}
else
{
}
_this
.
next
().
hide
();
});
}
}
else
{
}
else
{}
_this
.
next
().
hide
();
}
});
});
//时间轴点击事件
_doc
.
on
(
'click'
,
'a[href="#modal-time"]'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_id
=
_this
.
closest
(
'tr'
).
data
(
'id'
);
console
.
log
(
_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
_id
);
});
},
},
getDefaultRadio
:
function
(
v
){
getDefaultRadio
:
function
(
v
){
switch
(
Number
(
v
)){
switch
(
Number
(
v
)){
...
@@ -488,6 +503,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -488,6 +503,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
});
});
},
},
maidShow
:
function
()
{
maidShow
:
function
()
{
$
(
'[href="#modal_new_maid"]'
).
hide
();
//默认隐藏新增按钮
$
(
"#maid_new_table_list"
).
html
(
''
);
$
(
"#maid_new_table_list"
).
html
(
''
);
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
...
@@ -502,6 +518,16 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -502,6 +518,16 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
if
(
typeof
_data
===
'object'
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
$
(
"#maid_new_table_list"
).
html
(
doT
.
template
(
$
(
'#reportList_maid_list_tpl'
).
html
())(
_data
));
$
(
"#maid_new_table_list"
).
html
(
doT
.
template
(
$
(
'#reportList_maid_list_tpl'
).
html
())(
_data
));
var
_isShowAddBtnFlag
=
true
;
$
.
each
(
$
(
'.detail-modal-maid-span-time'
),
function
(
i
,
v
)
{
if
(
v
.
innerHTML
){
_isShowAddBtnFlag
=
false
;
};
});
//如果确认时间都有,都不为空,则把新增按钮显示出来
if
(
_isShowAddBtnFlag
){
$
(
'[href="#modal_new_maid"]'
).
show
();
};
}
else
{
}
else
{
layerTipsX
(
_data
[
'msg'
]);
layerTipsX
(
_data
[
'msg'
]);
}
}
...
...
public/resource/template/reportList_maid_sub1_template_tpl.html
0 → 100644
View file @
4e2b5216
<script
id=
"reportList_maid_sub1_list_tpl"
type=
"text/template"
>
<
div
class
=
"oh"
>
<
span
contenteditable
class
=
"detail-modal-maid-span-real-fee"
><
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-service-charge"
>
0
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-charity-fund"
>
0
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-cash"
>
0
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-practical-fee"
><
/span
>
<
span
class
=
"detail-modal-maid-span-time"
><
/span
>
<
/div
>
</script>
\ No newline at end of file
public/resource/template/reportList_template_tpl.html
View file @
4e2b5216
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<
tr
class
=
"text-center"
data
-
id
=
'[%= it["list"][item]["id"] %]'
>
<
tr
class
=
"text-center"
data
-
id
=
'[%= it["list"][item]["id"] %]'
>
<
td
>
[
%=
it
[
"list"
][
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'internal_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'
internal_title
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'
house_number
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'user_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
"list"
][
item
][
'user_name'
]
%
]
<
/td
>
<
td
>
[
%=
hideTel
(
it
[
"list"
][
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
[
%=
hideTel
(
it
[
"list"
][
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
[
%=
sw
(
it
[
"list"
][
item
][
'trade_type'
])
%
]
<
/td
>
<
td
>
[
%=
sw
(
it
[
"list"
][
item
][
'trade_type'
])
%
]
<
/td
>
...
...
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