Sfoglia il codice sorgente

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

liuzhen 5 anni fa
parent
commit
1bc716478c

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

@@ -59,10 +59,10 @@
59 59
 							<th data-field="state" data-checkbox="true" data-align="center"></th>
60 60
 							<!--<th data-align="center" data-field="F_WorkOrderId">工单编号</th>-->
61 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 63
 							<th data-field="F_NoticeInfo" data-align="center">通报原因</th>
64 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 66
 						</tr>
67 67
 					</thead>
68 68
 				</table>

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

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

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

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