Kaynağa Gözat

新的登录页面 以及其他部分进行中的修改

zhangshuangnan 8 yıl önce
ebeveyn
işleme
2099471df9

+ 9 - 0
CallCenterWeb.UI/.project

@@ -69,5 +69,14 @@
69 69
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
70 70
 			</matcher>
71 71
 		</filter>
72
+		<filter>
73
+			<id>1516325161832</id>
74
+			<name></name>
75
+			<type>26</type>
76
+			<matcher>
77
+				<id>org.eclipse.ui.ide.multiFilter</id>
78
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
79
+			</matcher>
80
+		</filter>
72 81
 	</filteredResources>
73 82
 </projectDescription>

+ 16 - 7
CallCenterWeb.UI/css/init.css

@@ -9,7 +9,9 @@
9 9
 }
10 10
 
11 11
 .daoHang {
12
-	padding:8px 15px;
12
+	padding: 15px;
13
+    border-bottom: 1px solid #dadada;
14
+    background: #fefefe;
13 15
 }
14 16
 .daoHang .dhLeft{
15 17
 	float: left;
@@ -61,11 +63,17 @@
61 63
 	clear: both;
62 64
 }
63 65
 
64
-.toolBar {
65
-	padding: 15px 0;
66
-	border-bottom: 1px solid #ccc;
67
-	margin-bottom: 25px;
68
-	padding-right: 45px;
66
+.toolBox {
67
+	width: 100%;
68
+    padding: 5px;
69
+    background-color: #ffffff;
70
+    margin-bottom: 15px;
71
+}
72
+.th-bar{
73
+	padding: 3px 15px 0 15px;
74
+}
75
+.toolBox .form-group{
76
+	margin: 0;
69 77
 }
70 78
 
71 79
 .toolLeft {
@@ -186,4 +194,5 @@
186 194
 	display: none;
187 195
 	vertical-align: middle;
188 196
 	margin-left: 3px;
189
-}
197
+}
198
+

+ 304 - 0
CallCenterWeb.UI/css/login.css

@@ -0,0 +1,304 @@
1
+html {
2
+	height: 100%;
3
+}
4
+.signin{
5
+	width: 100%;
6
+	position: relative;
7
+	height: 100%;
8
+}
9
+.signin_bg {
10
+	/*position: absolute;
11
+	left: 0;
12
+	top: 0;*/
13
+
14
+}
15
+.signin .col-md-5{
16
+	width: 50%;
17
+}
18
+.signin_bg .signin_bg_left{
19
+	position: absolute;
20
+	left: 0;
21
+	top: 0;
22
+	background: url(../img/login_bg.png) no-repeat left top;
23
+	background-size: 100% 100%;
24
+	height: 100%;	
25
+}
26
+.signin_bg_mask{
27
+	position: absolute;
28
+	left: 0;
29
+	top: 0;
30
+	width: 50%;
31
+	/*background-color: rgba(0,0,0,.5);*/
32
+	height: 100%;	
33
+}
34
+
35
+.signin_left {
36
+	color: #fff;
37
+}
38
+.signin_left i{
39
+	display: inline-block;
40
+	width: 50px;
41
+	height: 36px;
42
+	vertical-align: middle;
43
+	background: url(../img/login_logo.png) left top no-repeat;
44
+}
45
+.signin_left h2{
46
+	font-size: 30px;
47
+	font-family: '黑体';
48
+	margin-top: 15%;
49
+	margin-bottom: 0;
50
+}
51
+.signin_left h2 + p,.left_word>div h2 + p{
52
+	margin-top: 22.163%;
53
+	margin-bottom: 22.163%;
54
+	font-size: 18px;
55
+}
56
+.signin_left h3,.left_word>div h3{
57
+	font-size: 24px;
58
+	color: #006967;
59
+	margin-bottom: 2.5%;
60
+}
61
+.signin_left h3 + p,.left_word>div h3 + p{
62
+	line-height: 30px;
63
+	font-size: 18px;
64
+	color: #fff;
65
+}
66
+
67
+.signin_right{
68
+	width: 100%;
69
+}
70
+.signin_right .signin_panel{
71
+	float: right;
72
+	text-align: center;
73
+	margin-top: 27.21%;
74
+	width: 65%;
75
+}
76
+.signin_right .signin_panel h1{
77
+	font-size: 24px;
78
+	font-family: '华文仿宋';
79
+	margin: 0 0 19.46% 0;
80
+	font-weight: 600;
81
+}
82
+.signin_panel .signin_user,
83
+.signin_panel .signin_password,
84
+.signin_panel .signin_seat{
85
+	margin-bottom: 11px;
86
+	position: relative;
87
+}
88
+.signin_icons{
89
+	position: absolute;
90
+	left: 13.5px;
91
+	top: 11.5px;
92
+	width: 17px;
93
+	height: 17px;
94
+	display: inline-block;
95
+	background: url(../img/signin_icon.png) left top no-repeat;
96
+}
97
+.signin_password .signin_icons{
98
+	background-position: 0 -30px;
99
+}
100
+.signin_seat .signin_icons{
101
+	background-position: 0 -16px;
102
+	height: 15px;
103
+}
104
+.signin_panel .form-control{
105
+	padding-left: 44px;
106
+	height: 40px;
107
+	line-height: 40px;
108
+	font-size: 16px;
109
+	color: #000;
110
+}
111
+
112
+.singin_rpassword{
113
+	margin-top: 4px;
114
+	margin-top: 7px;
115
+}
116
+.rpassword {
117
+	float: left;
118
+}
119
+.rpassword input[type="checkbox"]{
120
+    appearance: none;
121
+    -webkit-appearance: none;
122
+    outline: none;
123
+    display:none;
124
+}
125
+.rpassword .checkbox_icon{
126
+    width: 16px;
127
+    height: 16px;
128
+    display: inline-block;
129
+    background: url("../img/checkbox.png")  no-repeat;
130
+    background-position:0 0;
131
+    vertical-align: sub;
132
+   	border: 1px solid #5c616b;
133
+   	cursor: pointer;
134
+}
135
+.rpassword input[type="checkbox"]:checked + .checkbox_icon{
136
+    background-position:0 -14px;
137
+}
138
+.rpassword label{
139
+    color: #5c616b;
140
+    font-size: 14px;
141
+    font-family: '宋体';
142
+    font-weight: normal;
143
+    line-height: 14px;
144
+    height: 14px;
145
+  	cursor: pointer;
146
+}
147
+.fpassword{
148
+    float: right;
149
+}
150
+.fpassword a{
151
+    color: #5c616b;
152
+    text-decoration: none;
153
+    font-size: 14px;
154
+    font-family: '宋体';
155
+}
156
+
157
+
158
+.ts{
159
+	position: absolute;
160
+	right: 12.5px;
161
+	top: 12.5px;
162
+    height: 15px!important;
163
+}
164
+
165
+.Yz_error{
166
+    width: 15px;
167
+    background: url("../img/yz.png") no-repeat 0 -15px;
168
+}
169
+.Yz_success{
170
+    width: 20px;
171
+    background: url("../img/yz.png") no-repeat 0 0;
172
+}
173
+
174
+
175
+.btns{
176
+    width: 100%;
177
+    background-color: #67d1fe;
178
+    color: #fff;
179
+    height: 40px;
180
+    line-height: 40px;
181
+    text-align: center;
182
+    border: 0;
183
+    outline: none;
184
+    border-radius: 40px;
185
+    cursor: pointer;
186
+    margin-top: 40px;
187
+    margin-bottom: 12px;
188
+    font-size: 16px;
189
+    letter-spacing: 6px;
190
+}
191
+.btns:hover{
192
+    background-color: #23b2ef;
193
+}
194
+
195
+
196
+.fregister{
197
+	font-size: 13px;
198
+	font-family: '宋体';
199
+}
200
+.fregister span{
201
+    color: #5c616b;
202
+}
203
+.fregister a{
204
+    color: #1582b4;
205
+}
206
+
207
+.signfooter {
208
+   margin-top: 60%;
209
+}
210
+
211
+.signfooter p{
212
+    height: 14px;
213
+    color: #a1a1a1;
214
+    line-height: 14px;
215
+    margin-bottom: 0;
216
+    font-family: 'Calibri';
217
+}
218
+
219
+._success{
220
+    border-color: #c91e32!important;
221
+}
222
+
223
+._fail{
224
+    border-color: red!important;
225
+}
226
+
227
+
228
+
229
+
230
+input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
231
+   font-family: '华文仿宋';
232
+   color: #999999;
233
+}
234
+input:-moz-placeholder, textarea:-moz-placeholder {
235
+   font-family: '华文仿宋';
236
+   color: #999999;
237
+}
238
+input::-moz-placeholder, textarea::-moz-placeholder {
239
+   font-family: '华文仿宋';
240
+   color: #999999;
241
+}
242
+input:-ms-input-placeholder, textarea:-ms-input-placeholder {
243
+   font-family: '华文仿宋';
244
+   color: #999999;
245
+}
246
+
247
+
248
+
249
+@media only screen and (max-width: 1920px) {
250
+	
251
+}
252
+@media only screen and (max-width: 1366px) {
253
+	body.signin{
254
+		height: 100%;
255
+	}
256
+	div.signfooter{
257
+		margin-top: 20%;
258
+	}
259
+}
260
+@media only screen and (max-width: 1200px) {
261
+	
262
+}
263
+@media only screen and (max-width: 992px) {
264
+	body.signin .col-md-5 {
265
+    	width: 100%;
266
+	}
267
+	div.signin_bg_mask {
268
+    	width: 100%;
269
+	}
270
+	div.signin_left{
271
+		display: none;
272
+	}
273
+	div.left_word{
274
+		display: none;
275
+	}
276
+	div.signin_right .signin_panel {
277
+	    margin: 10% auto 0 auto;
278
+	    float: none;
279
+	    color: #fff;
280
+    }
281
+    .rpassword label,.fpassword a,div.fregister span,div.signfooter p{
282
+    	color: #fff;
283
+    }
284
+    div.signfooter{
285
+		margin-top: 20%;
286
+	}
287
+}
288
+@media only screen and (max-width: 768px) {
289
+	div.signin .col-md-5 {
290
+    	width: 100%;
291
+	}
292
+	div.signin_bg_mask {
293
+    	width: 100%;
294
+	}
295
+	div.signin_left{
296
+		display: none;
297
+	}
298
+	div.signin_right .signin_panel {
299
+	    margin-top: 10%;
300
+    }
301
+    div.signfooter{
302
+		margin-top: 20%;
303
+	}
304
+}

