{"version":3,"sources":["webpack:///./src/api/taskInUser.js"],"names":["getExecutionSkipLog","_ref","data","params","store","Promise","resolve","requestApi","api","method","then","res","rs","dynamicDispatcher","getExecutionById","_ref2","postExecution","_ref3","getTaskUsers","_ref4","postShareData","_ref6","getTaskPinnedUsers","_ref7"],"mappings":"oWAGaA,EAAsB,SAAHC,GAAgC,IAA1BC,EAAID,EAAJC,KAAMC,EAAMF,EAANE,OAAQC,EAAKH,EAALG,MAClD,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,iCACLC,OAAQ,MACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ,UAMHQ,EAAmB,SAAHC,GAAgC,IAA1Bb,EAAIa,EAAJb,KAAMC,EAAMY,EAANZ,OAAQC,EAAKW,EAALX,MAC/C,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,8BACLC,OAAQ,MACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ,UAMHU,EAAgB,SAAHC,GAAgC,IAA1Bf,EAAIe,EAAJf,KAAMC,EAAMc,EAANd,OAAQC,EAAKa,EAALb,MAC5C,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,2BACLC,OAAQ,OACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ,UAMHY,EAAe,SAAHC,GAAgC,IAA1BjB,EAAIiB,EAAJjB,KAAMC,EAAMgB,EAANhB,OAAQC,EAAKe,EAALf,MAC3C,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,8BACLC,OAAQ,MACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ,UA4BHc,EAAgB,SAAHC,GAAgC,IAA1BnB,EAAImB,EAAJnB,KAAMC,EAAMkB,EAANlB,OAAQC,EAAKiB,EAALjB,MAC5C,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,2BACLC,OAAQ,OACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ,UAMHgB,EAAqB,SAAHC,GAAgC,IAA1BrB,EAAIqB,EAAJrB,KAAMC,EAAMoB,EAANpB,OAAQC,EAAKmB,EAALnB,MACjD,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,2BACLC,OAAQ,MACRN,OAAQA,EACRD,KAAMA,IACLQ,MAAK,SAAAC,GACN,GAAW,GAAPA,EAAc,CAChB,IAAIC,EAAKC,eAAkBF,EAAKP,GAE9BE,EADQ,GAANM,GACMA,QAKVN,GAAQ","file":"js/chunk-2d0e177f.9a3cb9ec.js","sourcesContent":["import { requestApi } from \"@/api/core\";\nimport { dynamicDispatcher } from \"@/libs/util\";\n\nexport const getExecutionSkipLog = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/GetExecutionSkipLog\",\n method: \"get\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const getExecutionById = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/GetExecutionById\",\n method: \"get\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const postExecution = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/postExecution\",\n method: \"post\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const getTaskUsers = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/GetInheritedList\",\n method: \"get\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const getShareData = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/GetShareData\",\n method: \"post\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const postShareData = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/PostShareData\",\n method: \"POST\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n\nexport const getTaskPinnedUsers = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"TaskInUser/GetPinnedList\",\n method: \"get\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n"],"sourceRoot":""}