Browse Source

taskId:067 remark:"commit"

deploy-dev
fks-xuxinyue 4 months ago
parent
commit
0855659d74
  1. 6
      hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts
  2. 4
      hx-ai-intelligent/src/icon/tanpaiguanli.svg
  3. 6
      hx-ai-intelligent/src/router/carbonEmissionManage.ts
  4. 4
      hx-ai-intelligent/vite.config.ts

6
hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts

@ -1,12 +1,12 @@
export enum carbonEmissionFactorLibrary {
getTableList = '/carbon/emission/factor/queryCarbonFactorPage',
addNewData = '/carbon/emission/factor/creatOrUpdate',
getTableList = '/carbon-smart/api/carbon/emission/factor/queryCarbonFactorPage',
addNewData = '/carbon-smart/api/carbon/emission/factor/creatOrUpdate',
editUser = '/carbon-smart/api/user/edit',
frozen = '/carbon-smart/api/user/frozen',
resetPwd = '/carbon-smart/api/user/resetPwd',
del = '/carbon-smart/api/user/del',
batchDel = '/carbon-smart/api/user/batchDel',
getCarbonFactorTree = '/carbon/emission/type/getCarbonFactorTree',
getCarbonFactorTree = '/carbon-smart/api/carbon/emission/type/getCarbonFactorTree',
queryDeptTree = '/carbon-smart/api/user/queryDeptTree',
queryUserPerList = '/carbon-smart/api/user/queryUserPerList',
}

4
hx-ai-intelligent/src/icon/tanpaiguanli.svg

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="14.5244140625" height="14.5294189453125" viewBox="0 0 14.5244140625 14.5294189453125" fill="none">
<path d="M6.61912 12.2301C6.6032 12.5346 6.44482 12.8138 6.19166 12.9837L3.73703 14.4259C3.46877 14.5639 3.15036 14.5639 2.8821 14.4259L0.427467 12.9837C0.174295 12.8138 0.0159187 12.5346 0 12.2301L0 9.34584C0.0162582 9.04147 0.174555 8.76241 0.427467 8.59227L2.88209 7.15012C3.15031 7.01189 3.46881 7.01189 3.73703 7.15012L6.19165 8.59337C6.44482 8.76326 6.6032 9.04247 6.61912 9.34694L6.61912 12.2301ZM14.5239 12.2301C14.508 12.5346 14.3497 12.8138 14.0965 12.9837L11.6419 14.4259C11.3736 14.5639 11.0552 14.5639 10.7869 14.4259L8.33231 12.9837C8.079 12.814 7.92058 12.5347 7.90484 12.2301L7.90484 9.34584C7.92075 9.04137 8.07913 8.76217 8.33231 8.59227L10.7869 7.14902C11.0551 7.01079 11.3736 7.01079 11.6419 7.14902L14.0965 8.59117C14.3495 8.76118 14.5079 9.04031 14.524 9.34475L14.5239 12.2301ZM10.5842 5.18465C10.5683 5.48912 10.4099 5.76833 10.1567 5.93822L7.70211 7.38147C7.43394 7.51988 7.11535 7.51988 6.84718 7.38147L4.39256 5.93822C4.13938 5.76833 3.981 5.48912 3.96508 5.18465L3.96508 2.30036C3.98117 1.99594 4.13951 1.7168 4.39256 1.54678L6.84718 0.103527C7.11544 -0.0345116 7.43386 -0.0345116 7.70212 0.103527L10.1567 1.54568C10.41 1.71546 10.5685 1.99473 10.5842 2.29926L10.5842 5.18465Z" fill="#8D96A3" >
</path>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

6
hx-ai-intelligent/src/router/carbonEmissionManage.ts

@ -2,13 +2,13 @@ const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipment = {
path: '/carbonEmissionManage',
name: 'CarbonEmissionManage',
meta: { title: '碳排管理', icon: 'shebeiguanli', index: 1 },
meta: { title: '碳排管理', icon: 'tanpaiguanli', index: 1 },
redirect: { name: 'CarbonEmissionStatistics' },
children: [
{
path: 'carbonEmissionStatistics',
name: 'CarbonEmissionStatistics',
meta: { title: '碳排统计', hideChildren: true, icon: 'shebeiguanli' },
meta: { title: '碳排统计', hideChildren: true, icon: 'tanpaiguanli' },
component: Base,
redirect: { name: 'CarbonEmissionStatisticsIndex' },
children: [
@ -28,7 +28,7 @@ const equipment = {
{
path: 'carbonEmissionFactorLibrary',
name: 'CarbonEmissionFactorLibrary',
meta: { title: '碳排因子库', hideChildren: true, icon: 'shebeiguanli' },
meta: { title: '碳排因子库', hideChildren: true, icon: 'tanpaiguanli' },
component: Base,
redirect: { name: 'CarbonEmissionFactorLibraryIndex' },
children: [

4
hx-ai-intelligent/vite.config.ts

@ -16,9 +16,5 @@ const proxy = {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/carbon-smart/, ''),
},
'/carbon': {
target: 'http://192.168.11.169:8224',
changeOrigin: true
},
};
export default configFun({ dirname, proxy, serviceMode: 'saas', baseDir: '../' });

Loading…
Cancel
Save