Переглянути джерело

修改页面布局和logo图标替换

mork 2 тижнів тому
батько
коміт
cc455ac785
3 змінених файлів з 30 додано та 12 видалено
  1. 14 6
      README.md
  2. 11 3
      src/layouts/MainLayout.vue
  3. 5 3
      src/views/map/OneMap.vue

+ 14 - 6
README.md

@@ -148,6 +148,15 @@ sq_manage/
 │   └── env.d.ts
 ├── word/                           # 产品需求 & 设计文档
+├── harness/                        # AI Agent 管理文件(功能清单、进度、初始化脚本)
+│   ├── feature_list.json           #   功能清单与状态追踪
+│   ├── progress.md                 #   会话进度日志
+│   ├── init.sh / init.ps1          #   一键初始化(安装依赖 + 验证)
+│   ├── session-handoff.md          #   会话交接模板
+│   ├── clean-state-checklist.md    #   收尾检查清单
+│   ├── evaluator-rubric.md         #   评审评分表
+│   └── quality-document.md         #   代码库质量快照
+├── AGENTS.md                       # AI Agent 操作手册(根指令文件)
 ├── vite.config.ts                  # ⭐ Vite 构建配置(别名 @、开发代理)
 ├── tsconfig.json
 ├── index.html
@@ -201,6 +210,7 @@ sq_manage/
 - **构建产物路径**:Vite `base` 设为 `./`,产物可直接部署到任意子路径
 - **Token 过期**:后端返回 `无效token` 或 HTTP 401/403 时,前端会自动清理登录态并跳转登录页
 - **文件上传**:`uploadFile` 接口使用 `multipart/form-data`,需传 `FormData`
+- **AI Agent 开发**:项目已集成 Harness 工程文件,Agent 工作前请阅读根目录 `AGENTS.md`,通过 `harness/init.ps1`(PowerShell)或 `bash harness/init.sh`(Git Bash/WSL)一键完成依赖安装与基线验证
 
 ---
 
@@ -222,12 +232,6 @@ Internal use only.
 7、 招标池模块,添加开标监控
 8、 投标结果模块,添加投标结果录入与展示
 9、 登录页,添加登录失败提示
-10、 项目台账模块,添加项目详情页的项目统计
-11、 市场信息模块,添加竞争对手详情页
-12、 续标管理模块,添加续标详情页的项目统计
-13、 招标池模块,添加开标监控页的项目统计
-14、 投标结果模块,添加投标结果详情页的项目统计
-15、 登录页,添加登录失败提示
 
 - **2023-07-17**
 1、 优化登录页,添加登录失败提示
@@ -260,3 +264,7 @@ Internal use only.
 3、 优化匹配招标公告功能,根据项目信息自动匹配相关招标
 4、 优化检测标书是否中标功能,根据项目信息自动检测标书是否中标,
 5、 优化确认中标功能,手动确认中标并生成新的项目
+
+- **2023-09-01**
+1、 增加AI Agent 开发,项目已集成 Harness 工程文件
+2、 修改项目布局和Logo图标

+ 11 - 3
src/layouts/MainLayout.vue

@@ -63,7 +63,7 @@
       </header>
 
       <!-- 路由内容 -->
-      <div class="content">
+      <div :class="isGis == '/onemap' ? 'content-gis' : 'content'">
         <router-view />
       </div>
     </div>
@@ -71,7 +71,7 @@
 </template>
 
 <script setup lang="ts">
-import { computed } from 'vue'
+import { computed, ref } from 'vue'
 import { useRouter } from 'vue-router'
 import { ElMessage } from 'element-plus'
 import { useUserStore } from '@/stores/user'
@@ -92,10 +92,11 @@ const navItems = [
   { path: '/tender-pool', name: '招标监测' },
   { path: '/bid-result', name: '开标与中标' }
 ]
-
+const isGis = ref('')
 const currentTitle = computed(() => {
   // sessionStorage.setItem('activeTab','ongoing')
   const item = navItems.find(n => n.path === router.currentRoute.value.path)
+  isGis.value = item?.path ?? ''
   if(!item){
     return sessionStorage.getItem('name')
   }else{
@@ -273,6 +274,13 @@ const handleLogout = () => {
   height: calc(100vh - 70px);
   overflow-y: auto;
 }
+.content-gis {
+  padding: 0 0;
+  /* flex: 1; */
+  /* height: calc(70px); */
+  height: 100%;
+  overflow-y: auto;
+}
 
 .el-dropdown-link {
   cursor: pointer;

+ 5 - 3
src/views/map/OneMap.vue

@@ -12,7 +12,7 @@
             allowfullscreen 
             width="100%" 
             height="100%" 
-            style="border-radius: 10px;"
+            style=""
             @load="onIframeLoad"
           ></iframe>
         </div>
@@ -199,6 +199,7 @@ watch(iframeKey, () => {
 <style scoped>
 .gis-page {
   width: 100%;
+  height: 100%;
 }
 
 .card {
@@ -220,8 +221,9 @@ watch(iframeKey, () => {
 
 .gis-container {
   display: flex;
-  height: calc(100vh - (170px - 46px));
-  border-radius: 10px;
+  height: calc(100vh - (170px - 108px));
+  /* height: calc(100vh - (170px - 46px));
+  border-radius: 10px; */
 }
 
 @media (max-width: 768px) {