地质所 沉降监测网建设项目
zmk
2024-07-18 280001d476b92bf2d14052518e6f69bee9dee43d
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
@@ -84,29 +84,29 @@
                    field : 'fullName', 
                    title : '场地名称',
                    formatter: function(value, row, index) {
                      return '<a onclick="navigate(\'' + row.ids + '\')">'+row.fullName+'</a>'
                        var id = row.ids;
                        var code = row.code;
                        var str = id + "," + code;
                      return '<a onclick="navigate(\'' + str + '\')">'+row.fullName+'</a>'
                   },           
                   sortable:true           
                },
                {
                    field : 'laborUnit', 
                    title : '劳务单位'
                    title : '劳务单位',
                    visible: false
                },
                {
                    field : 'district',
                    title : '区县',
                },
                {
                    field : 'leaderName',
                    field : 'leader',
                    title : '场地负责人'
                },
                {
                    field : 'createTime',
                    title : '创建时间'
                },
                    {
                        field : 'status',
                        title : '项目状态',
                        title : '场地状态',
                        formatter: function(value, row, index) {
                            return $.table.selectDictLabel(statusDatas, value);
                        }
@@ -126,9 +126,11 @@
        });
        
        
       function navigate(id){
            $.modal.openTab("场地导航",ctx+"/geo/project/navigate?ids="+id);
       function navigate(idcode){
            var strs = idcode.split(",");
            var id =strs[0];
            var code = strs[1];
            $.modal.openTab(code + " 场地导航",ctx+"/geo/project/navigate?ids="+id);
        }
    </script>
</body>