|
@@ -15,6 +15,8 @@ import gradeIcon from './images/class_icon.png';
|
|
|
import { number } from 'echarts';
|
|
|
import { drawCircle } from './drawGraph'
|
|
|
import OFullRefresh from '@/components/m-full-refresh';
|
|
|
+import useWeChatShare from '@/hooks/useWeChatShare';
|
|
|
+import { browser } from '@/helpers/utils';
|
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
@@ -22,6 +24,14 @@ export default defineComponent({
|
|
|
setup() {
|
|
|
const route = useRoute();
|
|
|
const router = useRouter();
|
|
|
+ const areaTenantName = sessionStorage.getItem('areaTenantName') || ''
|
|
|
+ const shareTitle = areaTenantName + '音乐(器乐)数字化转型问卷统计';
|
|
|
+ const weChatShare = useWeChatShare(
|
|
|
+ shareTitle,
|
|
|
+ '科学的教育改变世界,科技的力量让音乐传播更远,让孩子奏响心中的乐章',
|
|
|
+ window.location.origin + '/classroom-app/shareImg/question-share.png'
|
|
|
+ );
|
|
|
+
|
|
|
const tabName = ref('all');
|
|
|
const forms = reactive({
|
|
|
schoolName: '',
|
|
@@ -175,12 +185,15 @@ export default defineComponent({
|
|
|
if (percentage > Math.max(state.schoolInfo.supportStudentRate, state.schoolInfo.participationStudentRate)) {
|
|
|
clearInterval(state.intervalOne); // 停止定时器
|
|
|
state.intervalOne = null;
|
|
|
- percentage = 0;
|
|
|
+ // percentage = 0;
|
|
|
}
|
|
|
}, 25); // 每25ms更新一次
|
|
|
});
|
|
|
}
|
|
|
onMounted(async () => {
|
|
|
+ if (browser().weixin) {
|
|
|
+ weChatShare.getAppSignature()
|
|
|
+ }
|
|
|
initData()
|
|
|
});
|
|
|
onUnmounted(() => {
|