Просмотр исходного кода

知识库附件调大显示 客户管理整理代码

jinquanwu лет назад: 6
Родитель
Сommit
c80d34bad4

+ 1 - 1
CallCenterWeb.UI/commonTpl/cusDetails.html

@@ -117,7 +117,7 @@
117 117
 							<span id="customer_RegisteredAddress"></span>
118 118
 						</li> -->
119 119
 						<li class="col-md-12 col-sm-12">
120
-							<label for="customer_address">联系地址:</label>
120
+							<label for="customer_address">客户地址:</label>
121 121
 							<span id="customer_address"></span>
122 122
 						</li>
123 123
 						<!-- <li class="col-md-12 col-sm-12">

+ 3 - 57
CallCenterWeb.UI/keHuManager/customerInfo.html

@@ -34,35 +34,10 @@
34 34
 			<div class="toolBox clearfix">
35 35
 				<div class="pull-left">
36 36
 					<div class="form-inline">
37
-<!-- 						<div class="time-box form-group">
38
-							<i class="tub fa fa-calendar"></i>
39
-							<input class="form-control search_time" type="text" id="sc_time" placeholder="请选择起止时间">
40
-						</div> 
41
-						<div class="form-group">
42
-							<select class="form-control selectpicker" id="sc_subtrade" data-live-search="true">
43
-								<option value="">请选择所属行业</option>
44
-							</select>
45
-						</div>
46
-						<div class="form-group">
47
-							<select class="form-control selectpicker" id="sc_layer" data-live-search="true">
48
-								<option value="">请选择客户信誉等级</option>
49
-							</select>
50
-						</div>-->
51
-						<!-- <div class="form-group">
52
-							<input type="text" class="form-control" id="sc_subtrade" placeholder="请输入所属行业" />
53
-						</div> -->
54
-						<!-- <div class="form-group">
55
-							<input type="text" class="form-control" id="sc_layer" placeholder="请输入客户信誉等级" />
56
-						</div> -->
57
-						<!-- <div class="form-group">
58
-							<input type="text" class="form-control" id="sc_key" placeholder="请输入关键词" />
59
-						</div> -->
60 37
 						<div class="form-group">
61 38
 							<input type="text" class="form-control" id="sc_code" placeholder="请输入客户编号" />
62 39
 						</div>
63
-						<!-- <div class="form-group">
64
-							<input type="text" class="form-control" id="sc_cmpname" placeholder="请输入公司名称" />
65
-						</div> -->
40
+						
66 41
 						<div class="form-group">
67 42
 							<input type="text" class="form-control" id="sc_legname" placeholder="请输入客户姓名" />
68 43
 						</div>
@@ -72,24 +47,7 @@
72 47
 						<div class="form-group">
73 48
 							<input type="text" class="form-control" id="sc_compaddress" placeholder="请输入客户地址" />
74 49
 						</div>
75
-						<!-- <div class="form-group">
76
-							<input type="text" class="form-control" id="sc_bedept" placeholder="请输入客户归属部门" />
77
-						</div> -->
78
-						<!-- <div class="form-group">
79
-							<input type="text" class="form-control" id="sc_berelacc" placeholder="请输入归属涉税会计" />
80
-						</div> -->
81
-						<!-- <div class="form-group">
82
-							<input type="text" class="form-control" id="sc_beaudacc" placeholder="请输入归属审核会计" />
83
-						</div>
84
-						<div class="form-group">
85
-							<input type="text" class="form-control" id="sc_bemakeacc" placeholder="请输入归属做账会计" />
86
-						</div>
87
-						<div class="form-group">
88
-							<input type="text" class="form-control" id="sc_conname" placeholder="请输入联系人姓名" />
89
-						</div>
90
-						<div class="form-group">
91
-							<input type="text" class="form-control" id="sc_contel" placeholder="请输入联系人电话" />
92
-						</div> -->
50
+						
93 51
 					</div>
94 52
 				</div>
95 53
 
@@ -110,19 +68,7 @@
110 68
 							<!-- <th data-field="F_KeyWords" data-align="center">关键词</th> -->
111 69
 							<th data-field="F_LegalName" data-align="center">客户姓名</th>
112 70
 							<th data-field="F_LegalTel" data-align="center">客户电话</th>
