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
b5ab46c6
Commit
b5ab46c6
authored
Apr 16, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩周报修改
parent
404b25c6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
24 deletions
+73
-24
achieve_fork.html
application/app_broker/view/index/achieve_fork.html
+7
-5
weekly_achieve_mdzj.html
application/app_broker/view/index/weekly_achieve_mdzj.html
+19
-7
achieve_fork.css
public/app/css/achieve_fork.css
+26
-9
achieve_temp.css
public/app/css/achieve_temp.css
+1
-1
weekly_achieve_mdzj.js
public/app/js/weekly_achieve_mdzj.js
+20
-2
No files found.
application/app_broker/view/index/achieve_fork.html
View file @
b5ab46c6
...
@@ -16,13 +16,15 @@
...
@@ -16,13 +16,15 @@
</header>
</header>
<div
class=
"header_seat"
></div>
<div
class=
"header_seat"
></div>
<footer
class=
"oh"
@
touchstart=
"testStart"
@
touchend=
"testEnd"
>
<div
class=
"main-content"
>
敬请期待
</div>
<div
class=
"oh fl"
>
<footer
class=
"oh achieve-footer"
@
touchstart=
"testStart"
@
touchend=
"testEnd"
>
<div
class=
"oh"
>
<a
class=
"fl"
:href=
"linkAchieveYwy"
>
个人业绩
</a>
<a
class=
"fl"
:href=
"linkAchieveYwy"
>
个人业绩
</a>
</div>
</div>
<div
class=
"oh
fl
"
v-if=
"userLevel!=10"
>
<div
class=
"oh"
v-if=
"userLevel!=10"
>
<a
class=
"fl"
v-if=
"userLevel==20"
:href=
"linkAchieveQy"
>
门店业绩
</a>
<a
v-if=
"userLevel==20"
:href=
"linkAchieveQy"
>
门店业绩
</a>
<a
class=
"fl"
v-else
:href=
"linkAchieveQy"
>
区域业绩
</a>
<a
v-else
:href=
"linkAchieveQy"
>
区域业绩
</a>
</div>
</div>
</footer>
</footer>
...
...
application/app_broker/view/index/weekly_achieve_mdzj.html
View file @
b5ab46c6
...
@@ -144,35 +144,47 @@
...
@@ -144,35 +144,47 @@
</tbody>
</tbody>
</table>
</table>
<!--<table border="0" cellspacing="0" cellpadding="0" class="table-type8">
<!--<table
data-id="{3}"
border="0" cellspacing="0" cellpadding="0" class="table-type8">
<tbody>
<tbody>
<tr class="table-tr-single">
<tr class="table-tr-single">
<td colspan="4">{0}</td>
<td colspan="4">{0}</td>
</tr>
</tr>
<tr>
<tr>
<td>上周业绩(元)</td>
<td>上周业绩(元)</td>
<td><input type="number" placeholder="填写" /></td>
<td><input type="number" placeholder="填写"
class="yeji_shangzhou"
/></td>
<td>本月业绩(元)</td>
<td>本月业绩(元)</td>
<td><input type="number" placeholder="填写" class="yeji_benyue" /></td>
<td><input type="number" placeholder="填写" class="yeji_benyue" /></td>
</tr>
</tr>
<tr>
<tr>
<td>本周业绩(元)</td>
<td>本周业绩(元)</td>
<td><input type="number" placeholder="填写" /></td>
<td><input type="number" placeholder="填写"
class="yeji_benzhou"
/></td>
<td>人均业绩(元)</td>
<td>人均业绩(元)</td>
<td class="yeji_renjun"></td>
<td class="yeji_renjun"></td>
</tr>
</tr>
<tr>
<tr>
<td>上升下滑(元)</td>
<td>上升下滑(元)</td>
<td
><input type="number" placeholder="填写" /
></td>
<td
class="shangsheng_xiahua"
></td>
<td>目前实收(元)</td>
<td>目前实收(元)</td>
<td><input type="number" placeholder="填写" class="shishou_muqian" /></td>
<td><input type="number" placeholder="填写" class="shishou_muqian" /></td>
</tr>
</tr>
<tr>
<tr>
<td>盈亏(元)</td>
<td>盈亏(元)</td>
<td
><input type="number" placeholder="填写" /
></td>
<td
class="yingkui"
></td>
<td>人均实收(元)</td>
<td>人均实收(元)</td>
<td class="shishou_renjun"></td>
<td class="shishou_renjun"></td>
</tr>
</tr>
<tr>
<td>本月目标单数</td>
<td><input type="number" placeholder="填写" class="danshu_mubiao" /></td>
<td>本月完成单数</td>
<td><input type="number" placeholder="填写" class="danshu_wancheng" /></td>
</tr>
<tr>
<td>单数差额</td>
<td class="danshu_chae"></td>
<td>人均单数</td>
<td class="danshu_renjun" contenteditable="true"></td>
</tr>
<tr class="table-tr-textarea tr-padding20">
<tr class="table-tr-textarea tr-padding20">
<td>本周工作重点</td>
<td>本周工作重点</td>
<td colspan="3">
<td colspan="3">
...
@@ -182,7 +194,7 @@
...
@@ -182,7 +194,7 @@
<tr class="table-tr-textarea tr-padding20">
<tr class="table-tr-textarea tr-padding20">
<td>日数据管理方案</td>
<td>日数据管理方案</td>
<td colspan="3">
<td colspan="3">
<div class="div-textarea" contenteditable="true">点击填写</div>
<div class="div-textarea
rsj_glfa
" contenteditable="true">点击填写</div>
</td>
</td>
</tr>
</tr>
<tr class="canshu_data">
<tr class="canshu_data">
...
@@ -194,7 +206,7 @@
...
@@ -194,7 +206,7 @@
<tr class="table-tr-textarea tr-padding20">
<tr class="table-tr-textarea tr-padding20">
<td>下周人员改善措施</td>
<td>下周人员改善措施</td>
<td colspan="3">
<td colspan="3">
<div class="div-textarea" contenteditable="true">点击填写</div>
<div class="div-textarea
xz_ry_gscs
" contenteditable="true">点击填写</div>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
...
public/app/css/achieve_fork.css
View file @
b5ab46c6
...
@@ -7,19 +7,36 @@ footer{
...
@@ -7,19 +7,36 @@ footer{
height
:
1.5rem
;
height
:
1.5rem
;
border-top
:
1px
solid
#ccc
;
border-top
:
1px
solid
#ccc
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding-left
:
1rem
;
padding
:
0
.5rem
;
display
:
flex
;
}
}
footer
>
div
{
footer
>
div
{
flex
:
1
;
height
:
1.5rem
;
height
:
1.5rem
;
width
:
2.75rem
;
/*width: 2.75rem;*/
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
.15rem
0
0
.77rem
;
display
:
flex
;
text-align
:
center
;
align-items
:
center
;
padding-left
:
.6rem
;
/*padding: .15rem 0 0 .77rem;*/
}
footer
.achieve-footer
>
div
>
a
{
width
:
2.05rem
;
height
:
.68rem
;
border-radius
:
.34rem
;
line-height
:
.68rem
;
text-align
:
center
;
display
:
block
;
background-color
:
#FFA132
;
color
:
white
;
box-shadow
:
0
.3rem
.5rem
rgba
(
255
,
161
,
50
,
.5
);
}
}
footer
>
div
>
a
{
width
:
1.2rem
;
height
:
1.2rem
;
.main-content
{
border-radius
:
50%
;
border
:
1px
solid
#ccc
;
line-height
:
1.2rem
;
text-align
:
center
;
text-align
:
center
;
color
:
#999
;
font-size
:
1rem
;
line-height
:
2rem
;
}
}
public/app/css/achieve_temp.css
View file @
b5ab46c6
...
@@ -877,5 +877,5 @@ div.pop_box>ul>li+li{
...
@@ -877,5 +877,5 @@ div.pop_box>ul>li+li{
}
}
.db-line
>
div
{
.db-line
>
div
{
line-height
:
.4rem
;
line-height
:
.4rem
;
font-size
:
.
3
rem
;
font-size
:
.
2
rem
;
}
}
public/app/js/weekly_achieve_mdzj.js
View file @
b5ab46c6
...
@@ -101,6 +101,8 @@ $(function() {
...
@@ -101,6 +101,8 @@ $(function() {
'yjbz'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.yeji_benzhou'
).
val
()),
'yjbz'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.yeji_benzhou'
).
val
()),
'yjby'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.yeji_benyue'
).
val
()),
'yjby'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.yeji_benyue'
).
val
()),
'ssmq'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.shishou_muqian'
).
val
()),
'ssmq'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.shishou_muqian'
).
val
()),
'dsmbby'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.danshu_mubiao'
).
val
()),
'dswcby'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.danshu_wancheng'
).
val
()),
'dp'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.dianping'
).
html
()
==
'点击填写'
?
''
:
_objTemp
.
eq
(
i
).
find
(
'.dianping'
).
html
())
'dp'
:
$
.
trim
(
_objTemp
.
eq
(
i
).
find
(
'.dianping'
).
html
()
==
'点击填写'
?
''
:
_objTemp
.
eq
(
i
).
find
(
'.dianping'
).
html
())
});
});
};
};
...
@@ -251,6 +253,14 @@ $(function() {
...
@@ -251,6 +253,14 @@ $(function() {
if
(
_mdzjZbData
[
'yjData'
][
i
][
'yjbz'
]
!=
''
&&
_mdzjZbData
[
'zjyj'
][
'yjsz'
]
!=
''
)
{
if
(
_mdzjZbData
[
'yjData'
][
i
][
'yjbz'
]
!=
''
&&
_mdzjZbData
[
'zjyj'
][
'yjsz'
]
!=
''
)
{
_tempTable
.
find
(
'.shangsheng_xiahua'
).
html
(
dealJineNum
(
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'yjbz'
])
-
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'yjsz'
])));
_tempTable
.
find
(
'.shangsheng_xiahua'
).
html
(
dealJineNum
(
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'yjbz'
])
-
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'yjsz'
])));
};
};
if
(
_mdzjZbData
[
'yjData'
][
i
][
'dswcby'
]
!=
''
)
{
_tempTable
.
find
(
'.danshu_wancheng'
).
val
(
_mdzjZbData
[
'yjData'
][
i
][
'dswcby'
]);
_tempTable
.
find
(
'.danshu_renjun'
).
html
(
dealJineNum
(
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'dswcby'
])
/
Number
(
_tempTable
.
find
(
'.renshu_benzhou'
).
html
())));
if
(
_mdzjZbData
[
'yjData'
][
i
][
'dsmbby'
]
!=
''
)
{
_tempTable
.
find
(
'.danshu_mubiao'
).
val
(
_mdzjZbData
[
'yjData'
][
i
][
'dsmbby'
]);
_tempTable
.
find
(
'.danshu_chae'
).
html
(
dealJineNum
(
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'dsmbby'
])
-
Number
(
_mdzjZbData
[
'yjData'
][
i
][
'dswcby'
])));
};
};
};
};
};
};
...
@@ -295,8 +305,16 @@ $(function() {
...
@@ -295,8 +305,16 @@ $(function() {
_tableFirstObj
.
find
(
'.renshu_benzhou'
).
html
(
data
[
'data'
][
'agent_total'
]);
_tableFirstObj
.
find
(
'.renshu_benzhou'
).
html
(
data
[
'data'
][
'agent_total'
]);
var
_htmlGroupInfo
=
''
;
var
_htmlGroupInfo
=
''
;
// $.each(data['data']['district_list'], function(i, item) {
// _htmlGroupInfo += '<table data-id={3} border=0 cellspacing=0 cellpadding=0 class=table-type8><tbody><tr class=table-tr-single><td colspan=4>{0}<tr><td>上周业绩(元)<td><input type=number placeholder="填写" class=yeji_shangzhou><td>本月业绩(元)<td><input type=number placeholder="填写" class=yeji_benyue><tr><td>本周业绩(元)<td><input type=number placeholder="填写" class=yeji_benzhou><td>人均业绩(元)<td class=yeji_renjun contenteditable="true"><tr><td>上升下滑(元)<td class=shangsheng_xiahua><td>目前实收(元)<td><input type=number placeholder="填写" class=shishou_muqian><tr><td>盈亏(元)<td class=yingkui><td>人均实收(元)<td class=shishou_renjun contenteditable="true"><tr class="table-tr-textarea tr-padding20"><td>点评<td colspan=3><div class=\"dianping div-textarea\" contenteditable=true>点击填写</div><tr class=canshu_data><td>上周人数<td class=renshu_shangzhou>{1}<td>本周人数<td class=renshu_benzhou>{2}</table>'.stringFormatObj({
// '0': item['store_name'] + '(' + item['name'] + ')业绩总结',
// '1': item['last_week_num'],
// '2': (item['agent_num'] == null) ? 0 : item['agent_num'],
// '3': item['id']
// });
// });
$
.
each
(
data
[
'data'
][
'district_list'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'district_list'
],
function
(
i
,
item
)
{
_htmlGroupInfo
+=
'<table data-id={3} border=
0 cellspacing=0 cellpadding=0 class=table-type8><tbody><tr class=table-tr-single><td colspan=4>{0}<tr><td>上周业绩(元)<td><input type=number placeholder="填写" class=yeji_shangzhou><td>本月业绩(元)<td><input type=number placeholder="填写" class=yeji_benyue><tr><td>本周业绩(元)<td><input type=number placeholder="填写" class=yeji_benzhou><td>人均业绩(元)<td class=yeji_renjun contenteditable="true"><tr><td>上升下滑(元)<td class=shangsheng_xiahua><td>目前实收(元)<td><input type=number placeholder="填写" class=shishou_muqian><tr><td>盈亏(元)<td class=yingkui><td>人均实收(元)<td class=shishou_renjun contenteditable="true"><tr class="table-tr-textarea tr-padding20"><td>点评<td colspan=3><div class=
\
"dianping div-textarea
\
" contenteditable=true>点击填写</div><tr class=canshu_data><td>上周人数<td class=renshu_shangzhou>{1}<td>本周人数<td class=renshu_benzhou>{2}
</table>'
.
stringFormatObj
({
_htmlGroupInfo
+=
'<table data-id={3} border=
"0" cellspacing="0" cellpadding="0" class="table-type8"><tbody><tr class="table-tr-single"><td colspan="4">{0}</td></tr><tr><td>上周业绩(元)</td><td><input type="number" placeholder="填写"></td><td>本月业绩(元)</td><td><input type="number" placeholder="填写" class="yeji_benyue"></td></tr><tr><td>本周业绩(元)</td><td><input type="number" placeholder="填写"></td><td>人均业绩(元)</td><td class="yeji_renjun"></td></tr><tr><td>上升下滑(元)</td><td><input type="number" placeholder="填写"></td><td>目前实收(元)</td><td><input type="number" placeholder="填写" class="shishou_muqian"></td></tr><tr><td>盈亏(元)</td><td><input type="number" placeholder="填写"></td><td>人均实收(元)</td><td class="shishou_renjun"></td></tr><tr><td>本月目标单数</td><td><input type="number" placeholder="填写" class="danshu_mubiao"></td><td>本月完成单数</td><td><input type="number" placeholder="填写" class="danshu_wancheng"></td></tr><tr><td>单数差额</td><td class="danshu_chae"></td><td>人均单数</td><td class="danshu_renjun" contenteditable="true"></td></tr><tr class="table-tr-textarea tr-padding20"><td>本周工作重点</td><td colspan="3"><div class="div-textarea" contenteditable="true">点击填写</div></td></tr><tr class="table-tr-textarea tr-padding20"><td>日数据管理方案</td><td colspan="3"><div class="div-textarea" contenteditable="true">点击填写</div></td></tr><tr class="canshu_data"><td>上周人数</td><td class="renshu_shangzhou">{1}</td><td>本周人数</td><td class="renshu_benzhou">{2}</td></tr><tr class="table-tr-textarea tr-padding20"><td>下周人员改善措施</td><td colspan="3"><div class="div-textarea" contenteditable="true">点击填写</div></td></tr></tbody>
</table>'
.
stringFormatObj
({
'0'
:
item
[
'store_name'
]
+
'('
+
item
[
'name'
]
+
')业绩总结'
,
'0'
:
item
[
'store_name'
]
+
'('
+
item
[
'name'
]
+
')业绩总结'
,
'1'
:
item
[
'last_week_num'
],
'1'
:
item
[
'last_week_num'
],
'2'
:
(
item
[
'agent_num'
]
==
null
)
?
0
:
item
[
'agent_num'
],
'2'
:
(
item
[
'agent_num'
]
==
null
)
?
0
:
item
[
'agent_num'
],
...
@@ -495,9 +513,9 @@ $(function() {
...
@@ -495,9 +513,9 @@ $(function() {
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
var
_tableObj
=
_this
.
closest
(
'table'
);
var
_tableObj
=
_this
.
closest
(
'table'
);
var
_danshuMubiao
=
_tableObj
.
find
(
'.danshu_mubiao'
).
val
();
var
_danshuMubiao
=
_tableObj
.
find
(
'.danshu_mubiao'
).
val
();
_tableObj
.
find
(
'.danshu_renjun'
).
html
(
dealJineNum
(
Number
(
_this
.
val
())
/
Number
(
_tableObj
.
find
(
'.renshu_benzhou'
).
html
())));
if
(
_danshuMubiao
!==
''
)
{
if
(
_danshuMubiao
!==
''
)
{
_tableObj
.
find
(
'.danshu_chae'
).
html
(
dealJineNum
(
Number
(
_danshuMubiao
)
-
Number
(
_this
.
val
())));
_tableObj
.
find
(
'.danshu_chae'
).
html
(
dealJineNum
(
Number
(
_danshuMubiao
)
-
Number
(
_this
.
val
())));
_tableObj
.
find
(
'.danshu_renjun'
).
html
(
dealJineNum
(
Number
(
_this
.
val
())
/
Number
(
_tableObj
.
find
(
'.renshu_benzhou'
).
html
())));
}
}
});
});
...
...
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