mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
feat:添加投票创建投票新版 创建投票后的新样式
This commit is contained in:
@@ -17,6 +17,24 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="contentMain">
|
||||
<div class="main_item">
|
||||
<div class="signbox">
|
||||
<div class="sign">
|
||||
<img
|
||||
src="@/assets/images/coursewareManage/asterisk.png"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
<span style="margin-right: 3px">投票名称</span>
|
||||
</div>
|
||||
<div class="btnbox">
|
||||
<a-input
|
||||
v-model:value="inputV1"
|
||||
style="width: 424px; height: 32px"
|
||||
placeholder="请输入投票名称"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box" @click="showDrawerCreVote">
|
||||
<button class="cjtpbtn" @click="addQue()">创建题干</button>
|
||||
</div>
|
||||
@@ -93,6 +111,8 @@ export default {
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const state = reactive({
|
||||
inputV1: "",
|
||||
creVote:true,
|
||||
questions: [
|
||||
{
|
||||
inputV: "",
|
||||
@@ -173,7 +193,7 @@ export default {
|
||||
.then((res) => {
|
||||
console.log("创建成功", res);
|
||||
message.success("创建成功");
|
||||
// ctx.emit("setStemId",obj.stem);
|
||||
ctx.emit("getData",state.creVote);
|
||||
closeDrawer();
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user