From b413394a0a4bdbb2b3af67f3faf86b3b7351655a Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期三, 24 八月 2022 11:20:31 +0800
Subject: [PATCH] update_202208241120_临时发送添加短信类型

---
 src/pages/system/role.vue |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/pages/system/role.vue b/src/pages/system/role.vue
index 4d29728..04da7b4 100644
--- a/src/pages/system/role.vue
+++ b/src/pages/system/role.vue
@@ -1,14 +1,15 @@
 <template>
   <div class="app-container">
     <!-- 鎼滅储鍖� 鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌 -->
-    <el-form v-show="showSearch" ref="searchForm" :inline="true">
+    <!-- <el-form v-show="showSearch" ref="searchForm" :inline="true">
       <el-form-item label="瑙掕壊鍚嶇О">
         <el-input
           v-model="keyWord"
-          placeholder="璇疯緭鍏ヨ鑹插悕绉�"
+          placeholder="鎼滅储瑙掕壊鍚嶇О"
           clearable
           size="small"
           style="width: 240px"
+          maxlength="50"
           @keyup.enter.native="reGetList"
         />
       </el-form-item>
@@ -16,7 +17,7 @@
         <el-button type="cyan" icon="el-icon-search" size="mini" @click="reGetList">鎼滅储</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetHandle">閲嶇疆</el-button>
       </el-form-item>
-    </el-form>
+    </el-form> -->
     <!-- 鎼滅储鍖� 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈 -->
 
     <!-- 鎿嶄綔鍖� 鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌 -->
@@ -70,8 +71,10 @@
 
 <script>
 
+import mixin_keepAlive from '@/mixins/keepAlive.js' // 椤甸潰缂撳瓨
 export default {
   name: 'Role',
+  mixins: [mixin_keepAlive],
   data() {
     return {
       showSearch: true, // 鏄惁鏄剧ず鎼滅储鍖�
@@ -87,11 +90,17 @@
     }
   },
   mounted() {
-    this.init()
+    // 鍦╩ixin_keepAlive => activated鍒濆鍖�
   },
   methods: {
     // 鍒濆鍖�
     init() {
+      // keepalive閲嶇疆鍒濆鍊�
+      this.resetHandle()
+    },
+
+    // 杩斿洖鍒锋柊
+    regInit() {
       this.getList()
     },
 

--
Gitblit v1.8.0