mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
课程推荐
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
placeholder="请输入名称"
|
placeholder="请输入名称"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="select">
|
<!-- <div class="select">
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="auditStatus"
|
v-model:value="auditStatus"
|
||||||
dropdownClassName="dropdown-style"
|
dropdownClassName="dropdown-style"
|
||||||
@@ -30,6 +30,27 @@
|
|||||||
allowClear
|
allowClear
|
||||||
>
|
>
|
||||||
</a-select>
|
</a-select>
|
||||||
|
</div> -->
|
||||||
|
<div class="select">
|
||||||
|
<a-tree-select
|
||||||
|
:getPopupContainer="
|
||||||
|
(triggerNode) => triggerNode.parentNode || document.body
|
||||||
|
"
|
||||||
|
v-model:value="sysTypeId"
|
||||||
|
show-search
|
||||||
|
style="width: 200px"
|
||||||
|
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
|
||||||
|
placeholder="请选择内容分类"
|
||||||
|
allow-clear
|
||||||
|
tree-default-expand-all
|
||||||
|
:fieldNames="{
|
||||||
|
children: 'children',
|
||||||
|
label: 'name',
|
||||||
|
value: 'code',
|
||||||
|
}"
|
||||||
|
:tree-data="sysTypeOptions"
|
||||||
|
>
|
||||||
|
</a-tree-select>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; margin-bottom: 20px" class="courseBtn">
|
<div style="display: flex; margin-bottom: 20px" class="courseBtn">
|
||||||
<div class="btn btn1" @click="handleSearch1">
|
<div class="btn btn1" @click="handleSearch1">
|
||||||
@@ -100,7 +121,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="jsx">
|
<script lang="jsx" >
|
||||||
import {
|
import {
|
||||||
reactive,
|
reactive,
|
||||||
toRefs,
|
toRefs,
|
||||||
@@ -273,7 +294,7 @@ export default defineComponent({
|
|||||||
dataIndex: "id",
|
dataIndex: "id",
|
||||||
key: "id",
|
key: "id",
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
align: "right",
|
align: "center",
|
||||||
slots: { customRender: "action" },
|
slots: { customRender: "action" },
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -361,7 +382,7 @@ export default defineComponent({
|
|||||||
return {
|
return {
|
||||||
selectedRowKeys: state.selectedRowKeys,
|
selectedRowKeys: state.selectedRowKeys,
|
||||||
onChange: onSelectChange,
|
onChange: onSelectChange,
|
||||||
preserveSelectedRowKeys: true,
|
// preserveSelectedRowKeys: true,
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user