liuyifan %!s(int64=5) %!d(string=před) roky
rodič
revize
67f3c5ed04

+ 18 - 0
CallCenterWeb.UI/.project

@@ -105,5 +105,23 @@
105 105
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
106 106
 			</matcher>
107 107
 		</filter>
108
+		<filter>
109
+			<id>1589250229656</id>
110
+			<name></name>
111
+			<type>26</type>
112
+			<matcher>
113
+				<id>org.eclipse.ui.ide.multiFilter</id>
114
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
115
+			</matcher>
116
+		</filter>
117
+		<filter>
118
+			<id>1589275565983</id>
119
+			<name></name>
120
+			<type>26</type>
121
+			<matcher>
122
+				<id>org.eclipse.ui.ide.multiFilter</id>
123
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
124
+			</matcher>
125
+		</filter>
108 126
 	</filteredResources>
109 127
 </projectDescription>

+ 7 - 2
CallCenterWeb.UI/ReportForm/repeatComplaintForm.html

@@ -72,6 +72,9 @@
72 72
 							<i class="tub fa fa-calendar"></i>
73 73
 							<input class="form-control" type="text" id="startTime" placeholder="请选择时间" style="width: 228px;">
74 74
 						</div>
75
+						<div class="form-group">
76
+							<input class="form-control" type="text" id="searchKeywords" placeholder="请输入关键字">
77
+						</div>
75 78
 						<div class="form-group tool_bars pull-right">
76 79
 							<button class="btns sear">搜索</button>
77 80
 							<a class="btns export">导出</a>
@@ -123,9 +126,10 @@
123 126
 			});
124 127
 
125 128
 			function dcexcel(obj) {
126
-				var isExport = 1;
129
+				var isExport = 2;
130
+				var keywords = $("#searchKeywords").val();//关键字
127 131
 				var url = huayi.config.callcenter_url + "WorkOrder/GetList?token=" + token;
128
-				url += "&starttime=" + stime + "&endtime=" + endtime + "&istime=" + isTime + "&isdc=" + isExport + "&duplicate=" + 1;
132
+				url += "&starttime=" + stime + "&endtime=" + endtime + "&istime=" + isTime + "&isdc=" + isExport + "&duplicate=" + 1 + "&keywords=" + keywords;
129 133
 				window.location.href = url;
130 134
 			}
131 135
 			//按回车搜索
@@ -157,6 +161,7 @@
157 161
 							token: token,
158 162
 							duplicate: 1,
159 163
 							istime: $("#isTime").val(),
164
+							keywords: $("#searchKeywords").val(),//关键字
160 165
 							isdc: 0,
161 166
 						}, 
162 167
 						request: {

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

@@ -752,7 +752,6 @@ function getProductFactory() {
752 752
     $("#searchManufacturerDataList").append('<option value="不清"></option>');
753 753
     $.getJSON(huayi.config.callcenter_url + "EquipmentNumber/GetList", {
754 754
         "token": $.cookie("token"),
755
-        keywords: "",
756 755
         pageindex: "1",
757 756
         pagesize: "200",
758 757
     }, function (data) {
@@ -1110,9 +1109,9 @@ function dcexcel(state, isdc, CJ, reduction) {
1110 1109
 	var code = $("#searchCode").val(); //工单编号
1111 1110
 	var area = $("#searchRegionId").val(); //大区
1112 1111
 	var office = $("#searchOfficeId").val(); //办事处
1113
-	// var officeName = $("#searchOfficeName").val(); //办事处
1114 1112
 	var starttime = $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[0]; //开始时间
1115 1113
 	var endtime = $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[1]; //结束时间
1114
+	var keywords = $("#searchKeywords").val();//关键字
1116 1115
 	var productType = $("#searchProductType").val(); //产品代码
1117 1116
 	var productName = $("#searchProductName").val(); //产品名称
1118 1117
 	var productDate = $("#searchProductDate").val(); //生产日期
@@ -1125,8 +1124,7 @@ function dcexcel(state, isdc, CJ, reduction) {
1125 1124
 	var reminder = $("#searchReminder").val(); //是否催单
1126 1125
 
1127 1126
 	var url = huayi.config.callcenter_url + "WorkOrder/GetList?token=" + token;
1128
-	url += "&state=" + state + "&code=" + code + "&area=" + area + "&office=" + office + "&starttime=" + starttime
1129
-	+ "&endtime=" + endtime + "&productType=" + productType +"&productName=" + productName + "&productDate=" + productDate + "&batchNumber=" + batchNumber
1127
+	url += "&state=" + state + "&code=" + code + "&area=" + area + "&office=" + office + "&starttime=" + starttime + "&endtime=" + endtime + "&keywords=" + keywords + "&productType=" + productType +"&productName=" + productName + "&productDate=" + productDate + "&batchNumber=" + batchNumber
1130 1128
 	+ "&manufacturer=" + manufacturer + "&problemCode=" + problemCode 
1131 1129
 	+ "&type=" + type + "&dealTimely=" + dealTimely + "&see=" + see + "&isdc=" + isdc + "&CJ=" + CJ + "&IsReduction=" + reduction + "&reminder=" + reminder;
1132 1130
 	window.location.href = url;