fix
wangpengfei
2023-07-21 445fd26c770a184fd6079e5577f55d31fac4234b
fix

fix timelyRate
5个文件已修改
25 ■■■■ 已修改文件
api/v1/index.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/response/response.go 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/serviceFollowup.go 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
router/index.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
router/timelyRate.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
api/v1/index.go
@@ -5,6 +5,7 @@
)
type Group struct {
    TimelyRateApi
    BaseApi
    JwtApi
    ImageApi
@@ -50,7 +51,6 @@
    DepartmentApi
    VettingApi
    SatisfactionApi
    TimelyRateApi
}
var ApiGroup = new(Group)
model/response/response.go
@@ -233,11 +233,3 @@
        List []*model.TimelyRate `json:"list"`
    }
)
// 及时率 解决率 满意度 服务人员是否来过 (服务回访单)
// 工单类型 报修来源(工单管理)
// 合同类型 合同状态(服务合同)
// 付款方式 是否开票 账户(销售退款单)
// 退入仓库 状态(销售退货单)
// 报价单状态 (报价单)
// 可能性 币种 当前状态(销售机会)
model/serviceFollowup.go
@@ -84,3 +84,11 @@
    slf.Id = id
    return slf
}
// 及时率 解决率 满意度 服务人员是否来过 (服务回访单)
// 工单类型 报修来源(工单管理)
// 合同类型 合同状态(服务合同)
// 付款方式 是否开票 账户(销售退款单)
// 退入仓库 状态(销售退货单)
// 报价单状态 (报价单)
// 可能性 币种 当前状态(销售机会)
router/index.go
@@ -11,6 +11,7 @@
)
type Group struct {
    TimelyRateRouter
    BaseRouter
    UserRouter
    JwtRouter
@@ -55,7 +56,6 @@
    DataRouter
    DepartmentRouter
    SatisfactionRouter
    TimelyRateRouter
}
func InitRouter() *gin.Engine {
@@ -130,7 +130,7 @@
        routerGroup.InitDataRouter(PrivateGroup)                 // 注册data路由
        routerGroup.InitDepartmentRouter(PrivateGroup)           // 注册department路由
        routerGroup.InitSatisfactionRouter(PrivateGroup)         // 注册satisfaction路由
        routerGroup.InitTimelyRateRouter(PrivateGroup)           // 注册timelyRate路由
        routerGroup.InitTimelyRateRouter(PrivateGroup)
    }
    return Router
}
router/timelyRate.go
@@ -1,3 +1,4 @@
package router
import (
@@ -16,4 +17,4 @@
        timelyRateRouter.PUT("update", timelyRateApi.Update)        // 更新销售阶段
        timelyRateRouter.GET("list", timelyRateApi.List)            // 获取销售阶段列表
    }
}
}