@@ -64,8 +67,25 @@
});
}
-
-
+
+ function update(){
+ var data = grid.getSelected();
+ if(!data){
+ aos.alert('请选择一条数据。');
+ return;
+ }
+ var param = {}
+ param['id'] = data.id;
+ param['account'] = data.account;
+ param['mobile1'] = data.mobile1;
+ param['mobile2'] = data.mobile2;
+ param['cname'] = data.cname;
+ param['pageState'] = 'editnew';
+ aos.showWindow('canvas/rush/accountupdate', param, '300px', '300px', '鸿联账号修改', function(rtnValue){
+ grid.reload();
+
+ });
+ }
diff --git a/src/rush/TaskAuthJob.java b/src/rush/TaskAuthJob.java
index f9ccc1a..391ff4c 100644
--- a/src/rush/TaskAuthJob.java
+++ b/src/rush/TaskAuthJob.java
@@ -17,7 +17,7 @@ import java.util.Map.Entry;
*
* 2018年11月26日 新
*/
-@Job("0 16 09 * * ?")
+@Job("0 21 16 * * ?")
public class TaskAuthJob extends BaseJob{
diff --git a/src/rush/TelAccountAction.java b/src/rush/TelAccountAction.java
index 43a52ff..63d5f46 100644
--- a/src/rush/TelAccountAction.java
+++ b/src/rush/TelAccountAction.java
@@ -112,6 +112,13 @@ public class TelAccountAction {
}
}
+ @Request.Get("update")
+ @Request.Post("update")
+ public void update(Params params){
+ DbHelper.getDbService().updateById("telaccount.update", params);
+ }
+
+
// 删除操作
@Request.Get("delete")
@Request.Post("delete")
@@ -128,6 +135,27 @@ public class TelAccountAction {
params.put("create_date", create_date);
DbHelper.getDbService().updateById("telaccount.savetel", params);
}
+
+
+
+ //打电话之前会进行判断
+ @Request.Get("check")
+ @Request.Post("check")
+ public String check (Params params){
+ String mobile=params.getString("mobile").replaceAll("\\s*|\r|\n|\t","");
+ List