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
0d1a04d4
Commit
0d1a04d4
authored
Jul 26, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
22dc7564
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
accountingTable.js
public/resource/js/accountingTable.js
+1
-1
costCheck.js
public/resource/js/costCheck.js
+1
-1
costDetails.js
public/resource/js/costDetails.js
+1
-1
cost_check_template_tpl.html
public/resource/template/cost_check_template_tpl.html
+1
-1
No files found.
public/resource/js/accountingTable.js
View file @
0d1a04d4
...
@@ -59,7 +59,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
...
@@ -59,7 +59,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
//点击详情
//点击详情
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
publicCostDetails
?cost_id='
+
id
+
'&is_self=1'
)
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
getDetailCost
?cost_id='
+
id
+
'&is_self=1'
)
});
});
//打印功能
//打印功能
_doc
.
on
(
'click'
,
'.is-print'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.is-print'
,
function
(
e
)
{
...
...
public/resource/js/costCheck.js
View file @
0d1a04d4
...
@@ -297,7 +297,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
...
@@ -297,7 +297,7 @@ define(['doT', 'text!temp/cost_check_template_tpl.html', 'css!style/home.css', '
});
});
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
publicCostDetails
?cost_id='
+
id
+
'&is_self=0&main_index='
+
cost
.
main_index
)
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
getDetailCost
?cost_id='
+
id
+
'&is_self=0&main_index='
+
cost
.
main_index
)
});
});
},
},
...
...
public/resource/js/costDetails.js
View file @
0d1a04d4
...
@@ -36,7 +36,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
...
@@ -36,7 +36,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
//点击详情
//点击详情
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
publicCostDetails
?cost_id='
+
id
+
'&is_self=1'
)
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/
getDetailCost
?cost_id='
+
id
+
'&is_self=1'
)
});
});
//费用类型切换
//费用类型切换
$
(
"#cost_type"
).
change
(
function
()
{
$
(
"#cost_type"
).
change
(
function
()
{
...
...
public/resource/template/cost_check_template_tpl.html
View file @
0d1a04d4
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<
td
>--<
/td
>
<
td
>--<
/td
>
[
%
}
%
]
[
%
}
%
]
<
td
>
<
td
>
[
%
if
(
check_auth
(
'index/getDetailCost'
)
&&
check_auth
(
'index/publicCostDetails'
)
)
{
%
]
[
%
if
(
check_auth
(
'index/getDetailCost'
))
{
%
]
<
a
class
=
"btn1 btn-success checkCost"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
status
=
'[%= it[item]["status"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success checkCost"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
status
=
'[%= it[item]["status"] %]'
>
审核
<
/a
>
...
...
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