Commit bcc725e2 authored by 赵啸非's avatar 赵啸非

修改自动考核

parent bb990564
......@@ -51,7 +51,10 @@ export const encodeURI = (data) => {
* @returns {string} val 解析后的结果
*/
export function formatterDate(time) {
console.log(time)
console.log("time",time)
if(time==='undefined'||time===null) {
return '--'}
if (!time) return '--';
let date = new Date(Number(time));
let Y = date.getFullYear() + '-';
......
......@@ -45,9 +45,7 @@
</el-row>
<el-row>
<el-col :span="10"
>实际打卡时间:{{
formatterDate(form.actualAttendTime)
}}</el-col
>实际打卡时间:{{formatterDate(form.actualAttendTime)}}</el-col
>
<el-col :span="9"
>异常结果:{{
......
......@@ -71,6 +71,9 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
req.setAgentId(agentId);
req.setUseridList(workMsgReq.getUseridList());
req.setMsg(JSON.toJSONString(workMsgReq.getMsg()));
workMsgReq.getMsg().getLink().setPicUrl("http://www.baidu.com");
log.info("sendWorkMsg:{}", JSON.toJSONString(workMsgReq));
OapiMessageCorpconversationAsyncsendV2Response rsp = client.execute(req, getToken());
log.info("OapiMessageResponse:{}", rsp.getBody());
......
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