兰宝车间质量管理系统-前端
bleachtred
2024-04-19 44837e975c63bfad67023999fd1128bf8b3bdc95
src/views/system/user/authRole.vue
@@ -2,7 +2,7 @@
  <div class="p-2">
    <div class="panel">
      <h4 class="panel-title">基本信息</h4>
      <el-form :model="form" label-width="80px" :inline="true">
      <el-form :model="form" :inline="true">
        <el-row :gutter="10">
          <el-col :span="2.5">
            <el-form-item label="用户昵称" prop="nickName">
@@ -58,6 +58,8 @@
import { RoleVO } from '@/api/system/role/types';
import { getAuthRole, updateAuthRole } from '@/api/system/user';
import { UserForm } from '@/api/system/user/types';
import { RouteLocationNormalized } from 'vue-router';
import { parseTime } from "@/utils/ruoyi";
const route = useRoute();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -91,7 +93,17 @@
};
/** 关闭按钮 */
const close = () => {
  const obj = { path: '/system/user' };
  const obj: RouteLocationNormalized = {
    fullPath: '',
    hash: '',
    matched: [],
    meta: undefined,
    name: undefined,
    params: undefined,
    query: undefined,
    redirectedFrom: undefined,
    path: '/system/user'
  };
  proxy?.$tab.closeOpenPage(obj);
};
/** 提交按钮 */