提交 fafd8e74 authored 作者: lidongxu's avatar lidongxu

style(el-dialog): 弹框宽度从 80vw 到 60vw

上级 acd100d0
...@@ -65,7 +65,7 @@ body .el-loading-mask{ ...@@ -65,7 +65,7 @@ body .el-loading-mask{
flex-direction: column; flex-direction: column;
height: 80vh; height: 80vh;
padding: 20px; padding: 20px;
--el-dialog-width: 80vw !important; --el-dialog-width: 60vw !important;
.el-dialog__header { .el-dialog__header {
padding-top: 10px; padding-top: 10px;
......
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
<el-form-item label="报表所属部门" <el-form-item label="报表所属部门"
prop="categoryName"> prop="categoryName">
<el-select v-model="form.categoryName" <el-select v-model="form.categoryName"
placeholder="选择报表所属部门" placeholder="选择报表所属部门">
style="width: 240px">
<el-option v-for="item in deptList" <el-option v-for="item in deptList"
:key="item.value" :key="item.value"
:label="item.title" :label="item.title"
...@@ -44,10 +43,10 @@ ...@@ -44,10 +43,10 @@
</template> </template>
<script setup> <script setup>
import { ref } from 'vue'
import { ElMessage } from 'element-plus' import { ElMessage } from 'element-plus'
import { enterOtherReportAPI, getReportFolderListAPI } from '@/api' // 假设你的API接口 import { enterOtherReportAPI, getReportFolderListAPI } from '@/api'
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
// 表单数据 // 表单数据
const form = ref({ const form = ref({
categoryName: '', categoryName: '',
...@@ -105,9 +104,3 @@ const getDeptList = async () => { ...@@ -105,9 +104,3 @@ const getDeptList = async () => {
} }
getDeptList() getDeptList()
</script> </script>
\ No newline at end of file
<style scoped>
.app-container {
padding: 20px;
}
</style>
...@@ -23,12 +23,12 @@ export default defineConfig(({ mode, command }) => { ...@@ -23,12 +23,12 @@ export default defineConfig(({ mode, command }) => {
open: true, open: true,
proxy: { proxy: {
'/dev-api': { '/dev-api': {
target: 'http://192.168.100.39:8080', target: 'http://192.168.100.55:8080',
changeOrigin: true, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '') rewrite: (p) => p.replace(/^\/dev-api/, '')
}, },
'/promotion-api': { '/promotion-api': {
target: 'http://192.168.100.39:8010', target: 'http://192.168.100.55:8010',
changeOrigin: true, changeOrigin: true,
rewrite: (p) => p.replace(/^\/promotion-api/, '') rewrite: (p) => p.replace(/^\/promotion-api/, '')
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论