0911
This commit is contained in:
		| @ -10,7 +10,7 @@ VITE_APP_ENV = 'development' | ||||
| # 李陈杰 209 | ||||
| # VITE_APP_BASE_API = 'http://192.168.110.209:8899' | ||||
| # 曾涛 | ||||
| VITE_APP_BASE_API = 'http://192.168.110.209:8899' | ||||
|   VITE_APP_BASE_API = 'http://192.168.110.210:8899' | ||||
| # 罗成 | ||||
| # VITE_APP_BASE_API = 'http://192.168.110.188:8899' | ||||
| # 朱银 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| <template> | ||||
|   <div class="leftPage"> | ||||
|     <div class="topPage"> | ||||
|       <Title style="font-size: 22px" title="企业关键指标" /> | ||||
|       <Title title="企业关键指标" /> | ||||
|       <div class="indicators"> | ||||
|         <div class="indicator-card" v-for="indicator in indicators" :key="indicator.id"> | ||||
|           <div style="display: flex; align-items: baseline; gap: 4px; margin-bottom: 5px"> | ||||
| @ -17,7 +17,7 @@ | ||||
|     </div> | ||||
|  | ||||
|     <div class="endPage"> | ||||
|       <Title style="font-size: 22px" title="人员情况" /> | ||||
|       <Title title="人员情况" /> | ||||
|       <!-- 人员总览区域 --> | ||||
|       <div class="people_overview"> | ||||
|         <div class="people_overview_content"> | ||||
| @ -80,7 +80,7 @@ | ||||
|  | ||||
|       <!-- 项目出勤率柱状图 --> | ||||
|       <div class="project_attendance_chart"> | ||||
|         <Title style="font-size: 22px" title="项目出勤率统计" /> | ||||
|         <Title title="项目出勤率统计" /> | ||||
|  | ||||
|         <div class="chart_content" ref="attendanceChartRef"></div> | ||||
|       </div> | ||||
| @ -124,7 +124,7 @@ const indicators = ref([ | ||||
|     id: '3', | ||||
|     name: '总容量', | ||||
|     value: '158.88', | ||||
|     unit: '个', | ||||
|     unit: 'MW', | ||||
|     iconPath: '/src/assets/images/totalCapacity.png' | ||||
|   }, | ||||
|   { | ||||
| @ -255,7 +255,7 @@ const scrollToProject = (index: number) => { | ||||
|     // 计算滚动条应该移动到的位置 | ||||
|     // 确保当前项目居中显示 | ||||
|     const totalProjects = projectAttendanceData.value.length; | ||||
|     const visiblePercentage = 15; // 与dataZoom的end值保持一致 | ||||
|     const visiblePercentage = 20; // 与dataZoom的end值保持一致 | ||||
|     const itemPercentage = 100 / totalProjects; // 每个项目所占总宽度的百分比 | ||||
|  | ||||
|     // 计算新的start值,使当前项目尽量居中显示 | ||||
| @ -879,10 +879,8 @@ onUnmounted(() => { | ||||
|   text-shadow: 0px 1.24px 6.21px rgba(0, 200, 83, 0.5); | ||||
| } | ||||
|  | ||||
| /* 点阵地图样式 */ | ||||
| .people_map { | ||||
|   width: 100%; | ||||
|   height: 120px; | ||||
|   margin-top: 8px; | ||||
|   background: rgba(10, 24, 45, 0.5); | ||||
|   border: 1px solid rgba(29, 214, 255, 0.1); | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| ID<template> | ||||
| <template> | ||||
|   <div class="large-screen"> | ||||
|     <Header /> | ||||
|     <div class="nav"> | ||||
| @ -21,7 +21,6 @@ import leftPage from './components/leftPage.vue'; | ||||
| import centerPage from './components/centerPage.vue'; | ||||
| import rightPage from './components/rightPage.vue'; | ||||
| // import '@/assets/styles/element.scss'; | ||||
|  | ||||
| </script> | ||||
|  | ||||
| <style scoped lang="scss"> | ||||
|  | ||||
| @ -101,10 +101,10 @@ | ||||
|  | ||||
|         <el-table-column label="操作" align="center" fixed="right" width="200"> | ||||
|           <template #default="scope"> | ||||
|             <!-- 查看子项按钮 --> | ||||
|             <el-tooltip content="查看子项" placement="top"> | ||||
|             <!-- 新增流转台账按钮 --> | ||||
|             <el-tooltip content="新增流转台账" placement="top"> | ||||
|               <el-button link type="primary" @click="handleViewSons(scope.row)" v-hasPermi="['land:landTransferLedger:childrenList']"> | ||||
|                 查看子项 | ||||
|                 新增流转台账 | ||||
|               </el-button> | ||||
|             </el-tooltip> | ||||
|             <el-tooltip content="删除" placement="top"> | ||||
| @ -1026,7 +1026,7 @@ const handleAdd = () => { | ||||
|   dialog.visible = true; | ||||
| }; | ||||
|  | ||||
| /** 查看子项按钮操作(打开子项弹窗时) */ | ||||
| /** 新增流转台账按钮操作(打开子项弹窗时) */ | ||||
| const handleViewSons = async (row: LandTransferLedgerVO) => { | ||||
|   if (!row?.id) return; | ||||
|  | ||||
|  | ||||
| @ -35,7 +35,9 @@ | ||||
|             <el-button type="warning" plain icon="Upload" @click="handleImport" v-hasPermi="['supplierInput:supplierInput:import']">导入</el-button> | ||||
|           </el-col> | ||||
|           <el-col :span="1.5"> | ||||
|             <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['supplierInput:supplierInput:export']">导出模板</el-button> | ||||
|             <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['supplierInput:supplierInput:export']" | ||||
|               >导出模板</el-button | ||||
|             > | ||||
|           </el-col> | ||||
|           <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> | ||||
|         </el-row> | ||||
| @ -703,7 +705,7 @@ const handleExport = () => { | ||||
|   try { | ||||
|     // 创建a标签并直接下载public目录下的静态文件 | ||||
|     const link = document.createElement('a'); | ||||
|     link.href = '/assets/files/供应商导入模板.xlsx'; // 使用public目录下现有的Excel文件作为模板 | ||||
|     link.href = '/xx.xlsx'; | ||||
|     link.download = '供应商导入模板.xlsx'; | ||||
|     document.body.appendChild(link); | ||||
|     link.click(); | ||||
| @ -746,7 +748,7 @@ const handleImport = () => { | ||||
|         loading.value = true; | ||||
|         // 调用导入接口 | ||||
|         const res = await leadingIn(formData, queryParams.value.projectId); | ||||
|         console.log("111111111111",queryParams.value.projectId); | ||||
|         console.log('111111111111', queryParams.value.projectId); | ||||
|  | ||||
|         if (res.code === 200) { | ||||
|           proxy?.$modal.msgSuccess('导入成功'); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user