BIN
CallCenterWeb.UI/img/checkbox.png


BIN
CallCenterWeb.UI/img/login_bg.png


BIN
CallCenterWeb.UI/img/signin_icon.png


BIN
CallCenterWeb.UI/img/yz.png


BIN
CallCenterWeb.UI/img/yz2.png


+ 5 - 3
CallCenterWeb.UI/index.html

@@ -32,6 +32,9 @@
32 32
             body {
33 33
                 font-family: "微软雅黑";
34 34
             }
35
+            .ldtp-con{
36
+            	display: block;
37
+            }
35 38
 
36 39
             ul li {
37 40
                 list-style: none;
@@ -1007,13 +1010,12 @@
1007 1010
             </table>
1008 1011
         </div>
1009 1012
         <!--右侧内容-->
1010
-
1011 1013
         <div class="ldtp-cr col-sm-9">
1012 1014
             <ul class="ld-service clearfix">
1013 1015
                 <li style="border-bottom:1px solid #243747;" itemtype="0" class="cr-click">历史记录</li>
1014
-                <li style="border-bottom:1px solid #69cbd0;" itemtype="1">咨询</li>
1016
+                <li style="border-bottom:1px solid #69cbd0;" itemtype="1">客服部</li>
1015 1017
                 <!--<--<li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
1016
-                <li style="border-bottom:1px solid #243747;" itemtype="3">投诉建议</li>
1018
+                <li style="border-bottom:1px solid #243747;" itemtype="3">市场部</li>
1017 1019
             </ul>
1018 1020
             <div class="ld-sercon">
1019 1021
                 <div class="complain" style="display:block;">

+ 301 - 0
CallCenterWeb.UI/js/bootstrap-select/css/bootstrap-select.css

@@ -0,0 +1,301 @@
1
+/*!
2
+ * Bootstrap-select v1.12.4 (https://silviomoreto.github.io/bootstrap-select)
3
+ *
4
+ * Copyright 2013-2017 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+
8
+select.bs-select-hidden,
9
+select.selectpicker {
10
+  display: none !important;
11
+}
12
+.bootstrap-select {
13
+  width: 220px \0;
14
+  /*IE9 and below*/
15
+}
16
+.bootstrap-select > .dropdown-toggle {
17
+  width: 100%;
18
+  padding-right: 25px;
19
+  z-index: 1;
20
+}
21
+.bootstrap-select > .dropdown-toggle.bs-placeholder,
22
+.bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
23
+.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
24
+.bootstrap-select > .dropdown-toggle.bs-placeholder:active {
25
+  color: #555;
26
+  border-radius: 1px;
27
+}
28
+.bootstrap-select > select {
29
+  position: absolute !important;
30
+  bottom: 0;
31
+  left: 50%;
32
+  display: block !important;
33
+  width: 0.5px !important;
34
+  height: 100% !important;
35
+  padding: 0 !important;
36
+  opacity: 0 !important;
37
+  border: none;
38
+}
39
+.bootstrap-select > select.mobile-device {
40
+  top: 0;
41
+  left: 0;
42
+  display: block !important;
43
+  width: 100% !important;
44
+  z-index: 2;
45
+}
46
+.has-error .bootstrap-select .dropdown-toggle,
47
+.error .bootstrap-select .dropdown-toggle {
48
+  border-color: #b94a48;
49
+}
50
+.bootstrap-select.fit-width {
51
+  width: auto !important;
52
+}
53
+.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
54
+  width: 220px;
55
+}
56
+.bootstrap-select .dropdown-toggle:focus {
57
+  outline: thin dotted #333333 !important;
58
+  outline: 5px auto -webkit-focus-ring-color !important;
59
+  outline-offset: -2px;
60
+}
61
+.bootstrap-select.form-control {
62
+  margin-bottom: 0;
63
+  padding: 0;
64
+  border: none;
65
+}
66
+.bootstrap-select.form-control:not([class*="col-"]) {
67
+  width: 100%;
68
+}
69
+.bootstrap-select.form-control.input-group-btn {
70
+  z-index: auto;
71
+}
72
+.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child) > .btn {
73
+  border-radius: 0;
74
+}
75
+.bootstrap-select.btn-group:not(.input-group-btn),
76
+.bootstrap-select.btn-group[class*="col-"] {
77
+  float: none;
78
+  display: inline-block;
79
+  margin-left: 0;
80
+}
81
+.bootstrap-select.btn-group.dropdown-menu-right,
82
+.bootstrap-select.btn-group[class*="col-"].dropdown-menu-right,
83
+.row .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right {
84
+  float: right;
85
+}
86
+.form-inline .bootstrap-select.btn-group,
87
+.form-horizontal .bootstrap-select.btn-group,
88
+.form-group .bootstrap-select.btn-group {
89
+  margin-bottom: 0;
90
+}
91
+.form-group-lg .bootstrap-select.btn-group.form-control,
92
+.form-group-sm .bootstrap-select.btn-group.form-control {
93
+  padding: 0;
94
+}
95
+.form-group-lg .bootstrap-select.btn-group.form-control .dropdown-toggle,
96
+.form-group-sm .bootstrap-select.btn-group.form-control .dropdown-toggle {
97
+  height: 100%;
98
+  font-size: inherit;
99
+  line-height: inherit;
100
+  border-radius: inherit;
101
+}
102
+.form-inline .bootstrap-select.btn-group .form-control {
103
+  width: 100%;
104
+}
105
+.bootstrap-select.btn-group.disabled,
106
+.bootstrap-select.btn-group > .disabled {
107
+  cursor: not-allowed;
108
+}
109
+.bootstrap-select.btn-group.disabled:focus,
110
+.bootstrap-select.btn-group > .disabled:focus {
111
+  outline: none !important;
112
+}
113
+.bootstrap-select.btn-group.bs-container {
114
+  position: absolute;
115
+  height: 0 !important;
116
+  padding: 0 !important;
117
+}
118
+.bootstrap-select.btn-group.bs-container .dropdown-menu {
119
+  z-index: 1060;
120
+}
121
+.bootstrap-select.btn-group .dropdown-toggle .filter-option {
122
+  display: inline-block;
123
+  overflow: hidden;
124
+  width: 100%;
125
+  text-align: left;
126
+}
127
+.bootstrap-select.btn-group .dropdown-toggle .caret {
128
+  position: absolute;
129
+  top: 50%;
130
+  right: 12px;
131
+  margin-top: -2px;
132
+  vertical-align: middle;
133
+}
134
+.bootstrap-select.btn-group[class*="col-"] .dropdown-toggle {
135
+  width: 100%;
136
+}
137
+.bootstrap-select.btn-group .dropdown-menu {
138
+  min-width: 100%;
139
+  -webkit-box-sizing: border-box;
140
+     -moz-box-sizing: border-box;
141
+          box-sizing: border-box;
142
+}
143
+.bootstrap-select.btn-group .dropdown-menu.inner {
144
+  position: static;
145
+  float: none;
146
+  border: 0;
147
+  padding: 0;
148
+  margin: 0;
149
+  border-radius: 0;
150
+  -webkit-box-shadow: none;
151
+          box-shadow: none;
152
+}
153
+.bootstrap-select.btn-group .dropdown-menu li {
154
+  position: relative;
155
+}
156
+.bootstrap-select.btn-group .dropdown-menu li.active small {
157
+  color: #fff;
158
+}
159
+.bootstrap-select.btn-group .dropdown-menu li.disabled a {
160
+  cursor: not-allowed;
161
+}
162
+.bootstrap-select.btn-group .dropdown-menu li a {
163
+  cursor: pointer;
164
+  -webkit-user-select: none;
165
+     -moz-user-select: none;
166
+      -ms-user-select: none;
167
+          user-select: none;
168
+}
169
+.bootstrap-select.btn-group .dropdown-menu li a.opt {
170
+  position: relative;
171
+  padding-left: 2.25em;
172
+}
173
+.bootstrap-select.btn-group .dropdown-menu li a span.check-mark {
174
+  display: none;
175
+}
176
+.bootstrap-select.btn-group .dropdown-menu li a span.text {
177
+  display: inline-block;
178
+}
179
+.bootstrap-select.btn-group .dropdown-menu li small {
180
+  padding-left: 0.5em;
181
+}
182
+.bootstrap-select.btn-group .dropdown-menu .notify {
183
+  position: absolute;
184
+  bottom: 5px;
185
+  width: 96%;
186
+  margin: 0 2%;
187
+  min-height: 26px;
188
+  padding: 3px 5px;
189
+  background: #f5f5f5;
190
+  border: 1px solid #e3e3e3;
191
+  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
192
+          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
193
+  pointer-events: none;
194
+  opacity: 0.9;
195
+  -webkit-box-sizing: border-box;
196
+     -moz-box-sizing: border-box;
197
+          box-sizing: border-box;
198
+}
199
+.bootstrap-select.btn-group .no-results {
200
+  padding: 3px;
201
+  background: #f5f5f5;
202
+  margin: 0 5px;
203
+  white-space: nowrap;
204
+}
205
+.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option {
206
+  position: static;
207
+}
208
+.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret {
209
+  position: static;
210
+  top: auto;
211
+  margin-top: -1px;
212
+}
213
+.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
214
+  position: absolute;
215
+  display: inline-block;
216
+  right: 15px;
217
+  margin-top: 5px;
218
+}
219
+.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
220
+  margin-right: 34px;
221
+}
222
+.bootstrap-select.show-menu-arrow.open > .dropdown-toggle {
223
+  z-index: 1061;
224
+}
225
+.bootstrap-select.show-menu-arrow .dropdown-toggle:before {
226
+  content: '';
227
+  border-left: 7px solid transparent;
228
+  border-right: 7px solid transparent;
229
+  border-bottom: 7px solid rgba(204, 204, 204, 0.2);
230
+  position: absolute;
231
+  bottom: -4px;
232
+  left: 9px;
233
+  display: none;
234
+}
235
+.bootstrap-select.show-menu-arrow .dropdown-toggle:after {
236
+  content: '';
237
+  border-left: 6px solid transparent;
238
+  border-right: 6px solid transparent;
239
+  border-bottom: 6px solid white;
240
+  position: absolute;
241
+  bottom: -4px;
242
+  left: 10px;
243
+  display: none;
244
+}
245
+.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before {
246
+  bottom: auto;
247
+  top: -3px;
248
+  border-top: 7px solid rgba(204, 204, 204, 0.2);
249
+  border-bottom: 0;
250
+}
251
+.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after {
252
+  bottom: auto;
253
+  top: -3px;
254
+  border-top: 6px solid white;
255
+  border-bottom: 0;
256
+}
257
+.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before {
258
+  right: 12px;
259
+  left: auto;
260
+}
261
+.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after {
262
+  right: 13px;
263
+  left: auto;
264
+}
265
+.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,
266
+.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after {
267
+  display: block;
268
+}
269
+.bs-searchbox,
270
+.bs-actionsbox,
271
+.bs-donebutton {
272
+  padding: 4px 8px;
273
+}
274
+.bs-actionsbox {
275
+  width: 100%;
276
+  -webkit-box-sizing: border-box;
277
+     -moz-box-sizing: border-box;
278
+          box-sizing: border-box;
279
+}
280
+.bs-actionsbox .btn-group button {
281
+  width: 50%;
282
+}
283
+.bs-donebutton {
284
+  float: left;
285
+  width: 100%;
286
+  -webkit-box-sizing: border-box;
287
+     -moz-box-sizing: border-box;
288
+          box-sizing: border-box;
289
+}
290
+.bs-donebutton .btn-group button {
291
+  width: 100%;
292
+}
293
+.bs-searchbox + .bs-actionsbox {
294
+  padding: 0 8px 4px;
295
+}
296
+.bs-searchbox .form-control {
297
+  margin-bottom: 0;
298
+  width: 100%;
299
+  float: none;
300
+}
301
+/*# sourceMappingURL=bootstrap-select.css.map */

