@focus-teach/ui 1.1.5 → 1.1.7
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 +40 -1
- package/lib/img/ico_no_data.21b239b2.png +0 -0
- package/lib/ui.common.js +114525 -320
- package/lib/ui.css +1 -1
- package/lib/ui.umd.js +114525 -320
- package/lib/ui.umd.min.js +27 -9
- package/package.json +3 -1
- package/utils/common.js +155 -1
- package/utils/fabric.min.js +1 -0
package/api/index.js
CHANGED
|
@@ -1571,4 +1571,43 @@ export function getMaterialData(options, success, error) {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
);
|
|
1573
1573
|
})
|
|
1574
|
-
}
|
|
1574
|
+
}//获取题目讲评数据
|
|
1575
|
+
export function getReportData(options) {
|
|
1576
|
+
return new Promise((resolve) => {
|
|
1577
|
+
axios.get("/rpt/intel/eval/rptData", { params: options }).then(
|
|
1578
|
+
(res) => {
|
|
1579
|
+
resolve([null, res])
|
|
1580
|
+
},
|
|
1581
|
+
(err) => {
|
|
1582
|
+
resolve([err, null])
|
|
1583
|
+
}
|
|
1584
|
+
);
|
|
1585
|
+
})
|
|
1586
|
+
}
|
|
1587
|
+
//获取答案解析数据
|
|
1588
|
+
export function getAnswerData(options) {
|
|
1589
|
+
return new Promise((resolve) => {
|
|
1590
|
+
axios.get("/items/details-new", { params: options }).then(
|
|
1591
|
+
(res) => {
|
|
1592
|
+
resolve([null, res])
|
|
1593
|
+
},
|
|
1594
|
+
(err) => {
|
|
1595
|
+
resolve([err, null])
|
|
1596
|
+
}
|
|
1597
|
+
);
|
|
1598
|
+
})
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
//开启了rpt获取做大详情
|
|
1602
|
+
export function getAnswerDetailByRpt(options) {
|
|
1603
|
+
return new Promise((resolve) => {
|
|
1604
|
+
axios.get("/rpt/intel/eval/item-answer-analysis", { params: options }).then(
|
|
1605
|
+
(res) => {
|
|
1606
|
+
resolve([null, res])
|
|
1607
|
+
},
|
|
1608
|
+
(err) => {
|
|
1609
|
+
resolve([err, null])
|
|
1610
|
+
}
|
|
1611
|
+
);
|
|
1612
|
+
})
|
|
1613
|
+
}
|
|
Binary file
|