From 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 二月 2023 11:28:21 +0800
Subject: [PATCH] 2023/2/9 肖辉 修改部门管理

---
 src/views/operate/sms/smsTemplate/createTemplate/index.vue |   39 ++++++++++++++++++---------------------
 1 files changed, 18 insertions(+), 21 deletions(-)

diff --git a/src/views/operate/sms/smsTemplate/createTemplate/index.vue b/src/views/operate/sms/smsTemplate/createTemplate/index.vue
index 928fb5f..e4eb065 100644
--- a/src/views/operate/sms/smsTemplate/createTemplate/index.vue
+++ b/src/views/operate/sms/smsTemplate/createTemplate/index.vue
@@ -13,7 +13,7 @@
                                         :value="item.id">
                                     </el-option>
                                 </el-select>
-                            </div>                       
+                            </div>
                         </div>
                     </el-form-item>
                     <!-- 娑堟伅鏍囬 -->
@@ -24,7 +24,7 @@
                     </el-form-item>
                     <!-- 娑堟伅鍐呭 -->
                     <el-form-item class="optionItem" label="娑堟伅鍐呭:" prop="body">
-                        <MyEditor ref="edit" :readOnly="formDisabled" @getMyBody="getMyBody"></MyEditor>
+                        <MyEditor ref="edit" :readOnly="formDisabled"></MyEditor>
                     </el-form-item>
                     <el-form-item v-if="!formDisabled">
                         <div class="optionBtn">
@@ -50,7 +50,6 @@
           if (!value) {
             callback(new Error('璇疯緭鍏ョ煭淇″唴瀹�'));
           } else {
-            this.$refs.user.clearValidate('body');
             callback();
           }
         }
@@ -74,14 +73,16 @@
             colList: [{ id: 1, columnName: "楠岃瘉鐮佹ā鏉�"}, {id: 2, columnName: "娲诲姩妯℃澘"}],
         }
     },
-    mounted(){
-        this.$refs.edit.editor.txt.html(this.role.body)
-    },
+
     created() {
       if (this.tableRowData) {
         this.role = deepClone(this.tableRowData);
       }
     },
+
+  mounted(){
+    this.$refs.edit.editor.txt.html(this.role.body);
+  },
 
   computed: {
       formDisabled() {
@@ -132,11 +133,11 @@
 <style lang="scss" scoped>
 .createUser {
     border-radius: 1px;
-    background-color: #09152f;
+    background-color: white;
 
     main {
         text-align: left;
-        background-color: #09152f;
+        background-color: white;
         padding-bottom: 50px;
 
         .mainContent {
@@ -144,16 +145,16 @@
             justify-content: center;
             padding-top: 50px;
             &:deep(.el-dialog__title) {
-                color: #4b9bb7;
+                //color: #4b9bb7;
             }
             &::v-deep .el-form-item__label {
-                color: #4b9bb7;
+                //color: #4b9bb7;
             }
 
             &::v-deep .el-input__inner {
                 width: 400px;
-                background-color: #09152f;
-                border: 1px solid #17324c;
+                //background-color: #09152f;
+                //border: 1px solid #17324c;
             }
 
             .message-item__left {
@@ -183,18 +184,14 @@
                 }
             }
 
-            .message-tip {
-                margin-left: 20px;
-            }
-
             :deep(.el-input--suffix) {
                 width: 400px;
             }
 
-            &::v-deep .el-textarea__inner {
-                background-color: #09152f;
-                border: 1px solid #17324c;
-            }
+            // &::v-deep .el-textarea__inner {
+            //     //background-color: #09152f;
+            //     //border: 1px solid #17324c;
+            // }
 
             .el-form-item__content {
                 width: 400px;
@@ -229,4 +226,4 @@
         }
     }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0