Dosya farkı çok büyük olduğundan ihmal edildi
+ 6 - 0
CallCenterWeb.UI/js/bootstrap-select/css/bootstrap-select.min.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1872 - 0
CallCenterWeb.UI/js/bootstrap-select/js/bootstrap-select.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 9 - 0
CallCenterWeb.UI/js/bootstrap-select/js/bootstrap-select.min.js


+ 37 - 0
CallCenterWeb.UI/js/bootstrap-select/js/i18n/defaults-zh_CN.js

@@ -0,0 +1,37 @@
1
+/*!
2
+ * Bootstrap-select v1.12.4 (https://silviomoreto.github.io/bootstrap-select)
3
+ *
4
+ * Copyright 2013-2017 bootstrap-select
5
+ * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
+ */
7
+
8
+(function (root, factory) {
9
+  if (typeof define === 'function' && define.amd) {
10
+    // AMD. Register as an anonymous module unless amdModuleId is set
11
+    define(["jquery"], function (a0) {
12
+      return (factory(a0));
13
+    });
14
+  } else if (typeof module === 'object' && module.exports) {
15
+    // Node. Does not work with strict CommonJS, but
16
+    // only CommonJS-like environments that support module.exports,
17
+    // like Node.
18
+    module.exports = factory(require("jquery"));
19
+  } else {
20
+    factory(root["jQuery"]);
21
+  }
22
+}(this, function (jQuery) {
23
+
24
+(function ($) {
25
+  $.fn.selectpicker.defaults = {
26
+    noneSelectedText: '没有选中任何项',
27
+    noneResultsText: '没有找到匹配项',
28
+    countSelectedText: '选中{1}中的{0}项',
29
+    maxOptionsText: ['超出限制 (最多选择{n}项)', '组选择超出限制(最多选择{n}组)'],
30
+    multipleSeparator: ', ',
31
+    selectAllText: '全选',
32
+    deselectAllText: '取消全选'
33
+  };
34
+})(jQuery);
35
+
36
+
37
+}));

Dosya farkı çok büyük olduğundan ihmal edildi
+ 7 - 0
CallCenterWeb.UI/js/bootstrap-select/js/i18n/defaults-zh_CN.min.js


+ 150 - 75
CallCenterWeb.UI/keHuManager/ContactPersonManger.html

@@ -6,6 +6,8 @@
6 6
 		<script src="../Script/Common/huayi.load.js"></script>
7 7
     	<script src="../Script/Common/huayi.config.js"></script>
8 8
 		<link rel="stylesheet" href="../css/laydate/need/laydate.css" />
9
+		<link rel="stylesheet" href="../css/plugins/jsTree/style.min.css" />
10
+		<link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
9 11
 		<link rel="stylesheet" href="../css/init.css" />
10 12
 		<title>客户管理</title>
11 13
 		<style>
@@ -15,34 +17,6 @@
15 17
 				clear: both;
16 18
 			}
17 19
 			
