src/Hx.IdentityServer/Views/ClientsManager/RuIndex.cshtml

(完整代码) 1KB

@{
    ViewBag.Title = "客户端资源";
    ViewBag.Active = "/client/ru";
    bool isSuperAdmin = (ViewData["IsSuperAdmin"] as bool?) == true;
}
<el-table :data="tableData" border style="width: 100%" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
    <el-table-column prop="clientId" label="客户端Id" width="120" header-align="center">
    </el-table-column>
    <el-table-column prop="clientName" label="客户端名" width="180" header-align="center">
    </el-table-column>
    <el-table-column prop="redirectUris" label="回调地址" header-align="center">
        <template slot-scope="scope">
            <span v-html='scope.row.redirectUris'></span>
        </template>
    </el-table-column>
    <el-table-column prop="postLogoutRedirectUris" label="退出回调" header-align="center">
        <template slot-scope="scope">
            <span v-html='scope.row.postLogoutRedirectUris'></span>
        </template>
    </el-table-column>
    <el-table-column fixed="right" label="操作" width="90" v-if="@(isSuperAdmin?"true":"false")" align="center">
        <template slot-scope="scope">
            <el-button size="mini" @@click="handleEdit(scope.row)">编辑</el-button>
        </template>
    </el-table-column>
</el-table>
<div class="hx-float-right">
    <el-pagination @@current-change="handleCurrentChange"
                   :current-page.sync="queryParam.pageIndex"
                   :page-size="queryParam.pageSize"
                   background
                   layout="total, prev, pager, next"
                   :total="totalCount">
    </el-pagination>
</div>

<partial name="~/Views/ClientsManager/RuEdit.cshtml" />

@section scripts{
    <script src="~/vuejs/client.ru.js"></script>
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。