Commit 99f3f892 by caojingji

调整伴随任务发送模块功能的bug

parent 5c2bb50c
......@@ -74,9 +74,7 @@ public class TrackTogetherServiceImpl implements TrackTogetherService {
+ "&taskCaseId=" + trackParam.getTaskCaseId()
+ "&startTime=" + trackParam.getStartTime().getTime()
+ "&endTime=" + trackParam.getEndTime().getTime();
System.out.println("url ================" + url);
taskId = HttpUtil.getWaData(url);
System.out.println("taskId ===============" +taskId);
}
return taskId;
}catch (Exception e){
......
......@@ -26,9 +26,13 @@ public class HttpUtil {
* @param url
* @return
*/
public static String getWaData(String url){
public static String getWaData(String url){
String result = HttpUtil.doGet(url);
System.out.println("result =============== " + result);
int i = 0;
while(i < 3 && (!result.startsWith("{") || StringUtil.ckeckEmpty(result))){
result = HttpUtil.doGet(url);
i++;
}
return result;
}
......
$(function(){
$("#bkdxlx").combobox({
$("#objectType").combobox({
onChange: function (lx,o) {
var validStr="";
if(lx=="3996"){//手机号码
......@@ -11,7 +11,7 @@ $(function(){
validStr=['cphm'];
}
if(validStr!=""){
$("#bkdxhm").textbox({
$("#objectValue").textbox({
required: true,
validType:validStr
});
......@@ -22,7 +22,7 @@ $(function(){
});
function doClear(){
$("#bkdxlx").combobox('setValue',"");
$("#objectType").combobox('setValue',"");
//$("#bkdxhm").textbox('setValue',"");
$("#objectValue").textbox('setValue',"");
$("#taskName").textbox('setValue',"");
......@@ -30,13 +30,13 @@ function doClear(){
$("#datepicker2").val('');
}
function submit() {
var bkdxlxmc=$('#bkdxlx').combobox('getText');//获取下拉框的文本
var bkdxlxmc=$('#objectType').combobox('getText');//获取下拉框的文本
$('#bkdxlxmc').val(bkdxlxmc);
var bkdxlx=$("#bkdxlx").combobox('getValue');
$("#bkdxlx").combobox({
var objectType=$("#objectType").combobox('getValue');
$("#objectType").combobox({
required: true
});
$("#bkdxlx").combobox('setValue',bkdxlx);
$("#objectType").combobox('setValue',objectType);
var fsrjh = $("#fsrjh").val();
var fsrIdentity = $("#fsrIdentity").val();
var taskCaseId = $("#taskCaseId").val();
......
......@@ -53,7 +53,7 @@
<td class="ar" width="13.3%">标识号类型:</td>
<td width="20%">
<span class="textbox" style="border:none;">
<select name = "bkdxlx" id="bkdxlx" class="easyui-combobox" data-options="panelHeight:'auto'" style="height:26px;">
<select name = "objectType" id="objectType" class="easyui-combobox" data-options="panelHeight:'auto'" style="height:26px;">
<option value=""></option>
<option value="3996">手机号码</option>
<option value="4314"> IMSI</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment