mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
讲师管理bug
This commit is contained in:
@@ -72,7 +72,7 @@ export const recovery = (id) => http.post(`/admin/affiliation/recovery?id=${id}`
|
|||||||
//删除培训发生组织
|
//删除培训发生组织
|
||||||
export const affiliationDelById = (id)=>http.post(`/admin/affiliation/delById?id=${id}`)
|
export const affiliationDelById = (id)=>http.post(`/admin/affiliation/delById?id=${id}`)
|
||||||
//停用启用培训发生组织
|
//停用启用培训发生组织
|
||||||
export const isEnable = (obj) => http.post(`/admin/affiliation/isEnable?id=${obj.id}&status=${obj.status}`)
|
export const isEnable = (obj) => http.post(`/admin/affiliation/isEnable`,obj)
|
||||||
//撤回培训发生组织
|
//撤回培训发生组织
|
||||||
export const affiliatIsConfirm = (id) => http.post(`/admin/affiliation/isConfirm?id=${id}`)
|
export const affiliatIsConfirm = (id) => http.post(`/admin/affiliation/isConfirm?id=${id}`)
|
||||||
//讲师费统计详情
|
//讲师费统计详情
|
||||||
|
|||||||
@@ -520,6 +520,10 @@ export default {
|
|||||||
label:item
|
label:item
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
supperList.value.unshift({
|
||||||
|
value: '',
|
||||||
|
label: '全部'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -674,6 +674,10 @@ export default {
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
LecturerSystemList.value = array;
|
LecturerSystemList.value = array;
|
||||||
|
LecturerSystemList.value.unshift({
|
||||||
|
value: "",
|
||||||
|
label: "全部"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -706,6 +710,10 @@ export default {
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
getLevelList.value = array;
|
getLevelList.value = array;
|
||||||
|
getLevelList.value.unshift({
|
||||||
|
value: "",
|
||||||
|
label: "全部"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- <div style="width: 100%;"></div> -->
|
<!-- <div style="width: 100%;"></div> -->
|
||||||
<a-form-item class="select" v-if="moreid == 2">
|
<a-form-item class="select" v-if="moreid == 2">
|
||||||
<a-select style="min-width: 200px ; height: auto ;margin-bottom:20px" v-model:value="score" placeholder="请选择评分"
|
<a-select style="min-width: 200px ; height: auto ;margin-bottom:20px" v-model:value="score" placeholder="请选择评分" showArrow
|
||||||
:options="scoreList" allowClear showSearch mode="multiple" @change="scoreChange"
|
:options="scoreList" allowClear showSearch mode="multiple" @change="scoreChange"
|
||||||
v-on:keydown.enter="enterPressHadlerSearch">
|
v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -659,6 +659,10 @@ export default {
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
LecturerSystemList.value = array;
|
LecturerSystemList.value = array;
|
||||||
|
LecturerSystemList.value.unshift({
|
||||||
|
value: '',
|
||||||
|
label: '全部'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
console.log("获取讲师", LecturerSystemList);
|
console.log("获取讲师", LecturerSystemList);
|
||||||
})
|
})
|
||||||
@@ -687,7 +691,7 @@ export default {
|
|||||||
{ value: '1', label: "手动录入" },
|
{ value: '1', label: "手动录入" },
|
||||||
])
|
])
|
||||||
const scoreList = ref([
|
const scoreList = ref([
|
||||||
// { value: '', label: "全部" },
|
{ value: '', label: "全部" },
|
||||||
{ value: '90-100', label: "90-100" },
|
{ value: '90-100', label: "90-100" },
|
||||||
{ value: '80-90', label: "80-90" },
|
{ value: '80-90', label: "80-90" },
|
||||||
{ value: '70-80', label: "70-80" },
|
{ value: '70-80', label: "70-80" },
|
||||||
@@ -699,6 +703,7 @@ export default {
|
|||||||
{ value: '10~20', label: "10~20" },
|
{ value: '10~20', label: "10~20" },
|
||||||
])
|
])
|
||||||
const studysList = ref([
|
const studysList = ref([
|
||||||
|
{ value: '', label: "全部" },
|
||||||
{ value: '0-30', label: "0~30" },
|
{ value: '0-30', label: "0~30" },
|
||||||
{ value: '0-50', label: "0~50" },
|
{ value: '0-50', label: "0~50" },
|
||||||
{ value: '0-70', label: "0~70" },
|
{ value: '0-70', label: "0~70" },
|
||||||
|
|||||||
@@ -387,6 +387,10 @@
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
trainOrglist.value = array;
|
trainOrglist.value = array;
|
||||||
|
trainOrglist.value.unshift({
|
||||||
|
value: '',
|
||||||
|
label: "全部"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -400,7 +404,7 @@
|
|||||||
])
|
])
|
||||||
//认证状态0待确认 1待提交 2审核中 3审核通过 4.审核拒绝
|
//认证状态0待确认 1待提交 2审核中 3审核通过 4.审核拒绝
|
||||||
const AuthenticationStatusList = ref([
|
const AuthenticationStatusList = ref([
|
||||||
// { value: 0, label: "待确认" },
|
{ value: '', label: "全部" },
|
||||||
{ value: 1, label: "待提交" },
|
{ value: 1, label: "待提交" },
|
||||||
{ value: 2, label: "审核中" },
|
{ value: 2, label: "审核中" },
|
||||||
{ value: 4, label: "审核拒绝" },
|
{ value: 4, label: "审核拒绝" },
|
||||||
|
|||||||
@@ -699,6 +699,9 @@
|
|||||||
value: item.id
|
value: item.id
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
state.orgList.unshift({
|
||||||
|
label: '全部', value: ''
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//费用类型
|
//费用类型
|
||||||
@@ -721,6 +724,7 @@
|
|||||||
])
|
])
|
||||||
//认证状态
|
//认证状态
|
||||||
const AuthenticationStatusList = ref([
|
const AuthenticationStatusList = ref([
|
||||||
|
{ value: '', label: "全部" },
|
||||||
{ value: '0', label: "待确认" },
|
{ value: '0', label: "待确认" },
|
||||||
{ value: '1', label: "待提交" },
|
{ value: '1', label: "待提交" },
|
||||||
{ value: '2', label: "审核中" },
|
{ value: '2', label: "审核中" },
|
||||||
@@ -748,6 +752,10 @@
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
lecturerSystemList.value = array;
|
lecturerSystemList.value = array;
|
||||||
|
lecturerSystemList.value.unshift({
|
||||||
|
value: '',
|
||||||
|
label: '全部'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -768,6 +776,10 @@ getAllLevelList().then((res) => {
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
getLevelList.value = array;
|
getLevelList.value = array;
|
||||||
|
getLevelList.value.unshift({
|
||||||
|
value: "",
|
||||||
|
label: "全部"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -378,6 +378,10 @@ export default {
|
|||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
TrainOrglist.value = array;
|
TrainOrglist.value = array;
|
||||||
|
TrainOrglist.value.unshift({
|
||||||
|
value: '',
|
||||||
|
label: "全部"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
console.log("获取发薪地",TrainOrglist);
|
console.log("获取发薪地",TrainOrglist);
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -305,8 +305,8 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '开发课程时长 ',
|
title: '开发课程时长 ',
|
||||||
dataIndex: 'expense',
|
dataIndex: 'teachingDevelop',
|
||||||
key: 'expense',
|
key: 'teachingDevelop',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 160,
|
width: 160,
|
||||||
|
|||||||
@@ -41,8 +41,8 @@
|
|||||||
<a-button v-if="record.status!=2" type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
|
<a-button v-if="record.status!=2" type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
|
||||||
<a-button v-if="record.status==2&&false" type="link" @click="() => updateModal(record)">撤回</a-button>
|
<a-button v-if="record.status==2&&false" type="link" @click="() => updateModal(record)">撤回</a-button>
|
||||||
<!-- <a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button> -->
|
<!-- <a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button> -->
|
||||||
<a-button @click="isEnablePost(record,0)" type="link" >启用</a-button>
|
<a-button @click="isEnablePost(record,0)" v-if="record.enable" type="link" >启用</a-button>
|
||||||
<a-button @click="isEnablePost(record,1)" type="link" >停用</a-button>
|
<a-button @click="isEnablePost(record,1)" v-if="!record.enable" type="link" >停用</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user