@focus-teach/ui 1.0.11 → 1.0.13
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/README.md +3 -1
- package/api/index.js +17 -0
- package/lib/ui.common.js +169 -108
- package/lib/ui.css +1 -1
- package/lib/ui.umd.js +169 -108
- package/lib/ui.umd.min.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/api/index.js
CHANGED
|
@@ -426,4 +426,21 @@ export function doShareExam(options, success, error) {
|
|
|
426
426
|
error && error(res);
|
|
427
427
|
}
|
|
428
428
|
);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
//获取试卷概述统计
|
|
432
|
+
export function getExamStatistics (options, success, error) {
|
|
433
|
+
axios.get("/ybk/editor/exam/title", {
|
|
434
|
+
params: options
|
|
435
|
+
}).then(
|
|
436
|
+
(res) => {
|
|
437
|
+
success && success(res);
|
|
438
|
+
},
|
|
439
|
+
(res) => {
|
|
440
|
+
error && error(res);
|
|
441
|
+
}
|
|
442
|
+
)
|
|
443
|
+
.catch(() => {
|
|
444
|
+
error();
|
|
445
|
+
});
|
|
429
446
|
}
|