18
-			.toolBar {
19
-				padding: 15px 0;
20
-				border-bottom: 1px solid #ccc;
21
-				margin-bottom: 25px;
22
-				padding-right: 45px;
23
-			}
24
-			
25
-			.toolBar input {
26
-				width: 128px;
27
-				padding: 2px 2PX 2PX 10PX;
28
-				height: 28px;
29
-				border: 1px solid #ebebeb;
30
-				color: #1ab394;
31
-				outline: none;
32
-				vertical-align: middle;
33
-			}
34
-			.model {
35
-				position: fixed;
36
-				top: 0;
37
-				right: 0;
38
-				bottom: 0;
39
-				left: 0;
40
-				height: 100%;
41
-				width: 100%;
42
-				background: rgba(0, 0, 0, 0.48);
43
-				z-index: 100;
44
-				display: none;
45
-			}
46 20
 			.delModel .box{
47 21
 				width: 22%;
48 22
 			}
@@ -115,12 +89,16 @@
115 89
 			.kong{
116 90
 				display: none;
117 91
 			}
92
+			.btn-default {
93
+			    background-color: #ffffff!important;
94
+			    border-color: #e5e6e7!important;
95
+			    color: #FFF;
96
+			}
118 97
 		</style>
119 98
 	</head>
120 99
 
121
-	<body>
122
-		<div class="container-fluid">
123
-			<div class="daoHang clearfix">
100
+	<body class="gray-bg">
101
+		<div class="daoHang clearfix">
124 102
 				<div class="dhLeft">
125 103
 					<sapn><i class="syIcon"></i>位置:<a href="javaScript:;"  id="ReIndex">首页</a>&gt;<a href="javaScript:;">客户管理</a>&gt;<a href="" class="nowPosition">客户档案管理</a></sapn>
126 104
 				</div>
@@ -128,17 +106,41 @@
128 106
             		<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
129 107
             </div>
130 108
 			</div>
131
-			<div class="toolBar clearfix">
132
-				<div class="toolLeft"  style="float: left;">
133
-				<button class="btns add">添加</button>
134
-				<button class="btns change">修改</button>
135
-				<button class="btns del">删除</button>
136
-				</div>
137
-				<div class="toolRight" style="float: right;">
138
-					<span>客户名称:<input type="text" class="czName" /></span>
109
+		<div class="wrapper wrapper-content animated fadeInRight">
110
+			
111
+			<div class="toolBox">
112
+				<div class="th-bar clearfix">
113
+					<div class="pull-left">
114
+						<div class="form-inline">
115
+							 <!--<div class="form-group">
116
+							 	<input type="text" class="czName form-control" placeholder="请输入客户名称"/>
117
+							 </div>-->
118
+							 <div class="form-group">
119
+								<select class="form-control selectpicker" id="customer_name" data-live-search="true">
120
+									<option value="">请选择客户名称</option>
121
+								</select>
122
+							</div>
123
+							 <div class="form-group">
124
+							 	<input type="text" class="province form-control" placeholder="请输入省份"/>
125
+							 </div>
126
+							 <div class="form-group">
127
+							 	<input type="text" class="form-control contact_name" placeholder="请输入联系人"/>
128
+							 </div>
129
+							 <div class="form-group">
130
+							 	<input type="text" class="form-control phone" placeholder="请输入电话"/>
131
+							 </div>
132
+						</div>
133
+					
139 134
 					<span style="display:none">登录时间:<input type="text" class="laydate-icon loginTime" id="startTime"/></span>
135
+				</div>
136
+				<div class="pull-right">
140 137
 					<button class="btns search">搜索</button>
138
+					<button class="btns add ">添加</button>
139
+					<button class="btns change">修改</button>
140
+					<button class="btns del">删除</button>
141 141
 				</div>
142
+				</div>
143
+				
142 144
 			</div>
143 145
 			<div class="tableBox">
144 146
 				<table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
@@ -158,42 +160,8 @@
158 160
 			</div>
159 161
 
160 162
 		</div>
161
-	<!--添加弹出内容-->
162
-		<div class="model addModel">
163
-			<div class="box">
164
-				<div class="btop clearfix">
165
-					<p class="btl">添加客户信息</p>
166
-					<p class="btr addBtr" title="关闭">X</p>
167
-				</div>
168
-				<div class="boxCon">
169
-					<table>
170
-						<tbody>
171
-							<tr>
172
-								<th>客户名称: </th>
173
-								<td colspan="3"><input type="text" class="add_name"  /><span class="addJsz_kong" style="color: red;">*</span></td>
174
-							</tr>
175
-							<tr>
176
-								<th>客户编号: </th>
177
-								<td colspan="3"><input type="text" class="add_code"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
178
-							</tr>
179
-							<tr>
180
-								<th>联系电话1: </th>
181
-								<td colspan="3"><input type="text" class="add_ph1"  /><span class="addJsz_kong" style="color: red;">*</span></td>
182
-							</tr>
183
-							<tr>
184
-								<th>联系电话2: </th>
185
-								<td colspan="3"><input type="text" class="add_ph2"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
186
-							</tr>
187
-							<tr>
188
-								<th>联系电话3: </th>
189
-								<td colspan="3"><input type="text" class="add_ph3"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
190
-							</tr>
191
-						</tbody>
192
-					</table>
193
-					<div style="text-align: center;"><button class="btns addCun">保存</button></div>
194
-				</div>
195
-			</div>
196
-		</div>
163
+
164
+		
197 165
 	<!--修改弹出内容-->
198 166
 		<div class="model changeModel">
199 167
 			<div class="box">
@@ -247,5 +215,112 @@
247 215
 
248 216
 		<script src="../css/laydate/laydate.js"></script>
249 217
 		<script src="./js/keHuManger.js"></script>
218
+		<script src="../js/plugins/jsTree/jstree.min.js"></script>
219
+		
220
+		<!--<input type="text" id="demo_q" />
221
+		<div class="aaa">-->
222
+			
223
+		</div>
224
+		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
225
+		<script>
226
+			var data=[
227
+								{
228
+									"id": 1,
229
+									"text": "Child node 1"
230
+								}, {
231
+									"id": 2,
232
+									"text": "Child node 2"
233
+								}, {
234
+									"id": 3,
235
+									"text": "Child node 3"
236
+								}, {
237
+									"id": 4,
238
+									"text": "Child node 4"
239
+								}, {
240
+									"id": 5,
241
+									"text": "Child node 5"
242
+								}
243
+							
244
+						
245
+					]
246
+		$(function(){
247
+			var to=false;
248
+			$('#demo_q').keyup(function(){
249
+				if(to){
250
+					clearTimeout(to);
251
+				}
252
+				to=setTimeout(function(){
253
+					var v=$('#demo_q').val();
254
+					$('.aaa').jstree(true).search(v)
255
+				},250)
256
+			});
257
+			
258
+				$('.aaa').jstree({
259
+			  "core" : {
260
+			    "animation" : 0,
261
+			    "check_callback" : true,
262
+			    "themes" : { "stripes" : true },
263
+//			    'data' : {
264
+//			      'url' : function (node) {
265
+//			        return node.id === '#' ?
266
+//			          'ajax_demo_roots.json' : 'ajax_demo_children.json';
267
+//			      },
268
+//			      'data' : function (node) {
269
+//			        return { 'id' : node.id };
270
+//			      }
271
+//			    }
272
+			    'data' : data
273
+			  },
274
+			  "types" : {
275
+			    "#" : {
276
+			      "max_children" : 1,
277
+			      "max_depth" : 4,
278
+			      "valid_children" : ["root"]
279
+			    },
280
+			    "root" : {
281
+			      "icon" : "/static/3.3.5/assets/images/tree_icon.png",
282
+			      "valid_children" : ["default"]
283
+			    },
284
+			    "default" : {
285
+			      "valid_children" : ["default","file"]
286
+			    },
287
+			    "file" : {
288
+			      "icon" : "glyphicon glyphicon-file",
289
+			      "valid_children" : []
290
+			    }
291
+			  },
292
+			  "plugins" : [
293
+			    "contextmenu", "dnd", "search",
294
+			    "state", "types", "wholerow"
295
+			  ]
296
+			});
297
+		
298
+			
299
+		})
300
+		
301
+		
302
+		
303
+		
304
+		getAccount()
305
+		function getAccount() {
306
+			$.ajax({
307
+				type: "get",
308
+				url: huayi.config.callcenter_url + "Customer/BindLDdep",
309
+				dataType: 'json',
310
+				async: true,
311
+				data: {
312
+					token: $.cookie("token")
313
+				},
314
+				success: function(data) {
315
+					var Count = data.data;
316
+					for(var i = 0; i < Count.length; i++) {
317
+						$("<option value='" + Count[i].id + "'>" + Count[i].usercode + "(" + Count[i].title + ")</option>").appendTo($("#customer_name"));
318
+					}
319
+					$('#customer_name').selectpicker('refresh');
320
+				}
321
+			});
322
+		}
323
+		
324
+		</script>
250 325
 	</body>
