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.
36 lines
2.4 KiB
36 lines
2.4 KiB
package customerformrouter
|
|
|
|
import (
|
|
"appPlatform/api/version1"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 权限矩阵PC端
|
|
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
|
|
apiRouter := router.Group("customer_form")
|
|
|
|
var methodBinding = version1.AppApiEntry.CustomerFormApi
|
|
{
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
apiRouter.POST("customer_form_list", methodBinding.CustomerFormList) //自定义表单列表
|
|
apiRouter.POST("production_mark_form", methodBinding.ProductionMarkOfCustomerForm) //生成表单基本信息
|
|
apiRouter.POST("save_customer_form", methodBinding.SaveCustomerForm) //保存自定义表单
|
|
apiRouter.POST("look_customer_form", methodBinding.LookCustomerForm) //查看自定义表单
|
|
apiRouter.POST("edit_customer_form_status", methodBinding.EditCustomerFormStatus) //编辑自定义表单状态
|
|
apiRouter.POST("save_setup_cont", methodBinding.SaveSetupCont) //编辑自定义表单设置
|
|
apiRouter.POST("have_customer_form_version", methodBinding.HaveCustomerFormVersion) //获取版本列表
|
|
apiRouter.POST("edit_customer_form_info", methodBinding.EditCustomerFormInfo) //编辑自定义表单内容
|
|
apiRouter.POST("save_as_new_version", methodBinding.SaveAsNewVersion) //另存为新版
|
|
apiRouter.POST("enable_version", methodBinding.EnableVersion) //启用版本
|
|
apiRouter.POST("judge_submit_cancel", methodBinding.JudgeSubmitCancel) //检测是否存在提交和返回按钮
|
|
|
|
apiRouter.POST("have_database_table_struct", methodBinding.HaveDataBaseTableStruct) //数据库表结构(版本及数据表)
|
|
apiRouter.POST("have_form_tabelcont", methodBinding.HaveFormTabelCont) //获取表单结构
|
|
apiRouter.POST("have_form_tablelist", methodBinding.HaveFormTableList) //根据版本获取数据库表集合
|
|
apiRouter.POST("optimize_repair_form", methodBinding.OptimizeOrRepairFormTable) //优化/修复数据表
|
|
apiRouter.POST("form_field_handle", methodBinding.FormFieldHandle) //表单结构数据处理
|
|
apiRouter.POST("edit_form_field", methodBinding.EditFormField) //编辑数据库表字段信息
|
|
}
|
|
}
|
|
|