|
@@ -3,6 +3,7 @@ import styles from "./index.module.less";
|
|
|
import { Cell, Field, Tab, Tabs, showToast } from "vant";
|
|
|
import iconSubmit from "../icons/icon-submit.png";
|
|
|
import { sysSuggestionSave } from "/src/page-orchestra/api";
|
|
|
+import { storeData } from "/src/store";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: "recommendation",
|
|
@@ -27,6 +28,7 @@ export default defineComponent({
|
|
|
recommenData.loading = true;
|
|
|
try {
|
|
|
await sysSuggestionSave({
|
|
|
+ clientType: storeData.platformType !== "STUDENT" ? "TEACHER" : "STUDENT",
|
|
|
content: recommenData.message + "#" + recommenData.active,
|
|
|
type: "SMART_PRACTICE",
|
|
|
});
|