251 326
 </html>

+ 220 - 0
CallCenterWeb.UI/keHuManager/addCustomerFile.html

@@ -0,0 +1,220 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<script src="../Script/Common/huayi.load.js"></script>
6
+    	<script src="../Script/Common/huayi.config.js"></script>
7
+    	<link rel="stylesheet" href="../css/init.css" />
8
+		<title></title>
9
+		<style>
10
+				.clearfix:after {
11
+				content: "";
12
+				display: block;
13
+				clear: both;
14
+			}
15
+			
16
+			.toolBar {
17
+				padding: 15px 0;
18
+				border-bottom: 1px solid #ccc;
19
+				margin-bottom: 25px;
20
+				padding-right: 45px;
21
+			}
22
+			
23
+			.toolBar input {
24
+				width: 128px;
25
+				padding: 2px 2PX 2PX 10PX;
26
+				height: 28px;
27
+				border: 1px solid #ebebeb;
28
+				color: #1ab394;
29
+				outline: none;
30
+				vertical-align: middle;
31
+			}
32
+			.model {
33
+				position: fixed;
34
+				top: 0;
35
+				right: 0;
36
+				bottom: 0;
37
+				left: 0;
38
+				height: 100%;
39
+				width: 100%;
40
+				background: rgba(0, 0, 0, 0.48);
41
+				z-index: 100;
42
+				display: none;
43
+			}
44
+			.delModel .box{
45
+				width: 22%;
46
+			}
47
+			
48
+			.box {
49
+				width: 30%;
50
+				margin: 0 auto;
51
+				margin-top: 5%;
52
+			}
53
+			
54
+			.box .btop {
55
+				height: 35px;
56
+				background: #1ab394;
57
+				color: #fff;
58
+				line-height: 35px;
59
+				padding: 0 15px;
60
+				/*margin-bottom: 15px;*/
61
+			}
62
+			
63
+			.box .btop p.btl {
64
+				float: left;
65
+				margin: 0;
66
+			}
67
+			
68
+			.box .btop p.btr {
69
+				float: right;
70
+				cursor: pointer;
71
+				margin: 0;
72
+				font-size: 20px;
73
+			}
74
+			
75
+			.box>input {
76
+				display: block;
77
+				height: 34px;
78
+				padding: 6px 12px;
79
+				font-size: 14px;
80
+				line-height: 1.42857143;
81
+				color: #555;
82
+				background-color: #fff;
83
+				background-image: none;
84
+				border: 1px solid #ccc;
85
+				border-radius: 4px;
86
+				margin: 35px auto;
87
+			}
88
+			
89
+			.boxCon {
90
+				width: 100%;
91
+				background: #fff;
92
+				text-align: center;
93
+				padding: 10px 15px;
94
+				height: auto;
95
+				overflow-y: auto;
96
+			}
97
+			
98
+			.boxCon>div {
99
+				padding: 15px 0;
100
+			}
101
+				.boxCon table th {
102
+				padding: 5px 8px 5px 0;
103
+				text-align: right;
104
+				    width: 32%;
105
+			}
106
+			
107
+			.boxCon table td {
108
+				padding: 6px 0 5px 10px;
109
+				text-align: left;
110
+				color: #717171;
111
+				line-height: 200%;
112
+			}
113
+			.kong{
114
+				display: none;
115
+			}
116
+			
117
+		</style>
118
+	</head>
119
+	<body>
120
+		<div class="container-fluid">
121
+			
122
+			<div class="boxCon">
123
+					<table>
124
+						<tbody>
125
+							<tr>
126
+								<th>客户名称: </th>
127
+								<td colspan="3"><input type="text" class="add_name"  /><span class="addJsz_kong" style="color: red;">*</span></td>
128
+							</tr>
129
+							<tr>
130
+								<th>客户编号: </th>
131
+								<td colspan="3"><input type="text" class="add_code"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
132
+							</tr>
133
+							<tr>
134
+								<th>联系电话1: </th>
135
+								<td colspan="3"><input type="text" class="add_ph1"  /><span class="addJsz_kong" style="color: red;">*</span></td>
136
+							</tr>
137
+							<tr>
138
+								<th>联系电话2: </th>
139
+								<td colspan="3"><input type="text" class="add_ph2"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
140
+							</tr>
141
+							<tr>
142
+								<th>联系电话3: </th>
143
+								<td colspan="3"><input type="text" class="add_ph3"  /><span class="kong addJsz_kong" style="color: red;">*角色值不允许为空</span></td>
144
+							</tr>
145
+						</tbody>
146
+					</table>
147
+					<div style="text-align: center;"><button class="btns addCun">保存</button></div>
148
+				</div>
149
+			
150
+		</div>
151
+		
152
+	<script>
153
+	var token = $.cookie("token");
154
+	$('.addCun').click(function() {
155
+			var khmc = $(".add_name").val();
156
+			var khbh = $(".add_code").val();
157
+			var tel1 = $(".add_ph1").val();
158
+			var tel2 = $(".add_ph2").val();
159
+			var tel3 = $(".add_ph3").val();
160
+			if(Isnullorempty(khmc)) {
161
+				layer.confirm('请输入客户名称!', {
162
+					btn: ['确定']
163
+				});
164
+				return;
165
+			}
166
+			if(Isnullorempty(tel1)) {
167
+				layer.confirm('请输入联系电话1', {
168
+					btn: ['确定']
169
+				});
170
+				return;
171
+			}
172
+			var tflag = regBox.regMobOrTel.test(tel1);
173
+			if(!tflag) {
174
+				layer.confirm('请输入正确的联系电话1', {
175
+					btn: ['确定']
176
+				});
177
+				return;
178
+			}
179
+			if(!Isnullorempty(tel2)) {
180
+				var t2flag = regBox.regMobOrTel.test(tel2);
181
+				if(!t2flag) {
182
+					layer.confirm('请输入正确的联系电话2', {
183
+						btn: ['确定']
184
+					});
185
+					return;
186
+				}
187
+			}
188
+			if(!Isnullorempty(tel3)) {
189
+				var t3flag = regBox.regMobOrTel.test(tel3);
190
+				if(!t3flag) {
191
+					layer.confirm('请输入正确的联系电话3', {
192
+						btn: ['确定']
193
+					});
194
+					return;
195
+				}
196
+			}
197
+			$.post(huayi.config.callcenter_url + 'Customer/AddCustomer', {
198
+				name: khmc,
199
+				code: khbh,
200
+				mobile: tel1,
201
+				telphone: tel2,
202
+				chargetelephone: tel3,
203
+				"token": $.cookie("token")
204
+			}, function(result) {
205
+				result = $.parseJSON(result);
206
+				if(result.state.toLowerCase() == "success") {
207
+					$("#activess").val(result.data);
208
+   					var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
209
+								parent.layer.close(index); //再执行关闭
210
+	                            parent.layer.msg("添加成功!");
211
+				                parent.table.bootstrapTable('refresh'); 
212
+				}
213
+			}) 
214
+//			$('.addModel').css('display', 'none');
215
+		})
216
+
217
+	
218
+</script>
219
+	</body>
220
+</html>

+ 13 - 73
CallCenterWeb.UI/keHuManager/js/keHuManger.js

@@ -11,77 +11,14 @@
11 11
 	})
12 12
 	//==================添加功能开始================================
