|
|
@@ -231,6 +231,7 @@
|
|
231
|
231
|
<script src="../js/WorkOrder/WorkOrderList.js"></script>
|
|
232
|
232
|
|
|
233
|
233
|
<script>
|
|
|
234
|
+ var exportParams;
|
|
234
|
235
|
var table = $("#table1"); //右边表格
|
|
235
|
236
|
var orderTable = $("#workorder"); //右边表格
|
|
236
|
237
|
var selectThemeId = '';
|
|
|
@@ -491,39 +492,8 @@
|
|
491
|
492
|
});
|
|
492
|
493
|
|
|
493
|
494
|
$('#exportOrder').click(function() {
|
|
494
|
|
-// $.getJSON(
|
|
495
|
|
-// huayi.config.callcenter_url + "SamplePool/GetSampleList", {
|
|
496
|
|
-// token: $.cookie("token"),
|
|
497
|
|
-// workid: $('#orderId').val(),
|
|
498
|
|
-// ComContent: $('#orderContent').val(),
|
|
499
|
|
-// classification: $('#orderClass').val(),
|
|
500
|
|
-// istypical: $('#orderRep').val(),
|
|
501
|
|
-// isdc: 1,
|
|
502
|
|
-//
|
|
503
|
|
-// specialid: selectThemeId,
|
|
504
|
|
-// },
|
|
505
|
|
-// function(result) {
|
|
506
|
|
-//
|
|
507
|
|
-// }
|
|
508
|
|
-// );
|
|
509
|
|
-
|
|
510
|
|
- var url =
|
|
511
|
|
- huayi.config.callcenter_url +
|
|
512
|
|
- "SamplePool/GetSampleList?token=" +
|
|
513
|
|
- $.cookie("token") +
|
|
514
|
|
- "&isdc=1";
|
|
515
|
|
- url +=
|
|
516
|
|
- "&workid=" +
|
|
517
|
|
- $('#orderId').val() +
|
|
518
|
|
- "&ComContent=" +
|
|
519
|
|
- $('#orderContent').val() +
|
|
520
|
|
- "&classification=" +
|
|
521
|
|
- $('#orderClass').val() +
|
|
522
|
|
- "&istypical=" +
|
|
523
|
|
- $('#orderRep').val() +
|
|
524
|
|
- "&specialid=" +
|
|
525
|
|
- $('#orderRep').val();
|
|
526
|
|
- window.location.href = url;
|
|
|
495
|
+ exportParams.isdc = 1;
|
|
|
496
|
+ exportFileFun("SamplePool/GetSampleList", exportParams)
|
|
527
|
497
|
})
|
|
528
|
498
|
|
|
529
|
499
|
$('#searchOrder').click(function() {
|
|
|
@@ -813,6 +783,7 @@
|
|
813
|
783
|
specialid: id,
|
|
814
|
784
|
|
|
815
|
785
|
};
|
|
|
786
|
+ exportParams = param
|
|
816
|
787
|
return param;
|
|
817
|
788
|
},
|
|
818
|
789
|
onLoadSuccess: function() {
|