| 
														
															@@ -23,6 +23,7 @@ import styles from './practice-setting.module.less' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { verifyNumberIntegerAndFloat } from '@/helpers/toolsValidate' 
														 | 
														
														 | 
														
															 import { verifyNumberIntegerAndFloat } from '@/helpers/toolsValidate' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Timer from './model/timer' 
														 | 
														
														 | 
														
															 import Timer from './model/timer' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ColHeader from '@/components/col-header' 
														 | 
														
														 | 
														
															 import ColHeader from '@/components/col-header' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { state } from '@/state' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default defineComponent({ 
														 | 
														
														 | 
														
															 export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: 'PracticeSetting', 
														 | 
														
														 | 
														
															   name: 'PracticeSetting', 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -33,6 +34,7 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         0: '否', 
														 | 
														
														 | 
														
															         0: '否', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         1: '是' 
														 | 
														
														 | 
														
															         1: '是' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      checkStatus:false, // 是否审核版本 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       classTimeStatus: false, 
														 | 
														
														 | 
														
															       classTimeStatus: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       subjectStatus: false, 
														 | 
														
														 | 
														
															       subjectStatus: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       timerStatus: false, 
														 | 
														
														 | 
														
															       timerStatus: false, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -159,6 +161,17 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               : '' 
														 | 
														
														 | 
														
															               : '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // 判断如果是审核的则不显示 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const resVersion = await request.post('/api-teacher/open/appVersion', { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        data: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          platform: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            state.platformType === 'STUDENT' ? 'ios-student' : 'ios-teacher', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          version: state.version 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.checkStatus =  resVersion.data.check ? true : false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } catch {} 
														 | 
														
														 | 
														
															     } catch {} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -201,7 +214,7 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (index === -1) { 
														 | 
														
														 | 
														
															         if (index === -1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           subjectPriceList.push({ 
														 | 
														
														 | 
														
															           subjectPriceList.push({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             subjectId: item, 
														 | 
														
														 | 
														
															             subjectId: item, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            subjectPrice: null as any, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            subjectPrice: this.checkStatus ? 0 : null as any, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             subjectName: '' 
														 | 
														
														 | 
														
															             subjectName: '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           }) 
														 | 
														
														 | 
														
															           }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -354,7 +367,7 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             /> 
														 | 
														
														 | 
														
															             /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </ColField> 
														 | 
														
														 | 
														
															           </ColField> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </ColFieldGroup> 
														 | 
														
														 | 
														
															         </ColFieldGroup> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        {this.form.subjectPrice && this.form.subjectPrice.length > 0 && ( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        {this.form.subjectPrice && this.form.subjectPrice.length > 0 && !this.checkStatus && ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <ColFieldGroup> 
														 | 
														
														 | 
														
															           <ColFieldGroup> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             {this.form.subjectPrice.map((item: any) => ( 
														 | 
														
														 | 
														
															             {this.form.subjectPrice.map((item: any) => ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <ColField 
														 | 
														
														 | 
														
															               <ColField 
														 |