import * as welink from "welink";const client = welink.newClient();let data = { "taskId": "202008fangiia3", "taskTitle": "周五上午请假", "userId": "xxxxxxxxxx1", "userNameCn": "lisi", "userNameEn": "李四", "detailsUrl": "https://xxx/url1", "detailsUrlPc": "https://xxx/url2", "appName": "请假", "applicantUserId": "xxxxxxxxxx2", "applicantUserNameCn": "张三", "applicantUserNameEn": "zhangsan", "isMsg": 1, "isShowApplicantUserName": true, "applicantId": "202008fangjia1", "businessCode": "202101111556shenpibianma"}let result = client.task.delTask("202008fangiia3"); Copy
import * as welink from "welink";const client = welink.newClient();let data = { "taskId": "202008fangiia3", "taskTitle": "周五上午请假", "userId": "xxxxxxxxxx1", "userNameCn": "lisi", "userNameEn": "李四", "detailsUrl": "https://xxx/url1", "detailsUrlPc": "https://xxx/url2", "appName": "请假", "applicantUserId": "xxxxxxxxxx2", "applicantUserNameCn": "张三", "applicantUserNameEn": "zhangsan", "isMsg": 1, "isShowApplicantUserName": true, "applicantId": "202008fangjia1", "businessCode": "202101111556shenpibianma"}let result = client.task.delTask("202008fangiia3");
Example