Kaynağa Gözat

修改物业电话的bug

DESKTOP-4G80JF4\long 3 yıl önce
ebeveyn
işleme
cb6d8ea6e9

+ 2 - 1
operationSupport/src/components/Tinymce/index.vue

@@ -121,7 +121,8 @@ export default {
         initTinymce() {
             const _this = this;
             window.tinymce.init({
-                fontsize_formats: '8pt 10pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 19pt 20pt 24pt 36pt',
+                // fontsize_formats: '8pt 10pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 19pt 20pt 24pt 36pt',
+                fontsize_formats: '8pt 10pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt',
                 language: 'zh_CN',
                 selector: `#${this.tinymceId}`,
                 //状态栏指的是编辑器最底下、左侧显示dom信息、右侧显示Tiny版权链接和调整大小的那一条。默认是显示的,设为false可将其隐藏

+ 7 - 1
operationSupport/src/views/propertyManagement/common/previeInform.vue

@@ -35,6 +35,8 @@
                 <div class="right-image" v-if="successImageLists.length > 0">
                     <img v-for="(item, index) of successImageLists" :key="index" :src="item.url" alt="" />
                     <!-- <img src="https://a.storyblok.com/f/88751/1734x1092/c3cde09986/storyblok-editor-1.jpg/m/900x0/" alt="" /> -->
+                    <!-- <img src="https://a.storyblok.com/f/88751/1734x1092/c3cde09986/storyblok-editor-1.jpg/m/900x0/" alt="" /> -->
+                    <!-- <img src="https://a.storyblok.com/f/88751/1734x1092/c3cde09986/storyblok-editor-1.jpg/m/900x0/" alt="" /> -->
                 </div>
                 <div class="prev-text-none" v-else>暂无图片</div>
             </div>
@@ -216,7 +218,7 @@ export default {
             img {
                 display: block;
                 float: left;
-                width: 33%;
+                width: 180px;
                 height: 100px;
                 border: 1px solid #ccc;
                 border-radius: 4px;
@@ -269,5 +271,9 @@ export default {
             // height: 0 !important;
         }
     }
+    /deep/ .wscnph {
+        max-width: 200px;
+        max-height: 200px;
+    }
 }
 </style>

+ 6 - 2
operationSupport/src/views/propertyManagement/phone.vue

@@ -44,7 +44,7 @@
                         <div class="dialog-header">
                             <i class="el-dialog__close el-icon el-icon-close" @click="dialogButton('clear')"></i>
                             <div class="dialogTitle">
-                                添加物业电话(
+                                {{ dialogTitle }}物业电话(
                                 <span style="color: red"> *</span>
                                 为必填项)
                             </div>
@@ -119,6 +119,7 @@ export default {
     data() {
         let _this = this;
         return {
+            dialogTitle: '',
             // 删除弹框信息
             deleteName: '',
             dialogVisibleDelete: false,
@@ -189,8 +190,10 @@ export default {
     methods: {
         //**添加按钮 */
         add() {
+            this.dialogTitle = '添加';
             this.centerDialogVisible = true;
             this.enditShow = false;
+            this.$refs['ruleForm'].resetFields();
         },
         /**查询按钮*/
         searchInfo() {
@@ -239,8 +242,8 @@ export default {
                                 });
                             }
                         } else {
-                            this.$refs['ruleForm'].resetFields();
                             this.centerDialogVisible = false;
+                            this.$refs['ruleForm'].resetFields();
                         }
                     } else {
                         return false;
@@ -296,6 +299,7 @@ export default {
         },
         /** 查看处理详情*/
         clickEdit(type, row) {
+            this.dialogTitle = '编辑';
             console.log('查看处理详情', row);
             let communityId = row.communityId;
             var that = this;

+ 3 - 0
operationSupport/src/views/propertyManagement/style.scss

@@ -661,3 +661,6 @@ s {
 // /deep/ .el-checkbox-group {
 //     display: flex;
 // }
+/deep/ iframe {
+    width: 99% !important;
+}

+ 34 - 26
operationSupport/src/views/workbench/style.scss

@@ -177,32 +177,6 @@
                     display: flex;
                     justify-content: space-between;
 
-                    .footer-content {
-                        display: flex;
-                        font-size: 12px;
-                        /deep/ div,
-                        p,
-                        h1,
-                        h2,
-                        h3,
-                        h4,
-                        h5,
-                        h6,
-                        span {
-                            font-size: 12px;
-                        }
-                        :last-child {
-                            margin-left: 5px;
-                            width: 467px;
-                            height: 17px;
-                            overflow: hidden;
-                            white-space: nowrap;
-                            text-overflow: ellipsis;
-                        }
-                        /deep/ img {
-                            height: 15px;
-                        }
-                    }
                     &:hover {
                         color: #0eaeff;
                     }
@@ -231,4 +205,38 @@
         text-align: center;
         color: #8e8e8e;
     }
+    /deep/ .footer-content {
+        display: flex;
+        font-size: 12px;
+        /deep/ div,
+        p,
+        h1,
+        h2,
+        h3,
+        h4,
+        h5,
+        h6,
+        span {
+            font-size: 12px !important;
+            font-size: 12pt !important;
+            line-height: 12px;
+            vertical-align: middle;
+        }
+        :last-child {
+            margin-left: 5px;
+            width: 467px;
+            height: 17px;
+            overflow: hidden;
+            white-space: nowrap;
+            text-overflow: ellipsis;
+        }
+        /deep/ img {
+            height: 15px;
+            max-width: 50px !important;
+        }
+        .wscnph {
+            width: 50px !important;
+            vertical-align: middle;
+        }
+    }
 }