From 7c20fd15b7fbc2bd5756b39d5ab655cc849ffcc3 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 16 七月 2025 22:39:23 +0800
Subject: [PATCH] 添加时间筛选

---
 src/views/systemSetting/baseSetting/role/createUser/index.vue |   38 ++++++++++++++++----------------------
 1 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/role/createUser/index.vue b/src/views/systemSetting/baseSetting/role/createUser/index.vue
index e967385..9d8434e 100644
--- a/src/views/systemSetting/baseSetting/role/createUser/index.vue
+++ b/src/views/systemSetting/baseSetting/role/createUser/index.vue
@@ -34,6 +34,7 @@
     </div>
 </template>
 <script>
+import { getTypeList } from '@/utils/helper'
 export default {
     data() {
         const validateNickname = (rule, value, callback) => {
@@ -113,15 +114,8 @@
             this.refresh();
         },
         // 鑾峰彇瑙掕壊绫诲瀷
-        getRoleTypeList(){
-            this.$axios({
-                method:'get',
-                url:'sccg/dict/query_role_type',
-            })
-            .then(res=>{
-                console.log(res);
-                this.typeList = res.data; 
-            })
+        async getRoleTypeList(){
+            this.typeList = await getTypeList(1,'09');
         }
     },
     props: ['refresh']
@@ -130,12 +124,12 @@
 <style lang="scss" scoped>
 .createUser {
     border-radius: 1px;
-    background-color: #09152f;
+    // background-color: #09152f;
 
     main {
         text-align: left;
         padding: 0 55px;
-        background-color: #09152f;
+        // background-color: #09152f;
         padding-bottom: 50px;
 
         .mainContent {
@@ -143,19 +137,19 @@
             justify-content: center;
             padding-top: 50px;
 
-            &::v-deep .el-form-item__label {
-                color: #4b9bb7;
-            }
+            // &::v-deep .el-form-item__label {
+            //     color: #4b9bb7;
+            // }
 
-            &::v-deep .el-input__inner {
-                background-color: #09152f;
-                border: 1px solid #17324c;
-            }
+            // &::v-deep .el-input__inner {
+            //     background-color: #09152f;
+            //     border: 1px solid #17324c;
+            // }
 
-            &::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;

--
Gitblit v1.8.0