ソースを参照

所有单链接是否确认已整改弹窗居中

liyanyan 1 週間 前
コミット
4e10913464

+ 6 - 0
src/styles/index.scss

@@ -208,4 +208,10 @@ div:focus {
   @include appealMixin();
   @include appealMixin();
   background-color: #409eff;
   background-color: #409eff;
   color: rgba(255, 255, 255, 1);
   color: rgba(255, 255, 255, 1);
+}
+
+.customClass-el-message-box-center {
+  position: relative;
+  top: 50%;
+  transform: translateY(-50%);
 }
 }

+ 2 - 1
src/views/allcase/components/CaseQualityBox2.vue

@@ -384,7 +384,8 @@ import { setCorrection } from '@/api/qc'
         this.$confirm('是否确认已整改?', '提示', {
         this.$confirm('是否确认已整改?', '提示', {
           confirmButtonText: '确定',
           confirmButtonText: '确定',
           cancelButtonText: '取消',
           cancelButtonText: '取消',
-          type: 'warning'
+          type: 'warning',
+          customClass: 'customClass-el-message-box-center'
         }).then(() => {
         }).then(() => {
           setCorrection({
           setCorrection({
             id: item.id,
             id: item.id,

+ 2 - 1
src/views/recordsRoom/qc/components/CaseQualityBox2.vue

@@ -672,7 +672,8 @@ export default {
         this.$confirm('是否确认已整改?', '提示', {
         this.$confirm('是否确认已整改?', '提示', {
           confirmButtonText: '确定',
           confirmButtonText: '确定',
           cancelButtonText: '取消',
           cancelButtonText: '取消',
-          type: 'warning'
+          type: 'warning',
+          customClass: 'customClass-el-message-box-center'
         }).then(() => {
         }).then(() => {
           setCorrection({
           setCorrection({
             id: item.id,
             id: item.id,