美文网首页
pp.jurisdiction.index 获取个人所有的权限

pp.jurisdiction.index 获取个人所有的权限

作者: 小二郎_Ejun | 来源:发表于2020-04-11 12:17 被阅读0次
    URL pp.jurisdiction.index
    请求方式 POST

    请求参数

    参数名 类型 必填 说明
    token [string]

    返回结果参数说明

    参数名 类型 必含 说明
    status [int] 返回数据状态 1:成功,0:失败
    msg [string] 返回提示信息
    data [json] 结果对象包括下述字段:
    {
       "status":1,
       "msg":"成功",
       "data":[
           {
               "model":"project",//项目模块权限
               "explain":[//权限说明
                   {
                       "key":"jurisdiction_project_add",
                       "explain":"项目创建",
                       "value":"1"//1:拥有权限,0:无权限,同下
                   },
                   {
                       "key":"jurisdiction_project_save",
                       "explain":"项目修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_del",
                       "explain":"项目删除",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_transfer_userid",
                       "explain":"项目转移负责人",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_open_close_single",
                       "explain":"项目关单开单",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_copy",
                       "explain":"项目复制",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_import",
                       "explain":"项目导入",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_export",
                       "explain":"项目导出",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_project_consult",
                       "explain":"项目辅导预约",
                       "value":"1"
                   }
               ],
               "list":{//模块项目权限列表
                   "jurisdiction_project_add":"1",
                   "jurisdiction_project_save":"1",
                   "jurisdiction_project_del":"1",
                   "jurisdiction_project_transfer_userid":"1",
                   "jurisdiction_project_open_close_single":"1",
                   "jurisdiction_project_copy":"1",
                   "jurisdiction_project_import":"1",
                   "jurisdiction_project_export":"1",
                   "jurisdiction_project_consult":"1"
               },
               "value_str":"111111111",
               "name":"项目"
           },
           {
               "model":"client",
               "explain":[
                   {
                       "key":"jurisdiction_client_add",
                       "explain":"客户创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_save",
                       "explain":"客户修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_send_back",
                       "explain":"客户退回公海",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_transfer_userid",
                       "explain":"客户更换负责人",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_international_waters_get",
                       "explain":"客户公海领取",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_import",
                       "explain":"客户导入",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_client_export",
                       "explain":"客户导出",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_client_add":"1",
                   "jurisdiction_client_save":"1",
                   "jurisdiction_client_send_back":"1",
                   "jurisdiction_client_transfer_userid":"1",
                   "jurisdiction_client_international_waters_get":"1",
                   "jurisdiction_client_import":"1",
                   "jurisdiction_client_export":"1"
               },
               "value_str":"1111111",
               "name":"客户"
           },
           {
               "model":"contact",
               "explain":[
                   {
                       "key":"jurisdiction_contact_add",
                       "explain":"联系人创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_contact_save",
                       "explain":"联系人修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_contact_del",
                       "explain":"联系人删除",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_contact_add":"1",
                   "jurisdiction_contact_save":"1",
                   "jurisdiction_contact_del":"1"
               },
               "value_str":"111",
               "name":"联系人"
           },
           {
               "model":"visit",
               "explain":[
                   {
                       "key":"jurisdiction_visit_add",
                       "explain":"拜访创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_visit_save",
                       "explain":"拜访修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_visit_del",
                       "explain":"拜访删除",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_visit_consult",
                       "explain":"拜访预约",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_visit_prepare",
                       "explain":"拜访准备报告",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_visit_add":"1",
                   "jurisdiction_visit_save":"1",
                   "jurisdiction_visit_del":"1",
                   "jurisdiction_visit_consult":"1",
                   "jurisdiction_visit_prepare":"1"
               },
               "value_str":"11111",
               "name":"拜访"
           },
           {
               "model":"clue",
               "explain":[
                   {
                       "key":"jurisdiction_clue_add",
                       "explain":"线索创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_save",
                       "explain":"线索修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_send_back",
                       "explain":"线索退回公海",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_transfer_userid",
                       "explain":"线索更换负责人",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_status_save",
                       "explain":"线索状态修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_grouping_add",
                       "explain":"线索添加自定义分组",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_grouping_save",
                       "explain":"线索修改自定义分组",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_grouping_del",
                       "explain":"线索删除自定义分组",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_import",
                       "explain":"线索导入",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_export",
                       "explain":"线索导出",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_transfer_grouping",
                       "explain":"线索转移分组",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_clue_international_waters_get",
                       "explain":"线索公海领取",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_clue_add":"1",
                   "jurisdiction_clue_save":"1",
                   "jurisdiction_clue_send_back":"1",
                   "jurisdiction_clue_transfer_userid":"1",
                   "jurisdiction_clue_status_save":"1",
                   "jurisdiction_clue_grouping_add":"1",
                   "jurisdiction_clue_grouping_save":"1",
                   "jurisdiction_clue_grouping_del":"1",
                   "jurisdiction_clue_import":"1",
                   "jurisdiction_clue_export":"1",
                   "jurisdiction_clue_transfer_grouping":"1",
                   "jurisdiction_clue_international_waters_get":"1"
               },
               "value_str":"111111111111",
               "name":"线索"
           },
           {
               "model":"activity",
               "explain":[
                   {
                       "key":"jurisdiction_activity_add",
                       "explain":"活动创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_activity_save",
                       "explain":"活动修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_activity_del",
                       "explain":"活动删除",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_guest_add",
                       "explain":"获客创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_guest_save",
                       "explain":"获客修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_guest_del",
                       "explain":"获客删除",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_activity_add":"1",
                   "jurisdiction_activity_save":"1",
                   "jurisdiction_activity_del":"1",
                   "jurisdiction_guest_add":"1",
                   "jurisdiction_guest_save":"1",
                   "jurisdiction_guest_del":"1"
               },
               "value_str":"111111",
               "name":"活动"
           },
           {
               "model":"schedule",
               "explain":[
                   {
                       "key":"jurisdiction_schedule_add",
                       "explain":"日程创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_schedule_save",
                       "explain":"日程修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_schedule_del",
                       "explain":"日程删除",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_schedule_add":"1",
                   "jurisdiction_schedule_save":"1",
                   "jurisdiction_schedule_del":"1"
               },
               "value_str":"111",
               "name":"日程"
           },
           {
               "model":"follow",
               "explain":[
                   {
                       "key":"jurisdiction_follow_add",
                       "explain":"跟进纪录创建",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_follow_save",
                       "explain":"跟进纪录修改",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_follow_del",
                       "explain":"跟进纪录删除",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_follow_comment_add",
                       "explain":"跟进纪录添加评论",
                       "value":"1"
                   },
                   {
                       "key":"jurisdiction_follow_comment_del",
                       "explain":"跟进纪录删除评论",
                       "value":"1"
                   }
               ],
               "list":{
                   "jurisdiction_follow_add":"1",
                   "jurisdiction_follow_save":"1",
                   "jurisdiction_follow_del":"1",
                   "jurisdiction_follow_comment_add":"1",
                   "jurisdiction_follow_comment_del":"1"
               },
               "value_str":"11111",
               "name":"跟进纪录"
           }
       ]
    }
    

    相关文章

      网友评论

          本文标题:pp.jurisdiction.index 获取个人所有的权限

          本文链接:https://www.haomeiwen.com/subject/kscymhtx.html