diff --git a/src/view/course/addCourse/index.vue b/src/view/course/addCourse/index.vue
index 12ee50c..846380c 100644
--- a/src/view/course/addCourse/index.vue
+++ b/src/view/course/addCourse/index.vue
@@ -241,7 +241,7 @@ async function enterVerifyDialog() { // 审核提交
const status = transferStateFromVerify(verifyForm.value.is_pass)
// console.log(status)
const res = await api.verifyCourse({
- course_id:verifyForm.value.course_id,
+ course_id:parseInt(course_id.value),
status
})
if(res.code === 0) {
@@ -251,6 +251,7 @@ async function enterVerifyDialog() { // 审核提交
})
// closeVerifyVisibleDialog()
// getCourseList()
+ verifyVisible.value = false
getCourseInfo()
}
else{
diff --git a/src/view/course/components/exercisesPool.vue b/src/view/course/components/exercisesPool.vue
index e0b0ab0..b25d4a4 100644
--- a/src/view/course/components/exercisesPool.vue
+++ b/src/view/course/components/exercisesPool.vue
@@ -192,7 +192,7 @@ function selectFunc(row, index) {
-
+
- 今日收益:{{financeInfo.today_income}}
+ 今日收益:{{financeInfo.today_income/100}}
- 累计总收益:{{financeInfo.total_income}}
+ 累计总收益:{{financeInfo.total_income/100}}
diff --git a/src/view/integralManage/index.vue b/src/view/integralManage/index.vue
index 5cc2a5e..6340ddf 100644
--- a/src/view/integralManage/index.vue
+++ b/src/view/integralManage/index.vue
@@ -40,6 +40,7 @@ const content = ref(null)
const exam_types = ref([])
const exam_ids = ref([])
import cityList from '@/utils/city.json';
+console.log(cityList)
// const cityList = ref([])
// 生命周期
onMounted(() => {
@@ -232,10 +233,10 @@ async function integralOperationFunc(type,row) { // 冻结 解冻
diff --git a/src/view/lbtManage/index.vue b/src/view/lbtManage/index.vue
index 0ff4a76..cc6a0d1 100644
--- a/src/view/lbtManage/index.vue
+++ b/src/view/lbtManage/index.vue
@@ -25,7 +25,7 @@ const form = ref({status:'1'})
const lbtType_options = ref([
{
label:'首页',
- value:'1'
+ value:1
}
])
const rules = ref({
diff --git a/src/view/marketManage/brokerage/index.vue b/src/view/marketManage/brokerage/index.vue
index b664825..d94433c 100644
--- a/src/view/marketManage/brokerage/index.vue
+++ b/src/view/marketManage/brokerage/index.vue
@@ -23,8 +23,8 @@ const brokerageFormRules = ref({
exam_assistant_teacher:[{ required: true, message: '请输入助教推荐老师佣金', trigger: 'blur'},
{ type: 'number', message: '请输入正确的格式' }],
reward_first:[{ required: true, message: '请输入测试第一名佣金占比', trigger: 'blur' }],
- reward_second:[{ required: true, message: '请输入测试第二名佣金占比', trigger: 'blur' }],
- reward_third:[{ 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_manage:[{ required: true, message: '请输入主管佣金占比', trigger: 'blur' }],
course_teacher:[{ required: true, message: '请输入教师佣金占比', trigger: 'blur' }],
@@ -32,7 +32,7 @@ const brokerageFormRules = ref({
course_assistant_teacher:[{ required: true, message: '请输入助教推荐老师佣金占比', trigger: 'blur' }],
})
const brokerageFormRef = ref(null)
-const std_percent_arr = ['course_assistant','course_manage','course_teacher','course_assistant_assistant','course_assistant_teacher']
+const std_percent_arr = ['course_assistant','course_manage','course_teacher','course_assistant_assistant','course_assistant_teacher','reward_first']
// 方法
async function getBrokerage() {
const res = await api.getBrokerage()
@@ -98,12 +98,12 @@ async function saveData() {
-
+
课程佣金设置
diff --git a/src/view/teacherManage/teacherDetail.vue b/src/view/teacherManage/teacherDetail.vue
index df41535..2880cc3 100644
--- a/src/view/teacherManage/teacherDetail.vue
+++ b/src/view/teacherManage/teacherDetail.vue
@@ -11,6 +11,7 @@ import {formatDate} from '@/utils/format'
import {ref,onMounted,provide } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { useRouter, useRoute } from 'vue-router'
+import cityList from '@/utils/city.json';
const router = useRouter()
const route = useRoute()
// 变量
@@ -129,7 +130,7 @@ function toDealDetail(type) {
区域:
-
{{teacherInfo.province}}
+
{{cityList[teacherInfo.province]?.province}}
提交时间:
diff --git a/src/view/userManage/view.vue b/src/view/userManage/view.vue
index a070ac0..ecc3101 100644
--- a/src/view/userManage/view.vue
+++ b/src/view/userManage/view.vue
@@ -82,7 +82,7 @@ function toDealDetail(type) {
身份:学员
- 邀请人数:105人
+ 邀请人数:{{userManageInfo.invite_num}}人