lex hace 2 años
padre
commit
4a4add0fa3

+ 6 - 7
public/project/schoolRegister.html

@@ -97,18 +97,17 @@
       <van-cell-group inset class="cell-group">
         <van-field label="主管领导姓名" v-model="forms.emergencyContact" maxlength="5"
           :rules="[{ required: true, message: '请输入主管领导姓名' }]" :maxlength="5" name="emergencyContact"
-          placeholder="请输入主管领导姓名">
+          placeholder="请输入真实姓名">
         </van-field>
 
         <van-field type="tel" v-model="forms.emergencyContactPhone" maxlength="11" minlength="11" label="主管领导手机号"
           name="emergencyContactPhone"
           :rules="[{ required: true, message: '请输入主管领导手机号' },{ pattern, message: '输入主管领导手机号有误' }]"
-          placeholder="请输入主管领导手机号码">
+          placeholder="请输入真实手机号码">
         </van-field>
 
         <van-field label="在校职位" v-model="forms.emergencyContactPosition" maxlength="20"
-          :rules="[{ required: true, message: '请输入主管领导在校职位' }]" name="emergencyContactPosition"
-          placeholder="请输入主管领导在校职位">
+          :rules="[{ required: true, message: '请输入主管领导在校职位' }]" name="emergencyContactPosition" placeholder="请输入真实在校职位">
         </van-field>
       </van-cell-group>
 
@@ -117,18 +116,18 @@
       <van-cell-group inset class="cell-group">
         <van-field label="管理老师姓名" v-model="forms.educationalAdministrationUsername" maxlength="5"
           :rules="[{ required: true, message: '请输入管理老师姓名' }]" name="educationalAdministrationUsername"
-          placeholder="请输入管理老师姓名">
+          placeholder="请输入管理老师真实姓名">
         </van-field>
 
         <van-field type="tel" v-model="forms.educationalAdministrationPhone" maxlength="11" minlength="11"
           label="管理老师手机号" name="educationalAdministrationPhone"
           :rules="[{ required: true, message: '请输入管理老师手机号' },{ pattern, message: '输入管理老师手机号有误' }]"
-          placeholder="请输入管理老师手机号">
+          placeholder="请输入管理老师真实手机号">
         </van-field>
 
         <van-field label="在校职位" v-model="forms.educationalAdministrationPosition" maxlength="20"
           :rules="[{ required: true, message: '请输入乐团管理老师在校职位' }]" name="educationalAdministrationPosition"
-          placeholder="请输入乐团管理老师在校职位">
+          placeholder="请输入真实在校职位">
         </van-field>
       </van-cell-group>
 

+ 6 - 6
src/school/attendance/components/teacher-attendDetail.tsx

@@ -72,11 +72,11 @@ export default defineComponent({
           {}
         )
         teacherAttInfo.value = res.data
-        res.data.sysParamConfigs.forEach((item: any) => {
-          if (item.paramName == 'scope_of_attendance') {
-            attendanceScope.value = item.paramValue
-          }
-        })
+        // res.data.sysParamConfigs.forEach((item: any) => {
+        //   if (item.paramName == 'scope_of_attendance') {
+        //     attendanceScope.value = item.paramValue
+        //   }
+        // })
       } catch (e) {
         console.log(e)
       }
@@ -98,7 +98,7 @@ export default defineComponent({
             type: 'display',
             orginPoint: teacherAttInfo.value.schoolLongitudeLatitude,
             myPoint: myPoint,
-            limitDistance: attendanceScope.value
+            limitDistance: teacherAttInfo.value.scopeOfAttendance
           }
         })
       } catch (e) {

+ 1 - 1
src/school/practice-rewards/index.tsx

@@ -30,7 +30,7 @@ export default defineComponent({
     const salaryRate = computed(() => {
       const salary = state.statistics
       if (salary.totalTrainingSalary) {
-        return salary.waitSalary / salary.totalTrainingSalary
+        return (salary.waitSalary / salary.totalTrainingSalary) * 100
       } else {
         return 0
       }