确认弹框响应式优化
This commit is contained in:
parent
f00b46b35b
commit
94cf3fa544
@ -122,3 +122,8 @@
|
|||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width: 992px){
|
||||||
|
.el-dialog, .el-message-box {
|
||||||
|
width: 98% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -109,7 +109,6 @@ export default {
|
|||||||
},
|
},
|
||||||
async logout() {
|
async logout() {
|
||||||
this.$confirm("确定注销并退出系统吗?", "提示", {
|
this.$confirm("确定注销并退出系统吗?", "提示", {
|
||||||
cancelButtonClass: "btn-custom-cancel",
|
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning",
|
type: "warning",
|
||||||
@ -123,13 +122,6 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.btn-custom-cancel {
|
|
||||||
float: right;
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.navbar {
|
.navbar {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
border
|
border
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="mathtermplanList"
|
:data="mathtermplanList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@ -107,7 +107,7 @@
|
|||||||
:selectable="isShow"
|
:selectable="isShow"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
fixed
|
fixed
|
||||||
label="计划名称"
|
label="计划名称"
|
||||||
align="center"
|
align="center"
|
||||||
prop="name"
|
prop="name"
|
||||||
@ -128,20 +128,12 @@
|
|||||||
prop="classid"
|
prop="classid"
|
||||||
:formatter="classFormat"
|
:formatter="classFormat"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column label="开始月份" align="center" prop="startmonth">
|
||||||
label="开始月份"
|
|
||||||
align="center"
|
|
||||||
prop="startmonth"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.startmonth, "{y}-{m}") }}</span>
|
<span>{{ parseTime(scope.row.startmonth, "{y}-{m}") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column label="结束月份" align="center" prop="endmonth">
|
||||||
label="结束月份"
|
|
||||||
align="center"
|
|
||||||
prop="endmonth"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.endmonth, "{y}-{m}") }}</span>
|
<span>{{ parseTime(scope.row.endmonth, "{y}-{m}") }}</span>
|
||||||
</template>
|
</template>
|
||||||
@ -173,6 +165,7 @@
|
|||||||
icon="el-icon-setting"
|
icon="el-icon-setting"
|
||||||
@click="handleSetting(scope.row)"
|
@click="handleSetting(scope.row)"
|
||||||
v-hasPermi="['benyi:mathtermplan:edit']"
|
v-hasPermi="['benyi:mathtermplan:edit']"
|
||||||
|
v-show="isShow(scope.row)"
|
||||||
>设置</el-button
|
>设置</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@ -223,7 +216,12 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改游戏数学学期计划对话框 -->
|
<!-- 添加或修改游戏数学学期计划对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" class="v-dialog" append-to-body>
|
<el-dialog
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="open"
|
||||||
|
class="v-dialog"
|
||||||
|
append-to-body
|
||||||
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="月份" prop="startmonth">
|
<el-form-item label="月份" prop="startmonth">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
@ -196,6 +196,7 @@
|
|||||||
icon="el-icon-setting"
|
icon="el-icon-setting"
|
||||||
@click="handleSetting(scope.row)"
|
@click="handleSetting(scope.row)"
|
||||||
v-hasPermi="['benyi:thememonthplan:edit']"
|
v-hasPermi="['benyi:thememonthplan:edit']"
|
||||||
|
v-show="isShow(scope.row)"
|
||||||
>设置</el-button
|
>设置</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@ -246,7 +247,12 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改主题整合月计划对话框 -->
|
<!-- 添加或修改主题整合月计划对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" class="v-dialog" append-to-body>
|
<el-dialog
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="open"
|
||||||
|
class="v-dialog"
|
||||||
|
append-to-body
|
||||||
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="计划月份" prop="month">
|
<el-form-item label="计划月份" prop="month">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
icon="el-icon-setting"
|
icon="el-icon-setting"
|
||||||
@click="handleSetting(scope.row)"
|
@click="handleSetting(scope.row)"
|
||||||
v-hasPermi="['benyi:themetermplan:edit']"
|
v-hasPermi="['benyi:themetermplan:edit']"
|
||||||
|
v-show="isShow(scope.row)"
|
||||||
>设置</el-button
|
>设置</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
border
|
border
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="weekplanList"
|
:data="weekplanList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
@ -132,7 +132,7 @@
|
|||||||
/>
|
/>
|
||||||
<!-- <el-table-column label="编号" align="center" prop="id" /> -->
|
<!-- <el-table-column label="编号" align="center" prop="id" /> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
fixed
|
fixed
|
||||||
label="计划名称"
|
label="计划名称"
|
||||||
align="center"
|
align="center"
|
||||||
prop="name"
|
prop="name"
|
||||||
@ -173,7 +173,7 @@
|
|||||||
:formatter="statusFormat"
|
:formatter="statusFormat"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
fixed="right"
|
fixed="right"
|
||||||
label="操作"
|
label="操作"
|
||||||
align="center"
|
align="center"
|
||||||
class-name="small-padding fixed-width edit-btns"
|
class-name="small-padding fixed-width edit-btns"
|
||||||
@ -186,6 +186,7 @@
|
|||||||
icon="el-icon-setting"
|
icon="el-icon-setting"
|
||||||
@click="handleSetting(scope.row)"
|
@click="handleSetting(scope.row)"
|
||||||
v-hasPermi="['benyi:themeweekplan:edit']"
|
v-hasPermi="['benyi:themeweekplan:edit']"
|
||||||
|
v-show="isShow(scope.row)"
|
||||||
>设置</el-button
|
>设置</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@ -236,7 +237,12 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改主题整合周计划(根据月计划明细)对话框 -->
|
<!-- 添加或修改主题整合周计划(根据月计划明细)对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" class="v-dialog" append-to-body>
|
<el-dialog
|
||||||
|
:title="title"
|
||||||
|
:visible.sync="open"
|
||||||
|
class="v-dialog"
|
||||||
|
append-to-body
|
||||||
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
<el-form-item label="学年学期" prop="xnxq">
|
<el-form-item label="学年学期" prop="xnxq">
|
||||||
<el-select
|
<el-select
|
||||||
|
Loading…
x
Reference in New Issue
Block a user