地质所 沉降监测网建设项目
zmk
2024-05-15 ee09a54de9dada5461e3df972df5cdb1cdd6bd16
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
@@ -16,6 +16,10 @@
                                <input type="text" name="fullName"/>
                            </li>
                            <li>
                                <p>项目编号:</p>
                                <input type="text" name="code"/>
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
@@ -25,9 +29,9 @@
            </div>
            <div class="btn-group-sm" id="toolbar" role="group">
<!--                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="geo:project:add">-->
<!--                    <i class="fa fa-plus"></i> 添加-->
<!--                </a>-->
                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="geo:project:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="geo:project:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
@@ -58,6 +62,11 @@
                    checkbox: true
                },
                {
                        field : 'code',
                        title : '项目编号',
                        sortable:true
                },
                {
                    field : 'fullName', 
                    title : '项目名称',
                    formatter: function(value, row, index) {
@@ -66,65 +75,13 @@
                   sortable:true           
                },
                {
                    field : 'companyName',
                    title : '勘察单位'
                },
                {
                    field : 'laborUnit', 
                    title : '劳务单位'
                },
                {
                    field : 'district',
                    title : '区县',
                    formatter: function(value, row, index) {
                        if(row.district === 1){
                            return "东城区";
                        }else if(row.district === 17){
                            return "密云县";
                        }else if(row.district === 16){
                            return "平谷区";
                        }else if(row.district === 15){
                            return "怀柔区";
                        }else if(row.district === 14){
                            return "大兴区";
                        }else if(row.district === 13){
                            return "昌平区";
                        }else if(row.district === 12){
                            return "顺义区";
                        }else if(row.district === 11){
                            return "通州区";
                        }else if(row.district === 10){
                            return "房山区";
                        }else if(row.district === 9){
                            return "门头沟区";
                        }else if(row.district === 8){
                            return "海淀区";
                        }else if(row.district === 7){
                            return "石景山区";
                        }else if(row.district === 6){
                            return "丰台区";
                        }else if(row.district === 5){
                            return "朝阳区";
                        }else if(row.district === 4){
                            return "宣武区";
                        }else if(row.district === 3){
                            return "崇文区";
                        }else if(row.district === 2){
                            return "西城区";
                        }else if(row.district === 18){
                            return "延庆县";
                        }else if(row.district === 99){
                            return "外埠";
                        }else {
                            return "";
                        }
                    }
                },
                {
                    field : 'owner',
                    title : '业主名称'
                },
                {
                    field : 'leaderName',
                    title : '项目负责人'
@@ -143,10 +100,6 @@
                           return "验收";
                       }
                    }
                },
                {
                    field : 'dataSource',
                    title : '数据来源'
                },
                {
                    title: '操作',