Explorar el Código

注解及上传图片添加

liuzhen %!s(int64=5) %!d(string=hace) años
padre
commit
e47b277085

+ 1 - 1
CallCenterWeb.UI/WorkOrder/WorkOrderParty.html

87
 							
87
 							
88
 							<th data-field="CreateName" data-align="center">创建人</th>
88
 							<th data-field="CreateName" data-align="center">创建人</th>
89
 							<!-- <th data-field="F_UpdateCount" data-align="center">创建时间</th> -->
89
 							<!-- <th data-field="F_UpdateCount" data-align="center">创建时间</th> -->
90
-							<!-- <th data-field="WorkOrderID" data-class="workOprate workOprate5" data-formatter="formatterOprateParty" data-align="center">操作工单</th> -->
90
+							<th data-field="WorkOrderID" data-class="workOprate workOprate5" data-formatter="formatterOprateParty" data-align="center">操作工单</th> 
91
 						</tr>
91
 						</tr>
92
 					</thead>
92
 					</thead>
93
 				</table>
93
 				</table>

+ 3 - 6
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

16
 });
16
 });
17
 //**所有input去掉自动填充
17
 //**所有input去掉自动填充
18
 $(function() {   
18
 $(function() {   
19
-	if($.cookie("userRoleCode") == "DQJL" || $.cookie("userRoleCode") == "FGSJL" ) {
20
-		$(".codeDiv").remove();
21
-		$("#save_vsv").hide();
22
-		$("#save_order").show();
23
-	}else if($.cookie("userRoleCode") == "YWY"){
19
+	if($.cookie("userRoleCode") == "DQJL" || $.cookie("userRoleCode") == "FGSJL" || $.cookie("userRoleCode") == "YWY") {
20
+//		$(".codeDiv").remove();
24
 		$('.salesman_order').remove();
21
 		$('.salesman_order').remove();
25
 		$("#save_vsv").hide();
22
 		$("#save_vsv").hide();
26
 		$("#save_order").show();
23
 		$("#save_order").show();
27
-	} 
24
+	}
28
 	$('input:not([autocomplete]),textarea:not([autocomplete]),select:not([autocomplete])').attr('autocomplete', 'off'); 
25
 	$('input:not([autocomplete]),textarea:not([autocomplete]),select:not([autocomplete])').attr('autocomplete', 'off'); 
29
 });
26
 });
30
 // 立即处理
27
 // 立即处理

+ 2 - 0
CallCenterWeb.UI/js/WorkOrder/WorkOrder.js

450
 	}else{
450
 	}else{
451
 		return '<ul class="tool_downs">' +
451
 		return '<ul class="tool_downs">' +
452
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.ID + '" onclick="btn_edit(\'' + row.F_ID + '\')" title="修改">修改</a></li>' +
452
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.ID + '" onclick="btn_edit(\'' + row.F_ID + '\')" title="修改">修改</a></li>' +
453
+		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_back_' + row.ID + '" onclick="btn_zhuei(\'' + row.F_ID + '\')" title="注解">注解</a></li>' +
453
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.ID + '" onclick="btn_delete(\'' + row.F_ID + '\')" title="删除">删除</a></li>' +
454
 		'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.ID + '" onclick="btn_delete(\'' + row.F_ID + '\')" title="删除">删除</a></li>' +
454
 		'</ul>';
455
 		'</ul>';
455
 	}
456
 	}
553
 //格式化操作 (已处理)
554
 //格式化操作 (已处理)
554
 function formatterOprateParty(val, row) {
555
 function formatterOprateParty(val, row) {
555
 	return '<ul class="tool_downs">' +
556
 	return '<ul class="tool_downs">' +
557
+			'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_back_' + row.ID + '" onclick="btn_zhuei(\'' + row.F_ID + '\')" title="注解">注解</a></li>' +
556
 		// '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.ID + '" onclick="btn_delete(\'' + row.ID + '\')" title="删除">删除</a></li>' +
558
 		// '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.ID + '" onclick="btn_delete(\'' + row.ID + '\')" title="删除">删除</a></li>' +
557
 		// '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_comment_' + row.ID + '" onclick="btn_comment(\'' + val + '\')" title="评论">评论</a></li>' +
559
 		// '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_comment_' + row.ID + '" onclick="btn_comment(\'' + val + '\')" title="评论">评论</a></li>' +
558
 		'</ul>';
560
 		'</ul>';

+ 5 - 1
WeChat/client-side/details.html

975
 							} else if(itype == 5) {
975
 							} else if(itype == 5) {
976
 								$(".dispose2").hide();
976
 								$(".dispose2").hide();
977
 							} else if(itype == 10) {
977
 							} else if(itype == 10) {
978
-								if(UserType == 2) {
978
+								if(UserType == 2 ) {
979
 									$(".dispose1").hide();
979
 									$(".dispose1").hide();
980
 									$(".dispose2").show();
980
 									$(".dispose2").show();
981
+								}else if(UserType == 3){
982
+									$(".type1").show();
983
+									$(".dispose1").show();
984
+									$(".shenpi").remove();
981
 								}
985
 								}
982
 							} else if(itype == 12) {
986
 							} else if(itype == 12) {
983
 								$(".dispose2").show();
987
 								$(".dispose2").show();