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
a3b4495a
Commit
a3b4495a
authored
Oct 11, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化处理
parent
416a8eba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
public.js
public/resource/js/public.js
+1
-1
menu_template_tpl.html
public/resource/template/menu_template_tpl.html
+1
-1
reportList_no_edit_template_tpl.html
...ic/resource/template/reportList_no_edit_template_tpl.html
+10
-1
No files found.
public/resource/js/public.js
View file @
a3b4495a
...
...
@@ -96,7 +96,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
addClass
(
'active-main-li'
).
siblings
().
removeClass
(
'active-main-li'
);
_this
.
toggleClass
(
'open'
).
addClass
(
'active-main-li'
).
siblings
().
removeClass
(
'active-main-li'
);
});
//隐藏菜单 显示菜单
_doc
.
on
(
'click'
,
'.width-136-hide'
,
function
(
e
){
...
...
public/resource/template/menu_template_tpl.html
View file @
a3b4495a
...
...
@@ -5,7 +5,7 @@
[
%
if
(
it
[
item
][
"_child"
]
==
undefined
||
it
[
item
][
"_child"
].
length
==
0
)
{
%
]
<
a
href
=
"javascript:;"
><
span
class
=
"glyphicon glyphicon-credit-card"
aria
-
hidden
=
"true"
><
/span> <span class="span-list">
[
%= it[item
][
"title"
]
%]</
span
><
/a
>
[
%
}
else
{
%
]
<
a
href
=
"javascript:;"
class
=
"dropdown-toggle"
data
-
toggle
=
"dropdown"
>
<
span
class
=
"glyphicon glyphicon-credit-card"
aria
-
hidden
=
"true"
><
/span><span class="span-list">
[
%= it[item
][
"title"
]
%]</
span
>
<
a
href
=
"javascript:;"
class
=
"dropdown-toggle"
>
<
span
class
=
"glyphicon glyphicon-credit-card"
aria
-
hidden
=
"true"
><
/span><span class="span-list">
[
%= it[item
][
"title"
]
%]</
span
>
<!--<
span
class
=
"glyphicon glyphicon-chevron-down"
aria
-
hidden
=
"true"
><
/span>--
>
<
span
id
=
"icon_more_menu"
>
<
/span></
a
>
...
...
public/resource/template/reportList_no_edit_template_tpl.html
View file @
a3b4495a
...
...
@@ -102,7 +102,16 @@
<
span
contenteditable
class
=
"detail-modal-maid-span-charity-fund"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'charity_fund'
]
%
]
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-cash"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'cash'
]
%
]
<
/span
>
<
span
contenteditable
class
=
"detail-modal-maid-span-practical-fee"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'practical_fee'
]
%
]
<
/span
>
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
"[%= it['data'][i]['partial_commission'][j]['income_time']['id'] %]"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
][
'income_time'
]
%
]
<
/span
>
[
%
if
(
!
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
]
||
(
Array
.
isArray
(
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
])
&&
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
].
length
<
1
)
)
{
%
]
[
%
if
(
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time_add'
])
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
"[%= it['data'][i]['partial_commission'][j]['income_time_add']['id'] %]"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time_add'
][
'income_time'
]
%
]
<
/span
>
[
%
}
else
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
""
>
请点击选择
<
/span
>
[
%
}
%
]
[
%
}
else
{
%
]
<
span
class
=
"detail-modal-maid-span-date"
data
-
dateid
=
"[%= it['data'][i]['partial_commission'][j]['income_time']['id'] %]"
>
[
%=
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'income_time'
][
'income_time'
]
%
]
<
/span
>
[
%
}
%
]
<
span
class
=
"detail-modal-maid-span-time"
>
[
%=
dealT
(
it
[
'data'
][
i
][
'partial_commission'
][
j
][
'confirm_date'
])
%
]
<
/span
>
<
/div
>
[
%
}
%
]
...
...
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