@focus-teach/ui 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/index.js CHANGED
@@ -1514,6 +1514,45 @@ export function checkScoreRuleApi(options) {
1514
1514
  );
1515
1515
  })
1516
1516
  }
1517
+ //检查web端报告是否完成
1518
+ export function checkReportDataForWebApi(options) {
1519
+ return new Promise((resolve) => {
1520
+ axios.get("/rpt/intel/eval/check-report-data", { params: options }).then(
1521
+ (res) => {
1522
+ resolve([null, res])
1523
+ },
1524
+ (err) => {
1525
+ resolve([err, null])
1526
+ }
1527
+ );
1528
+ })
1529
+ }
1530
+ //检查web端报告是否完成
1531
+ export function checkReportDataForMiniApi(options) {
1532
+ return new Promise((resolve) => {
1533
+ axios.get("/wx/teacher/biz/check-report-data", { params: options }).then(
1534
+ (res) => {
1535
+ resolve([null, res])
1536
+ },
1537
+ (err) => {
1538
+ resolve([err, null])
1539
+ }
1540
+ );
1541
+ })
1542
+ }
1543
+ /* 撤回报告 */
1544
+ export function recallReportApi(options) {
1545
+ return new Promise((resolve) => {
1546
+ axios.post("/scanner/task/report-recall", options).then(
1547
+ (res) => {
1548
+ resolve([null, res]);
1549
+ },
1550
+ (err) => {
1551
+ resolve([err, null]);
1552
+ }
1553
+ );
1554
+ });
1555
+ }
1517
1556
 
1518
1557
  export function setHtml2Ocr(options, param) {
1519
1558
  const apiAxios = axios.create({
@@ -1611,6 +1650,19 @@ export function getAnswerDetailByRpt(options) {
1611
1650
  );
1612
1651
  })
1613
1652
  }
1653
+
1654
+ export function getTemplate(options) {
1655
+ return new Promise((resolve) => {
1656
+ axios.get("/ybk/get-template-score", { params: options }).then(
1657
+ (res) => {
1658
+ resolve([null, res])
1659
+ },
1660
+ (err) => {
1661
+ resolve([err, null])
1662
+ }
1663
+ );
1664
+ })
1665
+ }
1614
1666
  export function checkStudentImg(options, success, error) {
1615
1667
  return new Promise((resolve) => {
1616
1668
  axios.get("/scanner/task/check-student-img", { params:options}).then(res => {