@@ -101,7 +101,7 @@ const search = async (e) => {
// 1-管理员-不处理
// 3-依托单位-判断是否是自己的数据
if (user && user.role_type == '3' && user._id == e.user_id) {
- console.log('1');
+ // console.log('1');
} else {
fields.value = fields.value.filter(
(i) =>
@@ -0,0 +1,15 @@
+<template>
+ <div id="index">
+ <el-row>
+ <el-col :span="24" class="main"> 11111111111111111 </el-col>
+ </el-row>
+ </div>
+</template>
+
+<script setup lang="ts">
+import type { Ref } from 'vue';
+import { ref, toRefs } from 'vue';
+</script>
+<style scoped></style>
@@ -138,7 +138,6 @@ const toSubmit = () => {
};
// 修改
const toSee = (data) => {
- console.log(data);
for (const p1 of data.user) {
if (!p1.name) p1.name = p1.company;
}
@@ -139,8 +139,6 @@ const toExam = (data: object) => {
// 导出
const toExport = async (data: { _id: string; company_id: string; scientistinfo_id: string }) => {
-
router.push({
path: '/center/studio/info/export',
query: { id: data._id, company_id: data.company_id, scientistinfo_id: data.scientistinfo_id },
@@ -172,7 +172,6 @@ const updateRole = async (e) => {
role: [...info.role, roleInfo.value._id],
let res = await users.update(object);
- console.log(res.data);
if (res.errcode == 0) ElMessage({ type: 'success', message: '分配角色成功' });
@@ -2,13 +2,14 @@
<div id="home-1">
<el-row>
<el-col :span="24" class="main animate__animated animate__backInRight">
- <!-- <web-1></web-1> -->
- 系统首页
+ <component :is="web1"></component>
</el-col>
</el-row>
</div>
</template>
-<script setup lang="ts"></script>
+import web1 from '@/components/common/web/index.vue';
<style scoped></style>