113
-							<th data-field="F_Address" data-align="center">客户地址</th>
114
-							<!-- <th data-field="F_LegalName" data-align="center">法人姓名</th> -->
115
-							<!-- <th data-field="F_LegalTel" data-align="center">法人电话</th> -->
116
-							<!-- <th data-field="F_SubTrade" data-align="center">所属行业</th> -->
117
-							<!-- <th data-field="F_TaxCategory" data-align="center">税务类别</th> -->
118
-							<!-- <th data-field="F_TaxPointDes" data-align="center">税点描述</th> -->
119
-							<!-- <th data-field="F_InvoiceRange" data-align="center">开票范围</th> -->
120
-							<!-- <th data-field="F_Layer" data-align="center">客户信誉等级</th> -->
121
-							<!-- <th data-field="F_BeDeptName" data-align="center">客户归属部门</th> -->
122
-							<!-- <th data-field="F_BeRelatedAcc" data-align="center">客户归属涉税会计</th> -->
123
-							<!-- <th data-field="F_BeAuditAcc" data-align="center">客户归属审核会计</th> -->
124
-							<!-- <th data-field="F_BeMakeAcc" data-align="center">客户归属做账会计</th> -->
125
-							<!-- <th data-field="ContactList" data-align="center">联系人信息</th> -->
71
+							<th data-field="F_CompanyAddress" data-align="center">客户地址</th>
126 72
 							<th data-field="F_CustomerId" data-formatter="formatterOprate" data-align="center">操作</th>
127 73
 						</tr>
128 74
 					</thead>

+ 22 - 44
CallCenterWeb.UI/keHuManager/js/cusDetails.js

@@ -9,19 +9,19 @@ $(document).ready(function() {
9 9
 	var edit_id = helper.request.queryString("edit_id");
10 10
 	if (edit_id) {
11 11
 		getCustomer(edit_id); //获取客户信息
12
-		getTaxDetail(edit_id).then(function(data){
13
-			if($.cookie("userRoleId") == '17' || $.cookie("userRoleId") == '57' ){
14
-				$('.hide_btn').show();$('.hide_btnd').show();
15
-				$('#btn_editTax').show();
16
-			}
17
-			//监管
18
-			if($.cookie("userRoleId") == '54'){
19
-				$('.hide_btn').show();$('.hide_btnd').hide();
20
-				$('#btn_editTax').show();
21
-			}
22
-			taxCusFinId = data.F_CusFinId;// 财税信息自增id
23
-			taxCustomerId = data.F_CustomerId;// 客户id
24
-		}); //获取财税情况
12
+		// getTaxDetail(edit_id).then(function(data){
13
+		// 	if($.cookie("userRoleId") == '17' || $.cookie("userRoleId") == '57' ){
14
+		// 		$('.hide_btn').show();$('.hide_btnd').show();
15
+		// 		$('#btn_editTax').show();
16
+		// 	}
17
+		// 	//监管
18
+		// 	if($.cookie("userRoleId") == '54'){
19
+		// 		$('.hide_btn').show();$('.hide_btnd').hide();
20
+		// 		$('#btn_editTax').show();
21
+		// 	}
22
+		// 	taxCusFinId = data.F_CusFinId;// 财税信息自增id
23
+		// 	taxCustomerId = data.F_CustomerId;// 客户id
24
+		// }); //获取财税情况
25 25
 	}
26 26
 });
27 27
 
