@focus-teach/ui 1.2.5 → 1.2.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 +26 -0
- package/lib/ui.common.js +5439 -497
- package/lib/ui.css +1 -1
- package/lib/ui.umd.js +5439 -497
- package/lib/ui.umd.min.js +17 -17
- package/package.json +2 -1
- package/.build-temp/zw-ai-report.js +0 -20
package/api/index.js
CHANGED
|
@@ -2162,3 +2162,29 @@ export function checkItemSmartMarkingProgressApi(options) {
|
|
|
2162
2162
|
);
|
|
2163
2163
|
})
|
|
2164
2164
|
}
|
|
2165
|
+
//保存AI分值
|
|
2166
|
+
export function saveAIScoreApi(options) {
|
|
2167
|
+
return new Promise((resolve) => {
|
|
2168
|
+
axios.post("/ai/ec/composition/saveAiScore", options).then(
|
|
2169
|
+
(res) => {
|
|
2170
|
+
resolve([null, res])
|
|
2171
|
+
},
|
|
2172
|
+
(err) => {
|
|
2173
|
+
resolve([err, null])
|
|
2174
|
+
}
|
|
2175
|
+
);
|
|
2176
|
+
})
|
|
2177
|
+
}
|
|
2178
|
+
//恢复初始评分
|
|
2179
|
+
export function restoreInitialScoreApi(options) {
|
|
2180
|
+
return new Promise((resolve) => {
|
|
2181
|
+
axios.post("/ai/ec/composition/reSetAiScore", options).then(
|
|
2182
|
+
(res) => {
|
|
2183
|
+
resolve([null, res])
|
|
2184
|
+
},
|
|
2185
|
+
(err) => {
|
|
2186
|
+
resolve([err, null])
|
|
2187
|
+
}
|
|
2188
|
+
);
|
|
2189
|
+
})
|
|
2190
|
+
}
|