13 13
 	$('.add').click(function() {
14
-		$('.addModel').css('display', 'block');
15
-	})
16
-	//关闭按钮
17
-	$('.addBtr').click(function() {
18
-		$('.addModel').css('display', 'none');
19
-	})
20
-	//保存按钮
21
-	$('.addCun').click(function() {
22
-		var khmc = $(".add_name").val();
23
-		var khbh = $(".add_code").val();
24
-		var tel1 = $(".add_ph1").val();
25
-		var tel2 = $(".add_ph2").val();
26
-		var tel3 = $(".add_ph3").val();
27
-		if (Isnullorempty(khmc)) {
28
-		    layer.confirm('请输入客户名称!', {
29
-		        btn: ['确定']
30
-		    });
31
-		    return;
32
-		}
33
-		if (Isnullorempty(tel1)) {
34
-		    layer.confirm('请输入联系电话1', {
35
-		        btn: ['确定']
36
-		    });
37
-		    return;
38
-		}
39
-		var tflag = regBox.regMobOrTel.test(tel1);
40
-		if (!tflag) {
41
-		    layer.confirm('请输入正确的联系电话1', {
42
-		        btn: ['确定']
43
-		    });
44
-		    return;
45
-		}
46
-		if (!Isnullorempty(tel2)) {
47
-		    var t2flag = regBox.regMobOrTel.test(tel2);
48
-		    if (!t2flag) {
49
-		        layer.confirm('请输入正确的联系电话2', {
50
-		            btn: ['确定']
51
-		        });
52
-		        return;
53
-		    }
54
-		}
55
-		if (!Isnullorempty(tel3)) {
56
-		    var t3flag = regBox.regMobOrTel.test(tel3);
57
-		    if (!t3flag) {
58
-		        layer.confirm('请输入正确的联系电话3', {
59
-		            btn: ['确定']
60
-		        });
61
-		        return;
62
-		    }
63
-		}
64
-		$.post(huayi.config.callcenter_url + 'Customer/AddCustomer', {
65
-			name: khmc,
66
-			code: khbh,
67
-			mobile: tel1,
68
-			telphone: tel2,
69
-			chargetelephone: tel3,
70
-			"token": $.cookie("token")
71
-		}, function(result) {
72
-			result = $.parseJSON(result);
73
-			if(result.state.toLowerCase() == "success") {
74
-				$("#khid").val(result.data);
75
-				layer.msg("添加成功");
76
-			 $(".add_name").val('');
77
-		 $(".add_code").val('');
78
-		  $(".add_ph1").val('');
79
-		  $(".add_ph2").val('');
80
-		 $(".add_ph3").val('');
81
-				table.bootstrapTable('refresh');
82
-			}
83
-		})
84
-		$('.addModel').css('display', 'none');
14
+		 layer.open({
15
+                type: 2,
16
+                title: '添加客户信息',
17
+                maxmin: true, //开启最大化最小化按钮
18
+                area: ['50%', '50%'],
19
+                content: 'addCustomerFile.html'
20
+//              content: 'addZhiShiKuManger.html?addId=' + id + '&addPid='+ pid +'&addName='+ name +''
21
+            });
85 22
 	})
86 23
 	//******************添加功能结束********************************
87 24
 	//==================修改功能开始================================
@@ -259,8 +196,11 @@
259 196
 					page: params.pageNumber,
260 197
 					pagesize: params.pageSize,
261 198
 					token: token,
262
-					name: $('.czName').val(), //操作人名称
263
-					logindate: $('.loginTime').val() //登录时间
199
+					Cusname: $('#customer_name').val(), //客户名称
200
+					name: $('.contact_name').val(), //联系人
201
+					province: $('.province').val(), //省份
202
+					tel: $('.phone').val(), //电话
203
+//					logindate: $('.loginTime').val() //登录时间
264 204
 				};
265 205
 				return param;
266 206
 			},

+ 0 - 379
CallCenterWeb.UI/keHuManager/kehu.json

