
        <div class="main___Tea6c">
            <div class="projectadmin-con-bg">
                <div class="projectadmin-con-top">
                    <i class="layui-icon layui-icon-tips" style="margin-right: 8px;"></i>  角色是一系列功能操作的权限包，通过创建自定义角色，并赋予指定成员，能够实现不同成员间的操作权限区分。
                </div>
                <div class="projectadmin-con-hz">
                    <div class="projectadmin-con-hz-left">
                        <div class="projectadmin-con-hz-left-ss-box">
                            <img src="./static/img/fangdajing2.png" style="margin-right: 8px;">
                            <input type="text" placeholder="搜索角色" />
                            <img src="./static/img/cha1.png" style="margin-left: 8px;">
                        </div>
    
                        <div class="projectadmin-con-hz-left-list-box">
                            <!-- <div class="projectadmin-con-hz-left-list-tit">
                                <div class="sekuai"></div> 系统角色
                            </div>
                            <div class="projectadmin-con-hz-left-list-xtong">

                            </div>
                            
                            <div class="projectadmin-con-hz-left-list-tit">
                                <div class="sekuai"></div> 项目内角色
                            </div>
                            <div class="projectadmin-con-hz-left-list-tit-xiangmu">
  
                            </div> -->
                        </div>
    
                    </div>
    
                    <div class="projectadmin-con-hz-right">
                        <div class="projectadmin-con-hz-right-box">
                            <div class="projectadmin-con-hz-right-box-top">
                                <p class="projectadmin-list-name">xxx</p>
                                <div class="projectadmin-con-hz-right-box-top-right" style="display: flex; align-items: center;">
                                    <!-- <span>最近更新：2021-05-07 13:57:30</span> -->
                                    <div><a class="ajax-content" href="addrole" data-id="projectadmin-con-box"> <i class="layui-icon layui-icon-addition" style="position: relative; top: 1px;"></i> 创建角色 </a> </div>
                                </div>
                            </div>
    
                            <div class="projectadmin-info-box">
                                
                                
                                  
                            </div>
    
                        </div>
                    </div>
    
    
    
                </div>
            </div>
        </div>

<script id="projectadmin-info-box-dot" type="text/html">
    <div class="projectadmin-info-bg">
        <div class="projectadmin-info-table-top">
            <div class="projectadmin-tab-table1">分类</div>
            <div class="projectadmin-tab-box">
                <div class="projectadmin-tab-table2">api名字</div>
                <div class="projectadmin-tab-table2">api路径</div>
                <div class="projectadmin-tab-table3">操作</div>
            </div>
        </div> 
                    
        {{#  layui.each(d.datalist, function(index, item){ }}
            <div class="projectadmin-info-table-con">
                <div class="projectadmin-info-table-left">
                    <div>{{item.path_name}}</div>
                </div>
                <div class="customname-val-right-box" style="border-bottom: 1px solid #f0f2f5; width: 75%; border-right: 2px solid #f0f2f5;">

                    {{#  layui.each(item.api_list, function(indexs, items){ }}
                        <div class="customname-val-right2">
                            <div class="customname-val-right-val" style="width: 45%;">{{item['api_name'][indexs]}}</div>
                            <div class="customname-val-right-val" style="width: 45%;">{{items}}</div>
                            <div class="customname-val-right-val" style="width: 10%;">
                                {{#  if(item['state'][indexs] === true){ }}
                                    <a class="layui-btn layui-btn-xs projectadmin-del" style="background-color: #C2C2C2;" data-index="{{indexs}}" data-path="{{items}}" data-name="{{item.path_name}}" lay-event="del" style="text-indent: 0;">已添加</a>
                                {{#  } else { }}
                                    <a class="layui-btn layui-btn-xs projectadmin-edit" data-index="{{indexs}}" data-path="{{items}}" data-name="{{item.path_name}}" lay-event="edit" style="text-indent: 0;">添加</a>
                                {{#  } }} 
                            </div>
                        </div>
                    {{#  }); }}

                </div>
            </div>
        {{#  }); }}
    </div>
</script>

<!-- <script id="projectadmin-con-hz-left-list-xtong-dot" type="text/html">
    {{#  layui.each(d, function(index, item){ }}
        {{#  if(index === 0){ }}
            <div class="projectadmin-con-hz-left-list-con systemrole-tit selected___3ctlt" data-index="{{index}}">
                {{item.title}}
            </div>
        {{#  } else { }}
            <div class="projectadmin-con-hz-left-list-con systemrole-tit" data-index="{{index}}">
                {{item.title}}
            </div>
        {{#  } }} 
    {{#  }); }}
</script> -->

<script id="projectadmin-con-hz-left-list-tit-xiangmu-dot" type="text/html">
    <div class="projectadmin-con-hz-left-list-tit">
        <div class="sekuai"></div> 系统角色
    </div>
    <div class="projectadmin-con-hz-left-list-xtong">
        {{#  layui.each(d, function(index, item){ }}
            {{#  if(item.system === 1){ }}
                {{#  if(index === 0){ }}
                <div class="projectadmin-con-hz-left-list-con roleinproject-tit selected___3ctlt" data-id="{{item.auth_id}}" data-index="{{index}}"  data-system="{{item.system}}">
                    <span>{{item.name}}</span> <img src="./static/img/gengduo.png" alt="" class="projectadmin-gongduo" data-id="{{item.auth_id}}" data-name="{{item.name}}" data-system="{{item.system}}">
                </div>
                {{#  } else { }}
                <div class="projectadmin-con-hz-left-list-con roleinproject-tit" data-id="{{item.auth_id}}" data-index="{{index}}" data-system="{{item.system}}">
                    <span>{{item.name}}</span> <img src="./static/img/gengduo.png" alt="" class="projectadmin-gongduo" data-id="{{item.auth_id}}" data-name="{{item.name}}" data-system="{{item.system}}">
                </div>
                {{#  } }} 
            {{#  } }} 
        {{#  }); }}
    </div>
    
    <div class="projectadmin-con-hz-left-list-tit">
        <div class="sekuai"></div> 项目内角色
    </div>
    <div class="projectadmin-con-hz-left-list-tit-xiangmu">
        {{#  layui.each(d, function(index, item){ }}
            {{#  if(item.system === 0){ }}
                {{#  if(index === 0){ }}
                <div class="projectadmin-con-hz-left-list-con roleinproject-tit selected___3ctlt" data-id="{{item.auth_id}}" data-index="{{index}}"  data-system="{{item.system}}">
                    <span>{{item.name}}</span> <img src="./static/img/gengduo.png" alt="" class="projectadmin-gongduo" data-id="{{item.auth_id}}" data-name="{{item.name}}" data-system="{{item.system}}">
                </div>
                {{#  } else { }}
                <div class="projectadmin-con-hz-left-list-con roleinproject-tit" data-id="{{item.auth_id}}" data-index="{{index}}" data-system="{{item.system}}">
                    <span>{{item.name}}</span> <img src="./static/img/gengduo.png" alt="" class="projectadmin-gongduo" data-id="{{item.auth_id}}" data-name="{{item.name}}" data-system="{{item.system}}">
                </div>
                {{#  } }} 
            {{#  } }} 
        {{#  }); }}
    </div>
    
</script>

