QiFeng.ZWY.MagWeb/Views/ScenicSpots/ScenicSpotsList.cshtml

(开头部分) 2KB

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


@{
    ViewBag.Title = "景点信息列表";
    ViewBag.PathToBtn = "/ScenicSpots/AddScenicSpots";
    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>比例图X坐标</th>
                                <th>比例图Y坐标</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 = "/ScenicSpots/GetScenicSpotsList";
        var showColumns = [
            { data: "SpotName" },
            { data: "ProportionalPositionX" },
            { data: "ProportionalPositionY" },
            { data: "Longitude" },
            { data: "Latitude" },
            { data: "Action" }
        ];
        pagingHelper.Paging(serverProcessPath, dataParams, showColumns, null, false);

        function updateData(id) {
            document.location.href = "/ScenicSpots/UpdateScenicSpots?id=" + id;
        }
        function deleteData(id) {
            alertify.okBtn("确定").cancelBtn("取消").confirm("确定要删除该数据吗?", function () {
                $.ajax({
                    type: 'post',
后面还有 17 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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