@@ -1,379 +0,0 @@
1
-{
2
-	
3
-		"state": "success",
4
-		"message": "成功",
5
-		"rows": [
6
-			{
7
-				"F_CustomerId": 3309,
8
-				"F_CustomerName": "周星驰",
9
-				"F_CustomerCode": "5555",
10
-				"F_CustomerEName": "",
11
-				"F_CustomerPym": null,
12
-				"F_Layer": null,
13
-				"F_CustomerLayer": null,
14
-				"F_CategoryId": 0,
15
-				"F_TradeId": 0,
16
-				"F_RegionId": null,
17
-				"F_IndustryId": 0,
18
-				"F_Address": null,
19
-				"F_Url": null,
20
-				"F_Telephone": "",
21
-				"F_Mobile": "15555555555",
22
-				"F_Fax": null,
23
-				"F_Email": null,
24
-				"F_Website": null,
25
-				"F_PostCode": null,
26
-				"F_ScaleResume": null,
27
-				"F_BusinessProfile": null,
28
-				"F_BusinessLicenseID": null,
29
-				"F_TaxID": null,
30
-				"F_OpeningBank": null,
31
-				"F_BankAccount": null,
32
-				"F_LegalRepresentative": null,
33
-				"F_LegalRepresentativeCardID": null,
34
-				"F_Nature": null,
35
-				"F_Kind": null,
36
-				"F_CustomerType": null,
37
-				"F_MainProduct": null,
38
-				"F_CustomerFrom": null,
39
-				"F_TrackInfo": null,
40
-				"F_TrackState": null,
41
-				"F_ImportDegree": null,
42
-				"F_IntentProduct": null,
43
-				"F_CreateBy": 1421,
44
-				"F_CreatedOn": "2017-07-05 14:54:23",
45
-				"F_ModifyBy": 0,
46
-				"F_ModifiedOn": null,
47
-				"F_DeleteFlag": 0,
48
-				"F_StatusCode": 0,
49
-				"F_ServiceDept": null,
50
-				"F_ChargeName": null,
51
-				"F_ChargeTelephone": "",
52
-				"F_Province": null,
53
-				"F_ProductLine": null,
54
-				"F_ChargeDept": null,
55
-				"F_AfterSaleName": null,
56
-				"F_CustomerNature": null,
57
-				"F_CustomerClass": null,
58
-				"F_CustomerIndustry": null,
59
-				"F_RelationShipClass": null,
60
-				"F_CurrentVersion": null,
61
-				"F_SystemStartTime": null,
62
-				"F_QualityGuaranteeEndTime": null,
63
-				"F_AfterSaleTelephone": null,
64
-				"F_Notes": null,
65
-				"F_SystemType": null,
66
-				"F_City": null,
67
-				"F_CustomerStatus": null,
68
-				"F_DeviceCount": null,
69
-				"F_MaintenanceType": null,
70
-				"F_ERPCustomerCode": null,
71
-				"F_ServiceDeptID": null,
72
-				"F_ProductLineID": null,
73
-				"F_AfterSaleNameID": null,
74
-				"F_CustomerNatureID": null,
75
-				"F_CustomerClassID": null,
76
-				"F_RelationShipClassID": null,
77
-				"F_CityID": null,
78
-				"p_id": 1,
79
-				"n_id": "3309"
80
-			}, {
81
-				"F_CustomerId": 3308,
82
-				"F_CustomerName": "测试测试",
83
-				"F_CustomerCode": "4444",
84
-				"F_CustomerEName": "",
85
-				"F_CustomerPym": null,
86
-				"F_Layer": null,
87
-				"F_CustomerLayer": null,
88
-				"F_CategoryId": 0,
89
-				"F_TradeId": 0,
90
-				"F_RegionId": null,
91
-				"F_IndustryId": 0,
92
-				"F_Address": null,
93
-				"F_Url": null,
94
-				"F_Telephone": "",
95
-				"F_Mobile": "15444444444",
96
-				"F_Fax": null,
97
-				"F_Email": null,
98
-				"F_Website": null,
99
-				"F_PostCode": null,
100
-				"F_ScaleResume": null,
101
-				"F_BusinessProfile": null,
102
-				"F_BusinessLicenseID": null,
103
-				"F_TaxID": null,
104
-				"F_OpeningBank": null,
105
-				"F_BankAccount": null,
106
-				"F_LegalRepresentative": null,
107
-				"F_LegalRepresentativeCardID": null,
108
-				"F_Nature": null,
109
-				"F_Kind": null,
110
-				"F_CustomerType": null,
111
-				"F_MainProduct": null,
112
-				"F_CustomerFrom": null,
113
-				"F_TrackInfo": null,
114
-				"F_TrackState": null,
115
-				"F_ImportDegree": null,
116
-				"F_IntentProduct": null,
117
-				"F_CreateBy": 1421,
118
-				"F_CreatedOn": "2017-07-05 14:46:53",
119
-				"F_ModifyBy": 0,
120
-				"F_ModifiedOn": null,
121
-				"F_DeleteFlag": 0,
122
-				"F_StatusCode": 0,
123
-				"F_ServiceDept": null,
124
-				"F_ChargeName": null,
125
-				"F_ChargeTelephone": "",
126
-				"F_Province": null,
127
-				"F_ProductLine": null,
128
-				"F_ChargeDept": null,
129
-				"F_AfterSaleName": null,
130
-				"F_CustomerNature": null,
131
-				"F_CustomerClass": null,
132
-				"F_CustomerIndustry": null,
133
-				"F_RelationShipClass": null,
134
-				"F_CurrentVersion": null,
135
-				"F_SystemStartTime": null,
136
-				"F_QualityGuaranteeEndTime": null,
137
-				"F_AfterSaleTelephone": null,
138
-				"F_Notes": null,
139
-				"F_SystemType": null,
140
-				"F_City": null,
141
-				"F_CustomerStatus": null,
142
-				"F_DeviceCount": null,
143
-				"F_MaintenanceType": null,
144
-				"F_ERPCustomerCode": null,
145
-				"F_ServiceDeptID": null,
146
-				"F_ProductLineID": null,
147
-				"F_AfterSaleNameID": null,
148
-				"F_CustomerNatureID": null,
149
-				"F_CustomerClassID": null,
150
-				"F_RelationShipClassID": null,
151
-				"F_CityID": null,
152
-				"p_id": 2,
153
-				"n_id": "3308"
154
-			}, {
155
-				"F_CustomerId": 3307,
156
-				"F_CustomerName": "王五",
157
-				"F_CustomerCode": "141414",
158
-				"F_CustomerEName": "",
159
-				"F_CustomerPym": null,
160
-				"F_Layer": null,
161
-				"F_CustomerLayer": null,
162
-				"F_CategoryId": 0,
163
-				"F_TradeId": 0,
164
-				"F_RegionId": null,
165
-				"F_IndustryId": 0,
166
-				"F_Address": null,
167
-				"F_Url": null,
168
-				"F_Telephone": "",
169
-				"F_Mobile": "15512341234",
170
-				"F_Fax": null,
171
-				"F_Email": null,
172
-				"F_Website": null,
173
-				"F_PostCode": null,
174
-				"F_ScaleResume": null,
175
-				"F_BusinessProfile": null,
176
-				"F_BusinessLicenseID": null,
177
-				"F_TaxID": null,
178
-				"F_OpeningBank": null,
179
-				"F_BankAccount": null,
180
-				"F_LegalRepresentative": null,
181
-				"F_LegalRepresentativeCardID": null,
182
-				"F_Nature": null,
183
-				"F_Kind": null,
184
-				"F_CustomerType": null,
185
-				"F_MainProduct": null,
186
-				"F_CustomerFrom": null,
187
-				"F_TrackInfo": null,
188
-				"F_TrackState": null,
189
-				"F_ImportDegree": null,
190
-				"F_IntentProduct": null,
191
-				"F_CreateBy": 1421,
192
-				"F_CreatedOn": "2017-06-30 08:55:48",
193
-				"F_ModifyBy": 0,
194
-				"F_ModifiedOn": null,
195
-				"F_DeleteFlag": 0,
196
-				"F_StatusCode": 0,
197
-				"F_ServiceDept": null,
198
-				"F_ChargeName": null,
199
-				"F_ChargeTelephone": "",
200
-				"F_Province": null,
201
-				"F_ProductLine": null,
202
-				"F_ChargeDept": null,
203
-				"F_AfterSaleName": null,
204
-				"F_CustomerNature": null,
205
-				"F_CustomerClass": null,
206
-				"F_CustomerIndustry": null,
207
-				"F_RelationShipClass": null,
208
-				"F_CurrentVersion": null,
209
-				"F_SystemStartTime": null,
210
-				"F_QualityGuaranteeEndTime": null,
211
-				"F_AfterSaleTelephone": null,
212
-				"F_Notes": null,
213
-				"F_SystemType": null,
214
-				"F_City": null,
215
-				"F_CustomerStatus": null,
216
-				"F_DeviceCount": null,
217
-				"F_MaintenanceType": null,
218
-				"F_ERPCustomerCode": null,
219
-				"F_ServiceDeptID": null,
220
-				"F_ProductLineID": null,
221
-				"F_AfterSaleNameID": null,
222
-				"F_CustomerNatureID": null,
223
-				"F_CustomerClassID": null,
224
-				"F_RelationShipClassID": null,
225
-				"F_CityID": null,
226
-				"p_id": 3,
227
-				"n_id": "3307"
228
-			}, {
229
-				"F_CustomerId": 3306,
230
-				"F_CustomerName": "去玩儿",
231
-				"F_CustomerCode": "111",
232
-				"F_CustomerEName": "",
233
-				"F_CustomerPym": null,
234
-				"F_Layer": null,
235
-				"F_CustomerLayer": null,
236
-				"F_CategoryId": 0,
237
-				"F_TradeId": 0,
238
-				"F_RegionId": null,
239
-				"F_IndustryId": 0,
240
-				"F_Address": null,
241
-				"F_Url": null,
242
-				"F_Telephone": "",
243
-				"F_Mobile": "13311111111",
244
-				"F_Fax": null,
245
-				"F_Email": null,
246
-				"F_Website": null,
247
-				"F_PostCode": null,
248
-				"F_ScaleResume": null,
249
-				"F_BusinessProfile": null,
250
-				"F_BusinessLicenseID": null,
251
-				"F_TaxID": null,
252
-				"F_OpeningBank": null,
253
-				"F_BankAccount": null,
254
-				"F_LegalRepresentative": null,
255
-				"F_LegalRepresentativeCardID": null,
256
-				"F_Nature": null,
257
-				"F_Kind": null,
258
-				"F_CustomerType": null,
259
-				"F_MainProduct": null,
260
-				"F_CustomerFrom": null,
261
-				"F_TrackInfo": null,
262
-				"F_TrackState": null,
263
-				"F_ImportDegree": null,
264
-				"F_IntentProduct": null,
265
-				"F_CreateBy": 1421,
266
-				"F_CreatedOn": "2017-06-29 10:34:00",
267
-				"F_ModifyBy": 0,
268
-				"F_ModifiedOn": null,
269
-				"F_DeleteFlag": 0,
270
-				"F_StatusCode": 0,
271
-				"F_ServiceDept": null,
272
-				"F_ChargeName": null,
273
-				"F_ChargeTelephone": "",
274
-				"F_Province": null,
275
-				"F_ProductLine": null,
276
-				"F_ChargeDept": null,
277
-				"F_AfterSaleName": null,
278
-				"F_CustomerNature": null,
279
-				"F_CustomerClass": null,
280
-				"F_CustomerIndustry": null,
281
-				"F_RelationShipClass": null,
282
-				"F_CurrentVersion": null,
283
-				"F_SystemStartTime": null,
284
-				"F_QualityGuaranteeEndTime": null,
285
-				"F_AfterSaleTelephone": null,
286
-				"F_Notes": null,
287
-				"F_SystemType": null,
288
-				"F_City": null,
289
-				"F_CustomerStatus": null,
290
-				"F_DeviceCount": null,
291
-				"F_MaintenanceType": null,
292
-				"F_ERPCustomerCode": null,
293
-				"F_ServiceDeptID": null,
294
-				"F_ProductLineID": null,
295
-				"F_AfterSaleNameID": null,
296
-				"F_CustomerNatureID": null,
297
-				"F_CustomerClassID": null,
298
-				"F_RelationShipClassID": null,
299
-				"F_CityID": null,
300
-				"p_id": 4,
301
-				"n_id": "3306"
302
-			}, {
303
-				"F_CustomerId": 3305,
304
-				"F_CustomerName": "测试测试",
305
-				"F_CustomerCode": "1234",
306
-				"F_CustomerEName": "",
307
-				"F_CustomerPym": null,
308
-				"F_Layer": null,
309
-				"F_CustomerLayer": null,
310
-				"F_CategoryId": 0,
311
-				"F_TradeId": 0,
312
-				"F_RegionId": null,
313
-				"F_IndustryId": 0,
314
-				"F_Address": null,
315
-				"F_Url": null,
316
-				"F_Telephone": "15800000000",
317
-				"F_Mobile": "",
318
-				"F_Fax": null,
319
-				"F_Email": null,
320
-				"F_Website": null,
321
-				"F_PostCode": null,
322
-				"F_ScaleResume": null,
323
-				"F_BusinessProfile": null,
324
-				"F_BusinessLicenseID": null,
325
-				"F_TaxID": null,
326
-				"F_OpeningBank": null,
327
-				"F_BankAccount": null,
328
-				"F_LegalRepresentative": null,
329
-				"F_LegalRepresentativeCardID": null,
330
-				"F_Nature": null,
331
-				"F_Kind": null,
332
-				"F_CustomerType": null,
333
-				"F_MainProduct": null,
334
-				"F_CustomerFrom": null,
335
-				"F_TrackInfo": null,
336
-				"F_TrackState": null,
337
-				"F_ImportDegree": null,
338
-				"F_IntentProduct": null,
339
-				"F_CreateBy": 1421,
340
-				"F_CreatedOn": "2017-06-29 09:01:57",
341
-				"F_ModifyBy": 0,
342
-				"F_ModifiedOn": null,
343
-				"F_DeleteFlag": 0,
344
-				"F_StatusCode": 0,
345
-				"F_ServiceDept": null,
346
-				"F_ChargeName": null,
347
-				"F_ChargeTelephone": "",
348
-				"F_Province": null,
349
-				"F_ProductLine": null,
350
-				"F_ChargeDept": null,
351
-				"F_AfterSaleName": null,
352
-				"F_CustomerNature": null,
353
-				"F_CustomerClass": null,
354
-				"F_CustomerIndustry": null,
355
-				"F_RelationShipClass": null,
356
-				"F_CurrentVersion": null,
357
-				"F_SystemStartTime": null,
358
-				"F_QualityGuaranteeEndTime": null,
359
-				"F_AfterSaleTelephone": null,
360
-				"F_Notes": null,
361
-				"F_SystemType": null,
362
-				"F_City": null,
363
-				"F_CustomerStatus": null,
364
-				"F_DeviceCount": null,
365
-				"F_MaintenanceType": null,
366
-				"F_ERPCustomerCode": null,
367
-				"F_ServiceDeptID": null,
368
-				"F_ProductLineID": null,
369
-				"F_AfterSaleNameID": null,
370
-				"F_CustomerNatureID": null,
371
-				"F_CustomerClassID": null,
372
-				"F_RelationShipClassID": null,
373
-				"F_CityID": null,
374
-				"p_id": 5,
375
-				"n_id": "3305"
376
-			}
377
-		],
378
-		"total": 9
379
-	}

