@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 CHANGED
@@ -13,4 +13,6 @@
13
13
  | type | tab页当前展示类型(可选border-crad) | String | |
14
14
 
15
15
  # Publish Version
16
- 1.0.8 优化抽屉组件
16
+ 1.0.8 优化抽屉组件
17
+ # 开发环境打包:package.json "name": "ui", 将lib下的文件替换到node_modules\@focus-teach\ui\lib
18
+ # 生产环境打包:package.json "name": "@focus-teach/ui",
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
  }