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
a1d1955c
Commit
a1d1955c
authored
Jun 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总监日报
parent
31e87617
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
307 additions
and
58 deletions
+307
-58
daily_achieve_mdzj.html
application/app_broker/view/index/daily_achieve_mdzj.html
+63
-45
daily_achieve_mdzj.js
public/app/js/daily_achieve_mdzj.js
+244
-13
No files found.
application/app_broker/view/index/daily_achieve_mdzj.html
View file @
a1d1955c
...
...
@@ -36,21 +36,21 @@
</tr>
<tr
class=
"shanghai"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiao"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiao"
data-alert=
"上海业绩填写完整"
class=
"shanghai-bitian-1"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wancheng"
/></td>
<td>
{{chae(yeji_yue_mubiao, yeji_yue_wancheng)}}
</td>
<td>
{{renjun(yeji_yue_wancheng)}}
</td>
</tr>
<tr
class=
"shanghai"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiao"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wancheng"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiao"
data-alert=
"上海实收填写完整"
class=
"shanghai-bitian-2"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wancheng"
data-alert=
"上海实收填写完整"
class=
"shanghai-bitian-3"
/></td>
<td>
{{chae(shishou_yue_mubiao, shishou_yue_wancheng)}}
</td>
<td>
{{renjun(shishou_yue_wancheng)}}
</td>
</tr>
<tr
class=
"shanghai"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiao"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiao"
data-alert=
"上海成交单数填写完整"
class=
"shanghai-bitian-4"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wancheng"
/></td>
<td>
{{chae(chengjiao_yue_mubiao, chengjiao_yue_wancheng)}}
</td>
<td>
{{renjun(chengjiao_yue_wancheng)}}
</td>
...
...
@@ -60,7 +60,7 @@
</tr>
<tr
class=
"shanghai"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiao"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiao"
data-alert=
"上海人员目标填写完整"
class=
"shanghai-bitian-5"
/></td>
</tr>
<tr
class=
"shanghai"
>
<td>
现在人数
</td>
...
...
@@ -83,21 +83,21 @@
</tr>
<tr
class=
"hangzhou"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoHZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoHZ"
data-alert=
"杭州业绩填写完整"
class=
"hangzhou-bitian-1"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengHZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoHZ, yeji_yue_wanchengHZ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengHZ)}}
</td>
</tr>
<tr
class=
"hangzhou"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoHZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengHZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoHZ"
data-alert=
"杭州实收填写完整"
class=
"hangzhou-bitian-2"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengHZ"
data-alert=
"杭州实收填写完整"
class=
"hangzhou-bitian-3"
/></td>
<td>
{{chae(shishou_yue_mubiaoHZ, shishou_yue_wanchengHZ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengHZ)}}
</td>
</tr>
<tr
class=
"hangzhou"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoHZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoHZ"
data-alert=
"杭州成交单数填写完整"
class=
"hangzhou-bitian-4"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengHZ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoHZ, chengjiao_yue_wanchengHZ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengHZ)}}
</td>
...
...
@@ -107,7 +107,7 @@
</tr>
<tr
class=
"hangzhou"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoHZ"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoHZ"
data-alert=
"杭州人员汇报填写完整"
class=
"hangzhou-bitian-5"
/></td>
</tr>
<tr
class=
"hangzhou"
>
<td>
现在人数
</td>
...
...
@@ -130,21 +130,21 @@
</tr>
<tr
class=
"shenzhen"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoSZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoSZ"
data-alert=
"深圳业绩填写完整"
class=
"shenzhen-bitian-1"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengSZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoSZ, yeji_yue_wanchengSZ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengSZ)}}
</td>
</tr>
<tr
class=
"shenzhen"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoSZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengSZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoSZ"
data-alert=
"深圳实收填写完整"
class=
"shenzhen-bitian-2"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengSZ"
data-alert=
"深圳实收填写完整"
class=
"shenzhen-bitian-3"
/></td>
<td>
{{chae(shishou_yue_mubiaoSZ, shishou_yue_wanchengSZ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengSZ)}}
</td>
</tr>
<tr
class=
"shenzhen"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoSZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoSZ"
data-alert=
"深圳成交单数填写完整"
class=
"shenzhen-bitian-4"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengSZ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoSZ, chengjiao_yue_wanchengSZ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengSZ)}}
</td>
...
...
@@ -154,7 +154,7 @@
</tr>
<tr
class=
"shenzhen"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoSZ"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoSZ"
data-alert=
"深圳人员汇报填写完整"
class=
"shenzhen-bitian-5"
/></td>
</tr>
<tr
class=
"shenzhen"
>
<td>
现在人数
</td>
...
...
@@ -178,21 +178,21 @@
</tr>
<tr
class=
"guangzhou"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoGZ"
data-alert=
"广州业绩填写完整"
class=
"guangzhou-bitian-1"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengGZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoGZ, yeji_yue_wanchengGZ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengGZ)}}
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoGZ"
data-alert=
"广州实收填写完整"
class=
"guangzhou-bitian-2"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengGZ"
data-alert=
"广州实收填写完整"
class=
"guangzhou-bitian-3"
/></td>
<td>
{{chae(shishou_yue_mubiaoGZ, shishou_yue_wanchengGZ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengGZ)}}
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoGZ"
data-alert=
"广州成交单数填写完整"
class=
"guangzhou-bitian-4"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengGZ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoGZ, chengjiao_yue_wanchengGZ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengGZ)}}
</td>
...
...
@@ -202,7 +202,7 @@
</tr>
<tr
class=
"guangzhou"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoGZ"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoGZ"
data-alert=
"广州人员汇报填写完整"
class=
"guangzhou-bitian-5"
/></td>
</tr>
<tr
class=
"guangzhou"
>
<td>
现在人数
</td>
...
...
@@ -225,21 +225,21 @@
</tr>
<tr
class=
"beijing"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoBJ"
data-alert=
"北京业绩填写完整"
class=
"beijing-bitian-1"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengSZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoBJ, yeji_yue_wanchengBJ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengBJ)}}
</td>
</tr>
<tr
class=
"beijing"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoBJ"
data-alert=
"北京实收填写完整"
class=
"beijing-bitian-2"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengBJ"
data-alert=
"北京实收填写完整"
class=
"beijing-bitian-3"
/></td>
<td>
{{chae(shishou_yue_mubiaoBJ, shishou_yue_wanchengBJ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengBJ)}}
</td>
</tr>
<tr
class=
"beijing"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoBJ"
data-alert=
"北京成交单数填写完整"
class=
"beijing-bitian-4"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengBJ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoBJ, chengjiao_yue_wanchengBJ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengBJ)}}
</td>
...
...
@@ -249,7 +249,7 @@
</tr>
<tr
class=
"beijing"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoBJ"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoBJ"
data-alert=
"北京人员目标填写完整"
class=
"beijing-bitian-5"
/></td>
</tr>
<tr
class=
"beijing"
>
<td>
现在人数
</td>
...
...
@@ -267,28 +267,28 @@
<tr>
<td>
商场
</td>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"商场相关须填写完整"
class=
"input-bitian-6"
/></td>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"商场相关须填写完整"
class=
"input-bitian-7"
/></td>
</tr>
<tr>
<td>
街铺
</td>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"街铺相关须填写完整"
class=
"input-bitian-8"
/></td>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"街铺相关须填写完整"
class=
"input-bitian-9"
/></td>
</tr>
<tr
class=
"table-tr-textarea tr-padding20"
>
<td>
业绩方面
<br
/>
的当前重点工作
</td>
<td
colspan=
"4"
>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-1
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
"table-tr-single"
style=
"height: 30px;"
></tr>
<tr
class=
"table-tr-textarea tr-padding20"
>
<td>
人员方面
<br
/>
的当前重点工作
</td>
<td
colspan=
"4"
>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-2
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
</tbody>
...
...
@@ -319,16 +319,34 @@
<tr
class=
"table-tr-single"
>
<td
colspan=
"2"
>
工作总结
</td>
</tr>
<tr
class=
"table-tr-textarea tr-padding60"
>
<td>
优秀店长点评
</td>
<td>
<div
class=
"div-textarea input-limit-3"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
"table-tr-textarea tr-padding60"
>
<td>
须提升店长点评
</td>
<td>
<div
class=
"div-textarea input-limit-4"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
"table-tr-textarea tr-padding60"
>
<td>
今日工作总结
</td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-5
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
"table-tr-textarea tr-padding60"
>
<td>
明日工作总结
</td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea input-limit-6"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
"table-tr-textarea tr-padding60"
>
<td>
今日建议
</td>
<td>
<div
class=
"div-textarea input-limit-7"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
</table>
...
...
@@ -340,41 +358,41 @@
<tr>
<td>
五项管理
</td>
<td>
分数
</td>
<td>
提高方法
</td>
<td>
提高方法
(至少填2项)
</td>
</tr>
<tr
class=
""
>
<td>
目标管理
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"分数须填写完整"
class=
"input-bitian-1"
/></td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-8
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
""
>
<td>
心态管理
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"分数须填写完整"
class=
"input-bitian-2"
/></td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-9
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
""
>
<td>
时间管理
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"分数须填写完整"
class=
"input-bitian-3"
/></td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-10
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
""
>
<td>
学习管理
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"分数须填写完整"
class=
"input-bitian-4"
/></td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-11
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
<tr
class=
""
>
<td>
行动管理
</td>
<td><input
type=
"number"
placeholder=
"填写"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
data-alert=
"分数须填写完整"
class=
"input-bitian-5"
/></td>
<td>
<div
class=
"div-textarea"
contenteditable=
"true"
>
点击填写
</div>
<div
class=
"div-textarea
input-limit-12
"
contenteditable=
"true"
>
点击填写
</div>
</td>
</tr>
</table>
...
...
public/app/js/daily_achieve_mdzj.js
View file @
a1d1955c
...
...
@@ -7,6 +7,12 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
}
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
shanghai_bitian
=
0
;
var
hangzhou_bitian
=
0
;
var
shenzhen_bitian
=
0
;
var
guangzhou_bitian
=
0
;
var
beijing_bitian
=
0
;
var
_isBreakFlag
=
false
;
$
(
'.shanghai'
).
hide
();
$
(
'.hangzhou'
).
hide
();
$
(
'.shenzhen'
).
hide
();
...
...
@@ -362,125 +368,141 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
//_data.data[0] 验证数据
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSH
(
_data
.
data
[
0
].
id
);
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainHZ
(
_data
.
data
[
0
].
id
);
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSZ
(
_data
.
data
[
0
].
id
);
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainGZ
(
_data
.
data
[
0
].
id
);
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainBJ
(
_data
.
data
[
0
].
id
);
};
//_data.data[1]
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSH
(
_data
.
data
[
1
].
id
);
}
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
hangzhou_bitian
=
1
;
_this
.
loadMainHZ
(
_data
.
data
[
1
].
id
);
}
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
shenzhen_bitian
=
1
;
_this
.
loadMainSZ
(
_data
.
data
[
1
].
id
);
};
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
guangzhou_bitian
=
1
;
_this
.
loadMainGZ
(
_data
.
data
[
1
].
id
);
};
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
beijing_bitian
=
1
;
_this
.
loadMainBJ
(
_data
.
data
[
1
].
id
);
};
//_data.data[2]
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSH
(
_data
.
data
[
2
].
id
);
}
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
hangzhou_bitian
=
1
;
_this
.
loadMainHZ
(
_data
.
data
[
2
].
id
);
}
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
shenzhen_bitian
=
1
;
_this
.
loadMainSZ
(
_data
.
data
[
2
].
id
);
}
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
guangzhou_bitian
=
1
;
_this
.
loadMainGZ
(
_data
.
data
[
2
].
id
);
};
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
beijing_bitian
=
1
;
_this
.
loadMainBJ
(
_data
.
data
[
2
].
id
);
};
//_data.data[3]
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSH
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
hangzhou_bitian
=
1
;
_this
.
loadMainHZ
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
shenzhen_bitian
=
1
;
_this
.
loadMainSZ
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
guangzhou_bitian
=
1
;
_this
.
loadMainGZ
(
_data
.
data
[
3
].
id
);
};
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
beijing_bitian
=
1
;
_this
.
loadMainBJ
(
_data
.
data
[
3
].
id
);
};
//_data.data[4]
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
shanghai_bitian
=
1
;
_this
.
loadMainSH
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
hangzhou_bitian
=
1
;
_this
.
loadMainHZ
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
shenzhen_bitian
=
1
;
_this
.
loadMainSZ
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
guangzhou_bitian
=
1
;
_this
.
loadMainGZ
(
_data
.
data
[
4
].
id
);
};
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
beijing_bitian
=
1
;
_this
.
loadMainBJ
(
_data
.
data
[
4
].
id
);
};
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
...
...
@@ -500,6 +522,215 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
});
},
save
:
function
()
{
//验证不同城市
if
(
shanghai_bitian
){
//上海
$
.
each
([
$
(
".shanghai-bitian-1"
),
$
(
".shanghai-bitian-2"
),
$
(
".shanghai-bitian-3"
),
$
(
".shanghai-bitian-4"
),
$
(
".shanghai-bitian-5"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
if
(
hangzhou_bitian
){
//杭州
if
(
_isBreakFlag
){
//验证分数
return
;
}
else
{
$
.
each
([
$
(
".hangzhou-bitian-1"
),
$
(
".hangzhou-bitian-2"
),
$
(
".hangzhou-bitian-3"
),
$
(
".hangzhou-bitian-4"
),
$
(
".hangzhou-bitian-5"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
}
if
(
shenzhen_bitian
){
//深圳
if
(
_isBreakFlag
){
//验证分数
return
;
}
else
{
$
.
each
([
$
(
".shenzhen-bitian-1"
),
$
(
".shenzhen-bitian-2"
),
$
(
".shenzhen-bitian-3"
),
$
(
".shenzhen-bitian-4"
),
$
(
".shenzhen-bitian-5"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
}
if
(
guangzhou_bitian
){
//广州
if
(
_isBreakFlag
){
//验证分数
return
;
}
else
{
$
.
each
([
$
(
".guangzhou-bitian-1"
),
$
(
".guangzhou-bitian-2"
),
$
(
".guangzhou-bitian-3"
),
$
(
".guangzhou-bitian-4"
),
$
(
".guangzhou-bitian-5"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
}
if
(
beijing_bitian
){
//北京
if
(
_isBreakFlag
){
//验证分数
return
;
}
else
{
$
.
each
([
$
(
".beijing-bitian-1"
),
$
(
".beijing-bitian-2"
),
$
(
".beijing-bitian-3"
),
$
(
".beijing-bitian-4"
),
$
(
".beijing-bitian-5"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
}
//公共部分验证
var
yanzhengArr
=
[];
if
(
$
(
".input-limit-8"
).
html
()
!=
'点击填写'
&&
$
(
".input-limit-8"
).
html
()
!=
''
){
yanzhengArr
.
push
(
1
);
}
if
(
$
(
".input-limit-9"
).
html
()
!=
'点击填写'
&&
$
(
".input-limit-9"
).
html
()
!=
''
){
yanzhengArr
.
push
(
1
);
}
if
(
$
(
".input-limit-10"
).
html
()
!=
'点击填写'
&&
$
(
".input-limit-10"
).
html
()
!=
''
){
yanzhengArr
.
push
(
1
);
}
if
(
$
(
".input-limit-11"
).
html
()
!=
'点击填写'
&&
$
(
".input-limit-11"
).
html
()
!=
''
){
yanzhengArr
.
push
(
1
);
}
if
(
$
(
".input-limit-12"
).
html
()
!=
'点击填写'
&&
$
(
".input-limit-7"
).
html
()
!=
''
){
yanzhengArr
.
push
(
1
);
}
if
(
_isBreakFlag
){
//验证分数
return
;
}
else
{
$
.
each
([
$
(
".input-bitian-1"
),
$
(
".input-bitian-2"
),
$
(
".input-bitian-3"
),
$
(
".input-bitian-4"
),
$
(
".input-bitian-5"
),
$
(
".input-bitian-6"
),
$
(
".input-bitian-7"
),
$
(
".input-bitian-8"
),
$
(
".input-bitian-9"
)
],
function
(
i
,
item
)
{
if
(
$
.
trim
(
item
.
val
())
===
''
)
{
alert
(
item
.
attr
(
'data-alert'
));
_isBreakFlag
=
true
;
return
false
;
}
else
{
_isBreakFlag
=
false
;
};
});
}
//验证div 字数要求
if
(
_isBreakFlag
){
//true 不进行义验证
return
}
else
{
if
(
$
(
".input-limit-1"
).
html
()
==
''
||
$
(
".input-limit-1"
).
html
()
==
'点击填写'
){
alert
(
'业绩方面的当前重点工作须填写完整'
);
return
;
}
if
(
$
(
".input-limit-2"
).
html
()
==
''
||
$
(
".input-limit-2"
).
html
()
==
'点击填写'
){
alert
(
'人员方面的当前重点工作须填写完整'
);
return
;
}
if
(
$
(
".input-limit-3"
).
html
()
==
''
||
$
(
".input-limit-3"
).
html
()
==
'点击填写'
){
alert
(
'优秀店长点评须填写完整'
);
return
;
}
if
(
$
(
".input-limit-4"
).
html
()
==
''
||
$
(
".input-limit-4"
).
html
()
==
'点击填写'
){
alert
(
'须提升店长点评须填写完整'
);
return
;
}
if
(
$
(
".input-limit-5"
).
html
()
==
''
||
$
(
".input-limit-5"
).
html
()
==
'点击填写'
){
alert
(
'今日工作总结须填写完整'
);
return
;
}
if
(
$
(
".input-limit-6"
).
html
()
==
''
||
$
(
".input-limit-6"
).
html
()
==
'点击填写'
){
alert
(
'明日工作总结须填写完整'
);
return
;
}
if
(
$
(
".input-limit-7"
).
html
()
==
''
||
$
(
".input-limit-7"
).
html
()
==
'点击填写'
){
alert
(
'今日建议须填写完整'
);
return
;
}
if
(
yanzhengArr
.
length
<
2
){
alert
(
'提高方法至少填两项'
);
return
;
}
};
var
_this
=
this
;
var
_timeStampObj
=
$
(
'#time_stamp_area'
);
//时间区域div获取
var
_titleBeforeObj
=
$
(
'#titile_before'
);
//titile区域截图前后的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