Quellcode durchsuchen

通报列表展示修改,添加限制修改

liuzhen vor 5 Jahren
Ursprung
Commit
1bc716478c

+ 2 - 2
WebUI/CallCenterWeb.UI/Business/Notification_order.html

59
 							<th data-field="state" data-checkbox="true" data-align="center"></th>
59
 							<th data-field="state" data-checkbox="true" data-align="center"></th>
60
 							<!--<th data-align="center" data-field="F_WorkOrderId">工单编号</th>-->
60
 							<!--<th data-align="center" data-field="F_WorkOrderId">工单编号</th>-->
61
 							<th data-field="NoticeDeptName" data-align="center">通报部门</th>
61
 							<th data-field="NoticeDeptName" data-align="center">通报部门</th>
62
-							<th data-field="F_Title" data-align="center">标题</th>
62
+							<!--<th data-field="F_Title" data-align="center">标题</th>-->
63
 							<th data-field="F_NoticeInfo" data-align="center">通报原因</th>
63
 							<th data-field="F_NoticeInfo" data-align="center">通报原因</th>
64
 							<th data-field="F_Content" data-align="center">其他原因</th>
64
 							<th data-field="F_Content" data-align="center">其他原因</th>
65
-							<th data-field="F_Remark" data-align="center">备注</th>
65
+							<!--<th data-field="F_Remark" data-align="center">备注</th>-->
66
 						</tr>
66
 						</tr>
67
 					</thead>
67
 					</thead>
68
 				</table>
68
 				</table>

+ 9 - 6
WebUI/CallCenterWeb.UI/CommonHtml/addNotification.html

17
 			.orderType{
17
 			.orderType{
18
 				/*width: 196px;*/
18
 				/*width: 196px;*/
19
 				height: 35px;
19
 				height: 35px;
20
+				padding: 0;
20
 			}
21
 			}
21
 			ul li{
22
 			ul li{
22
 				list-style: none;
23
 				list-style: none;
241
 					function getOrderType() {
242
 					function getOrderType() {
242
 						$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
243
 						$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
243
 							"token": $.cookie("token"),
244
 							"token": $.cookie("token"),
244
-							pid: 62
245
+							pid: 69
245
 						}, function(result) {
246
 						}, function(result) {
246
 							result = $.parseJSON(result);
247
 							result = $.parseJSON(result);
247
 							var Count = result.data;
248
 							var Count = result.data;
251
 						});
252
 						});
252
 					}
253
 					}
253
 					$('.orderType').change(()=>{
254
 					$('.orderType').change(()=>{
254
-						if($('.orderType').val()==76){
255
+						if($('.orderType').val()==77){
255
 							$('.reasons').css('display','block')
256
 							$('.reasons').css('display','block')
256
 						}else{
257
 						}else{
257
 							$('.reasons').css('display','none')
258
 							$('.reasons').css('display','none')
267
 						var customertype=$('.orderType').val();
268
 						var customertype=$('.orderType').val();
268
 						var noticeinfo=$('.orderType option:selected').text();
269
 						var noticeinfo=$('.orderType option:selected').text();
269
 						if(customertype==0){
270
 						if(customertype==0){
270
-							customertype='';
271
-							noticeinfo=''
272
-						}else if(customertype==76 && !$('.other_reasons').val()){
271
+							layer.msg('请填写通报原因');
272
+							return
273
+//							customertype='';
274
+//							noticeinfo=''
275
+						}else if(customertype==77 && !$('.other_reasons').val()){
273
 							layer.msg('请填写其他原因')
276
 							layer.msg('请填写其他原因')
274
 							return
277
 							return
275
 						}
278
 						}
316
 							result = $.parseJSON(result);
319
 							result = $.parseJSON(result);
317
 							if(result.state.toLowerCase() == "success") {
320
 							if(result.state.toLowerCase() == "success") {
318
 								var con = result.data;
321
 								var con = result.data;
319
-								if(con.dModel.F_NoticeID==76){
322
+								if(con.dModel.F_NoticeID==77){
320
 									$('.reasons').css('display','block')
323
 									$('.reasons').css('display','block')
321
 								}else{
324
 								}else{
322
 									$('.reasons').css('display','none')
325
 									$('.reasons').css('display','none')

+ 4 - 2
WebUI/CallCenterWeb.UI/CommonHtml/lawsuits.html

131
 //                  	if($("input[name='checkbox']:checkbox:checked").length <= 0){
131
 //                  	if($("input[name='checkbox']:checkbox:checked").length <= 0){
132
 //                  		layer.msg("您没有选择通报单位。");
132
 //                  		layer.msg("您没有选择通报单位。");
133
 //                  	}else 
133
 //                  	}else 
134
-                    	if(!$(".orderType").val()){
134
+                    	if(!$(".orderType").val() || $('.orderType').val()==0){
135
                     		layer.msg("通报原因没有填写。");
135
                     		layer.msg("通报原因没有填写。");
136
+                    		return
136
                     	}else if ($(".orderType").val()==76&& !$('#reasons').val()){
137
                     	}else if ($(".orderType").val()==76&& !$('#reasons').val()){
137
-                    		layer.msg('其他通报原因没有填写')
138
+                    		layer.msg('其他通报原因没有填写');
139
+                    		return
138
                     	}else {
140
                     	}else {
139
 	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
141
 	                    	$("input[name='checkbox']:checkbox:checked").each(function(){
140
 								bulletinUnits += $(this).val() + ','; 
142
 								bulletinUnits += $(this).val() + ',';