<link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | ||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
<title>菊城人才市场后台管理</title> | <title>菊城人才市场后台管理</title> | ||||
<script type="module" crossorigin src="/assets/index-Cf2vH2hh.js"></script> | |||||
<script type="module" crossorigin src="/assets/index-BZg64ot1.js"></script> | |||||
<link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css"> | <link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css"> | ||||
</head> | </head> | ||||
<body> | <body> |
// 选择栏目/频道 | // 选择栏目/频道 | ||||
let section_list = ref<Object[]>([]) | let section_list = ref<Object[]>([]) | ||||
const sectionSearch = (val : Object) => { | const sectionSearch = (val : Object) => { | ||||
listSection(val).then((res : object) => { | |||||
listSection({keyword:val, pagesize: 999}).then((res : object) => { | |||||
const data = res.data.sections.map((item : object) => ({ | const data = res.data.sections.map((item : object) => ({ | ||||
label: item.name, | label: item.name, | ||||
value: item.id, | value: item.id, | ||||
}) | }) | ||||
} | } | ||||
const getSectionValue = (val : Object) => { | const getSectionValue = (val : Object) => { | ||||
createForm.value.parent_id = val.key; | |||||
createForm.value.section_id = val.key; | |||||
} | } | ||||
// 富文本 | // 富文本 |