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
f963c27a
Commit
f963c27a
authored
Jun 20, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整 办公楼
parent
ab40634f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
adjustmentOffice.js
public/resource/js/adjustmentOffice.js
+4
-4
getCollectionOffice.js
public/resource/js/getCollectionOffice.js
+12
-12
No files found.
public/resource/js/adjustmentOffice.js
View file @
f963c27a
...
...
@@ -201,7 +201,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
getAdjustmentDetail
:
function
(
id
){
var
that
=
adjustment
;
$
.
get
(
'/index/getAdjustmentDetail'
,{
'id'
:
id
},
function
(
data
){
$
.
get
(
'/
office_
index/getAdjustmentDetail'
,{
'id'
:
id
},
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
setValue
(
data
.
data
);
}
else
{
...
...
@@ -240,7 +240,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
var
params
=
that
.
buildSearchParams
();
params
.
pageNo
=
that
.
pageNo
;
params
.
pageSize
=
that
.
pageSize
;
$
.
get
(
'/index/adjustment'
,
params
,
function
(
data
){
$
.
get
(
'/
office_
index/adjustment'
,
params
,
function
(
data
){
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
that
.
listData
=
data
.
data
.
list
;
...
...
@@ -287,7 +287,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
*/
exportExcel
:
function
(){
adjustment
.
buildSearchParams
();
var
_url
=
'/index/adjustment'
;
var
_url
=
'/
office_
index/adjustment'
;
var
excel_
=
''
;
if
(
adjustment
.
buildSearchParamsLiu
){
excel_
=
'?excel=1&'
...
...
@@ -401,7 +401,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
var
params
=
{
'id'
:
id
};
$
.
post
(
'/index/delAdjustment'
,
params
,
function
(
data
){
$
.
post
(
'/
office_
index/delAdjustment'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
getList
(
1
);
}
else
{
...
...
public/resource/js/getCollectionOffice.js
View file @
f963c27a
...
...
@@ -240,7 +240,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
};
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/addReceiptImg'
,
url
:
'/
office_
index/addReceiptImg'
,
data
:
_data
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
...
...
@@ -629,7 +629,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
getMaxBackPrice
:
function
(
id
){
var
autgtoken
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
))).
AuthToken
;
$
.
get
(
'/
broker
/adjustment'
,{
'pay_id'
:
id
,
'AuthToken'
:
autgtoken
},
function
(
data
){
$
.
get
(
'/
office
/adjustment'
,{
'pay_id'
:
id
,
'AuthToken'
:
autgtoken
},
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'#could_price_back'
).
text
(
data
.
data
.
residue_money
);
}
else
{
...
...
@@ -690,7 +690,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
spandelList
:
function
(
n
)
{
//删除已经保存的图片都调用
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/index/deleteReceiptImg'
,
'url'
:
'/
office_
index/deleteReceiptImg'
,
data
:
{
id
:
n
},
...
...
@@ -712,7 +712,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
$
(
'.result2,.result'
).
remove
();
//删除之前存在的图片 显示从接口获取的数据 用来区分新添加的 和 已经保存的
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/receiptImgList'
,
'url'
:
'/
office_
index/receiptImgList'
,
data
:
{
"id"
:
id_pic
,
},
...
...
@@ -789,7 +789,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
search_phone
:
function
(){
var
that
=
receiv
;
$
.
ajax
({
url
:
'/
index
/bargainListSearchBargainId'
,
url
:
'/
office
/bargainListSearchBargainId'
,
type
:
'GET'
,
async
:
true
,
data
:
{
...
...
@@ -827,7 +827,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
search_phone_liu
:
function
(){
var
that
=
receiv
;
$
.
ajax
({
url
:
'/
index
/bargainListSearchBargainId'
,
url
:
'/
office
/bargainListSearchBargainId'
,
type
:
'GET'
,
async
:
true
,
data
:
{
...
...
@@ -1130,7 +1130,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
}
//上传数据
$
.
post
(
'/
index
/collectingBill'
,
params
,
function
(
data
){
$
.
post
(
'/
office
/collectingBill'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'#modal-linetime'
).
modal
(
'hide'
);
}
else
{
...
...
@@ -1140,7 +1140,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
},
getAllPrice
:
function
(
id
){
$
.
get
(
'/index/getAdjustment'
,{
'pay_id'
:
id
},
function
(
data
){
$
.
get
(
'/
office_
index/getAdjustment'
,{
'pay_id'
:
id
},
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'#could_price'
).
text
(
data
.
data
.
residue_money
);
}
else
{
...
...
@@ -1159,7 +1159,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
};
};
$
.
post
(
'/index/getCollectionEdit'
,
params
,
function
(
data
){
$
.
post
(
'/
office_
index/getCollectionEdit'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'#modal-addPic'
).
modal
(
'hide'
);
//操作成功后 在隐藏弹窗
if
(
receiv
.
is_baocun_bargainID
*
1
==
0
){
//判断点击的是哪个 保存详情的按钮
...
...
@@ -1449,7 +1449,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
var
params
=
{
'pay_id'
:
id
};
$
.
post
(
'/index/getCollectionDetail'
,
params
,
function
(
data
){
$
.
post
(
'/
office_
index/getCollectionDetail'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
getValueFunction
(
data
.
data
);
}
else
{
...
...
@@ -1666,7 +1666,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
var
params
=
{
'pay_id'
:
id
};
$
.
post
(
'/index/delPayLog'
,
params
,
function
(
data
){
$
.
post
(
'/
office_
index/delPayLog'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
getList
(
1
);
}
else
{
...
...
@@ -1903,7 +1903,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/getPayLogData'
,
url
:
'/
office_
index/getPayLogData'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
...
...
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