+ 206 - 0
CallCenterWeb.UI/login_new.html

@@ -0,0 +1,206 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+<head>
4
+    <meta charset="utf-8">
5
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
6
+    <title>登录</title>
7
+    <meta name="keywords">
8
+    <meta name="description">
9
+    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
10
+    <link rel="shortcut icon" href="img/32.ico" />
11
+    <script src="Script/Common/huayi.load.js"></script>
12
+    <script src="Script/Common/huayi.config.js"></script>
13
+    <link href="./css/login.css" rel="stylesheet">
14
+    <!--[if lt IE 9]>
15
+    <meta http-equiv="refresh" content="0;ie.html" />
16
+    <![endif]-->
17
+    <style>
18
+    	.signin_left{
19
+    		position: relative;
20
+    	}
21
+    	.left_word{
22
+    		position: absolute;
23
+    		height: 100%;
24
+    		width: 50%;
25
+    	}
26
+    	.left_word>div{
27
+    		    position: absolute;
28
+			    right: 0;
29
+			    bottom: 23%
30
+    		
31
+    	}
32
+    	
33
+    	.left_word>div h2 + p{
34
+			margin-top: 22.163%;
35
+			margin-bottom: 22.163%;
36
+			font-size: 18px;
37
+		}
38
+		.signin_left h3{
39
+			font-size: 24px;
40
+			color: #006967;
41
+			margin-bottom: 2.5%;
42
+		}
43
+		.signin_left h3 + p{
44
+			line-height: 30px;
45
+			font-size: 18px;
46
+		}
47
+    	
48
+    </style>
49
+    
50
+    
51
+</head>
52
+
53
+<body class="signin">
54
+    <div class="signin_bg row">
55
+        <div class="signin_bg_left col-md-5"></div>
56
+        <div class="signin_bg_mask"></div>
57
+           <div class="left_word">
58
+           	<div>
59
+           		  	 <h3>用心做,更出色</h3>
60
+                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
61
+           	</div>
62
+              
63
+                </div>
64
+    </div>
65
+    <div class="container">
66
+        <div class="row clearfix">
67
+            <div class="signin_left col-md-5">
68
+               <!--<h2>
69
+                   <i></i>
70
+                    <span>全客服平台</span>
71
+                </h2>-->
72
+                <!--<p>欢迎您进入全客服平台,开启智慧客服新篇章!</p>-->
73
+                <!--<div class="left_word">
74
+                	 <h3>用心做,更出色</h3>
75
+                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
76
+                </div>-->
77
+               
78
+            </div>
79
+            <div class="signin_right col-md-5">
80
+                <div class="signin_panel">
81
+                    <h1>安图生物登录平台</h1>
82
+                    <div class="signin_user">
83
+                        <i class="signin_icons"></i>
84
+                        <input class="form-control" type="text" placeholder="请输入您的管理账号" id="user" autofocus autocomplete="off">
85
+                        <i class="ts user_ts"></i>
86
+                    </div>
87
+                    <div class="signin_seat">
88
+                        <i class="signin_icons"></i>
89
+                        <input class="form-control" type="text" placeholder="请输入分机号" id="userSeat" autocomplete="off">
90
+                    </div>
91
+                    <div class="signin_password">
92
+                        <i class="signin_icons"></i>
93
+                        <input class="form-control" type="password" placeholder="请输入您的密码" id="password" autocomplete="off">
94
+                        <i class="ts password_ts"></i>
95
+                    </div>
96
+
97
+                    <div class="clearfix singin_rpassword">
98
+                        <div class="rpassword">
99
+                            <label for="rpassword">
100
+                                <input type="checkbox" id="rpassword">
101
+                                <span class="checkbox_icon"></span>
102
+                                记住密码
103
+                            </label>
104
+                        </div>
105
+                        <!--<div class="fpassword">
106
+                            <a href="#" title="忘记密码">忘记秘密?</a>
107
+                        </div>-->
108
+                    </div>
109
+                    <div class="btns" type="button">登录</div>
110
+                    <!--<div class="fregister">
111
+                        <span>还没有账号?</span>
112
+                        <a href="#" title="立即注册">立即注册&gt;&gt;</a>
113
+                    </div>-->
114
+                    <div class="signfooter">
115
+                        <p>COPYRIGHT 2011-2025 AMT</p>
116
+                    </div>
117
+                </div>
118
+
119
+            </div>
120
+        </div>
121
+    </div>
122
+    <script>
123
+        $(function () {
124
+            /*输入框样式改变*/
125
+            $("#user").focus(function () {
126
+                $(this).parent().addClass("_success");
127
+            });
128
+            $("#user").blur(function () {
129
+                $(this).parent().removeClass("_success");
130
+            });
131
+            $("#password").focus(function () {
132
+                $(this).parent().addClass("_success");
133
+            });
134
+            $("#password").blur(function () {
135
+                $(this).parent().removeClass("_success");
136
+            });
137
+
138
+            /*cook存储数据*/
139
+            if ($.cookie("username")) {
140
+                //取值如果存在则赋值
141
+                $("#user").val($.cookie("user"));//用户名
142
+            }
143
+
144
+            $(".btns").click(function () {
145
+                login();
146
+            });
147
+
148
+            $('input').bind('keypress', function (event) {
149
+                if (event.keyCode == "13") {
150
+                    $('.btns').trigger("click");
151
+                }
152
+            });
153
+
154
+        });
155
+        /*点击提交*/
156
+        function login() {
157
+            var User = $("#user").val();
158
+            var Password = $("#password").val();
159
+            var userSeat = $("#userSeat").val();
160
+            /*保存COOK*/
161
+            //$.cookie("user", $("#user").val(),{expires: 7,secure:true});
162
+            /*表单验证*/
163
+            if (User == "" || Password == "") {
164
+                $(".ts").addClass("Yz_error");
165
+                if ($("#user").val() == "") {
166
+                    $("#user").focus(function () {
167
+                        $(".user_ts").removeClass("Yz_error");
168
+                        $(".password_ts").removeClass("Yz_error");
169
+                        $(this).parent().addClass("_success");
170
+                    });
171
+                } else {
172
+                    $(".user_ts").addClass("Yz_success");
173
+                }
174
+            } else {
175
+                /*请求后台*/
176
+                $.ajax({
177
+                    type: "post",
178
+                    url: huayi.config.callcenter_url + "/Login/login",
179
+                    dataType: 'json',
180
+                    async: true,
181
+                    data: {
182
+                        username: User,
183
+                        extensionphone: userSeat,
184
+                        password: Password
185
+                    },
186
+                    success: function (data) {
187
+                        /*验证请求*/
188
+                        if (data.state == "success") {
189
+                            $.cookie("token", data.data.token, { expires: 7 });
190
+                            $.cookie("extno", userSeat, { expires: 7 });
191
+                            window.location.href = "index.html";
192
+                        } else {
193
+                            layer.msg("登录失败");
194
+                            $("#user").val('');
195
+                            $("#userSeat").val('');
196
+                            $("#password").val('');
197
+                        }
198
+                    }
199
+                });
200
+            }
201
+        }
202
+
203
+
204
+    </script>
205
+</body>
206
+</html>