Explorar o código

Merge branch 'master' of http://git.cc-lotus.info/zkzx/zkzx_admin

guhongwei %!s(int64=2) %!d(string=hai) anos
pai
achega
d50bfaac8b

+ 17 - 1
src/router/module/account.js

@@ -1 +1,17 @@
-export default []
+export default [
+  {
+    path: '/admin/admins',
+    meta: { title: '管理用户' },
+    component: () => import('@/views/admin/admins/index.vue')
+  },
+  {
+    path: '/admin/mechanism',
+    meta: { title: '机构用户' },
+    component: () => import('@/views/admin/mechanism/index.vue')
+  },
+  {
+    path: '/admin/business',
+    meta: { title: '业务用户' },
+    component: () => import('@/views/admin/business/index.vue')
+  }
+];

+ 13 - 0
src/views/admin/admins/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24" class="main"> test </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script setup lang="ts">
+import type { Ref } from 'vue';
+import { ref, toRefs } from 'vue';
+</script>
+<style scoped lang="scss"></style>

+ 13 - 0
src/views/admin/business/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24" class="main"> test </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script setup lang="ts">
+import type { Ref } from 'vue';
+import { ref, toRefs } from 'vue';
+</script>
+<style scoped lang="scss"></style>

+ 13 - 0
src/views/admin/mechanism/index.vue

@@ -0,0 +1,13 @@
+<template>
+  <div id="index">
+    <el-row>
+      <el-col :span="24" class="main"> test </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script setup lang="ts">
+import type { Ref } from 'vue';
+import { ref, toRefs } from 'vue';
+</script>
+<style scoped lang="scss"></style>

+ 1 - 1
src/views/system/dict/detail.vue

@@ -169,7 +169,7 @@ const toBack = () => {
 };
 // 弹框关闭
 const toClose = () => {
-  form.value = {};
+  form.value = { type: type.value };
   searchForm.value = { type: type.value };
   dialog.value = { title: '信息管理', show: false, type: '1' };
   search({ skip, limit });