wangyue 2 years ago
parent
commit
8b89e73aa7
  1. 2
      web/client/src/sections/quanju/containers/footer/leadership/left/left-top.js
  2. 26
      web/client/src/utils/webapi.js

2
web/client/src/sections/quanju/containers/footer/leadership/left/left-top.js

@ -15,7 +15,7 @@ const Lefttop = (props) => {
const [nums, setNums] = useState()
useEffect(() => {
const shuju = dispatch(getGodshuju()).then((res) => {
// console.log(res);
console.log(res);
setMass(res.payload.data.index)
// setMass(70)
setspeed(res.payload.data.speed)

26
web/client/src/utils/webapi.js

@ -20,7 +20,7 @@ export const ApiTable = {
delUser: 'department/user/{userIds}',
resetPwd: 'department/user/{userId}/password',
getgodshuju: "data/god_trans",
//用户权限
getResource: 'resource',
@ -84,16 +84,16 @@ export const ApiTable = {
//获取道路养护统计及列表
getRoadMaintenance: 'conserve/statistic',
//获取宣传数据
getpropagata: 'publicity',putpropagata:'publicity',delpropagata:'/publicity/{publicityId}',
// <<<<<<< HEAD
// //公交信息
// getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}',
// getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}',
// =======
//公交信息
getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}',
getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}',
//获取宣传数据
getpropagata: 'publicity', putpropagata: 'publicity', delpropagata: '/publicity/{publicityId}',
// <<<<<<< HEAD
// //公交信息
// getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}',
// getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}',
// =======
//公交信息
getCircuit: 'bus/line', putCircuit: 'bus/line', delCircuit: 'bus/line/{lineId}',
getVehicle: 'bus/car', putVehicle: 'bus/car', delVehicle: 'bus/car/{carId}',
@ -147,8 +147,8 @@ export const ApiTable = {
getSpecificVehicle: 'vehicle/specific', putSpecificVehicle: 'vehicle/specific', delSpecificVehicle: 'vehicle/{vehicleId}/specific',
getHouseholds: 'vehicle/business', putHouseholds: 'vehicle/business', delHouseholds: 'vehicle/business/{businessId}',
getRoadway: 'road',
getShippingList:'vehicle/freight',putShippingList:'vehicle/freight',
getShippingList: 'vehicle/freight', putShippingList: 'vehicle/freight',
// 获取运政统计
getYunZheng: "transportation/statistic",
//桥梁管理

Loading…
Cancel
Save