修改分佣设置

This commit is contained in:
axlrose2333 2023-04-13 15:21:09 +08:00
parent 976d1af19a
commit 8e853a51be

View File

@ -22,6 +22,9 @@ const brokerageFormRules = ref({
{ type: 'number', message: '请输入正确的格式' }], { type: 'number', message: '请输入正确的格式' }],
exam_assistant_teacher:[{ required: true, message: '请输入助教推荐老师佣金', trigger: 'blur'}, exam_assistant_teacher:[{ required: true, message: '请输入助教推荐老师佣金', trigger: 'blur'},
{ type: 'number', message: '请输入正确的格式' }], { type: 'number', message: '请输入正确的格式' }],
reward_first:[{ required: true, message: '请输入测试第一名佣金占比', trigger: 'blur' }],
reward_second:[{ required: true, message: '请输入测试第二名佣金占比', trigger: 'blur' }],
reward_third:[{ required: true, message: '请输入测试第三名佣金占比', trigger: 'blur' }],
course_assistant:[{ required: true, message: '请输入助教佣金占比', trigger: 'blur' }], course_assistant:[{ required: true, message: '请输入助教佣金占比', trigger: 'blur' }],
course_manage:[{ required: true, message: '请输入主管佣金占比', trigger: 'blur' }], course_manage:[{ required: true, message: '请输入主管佣金占比', trigger: 'blur' }],
course_teacher:[{ required: true, message: '请输入教师佣金占比', trigger: 'blur' }], course_teacher:[{ required: true, message: '请输入教师佣金占比', trigger: 'blur' }],
@ -91,6 +94,16 @@ async function saveData() {
<el-form-item label="助教推荐老师(元/份)" prop="exam_assistant_teacher"> <el-form-item label="助教推荐老师(元/份)" prop="exam_assistant_teacher">
<el-input type="number" v-model.number="brokerageForm.exam_assistant_teacher" placeholder="请输入助教推荐老师佣金" autocomplete="off" /> <el-input type="number" v-model.number="brokerageForm.exam_assistant_teacher" placeholder="请输入助教推荐老师佣金" autocomplete="off" />
</el-form-item> </el-form-item>
<el-form-item>邀请人佣金设置</el-form-item>
<el-form-item label="测试第一名奖金分佣(%)" prop="reward_first">
<el-input type="number" v-model.number="brokerageForm.reward_first" placeholder="请输入测试第一名奖金分佣佣金" autocomplete="off" />
</el-form-item>
<el-form-item label="测试第二名奖金分佣(%)" prop="reward_second">
<el-input type="number" v-model.number="brokerageForm.reward_second" placeholder="请输入测试第二名奖金分佣佣金" autocomplete="off" />
</el-form-item>
<el-form-item label="测试第三名奖金分佣(%)" prop="reward_third">
<el-input type="number" v-model.number="brokerageForm.reward_third" placeholder="请输入测试第三名奖金分佣佣金" autocomplete="off" />
</el-form-item>
<el-form-item>课程佣金设置</el-form-item> <el-form-item>课程佣金设置</el-form-item>
<el-form-item label="助教(%)" prop="course_assistant"> <el-form-item label="助教(%)" prop="course_assistant">
<el-input type="number" v-model.number="brokerageForm.course_assistant" placeholder="请输入助教佣金占比" autocomplete="off" /> <el-input type="number" v-model.number="brokerageForm.course_assistant" placeholder="请输入助教佣金占比" autocomplete="off" />