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
0cb658c5
Commit
0cb658c5
authored
Jun 21, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务修改
parent
200d5e57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
44 deletions
+48
-44
commission.js
public/resource/js/commission.js
+26
-22
tax.js
public/resource/js/tax.js
+22
-22
No files found.
public/resource/js/commission.js
View file @
0cb658c5
...
@@ -54,9 +54,13 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
...
@@ -54,9 +54,13 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
});
});
//时间轴按钮
//时间轴按钮
_doc
.
on
(
"click"
,
".timeline"
,
function
()
{
// _doc.on("click", ".timeline", function() {
bargain
.
Timeline
();
// bargain.bargain_id = $(this).closest('tr').attr("data-id");
});
// bargain.father_id = $(this).closest('tr').attr("data-fatherid");
// bargain.order_id = $(this).closest('tr').attr("data-orderid");
//
// bargain.Timeline();
// });
//转到一级审核
//转到一级审核
_doc
.
on
(
'click'
,
'.maintable-btn-trans-one'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.maintable-btn-trans-one'
,
function
(
e
){
...
@@ -421,25 +425,25 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
...
@@ -421,25 +425,25 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'text!temp/reportList_s
}
}
});
});
},
},
Timeline
:
function
()
{
//获取时间轴
//
Timeline: function() { //获取时间轴
$
.
ajax
({
//
$.ajax({
'type'
:
'GET'
,
//
'type': 'GET',
'url'
:
'/index/selectReportAll'
,
//
'url': '/index/selectReportAll',
data
:
{
//
data: {
"order_id"
:
bargain
.
bargain_id
//
"order_id": bargain.bargain_id
},
//
},
dataType
:
"json"
,
//
dataType: "json",
success
:
function
(
data
)
{
//
success: function(data) {
if
(
data
.
code
==
200
)
{
//
if(data.code == 200) {
if
(
data
.
data
)
{
//
if(data.data) {
console
.
log
(
data
.
data
);
//
console.log(data.data);
}
//
}
}
else
{
//
} else {
alert
(
'获取失败!'
);
//
alert('获取失败!');
}
//
}
}
//
}
});
//
});
},
//
},
bargaininfoShow
:
function
()
{
//报告详情
bargaininfoShow
:
function
()
{
//报告详情
var
bargainId
;
var
bargainId
;
...
...
public/resource/js/tax.js
View file @
0cb658c5
...
@@ -54,9 +54,9 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
...
@@ -54,9 +54,9 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
});
});
//时间轴按钮
//时间轴按钮
_doc
.
on
(
"click"
,
".timeline"
,
function
()
{
//
_doc.on("click", ".timeline", function() {
bargain
.
Timeline
();
//
bargain.Timeline();
});
//
});
//转到一级审核
//转到一级审核
_doc
.
on
(
'click'
,
'.maintable-btn-trans-one'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.maintable-btn-trans-one'
,
function
(
e
){
...
@@ -421,25 +421,25 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
...
@@ -421,25 +421,25 @@ define(['doT', 'text!temp/tax_template_tpl.html', 'text!temp/reportList_shuiFee_
}
}
});
});
},
},
Timeline
:
function
()
{
//获取时间轴
//
Timeline: function() { //获取时间轴
$
.
ajax
({
//
$.ajax({
'type'
:
'GET'
,
//
'type': 'GET',
'url'
:
'/index/selectReportAll'
,
//
'url': '/index/selectReportAll',
data
:
{
//
data: {
"order_id"
:
bargain
.
bargain_id
//
"order_id": bargain.bargain_id
},
//
},
dataType
:
"json"
,
//
dataType: "json",
success
:
function
(
data
)
{
//
success: function(data) {
if
(
data
.
code
==
200
)
{
//
if(data.code == 200) {
if
(
data
.
data
)
{
//
if(data.data) {
console
.
log
(
data
.
data
);
//
console.log(data.data);
}
//
}
}
else
{
//
} else {
alert
(
'获取失败!'
);
//
alert('获取失败!');
}
//
}
}
//
}
});
//
});
},
//
},
bargaininfoShow
:
function
()
{
//报告详情
bargaininfoShow
:
function
()
{
//报告详情
var
bargainId
;
var
bargainId
;
...
...
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