From 5b0c9891328c9532865a40061275582d5d243625 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期二, 16 八月 2022 10:18:41 +0800 Subject: [PATCH] 修改 --- src/components/DailogSearch/DailogSearch.vue | 6 +++--- src/components/equipmentDailog/DailogS.vue | 2 +- src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue | 2 +- src/App.vue | 20 ++++++++++++++++---- src/components/equipmentDailog/Dailog.vue | 2 +- src/assets/index.css | 14 ++++++++------ 6 files changed, 30 insertions(+), 16 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0a49567..bb01204 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,7 +21,7 @@ import CloseFull from '/@/layout/navBars/breadcrumb/closeFull.vue'; import { initBackEndControlRoutes } from './router/backEnd'; -export default ({ +export default { name: 'app', components: { LockScreen, Setings, CloseFull }, setup() { @@ -51,7 +51,7 @@ setIntroduction.jsCdn(); }); // 页面加载时 - onMounted( () => { + onMounted(() => { nextTick(() => { // 监听布局配置弹窗点击打开 proxy.mittBus.on('openSetingsDrawer', () => { @@ -96,9 +96,21 @@ ...toRefs(state), }; }, -}); +}; </script> <style> - @import '/@/assets/index.css'; +@import '/@/assets/index.css'; +.pot { + position: absolute !important; + top: 19px; + right: 40px; + border: none !important; + padding: 0; +} + +.pot:focus, +.pot:hover { + background-color: #fff !important; +} </style> diff --git a/src/assets/index.css b/src/assets/index.css index 08d6baa..5c27404 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,10 +1,12 @@ .pot { - position: absolute; - top: 19px; - right: 40px; - border: none !important; - padding: 0; + position: absolute !important; + top: 19px; + right: 40px; + border: none !important; + padding: 0; } -.pot:focus,.pot:hover{ + +.pot:focus, +.pot:hover { background-color: #fff !important; } \ No newline at end of file diff --git a/src/components/DailogSearch/DailogSearch.vue b/src/components/DailogSearch/DailogSearch.vue index 9a993bc..fcf71a6 100644 --- a/src/components/DailogSearch/DailogSearch.vue +++ b/src/components/DailogSearch/DailogSearch.vue @@ -15,10 +15,10 @@ <el-input v-model="ruleForm.searchParams.indexNum" placeholder="目标指标编号" /> </el-form-item> </el-col> - <el-col :span="6" :offset="1"> + <el-col :span="10" :offset="1"> <el-form-item> - <el-button type="primary" @click="listApi">查询</el-button> - <el-button @click="resetForm">重置</el-button> + <el-button size="default" type="primary" @click="listApi">查询</el-button> + <el-button size="default" @click="resetForm">重置</el-button> </el-form-item> </el-col> </el-row> diff --git a/src/components/equipmentDailog/Dailog.vue b/src/components/equipmentDailog/Dailog.vue index 230d038..ba857c9 100644 --- a/src/components/equipmentDailog/Dailog.vue +++ b/src/components/equipmentDailog/Dailog.vue @@ -881,7 +881,7 @@ </script> <style scoped> .el-form-item { - width: 400px; + width: 25vw; } .formType:after { content: ''; diff --git a/src/components/equipmentDailog/DailogS.vue b/src/components/equipmentDailog/DailogS.vue index 01fcf6e..db4c2a4 100644 --- a/src/components/equipmentDailog/DailogS.vue +++ b/src/components/equipmentDailog/DailogS.vue @@ -280,7 +280,7 @@ import { goalManagementApi } from '/@/api/goalManagement'; import {deepClone} from '/@/utils/other' export default defineComponent({ - components: { categoryDailog, RegionsDialog, DailogSearchUser, maintenanceDailog, detectDailog, repairDailog, standardDailog }, + components: { categoryDailog,Plus, RegionsDialog, DailogSearchUser, maintenanceDailog, detectDailog, repairDailog, standardDailog }, setup(props, { emit }) { const dialogVisible = ref(false); const form = ref({ diff --git a/src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue b/src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue index 26f4d8d..d50ea80 100644 --- a/src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue +++ b/src/views/goalManagement/performanceAppraisal/component/DailogSearch.vue @@ -15,7 +15,7 @@ <el-input v-model="ruleForm.checkPass" placeholder="目标指标编号" /> </el-form-item> </el-col> --> - <el-col :span="6" :offset="1"> + <el-col :span="11" :offset="1"> <el-form-item> <el-button size="default" type="primary" @click="listApi()">查询</el-button> <el-button size="default" @click="reset">重置</el-button> -- Gitblit v1.9.2