52 changed files with 1303 additions and 1 deletions
@ -0,0 +1,2 @@ |
|||
'use strict'; |
|||
|
@ -0,0 +1,457 @@ |
|||
/* eslint-disable*/ |
|||
'use strict'; |
|||
|
|||
module.exports = dc => { |
|||
const DataTypes = dc.ORM; |
|||
const sequelize = dc.orm; |
|||
const Road = sequelize.define("road", { |
|||
id: { |
|||
type: DataTypes.INTEGER, |
|||
allowNull: false, |
|||
defaultValue: null, |
|||
comment: null, |
|||
primaryKey: true, |
|||
field: "id", |
|||
autoIncrement: true, |
|||
unique: "road_id_uindex" |
|||
}, |
|||
routeName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路线名称", |
|||
primaryKey: false, |
|||
field: "route_name", |
|||
autoIncrement: false |
|||
}, |
|||
routeCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路线代码", |
|||
primaryKey: false, |
|||
field: "route_code", |
|||
autoIncrement: false |
|||
}, |
|||
sectionNo: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路段序号", |
|||
primaryKey: false, |
|||
field: "section_no", |
|||
autoIncrement: false |
|||
}, |
|||
townshipCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "乡镇编码", |
|||
primaryKey: false, |
|||
field: "township_code", |
|||
autoIncrement: false |
|||
}, |
|||
startingPlaceName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "起点地名", |
|||
primaryKey: false, |
|||
field: "starting_place_name", |
|||
autoIncrement: false |
|||
}, |
|||
startStation: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "起点桩号", |
|||
primaryKey: false, |
|||
field: "start_station", |
|||
autoIncrement: false |
|||
}, |
|||
categoryOfStartingPointAndDividingPoint: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "起点分界点类别", |
|||
primaryKey: false, |
|||
field: "category_of_starting_point_and_dividing_point", |
|||
autoIncrement: false |
|||
}, |
|||
stopPlaceName: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "止点地名", |
|||
primaryKey: false, |
|||
field: "stop_place_name", |
|||
autoIncrement: false |
|||
}, |
|||
categoryOfDeadCenterAndDividingPoint: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "止点分界点类别", |
|||
primaryKey: false, |
|||
field: "category_of_dead_center_and_dividing_point", |
|||
autoIncrement: false |
|||
}, |
|||
stopStation: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "止点桩号", |
|||
primaryKey: false, |
|||
field: "stop_station", |
|||
autoIncrement: false |
|||
}, |
|||
sectionType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路段类型", |
|||
primaryKey: false, |
|||
field: "section_type", |
|||
autoIncrement: false |
|||
}, |
|||
natureOfRoadSection: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路段性质", |
|||
primaryKey: false, |
|||
field: "nature_of_road_section", |
|||
autoIncrement: false |
|||
}, |
|||
completionTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "建成时间", |
|||
primaryKey: false, |
|||
field: "completion_time", |
|||
autoIncrement: false |
|||
}, |
|||
gbmAndCivilizedModelRoad: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "GBM及文明样板路", |
|||
primaryKey: false, |
|||
field: "gbm_and_civilized_model_road", |
|||
autoIncrement: false |
|||
}, |
|||
landforms: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "地貌", |
|||
primaryKey: false, |
|||
field: "landforms", |
|||
autoIncrement: false |
|||
}, |
|||
natureOfCharges: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "收费性质", |
|||
primaryKey: false, |
|||
field: "nature_of_charges", |
|||
autoIncrement: false |
|||
}, |
|||
numberOfCulverts: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "涵洞数量", |
|||
primaryKey: false, |
|||
field: "number_of_culverts", |
|||
autoIncrement: false |
|||
}, |
|||
technicalLevel: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "技术等级", |
|||
primaryKey: false, |
|||
field: "technical_level", |
|||
autoIncrement: false |
|||
}, |
|||
pavementType: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路面类型", |
|||
primaryKey: false, |
|||
field: "pavement_type", |
|||
autoIncrement: false |
|||
}, |
|||
pavementWidth: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路面宽度", |
|||
primaryKey: false, |
|||
field: "pavement_width", |
|||
autoIncrement: false |
|||
}, |
|||
subgradeWidth: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路基宽度", |
|||
primaryKey: false, |
|||
field: "subgrade_width", |
|||
autoIncrement: false |
|||
}, |
|||
laneCharacteristics: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "车道特征", |
|||
primaryKey: false, |
|||
field: "lane_characteristics", |
|||
autoIncrement: false |
|||
}, |
|||
whetherItIsOpenToTrafficInSunnyOrRainyDays: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否晴雨通车", |
|||
primaryKey: false, |
|||
field: "whether_it_is_open_to_traffic_in_sunny_or_rainy_days", |
|||
autoIncrement: false |
|||
}, |
|||
designSpeedPerHour: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "设计时速", |
|||
primaryKey: false, |
|||
field: "design_speed_per_hour", |
|||
autoIncrement: false |
|||
}, |
|||
urbanManagementSectionOrNot: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否城管路段", |
|||
primaryKey: false, |
|||
field: "urban_management_section_or_not", |
|||
autoIncrement: false |
|||
}, |
|||
managementAndMaintenanceUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "管养单位", |
|||
primaryKey: false, |
|||
field: "management_and_maintenance_unit", |
|||
autoIncrement: false |
|||
}, |
|||
roadAdministrationUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "路政管理单位", |
|||
primaryKey: false, |
|||
field: "road_administration_unit", |
|||
autoIncrement: false |
|||
}, |
|||
alimentation: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "列养情况", |
|||
primaryKey: false, |
|||
field: "alimentation", |
|||
autoIncrement: false |
|||
}, |
|||
sourceOfListedMaintenanceFunds: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "列养资金来源", |
|||
primaryKey: false, |
|||
field: "source_of_listed_maintenance_funds", |
|||
autoIncrement: false |
|||
}, |
|||
curingTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "养护时间", |
|||
primaryKey: false, |
|||
field: "curing_time_", |
|||
autoIncrement: false |
|||
}, |
|||
greeningMileage: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "可绿化里程", |
|||
primaryKey: false, |
|||
field: "greening_mileage", |
|||
autoIncrement: false |
|||
}, |
|||
greeningMileaged: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "已绿化里程", |
|||
primaryKey: false, |
|||
field: "greening_mileaged", |
|||
autoIncrement: false |
|||
}, |
|||
typeOfRepeatedRoadSection: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "重复道路路段类型", |
|||
primaryKey: false, |
|||
field: "type_of_repeated_road_section", |
|||
autoIncrement: false |
|||
}, |
|||
serialNumberOfRepeatedSection: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "重复路段序号", |
|||
primaryKey: false, |
|||
field: "serial_number_of_repeated_section", |
|||
autoIncrement: false |
|||
}, |
|||
repeatedSectionRouteCode: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "重复路段路线编码", |
|||
primaryKey: false, |
|||
field: "repeated_section_route_code", |
|||
autoIncrement: false |
|||
}, |
|||
reportingUnit: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "填报单位", |
|||
primaryKey: false, |
|||
field: "reporting_unit", |
|||
autoIncrement: false |
|||
}, |
|||
reasonForChange: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "变更原因", |
|||
primaryKey: false, |
|||
field: "reason_for_change", |
|||
autoIncrement: false |
|||
}, |
|||
changeTime: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "变更时间", |
|||
primaryKey: false, |
|||
field: "change_time", |
|||
autoIncrement: false |
|||
}, |
|||
whetherMaintenanceManagedHighway: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "是否按干线公路管理接养", |
|||
primaryKey: false, |
|||
field: "whether_maintenance_managed_highway", |
|||
autoIncrement: false |
|||
}, |
|||
remarks: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "备注", |
|||
primaryKey: false, |
|||
field: "remarks", |
|||
autoIncrement: false |
|||
}, |
|||
routeCodeOfLastYear: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上年路线编码", |
|||
primaryKey: false, |
|||
field: "route_code_of_last_year", |
|||
autoIncrement: false |
|||
}, |
|||
routeNameOfLastYear: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上年路线名称", |
|||
primaryKey: false, |
|||
field: "route_name_of_last_year", |
|||
autoIncrement: false |
|||
}, |
|||
startingStationOfLastYear: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上年起点桩号", |
|||
primaryKey: false, |
|||
field: "starting_station_of_last_year", |
|||
autoIncrement: false |
|||
}, |
|||
lastYearsEndingPointStakeNumber: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "上年止点桩号", |
|||
primaryKey: false, |
|||
field: "last_years_ending_point_stake_number", |
|||
autoIncrement: false |
|||
}, |
|||
graphicMileage: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "图形里程", |
|||
primaryKey: false, |
|||
field: "graphic_mileage", |
|||
autoIncrement: false |
|||
}, |
|||
chainageMileage: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "桩号里程", |
|||
primaryKey: false, |
|||
field: "chainage_mileage", |
|||
autoIncrement: false |
|||
}, |
|||
districtcounty: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "所在区县", |
|||
primaryKey: false, |
|||
field: "districtcounty", |
|||
autoIncrement: false |
|||
}, |
|||
locationCity: { |
|||
type: DataTypes.STRING, |
|||
allowNull: true, |
|||
defaultValue: null, |
|||
comment: "所在地市", |
|||
primaryKey: false, |
|||
field: "location_city", |
|||
autoIncrement: false |
|||
} |
|||
}, { |
|||
tableName: "road", |
|||
comment: "", |
|||
indexes: [] |
|||
}); |
|||
dc.models.Road = Road; |
|||
return Road; |
|||
}; |
@ -0,0 +1,17 @@ |
|||
{ |
|||
// 使用 IntelliSense 了解相关属性。 |
|||
// 悬停以查看现有属性的描述。 |
|||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 |
|||
"version": "0.2.0", |
|||
"configurations": [ |
|||
{ |
|||
"type": "node", |
|||
"request": "launch", |
|||
"name": "启动程序", |
|||
"skipFiles": [ |
|||
"<node_internals>/**" |
|||
], |
|||
"program": "${workspaceFolder}\\index.js" |
|||
} |
|||
] |
|||
} |
@ -0,0 +1,15 @@ |
|||
'use strict'; |
|||
|
|||
import { basicAction } from '@peace/utils' |
|||
import { ApiTable } from '$utils' |
|||
|
|||
export function getMembers(orgId) { |
|||
return dispatch => basicAction({ |
|||
type: 'get', |
|||
dispatch: dispatch, |
|||
actionType: 'GET_MEMBERS', |
|||
url: `${ApiTable.getEnterprisesMembers.replace('{enterpriseId}', orgId)}`, |
|||
msg: { error: '获取用户列表失败' }, |
|||
reducer: { name: 'members' } |
|||
}); |
|||
} |
@ -0,0 +1,7 @@ |
|||
'use strict'; |
|||
|
|||
import * as example from './example' |
|||
|
|||
export default { |
|||
...example |
|||
} |
@ -0,0 +1,53 @@ |
|||
import React, { useEffect, useState } from 'react'; |
|||
import { connect } from 'react-redux'; |
|||
import { Spin, Card } from 'antd'; |
|||
import Build from './footer/build' |
|||
import '../style.less'; |
|||
import Header from './heand'; |
|||
import Footer from './footer'; |
|||
import ProTable, { TableDropdown } from '@ant-design/pro-table'; |
|||
|
|||
const Example = (props) => { |
|||
const { dispatch, actions, user, loading } = props |
|||
const [tabKey, setTabKey] = useState('leadership') |
|||
|
|||
useEffect(() => { |
|||
dispatch(actions.example.getMembers(user.orgId)) |
|||
}, []) |
|||
const tabChange = (tab) => { |
|||
//leader 领导驾驶舱 site 工地 toilet 公厕 light 照明 water水质 encomic经济 environment 生态环境 security 智慧安监
|
|||
// setCurrentTab(tab);
|
|||
setTabKey(tab) |
|||
// dispatch({ type: 'TAB-CHANGE', data: tab })
|
|||
} |
|||
|
|||
return ( |
|||
<Spin tip="biubiubiu~" spinning={loading}> |
|||
<div id='example2' style={{ |
|||
backgroundColor: "#031839", width: "100vw", height: "100vh", /* transform: `scale(${Math.min( |
|||
document.body.clientWidth / 1920, |
|||
document.body.clientHeight / 1080 |
|||
)})`, */
|
|||
}}> |
|||
<div style={{ width: "100%", height: "10%" }}> |
|||
<Header tabChange={tabChange} tabKey={tabKey} dispatch={dispatch} /> |
|||
</div> |
|||
<div style={{ width: "100%", height: "90%" }}> |
|||
<Footer tabKey={tabKey} /> |
|||
</div> |
|||
</div> |
|||
</Spin> |
|||
) |
|||
} |
|||
|
|||
function mapStateToProps(state) { |
|||
const { auth, global, members } = state; |
|||
return { |
|||
loading: members.isRequesting, |
|||
user: auth.user, |
|||
actions: global.actions, |
|||
members: members.data |
|||
}; |
|||
} |
|||
|
|||
export default connect(mapStateToProps)(Example); |
@ -0,0 +1,8 @@ |
|||
import React from 'react' |
|||
|
|||
const Build = () => { |
|||
return ( |
|||
<>Build</> |
|||
) |
|||
} |
|||
export default Build |
@ -0,0 +1,8 @@ |
|||
import React from 'react' |
|||
|
|||
const Conserve = () => { |
|||
return ( |
|||
<>1212121</> |
|||
) |
|||
} |
|||
export default Conserve |
@ -0,0 +1,8 @@ |
|||
import React from 'react' |
|||
|
|||
const Guanli = () => { |
|||
return ( |
|||
<>管理</> |
|||
) |
|||
} |
|||
export default Guanli |
@ -0,0 +1,29 @@ |
|||
import React from 'react' |
|||
import Build from './build' |
|||
import Conserve from './conserve' |
|||
import Guanli from './guanli' |
|||
import Leadership from './leadership' |
|||
import Operation from './operation' |
|||
const Footer = ({ tabKey }) => { |
|||
return ( |
|||
<> |
|||
{ |
|||
(() => { |
|||
switch (tabKey) { |
|||
case 'build': |
|||
return <Build /> |
|||
case 'conserve': |
|||
return <Conserve /> |
|||
case "leadership": |
|||
return <Leadership /> |
|||
case "guanli": |
|||
return <Guanli /> |
|||
case "operation": |
|||
return <Operation /> |
|||
} |
|||
})() |
|||
} |
|||
</> |
|||
) |
|||
} |
|||
export default Footer |
@ -0,0 +1,17 @@ |
|||
import React from 'react' |
|||
import Centerlefttop from "./centerleft/center-left-top" |
|||
import Centerleftcenter from "./centerleft/center-left-center" |
|||
import Centerleftcentertop from "./centerleft/center-left-centertop" |
|||
import Centerleftbottom from "./centerleft/center-left-bottom" |
|||
|
|||
const CenterLeft = () => { |
|||
return ( |
|||
<> |
|||
<div style={{ width: "23%", height: "100%", float: "left", marginLeft: "1%" }}> |
|||
<Centerlefttop /> |
|||
<Centerleftbottom /> |
|||
</div> |
|||
</> |
|||
) |
|||
} |
|||
export default CenterLeft |
@ -0,0 +1,19 @@ |
|||
import React from 'react' |
|||
import Centerrighttop from "./centerRight/center-right-top" |
|||
import Centerrightcenter from "./centerRight/center-right-center" |
|||
import CenterRightcentertop from "./centerRight/center-right-centertop" |
|||
import Centerrightbottom from "./centerRight/center-right-bottom" |
|||
|
|||
const CenterLeft = () => { |
|||
return ( |
|||
<> |
|||
<div style={{ width: "23%", height: "100%", float: "right", marginRight: "1%" }}> |
|||
<Centerrighttop /> |
|||
<CenterRightcentertop /> |
|||
<Centerrightcenter /> |
|||
<Centerrightbottom /> |
|||
</div> |
|||
</> |
|||
) |
|||
} |
|||
export default CenterLeft |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Rightbottom = () => { |
|||
const style = { height: "33%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Rightbottom |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Rightcenter = () => { |
|||
const style = { height: "17%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Rightcenter |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Rightcentertop = () => { |
|||
const style = { height: "23%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Rightcentertop |
@ -0,0 +1,15 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Righttop = (props) => { |
|||
const { } = props |
|||
const style = { height: "17%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Righttop |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Leftbottom = () => { |
|||
const style = { height: "23%", marginTop: "5%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Leftbottom |
@ -0,0 +1,16 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Leftcenter = () => { |
|||
const style = { |
|||
height: "23%" |
|||
} |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Leftcenter |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Leftcentertop = () => { |
|||
const style = { height: "23%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Leftcentertop |
@ -0,0 +1,15 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Lefttop = (props) => { |
|||
const { } = props |
|||
const style = { height: "23%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Lefttop |
@ -0,0 +1,18 @@ |
|||
import React from 'react' |
|||
import Left from './left' |
|||
import Right from './right' |
|||
import CenterLeft from "./centerLeft" |
|||
import Centerright from "./centerRight" |
|||
|
|||
const Leadership = () => { |
|||
return ( |
|||
<> |
|||
<Left /> |
|||
<CenterLeft /> |
|||
<Right /> |
|||
{/* <Centerright /> */} |
|||
|
|||
</> |
|||
) |
|||
} |
|||
export default Leadership |
@ -0,0 +1,17 @@ |
|||
import React from 'react' |
|||
import Lefttop from './left/left-top' |
|||
import Leftcenter from "./left/left-center" |
|||
import Leftbottom from './left/left-bottom' |
|||
|
|||
const Left = () => { |
|||
return ( |
|||
<> |
|||
<div style={{ width: "23%", height: "100%", float: "left" }}> |
|||
<Lefttop /> |
|||
<Leftcenter /> |
|||
<Leftbottom /> |
|||
</div> |
|||
</> |
|||
) |
|||
} |
|||
export default Left |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Leftbottom = () => { |
|||
const style = { height: "25%", marginTop: "5%" } |
|||
return ( |
|||
<> |
|||
<Module style={style} title={""}> |
|||
|
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Leftbottom |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Leftcenter = () => { |
|||
const style = { height: "30%", marginTop: "5%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Leftcenter |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Lefttop = () => { |
|||
const style = { height: "25%" } |
|||
return ( |
|||
<> |
|||
<Module style={style} title={"道路拥堵指数"} > |
|||
{/* <div style={{ width: "40%", height: "40%", background: "red" }}></div> */} |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Lefttop |
@ -0,0 +1,16 @@ |
|||
import React from 'react' |
|||
import Righttop from './right/right-top' |
|||
import Rightcenter from './right/right-center' |
|||
import Rightbottom from './right/right-bottom' |
|||
|
|||
const Right = () => { |
|||
return ( |
|||
<> |
|||
<div style={{ width: "25%", height: "100%", float: "right" }}> |
|||
<Righttop /> |
|||
<Rightbottom /> |
|||
</div> |
|||
</> |
|||
) |
|||
} |
|||
export default Right |
@ -0,0 +1,14 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Rightbottom = () => { |
|||
const style = { height: "45%", marginTop: "5%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
<div style={{ width: "40%", height: "40%", background: "red" }}></div> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Rightbottom |
@ -0,0 +1,9 @@ |
|||
import React from 'react' |
|||
|
|||
const Rightcenter = () => { |
|||
return ( |
|||
<><div style={{ width: /* width || */ "100%", height: /* height || */ "30%" }}> |
|||
</div></> |
|||
) |
|||
} |
|||
export default Rightcenter |
@ -0,0 +1,13 @@ |
|||
import React from 'react' |
|||
import Module from '../../../public/module' |
|||
|
|||
const Righttop = () => { |
|||
const style = { height: "45%" } |
|||
return ( |
|||
<> |
|||
<Module style={style}> |
|||
</Module> |
|||
</> |
|||
) |
|||
} |
|||
export default Righttop |
@ -0,0 +1,8 @@ |
|||
import React from 'react' |
|||
|
|||
const Operation = () => { |
|||
return ( |
|||
<>运营</> |
|||
) |
|||
} |
|||
export default Operation |
@ -0,0 +1,40 @@ |
|||
import React, { useState, uesEffect } from 'react' |
|||
import { push } from 'react-router-redux'; |
|||
import "./style.less" |
|||
import { Tabs } from 'antd'; |
|||
|
|||
|
|||
const { TabPane } = Tabs; |
|||
const Header = (props) => { |
|||
const { dispatch, tabChange, tabKey } = props |
|||
// const [tab, setTad] = useState("base")
|
|||
const onClick = (tab) => { |
|||
// setTad({ tab })
|
|||
tabChange(tab) |
|||
} |
|||
const dianji = () => { |
|||
dispatch(push('/fillion/infor')) |
|||
} |
|||
return ( |
|||
<div style={{ position: "relative" }}> |
|||
<img style={{ width: "100%", position: "absolute" }} src='/assets/images/quanju/beijingtou.png' /> |
|||
<div className={tabKey == "build" ? "tabKey-map" : "notabKey"} style={{ backgroundImage: "url(/assets/images/quanju/zuobeijing.png)", backgroundSize: "100% 100%" }} onClick={() => { |
|||
onClick("build") |
|||
}}><a>建设</a></div> |
|||
<div className={tabKey == "conserve" ? "tabKey-map" : "notabKey"} style={{ left: "11.5%", backgroundImage: "url(/assets/images/quanju/zuobeijing.png)", backgroundSize: "100% 100%" }} onClick={() => { |
|||
onClick("conserve") |
|||
}}><a>养护</a></div> |
|||
<div className={tabKey == "leadership" ? "tabKey-map" : "notabKey"} style={{ left: "23%", backgroundImage: "url(/assets/images/quanju/zuobeijing.png)", backgroundSize: "100% 100%" }} onClick={() => { |
|||
onClick("leadership") |
|||
}}><a>领导驾驶舱</a></div> |
|||
<div className={tabKey == "guanli" ? "tabKey-map" : "notabKey"} style={{ left: "65%", backgroundImage: "url(/assets/images/quanju/youbeijing.png)", backgroundSize: "100% 100%" }} onClick={() => { |
|||
onClick("guanli") |
|||
}}><a>管理</a></div> |
|||
<div className={tabKey == "operation" ? "tabKey-map" : "notabKey"} style={{ left: "76%", backgroundImage: "url(/assets/images/quanju/youbeijing.png)", backgroundSize: "100% 100%" }} onClick={() => { |
|||
onClick("operation") |
|||
}}><a>运营</a></div> |
|||
<div style={{ color: "red", position: "absolute", left: "92%", top: "15px" }} onClick={() => dianji()}>南昌县运输交通总局</div> |
|||
</div> |
|||
) |
|||
} |
|||
export default Header |
@ -0,0 +1,23 @@ |
|||
.tabKey-map{ |
|||
width: 12%; |
|||
height: 45px; |
|||
text-align: center; |
|||
position: absolute; |
|||
top: 30px; |
|||
a{ |
|||
color: #c3d4f5; |
|||
line-height: 45px; |
|||
} |
|||
} |
|||
.notabKey{ |
|||
width:12%; |
|||
height: 45px; |
|||
position: absolute; |
|||
top: 30px; |
|||
text-align: center; |
|||
a{ |
|||
color: #6593c6; |
|||
line-height: 45px; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,6 @@ |
|||
'use strict'; |
|||
|
|||
import Example from './example'; |
|||
import Build from './footer/build' |
|||
|
|||
export { Example, Build }; |
@ -0,0 +1,4 @@ |
|||
@font-face { |
|||
font-family: "YouSheBiaoTiHei"; |
|||
src: url("/assets/fontziti/YouSheBiaoTiHei-2.ttf") format("truetype"); |
|||
} |
@ -0,0 +1,22 @@ |
|||
import React from 'react' |
|||
import "./font.css" |
|||
|
|||
const Module = (props) => { |
|||
const { style, children, title } = props |
|||
return ( |
|||
<> |
|||
<div style={{ width: style?.width || "100%", height: style?.height || "30%", backgroundColor: "#042263", marginTop: style?.marginTop || "0" }}> |
|||
<div style={{ width: "100%", height: "40px"/* , backgroundColor: "#fff" */, position: "relative" }}> |
|||
{/* <p>{title || []}</p> */} |
|||
<img src='/assets/images/quanju/icon.png' style={{ width: "4%", position: "absolute", left: "3%", top: "20%" }} /> |
|||
<span style={{ position: "absolute", color: "#FFFFFF", fontSize: "24px", fontFamily: "YouSheBiaoTiHei", left: "8%" }}>{title || []}</span> |
|||
<img src='/assets/images/quanju/mokuaitou.png' style={{ width: "100%", height: "28px", position: "absolute", top: "12px" }} /> |
|||
</div> |
|||
<div style={{ width: "100%", height: "70%" }}> |
|||
{children} |
|||
</div> |
|||
</div> |
|||
</> |
|||
) |
|||
} |
|||
export default Module |
@ -0,0 +1,15 @@ |
|||
'use strict'; |
|||
|
|||
import reducers from './reducers'; |
|||
import routes from './routes'; |
|||
import actions from './actions'; |
|||
import { getNavItem } from './nav-item'; |
|||
|
|||
export default { |
|||
key: 'example2', |
|||
name: '书写示例', |
|||
reducers: reducers, |
|||
routes: routes, |
|||
actions: actions, |
|||
getNavItem: getNavItem |
|||
}; |
@ -0,0 +1,16 @@ |
|||
import React from 'react'; |
|||
import { Link } from 'react-router-dom'; |
|||
import { Menu } from 'antd'; |
|||
import { SettingOutlined } from '@ant-design/icons'; |
|||
|
|||
const SubMenu = Menu.SubMenu; |
|||
|
|||
export function getNavItem(user, dispatch) { |
|||
return ( |
|||
<SubMenu key="example2" icon={<SettingOutlined />} title={'举个栗子'}> |
|||
<Menu.Item key="e1"> |
|||
<Link to="/example2/e1">举个棒子2</Link> |
|||
</Menu.Item> |
|||
</SubMenu> |
|||
); |
|||
} |
@ -0,0 +1,5 @@ |
|||
'use strict'; |
|||
|
|||
export default { |
|||
|
|||
} |
@ -0,0 +1,21 @@ |
|||
'use strict'; |
|||
import { Example, Build } from './containers'; |
|||
|
|||
export default [{ |
|||
type: 'outer', |
|||
route: { |
|||
path: '/quanju', |
|||
key: 'quanju', |
|||
breadcrumb: '栗子222', |
|||
exact: false, |
|||
component: Example, |
|||
// 不设置 component 则面包屑禁止跳转
|
|||
// childRoutes: [{
|
|||
// path: '/e2',
|
|||
// key: 'e2',
|
|||
// exact: false,
|
|||
// component: Build,
|
|||
// breadcrumb: '棒子',
|
|||
// }]
|
|||
} |
|||
}]; |
@ -0,0 +1,3 @@ |
|||
#example:hover { |
|||
font-size: larger; |
|||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,126 @@ |
|||
try { |
|||
const { Pool, Client } = require('pg') |
|||
const request = require('superagent'); |
|||
const Hex = require('crypto-js/enc-hex'); |
|||
const MD5 = require('crypto-js/md5'); |
|||
const XLSX = require('xlsx') |
|||
const path = require('path') |
|||
const fs = require("fs"); |
|||
|
|||
// 连接数据库
|
|||
const pool = new Pool({ |
|||
user: 'FashionAdmin', |
|||
host: '10.8.30.156', |
|||
database: 'SmartEmergency', |
|||
password: '123456', |
|||
port: 5432, |
|||
}) |
|||
|
|||
let appid = '20200917000567738'; |
|||
let key = 'xXm4jsuuD38JIkkhEcK6'; |
|||
const getAnswer = async (query) => { |
|||
let start = (new Date()).getTime(); |
|||
let salt = start; |
|||
let str1 = appid + query + salt + key; |
|||
let sign = Hex.stringify(MD5(str1)); |
|||
console.log(`翻译:${query}`); |
|||
let answer = await request.get('http://api.fanyi.baidu.com/api/trans/vip/translate').timeout(1000 * 30).query({ |
|||
q: query, |
|||
appid: appid, |
|||
salt: salt, |
|||
from: 'zh', |
|||
to: 'en', |
|||
sign: sign |
|||
}); |
|||
if (answer.body.error_code) { |
|||
console.warn(answer.body); |
|||
throw '百度不给力,快快debug' |
|||
} |
|||
let rslt = answer.body.trans_result; |
|||
// let upperCaseRslt = rslt[0].dst.toLowerCase().replace(/( |^)[a-z]/g, (L) => L.toUpperCase()).replace(/ /g, '');
|
|||
// let upperCaseRslt = rslt[0].dst.toUpperCase().replace(/ /g, '_');
|
|||
// let upperCaseRslt = rslt[0].dst.toLowerCase().replace(/ /g, '_');
|
|||
let upperCaseRslt = rslt[0].dst.replace(/\//g, ' ').replace(/'/g, '').replace(/\s{2,}/g, ''); |
|||
console.log(`翻译结果:${upperCaseRslt}`); |
|||
while (((new Date()).getTime() - start) < (1000 / 8)) {//每s只能调用10次
|
|||
continue; |
|||
} |
|||
return upperCaseRslt |
|||
} |
|||
|
|||
const fun = async () => { |
|||
// note: we don't try/catch this because if connecting throws an exception
|
|||
// we don't need to dispose of the client (it will be undefined)
|
|||
const client = await pool.connect() |
|||
try { |
|||
await client.query('BEGIN') |
|||
|
|||
const fileList = [ |
|||
// {
|
|||
// path: './data/道路/乡道第三方.xls',
|
|||
// n: '道路',
|
|||
// tableName: 'road'
|
|||
// },
|
|||
] |
|||
|
|||
for (let f of fileList) { |
|||
console.log(`读取 ${f.path}`); |
|||
// 读取数据文件
|
|||
let workbook = XLSX.readFile(path.join(__dirname, f.path)) |
|||
let firstSheetName = workbook.SheetNames[0]; |
|||
let worksheet = workbook.Sheets[firstSheetName]; |
|||
let res = XLSX.utils.sheet_to_json(worksheet); |
|||
console.log(res[0]); |
|||
let dataEx = res[0]; |
|||
transResult = '' |
|||
sql = `
|
|||
-- ${f.n} |
|||
create table if not exists "${f.tableName}" |
|||
( |
|||
id serial not null |
|||
); |
|||
|
|||
create unique index if not exists ${f.tableName}_id_uindex |
|||
on ${f.tableName} (id); |
|||
|
|||
alter table ${f.tableName} |
|||
add constraint ${f.tableName}_pk |
|||
primary key (id); |
|||
` |
|||
let upperEngTArr = [] |
|||
for (let t in dataEx) { |
|||
const engT = await getAnswer(t); |
|||
let upperEngT = engT |
|||
.replace(/( |^)[a-z]/g, (L) => L.toUpperCase()) |
|||
.replace(/ /g, '_') |
|||
|
|||
transResult += `"${t}" : "${upperEngT |
|||
.replace(/_/g, '') |
|||
.replace(/( |^)[A-Z]/g, (L) => L.toLowerCase()) |
|||
}", \n |
|||
` |
|||
sql += ` |
|||
alter table ${f.tableName} add ${upperEngT} varchar(1024); |
|||
comment on column ${f.tableName}.${upperEngT} is '${t}'; |
|||
` |
|||
} |
|||
fs.writeFileSync(`${f.n}_字段对应.json`, `{${transResult}}`, 'utf-8'); |
|||
// fs.writeFileSync(`${f.n}_数据脚本对应.sql`, sql, 'utf-8');
|
|||
} |
|||
|
|||
// await client.query('ROLLBACK')
|
|||
await client.query('COMMIT') |
|||
console.log('执行完毕~') |
|||
} catch (e) { |
|||
await client.query('ROLLBACK') |
|||
console.log('执行错误~') |
|||
throw e |
|||
} finally { |
|||
client.release(); |
|||
} |
|||
} |
|||
|
|||
fun() |
|||
} catch (error) { |
|||
console.error(error) |
|||
} |
@ -0,0 +1,18 @@ |
|||
{ |
|||
"name": "appkey-generator", |
|||
"version": "1.0.0", |
|||
"description": "tool", |
|||
"main": "index.js", |
|||
"scripts": { |
|||
"test": "mocha", |
|||
"start": "set NODE_ENV=development&&node index" |
|||
}, |
|||
"author": "liu", |
|||
"license": "ISC", |
|||
"dependencies": { |
|||
"crypto-js": "^4.1.1", |
|||
"pg": "^7.18.2", |
|||
"superagent": "^8.0.0", |
|||
"xlsx": "^0.17.1" |
|||
} |
|||
} |
@ -0,0 +1,50 @@ |
|||
{ |
|||
"路线名称": "routeName", |
|||
"路线代码": "routeCode", |
|||
"路段序号": "sectionNo", |
|||
"乡镇编码": "townshipCode", |
|||
"起点地名": "startingPlaceName", |
|||
"起点桩号": "startStation", |
|||
"起点分界点类别": "categoryOfStartingPointAndDividingPoint", |
|||
"止点地名": "stopPlaceName", |
|||
"止点分界点类别": "categoryOfDeadCenterAndDividingPoint", |
|||
"止点桩号": "stopStation", |
|||
"路段类型": "sectionType", |
|||
"路段性质": "natureOfRoadSection", |
|||
"建成时间": "completionTime", |
|||
"GBM及文明样板路": "gBMAndCivilizedModelRoad", |
|||
"地貌": "landforms", |
|||
"收费性质": "natureOfCharges", |
|||
"涵洞数量": "numberOfCulverts", |
|||
"技术等级": "technicalLevel", |
|||
"路面类型": "pavementType", |
|||
"路面宽度": "pavementWidth", |
|||
"路基宽度": "subgradeWidth", |
|||
"车道特征": "laneCharacteristics", |
|||
"是否晴雨通车": "whetherItIsOpenToTrafficInSunnyOrRainyDays", |
|||
"设计时速": "designSpeedPerHour", |
|||
"是否城管路段": "urbanManagementSectionOrNot", |
|||
"管养单位": "managementAndMaintenanceUnit", |
|||
"路政管理单位": "roadAdministrationUnit", |
|||
"列养情况": "alimentation", |
|||
"列养资金来源": "sourceOfListedMaintenanceFunds", |
|||
"养护时间": "curingTime", |
|||
"可绿化里程": "greeningMileage", |
|||
"已绿化里程": "greeningMileaged", |
|||
"重复道路路段类型": "typeOfRepeatedRoadSection", |
|||
"重复路段序号": "serialNumberOfRepeatedSection", |
|||
"重复路段路线编码": "repeatedSectionRouteCode", |
|||
"填报单位": "reportingUnit", |
|||
"变更原因": "reasonForChange", |
|||
"变更时间": "changeTime", |
|||
"是否按干线公路管理接养": "whetherMaintenanceManagedHighway", |
|||
"备注": "remarks", |
|||
"上年路线编码": "routeCodeOfLastYear", |
|||
"上年路线名称": "routeNameOfLastYear", |
|||
"上年起点桩号": "startingStationOfLastYear", |
|||
"上年止点桩号": "lastYearsEndingPointStakeNumber", |
|||
"图形里程": "graphicMileage", |
|||
"桩号里程": "chainageMileage", |
|||
"所在区县": "districtcounty", |
|||
"所在地市": "locationCity" |
|||
} |
@ -0,0 +1,54 @@ |
|||
-- 道路 |
|||
|
|||
CREATE TABLE if not exists "road" ( id serial not null ); |
|||
|
|||
CREATE unique index if not exists road_id_uindex |
|||
ON road (id); alter TABLE road add constraint road_pk primary key (id); alter TABLE road add Route_Name varchar(1024); comment |
|||
ON column road.Route_Name is '路线名称'; alter TABLE road add Route_Code varchar(1024); comment |
|||
ON column road.Route_Code is '路线代码'; alter TABLE road add Section_No varchar(1024); comment |
|||
ON column road.Section_No is '路段序号'; alter TABLE road add Township_Code varchar(1024); comment |
|||
ON column road.Township_Code is '乡镇编码'; alter TABLE road add Starting_Place_Name varchar(1024); comment |
|||
ON column road.Starting_Place_Name is '起点地名'; alter TABLE road add Start_Station varchar(1024); comment |
|||
ON column road.Start_Station is '起点桩号'; alter TABLE road add Category_Of_Starting_Point_And_Dividing_Point varchar(1024); comment |
|||
ON column road.Category_Of_Starting_Point_And_Dividing_Point is '起点分界点类别'; alter TABLE road add Stop_Place_Name varchar(1024); comment |
|||
ON column road.Stop_Place_Name is '止点地名'; alter TABLE road add Category_Of_Dead_Center_And_Dividing_Point varchar(1024); comment |
|||
ON column road.Category_Of_Dead_Center_And_Dividing_Point is '止点分界点类别'; alter TABLE road add Stop_Station varchar(1024); comment |
|||
ON column road.Stop_Station is '止点桩号'; alter TABLE road add Section_Type varchar(1024); comment |
|||
ON column road.Section_Type is '路段类型'; alter TABLE road add Nature_Of_Road_Section varchar(1024); comment |
|||
ON column road.Nature_Of_Road_Section is '路段性质'; alter TABLE road add Completion_Time varchar(1024); comment |
|||
ON column road.Completion_Time is '建成时间'; alter TABLE road add GBM_And_Civilized_Model_Road varchar(1024); comment |
|||
ON column road.GBM_And_Civilized_Model_Road is 'GBM及文明样板路'; alter TABLE road add Landforms varchar(1024); comment |
|||
ON column road.Landforms is '地貌'; alter TABLE road add Nature_Of_Charges varchar(1024); comment |
|||
ON column road.Nature_Of_Charges is '收费性质'; alter TABLE road add Number_Of_Culverts varchar(1024); comment |
|||
ON column road.Number_Of_Culverts is '涵洞数量'; alter TABLE road add Technical_Level varchar(1024); comment |
|||
ON column road.Technical_Level is '技术等级'; alter TABLE road add Pavement_Type varchar(1024); comment |
|||
ON column road.Pavement_Type is '路面类型'; alter TABLE road add Pavement_Width varchar(1024); comment |
|||
ON column road.Pavement_Width is '路面宽度'; alter TABLE road add Subgrade_Width varchar(1024); comment |
|||
ON column road.Subgrade_Width is '路基宽度'; alter TABLE road add Lane_Characteristics varchar(1024); comment |
|||
ON column road.Lane_Characteristics is '车道特征'; alter TABLE road add Whether_It_Is_Open_To_Traffic_In_Sunny_Or_Rainy_Days varchar(1024); comment |
|||
ON column road.Whether_It_Is_Open_To_Traffic_In_Sunny_Or_Rainy_Days is '是否晴雨通车'; alter TABLE road add Design_Speed_Per_Hour varchar(1024); comment |
|||
ON column road.Design_Speed_Per_Hour is '设计时速'; alter TABLE road add Urban_Management_Section_Or_Not varchar(1024); comment |
|||
ON column road.Urban_Management_Section_Or_Not is '是否城管路段'; alter TABLE road add Management_And_Maintenance_Unit varchar(1024); comment |
|||
ON column road.Management_And_Maintenance_Unit is '管养单位'; alter TABLE road add Road_Administration_Unit varchar(1024); comment |
|||
ON column road.Road_Administration_Unit is '路政管理单位'; alter TABLE road add Alimentation varchar(1024); comment |
|||
ON column road.Alimentation is '列养情况'; alter TABLE road add Source_Of_Listed_Maintenance_Funds varchar(1024); comment |
|||
ON column road.Source_Of_Listed_Maintenance_Funds is '列养资金来源'; alter TABLE road add Curing_Time_ varchar(1024); comment |
|||
ON column road.Curing_Time_ is '养护时间'; alter TABLE road add Greening_Mileage varchar(1024); comment |
|||
ON column road.Greening_Mileage is '可绿化里程'; alter TABLE road add Greening_Mileaged varchar(1024); comment |
|||
ON column road.Greening_Mileaged is '已绿化里程'; alter TABLE road add Type_Of_Repeated_Road_Section varchar(1024); comment |
|||
ON column road.Type_Of_Repeated_Road_Section is '重复道路路段类型'; alter TABLE road add Serial_Number_Of_Repeated_Section varchar(1024); comment |
|||
ON column road.Serial_Number_Of_Repeated_Section is '重复路段序号'; alter TABLE road add Repeated_Section_Route_Code varchar(1024); comment |
|||
ON column road.Repeated_Section_Route_Code is '重复路段路线编码'; alter TABLE road add Reporting_Unit varchar(1024); comment |
|||
ON column road.Reporting_Unit is '填报单位'; alter TABLE road add Reason_For_Change varchar(1024); comment |
|||
ON column road.Reason_For_Change is '变更原因'; alter TABLE road add Change_Time varchar(1024); comment |
|||
ON column road.Change_Time is '变更时间'; alter TABLE road add Whether_Maintenance_Managed_Highway varchar(1024); comment |
|||
ON column road.Whether_Maintenance_Managed_Highway is '是否按干线公路管理接养'; alter TABLE road add Remarks varchar(1024); comment |
|||
ON column road.Remarks is '备注'; alter TABLE road add Route_Code_Of_Last_Year varchar(1024); comment |
|||
ON column road.Route_Code_Of_Last_Year is '上年路线编码'; alter TABLE road add Route_Name_Of_Last_Year varchar(1024); comment |
|||
ON column road.Route_Name_Of_Last_Year is '上年路线名称'; alter TABLE road add Starting_Station_Of_Last_Year varchar(1024); comment |
|||
ON column road.Starting_Station_Of_Last_Year is '上年起点桩号'; alter TABLE road add Last_Years_Ending_Point_Stake_Number varchar(1024); comment |
|||
ON column road.Last_Years_Ending_Point_Stake_Number is '上年止点桩号'; alter TABLE road add Graphic_Mileage varchar(1024); comment |
|||
ON column road.Graphic_Mileage is '图形里程'; alter TABLE road add Chainage_Mileage varchar(1024); comment |
|||
ON column road.Chainage_Mileage is '桩号里程'; alter TABLE road add Districtcounty varchar(1024); comment |
|||
ON column road.Districtcounty is '所在区县'; alter TABLE road add Location_City varchar(1024); comment |
|||
ON column road.Location_City is '所在地市'; |
Loading…
Reference in new issue