You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
835 B
59 lines
835 B
|
|
export const getLoginUrl = () => {
|
|
return `/wxLogin`;
|
|
};
|
|
|
|
export const getLogoutUrl = () => {
|
|
return `/logout`;
|
|
};
|
|
|
|
// 巡查上报
|
|
export const postReport = () => {
|
|
return `/report`;
|
|
};
|
|
|
|
// 获取上报列表
|
|
export const getReportList = () => {
|
|
return `/report/list`;
|
|
};
|
|
|
|
// 获取上报详情
|
|
export const getReportDetail = id => {
|
|
return `/report/${id}/detail`;
|
|
};
|
|
|
|
// 删除上报
|
|
export const delReport = id => {
|
|
return `/report/${id}`;
|
|
};
|
|
|
|
// 修改密码
|
|
export const putPassword = id => {
|
|
return `/department/user/${id}/password`;
|
|
};
|
|
|
|
// 获取道路路段
|
|
export const getRoadSection = () => {
|
|
return `/road/section`;
|
|
};
|
|
|
|
// 上传图片
|
|
export const postImage = () => {
|
|
return `/attachments/report`;
|
|
};
|
|
|
|
//行业查询
|
|
export const getIndustryUrl = () => {
|
|
return `/elec/business/industry`
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|