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