@@ -37,40 +37,18 @@ function getCustomer(ids) {
37 37
 			if (cusBase) {
38 38
 				$('#customer_key').text(cusBase.F_KeyWords); //string 关键词	
39 39
 				$('#customer_code').text(cusBase.F_CustomerCode); //string 客户编号
40
-				$('#customer_companyname').text(cusBase.F_CompanyName); //string 公司名称
41
-				$('#customer_comaddress').text(cusBase.F_CompanyAddress); //string 公司地址
42
-				$('#customer_legalName').text(cusBase.F_LegalName); //string 法人姓名
43
-				if(cusBase.F_LegalTel){
44
-					$('#customer_lehalTel').html('<a href="jvascript:;" onclick="calloutopt('+ cusBase.F_LegalTel +')">'+ helper.filter.cutTel(cusBase.F_LegalTel) +'<img src="../img/Phones.png" alt="phone" /></a>'); //string 法人电话
45
-				}
46
-				$('#customer_subtrade').text(cusBase.F_SubTrade); // int 所属行业
47
-				$('#customer_taxCategory').text(cusBase.F_TaxCategory); // int 税务类别
48
-				$('#customer_invoiceRange').text(cusBase.F_InvoiceRange); //string 开票范围
49
-				$('#customer_taxPointDes').text(cusBase.F_TaxPointDes); //string 税点描述
50
-				$('#customer_layer').text(cusBase.F_Layer); // int 客户信誉等级
51
-				$('#customer_berelatedAcc').text(cusBase.F_BeRelatedAcc); //string 客户归属涉税会计
52
-				$('#customer_beauditAcc').text(cusBase.F_BeAuditAcc); //string 客户归属审核会计
53
-				$('#customer_bemakeAcc').text(cusBase.F_BeMakeAcc); //string 客户归属做账会计
40
+				$('#customer_companyname').text(cusBase.F_CompanyName); //string 名称
41
+				$('#customer_address').text(cusBase.F_CompanyAddress); //string 地址
42
+				$('#customer_legalName').text(cusBase.F_LegalName); //string 姓名  F_LegalTel
43
+		        $('#customer_lehalTel').text(cusBase.F_LegalTel); //string 姓名  
44
+				
45
+				
54 46
 				
55
-				$('#customer_RegisteredAddress').text(cusBase.F_RegisteredAddress); // string 注册地址
56
-				$('#customer_LegalIDCards').text(cusBase.F_LegalIDCards); // string 法人身份证
57
-				$('#customer_Qualification').text(cusBase.F_Qualification); // string 企业资质荣誉
58
-				$('#customer_FinancialManager').text(cusBase.F_FinancialManager); // string 客户公司财务负责人
59
-				$('#customer_BusinessOwner').text(cusBase.F_BusinessOwner); // string 客户归属业务负责人
60
-				$('#customer_Remark1').text(cusBase.F_Remark1); // string 备注1(输入框即可)
61
-				$('#customer_Remark2').text(cusBase.F_Remark2); // string 备注2(输入框即可)
62
-				$('#customer_Remark3').text(cusBase.F_Remark3); // string 备注3(输入框即可)
63 47
 
64
-				$('#customer_service').text(cusBase.F_CusService); // string 客服
65
-				$('#customer_handoverDate').text(cusBase.F_HandoverDate); // string 交接日期
66
-				$('#customer_feeExpires').text(cusBase.F_FeeExpires && cusBase.F_FeeExpires.split(' ')[0]); // datetime	代理费到期日期
67 48
 				
68
-				$('#customer_isbankSlips').text(cusBase.F_ISBankSlips ? '是' : '否'); // string 是否需要去银行拿回单(一般纳税人)
69
-				$('#customer_address').text(cusBase.F_Address); // string 联系地址
70
-				$('#customer_address1').text(cusBase.F_Address); // string 联系地址1
71
-				$('#customer_address2').text(cusBase.F_Address1); // string 联系地址2
72
-				$('#customer_address3').text(cusBase.F_Address2); // string 联系地址3
73
-				$('#customer_address4').text(cusBase.F_Address3); // string 联系地址4
49
+				
50
+				
51
+				
74 52
 				
75 53
 			}
76 54
 			var cusLists = data.data && data.data.ContactList;

+ 8 - 1
CallCenterWeb.UI/zhiShiKu/css/zhishiku.css

@@ -193,7 +193,7 @@
193 193
 	display: block;
194 194
 	position: absolute;
195 195
 	right: 0;
196
-	bottom: 0;
196
+	bottom: 7px;
197 197
 	width: 0;
198 198
 	height: 0;
199 199
 	border-bottom: 40px solid #01b2fe;
@@ -222,8 +222,15 @@
222 222
 	text-align: center;
223 223
 	color: #1aaad0;
224 224
 }
225
+.noThumb p{
226
+	text-align: center;
227
+	position: absolute;
228
+	/* margin-left: 25px; */
229
+	left: 50px;
230
+}
225 231
 
226 232
 .glyphicon.glyphicon-paperclip {
227 233
 	font-size: 80px;
234
+	left: 25px;
228 235
 	text-align: center;
229 236
 }

+ 1 - 1
CallCenterWeb.UI/zhiShiKu/js/zhiShiKuManger.js

@@ -181,7 +181,7 @@ $('.change').click(function() {
181 181
 		moveType: 1, //拖拽类型 默认的拖拽风格正如你所见到的,会有个过度的透明框。但是如果你不喜欢,你可以设定moveType: 1切换到传统的拖拽模式
182 182
 		moveOut: false, //拖拽到窗口外
183 183
 		//resize: true,//是否允许拉伸
184
-		area: ['70%', '50%'],
184
+		area: ['70%', '80%'],
185 185
 		content: "template/addOrEditKnowledge.html?edit_id=" + changes
186 186
 	});
187 187
 });