讲师管理等级更新

This commit is contained in:
wangxuemei
2024-08-06 18:47:13 +08:00
parent 36200b08ef
commit 4e963fc9cf
10 changed files with 64 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
<template>
<div >
<!-- 搜索框及按钮 -->
<div class="filter" style="min-width: 1380px;">
<div class="filter" style="min-width: 1270px;">
<a-form layout="inline">
<a-form-item class="select">
<div style="width: 276px; height: 40px; border-radius: 8px" >
@@ -67,7 +67,12 @@
</a-select>
</a-form-item>
<a-form-item v-if="moreid == 2" class="select">
<a-select style="width: 276px ;margin-bottom:20px" v-model:value="searchParam.certStatus" placeholder="认证状态" allowClear
<a-select style="width: 276px ;" v-model:value="searchParam.certStatus" placeholder="认证状态" allowClear
:options="AuthenticationStatusList">
</a-select>
</a-form-item>
<a-form-item v-if="moreid == 2" class="select">
<a-select style="width: 276px " v-model:value="searchParam.certStatus" placeholder="擅长课程" allowClear
:options="AuthenticationStatusList">
</a-select>
</a-form-item>
@@ -490,6 +495,26 @@ export default {
}
const AddContentList = (data) => {
console.log(data,'treedatalist')
[ {
title: 'parent 1',
key: '0-0',
children: [
{
title: 'parent 1-0',
key: '0-0-0',
disabled: true,
children: [
{ title: 'leaf', key: '0-0-0-0', disableCheckbox: true },
{ title: 'leaf', key: '0-0-0-1' },
],
},
{
title: 'parent 1-1',
key: '0-0-1',
children: [{ key: '0-0-1-0', slots: { title: 'title0010' } }],
},
],
}]
//组件获取返回的所有值,调用以前接口,现环境不可用,示例:
// [{
// "id": "966459050400600064",
@@ -522,7 +547,7 @@ export default {
])
const changetlevel = (val) => {
console.log( "讲师体系id" +val);
getLevel( {systemid:val}).then((res) => {
getLevel( {kid:val}).then((res) => {
if (res.data.code === 200) {
let arr = res.data.data;
let array = [];
@@ -1357,7 +1382,7 @@ position: relative;
line-height: 40px;
}
.ant-col-12{
height:80px;
height:90px;
}
.item_inp {
flex: 1;