YY преди 2 години
родител
ревизия
2924849a31

+ 1 - 1
src/components/common/studio/info.vue

@@ -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) =>

+ 15 - 0
src/components/common/web/index.vue

@@ -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>

+ 0 - 1
src/views/center/other/message/index.vue

@@ -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;
   }

+ 0 - 2
src/views/center/studio/info/index.vue

@@ -139,8 +139,6 @@ const toExam = (data: object) => {
 };
 // 导出
 const toExport = async (data: { _id: string; company_id: string; scientistinfo_id: string }) => {
-  console.log('1');
-
   router.push({
     path: '/center/studio/info/export',
     query: { id: data._id, company_id: data.company_id, scientistinfo_id: data.scientistinfo_id },

+ 0 - 1
src/views/center/users/scientist/index.vue

@@ -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: '分配角色成功' });
   }
 };

+ 4 - 3
src/views/home/index.vue

@@ -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>
+<script setup lang="ts">
+import web1 from '@/components/common/web/index.vue';
+</script>
 
 <style scoped></style>