QiFeng.ZWY.MagWeb/Views/Botany/BotanyVoiceList.cshtml

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。


@{
    ViewBag.Title = "植物语音列表";
    ViewBag.PathToBtn = "/Botany/BotanyVoiceList";
    ViewBag.TextBtn = "刷新";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">

    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                植物语音列表
            </div>
            <div class="panel-body">
                <div class="dataTable_wrapper">
                    <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                        <thead>
                            <tr>
                                <th>植物名称</th>
                                <th>标题</th>
                                <th>图片</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

@section javascript{
    <script src="/Content/admin/dist/js/pagingHelper.js"></script>
    <script src="/Content/admin/dist/js/hotelAmenitiesCateHelper.js"></script>
    <script type="text/javascript">
        var dataParams = {};
        var serverProcessPath = "/Botany/GetVoiceList";
        var showColumns = [
            { data: "BotanyName" },
            { data: "Title" },
            { data: "Url" },
            { data: "Action" }
        ];
        pagingHelper.Paging(serverProcessPath, dataParams, showColumns, null, false);
        
        function updateData(id) {
            document.location.href = "/Botany/UpdateBotanyVoice?id=" + id;
        }
        function deleteData(id) {
            alertify.okBtn("确定").cancelBtn("取消").confirm("确定要删除该数据吗?", function () {
                $.ajax({
                    type: 'post',
                    async: false,
                    url: '/Botany/DeleteVoice',
                    data: { doId: id },
                    success: function (result) {
                        if (result) {
                            document.location.href = "/Botany/BotanyVoiceList";
后面还有 11 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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