Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
191 additions
and
192 deletions
... | @@ -1695,27 +1695,27 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { | ... | @@ -1695,27 +1695,27 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { |
1695 | /* | 1695 | /* |
1696 | * 业务协同策划生成页面 | 1696 | * 业务协同策划生成页面 |
1697 | * */ | 1697 | * */ |
1698 | else if (orign === 'ywxt') { | 1698 | else if (orign === 'ajcc') { |
1699 | // $("#ywxt-tabs").css('display', 'inline-block'); | 1699 | // $("#ywxt-tabs").css('display', 'inline-block'); |
1700 | $("#workingsTabDiv").css('margin-top', '10px'); | 1700 | $("#workingsTabDiv").css('margin-top', '10px'); |
1701 | //添加表头 | 1701 | //添加表头 |
1702 | htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + | 1702 | htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + |
1703 | "<thead><tr class=\"tabletitle\"> " + | 1703 | "<thead><tr class=\"tabletitle\"> " + |
1704 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + | 1704 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + |
1705 | "<th width=\"3%\" class=\"statusIcon\"></th>" + | 1705 | // "<th width=\"3%\" class=\"statusIcon\"></th>" + |
1706 | "<th width=\"5%\"><div class=\"tableCell\">状态</div></th>" + | 1706 | "<th width=\"5%\"><div class=\"tableCell\">序号</div></th>" + |
1707 | "<th width=\"10%\"><div class=\"tableCell\">业务类型</div></th>" + | 1707 | "<th width=\"10%\"><div class=\"tableCell\">案件名称</div></th>" + |
1708 | "<th width=\"10%\"><div class=\"tableCell\">项目名称</div></th> " + | 1708 | "<th width=\"10%\"><div class=\"tableCell\">案件类型</div></th> " + |
1709 | "<th width=\"6%\"><div class=\"tableCell\">储备编号</div></th>" + | 1709 | "<th width=\"6%\"><div class=\"tableCell\">责任单位</div></th>" + |
1710 | "<th width=\"6%\"><div class=\"tableCell\">项目编号</div></th>" + | 1710 | "<th width=\"6%\"><div class=\"tableCell\">所属区域</div></th>" + |
1711 | "<th width=\"6%\"><div class=\"tableCell\">建设地点</div></th>" + | 1711 | "<th width=\"6%\"><div class=\"tableCell\">来件人</div></th>" + |
1712 | "<th width=\"6%\"><div class=\"tableCell\">建设单位</div></th>" + | 1712 | "<th width=\"6%\"><div class=\"tableCell\">登记时间</div></th>" + |
1713 | "<th width=\"11%\"><div class=\"tableCell\">当前阶段</div></th>" + | 1713 | "<th width=\"11%\"><div class=\"tableCell\">接受时间</div></th>" + |
1714 | "<th width=\"10%\"><div class=\"tableCell\">当前环节</div></th>" + | 1714 | // "<th width=\"10%\"><div class=\"tableCell\">当前环节</div></th>" + |
1715 | "<th width=\"7%\"><div class=\"tableCell\">接收时间</div></th>" + | 1715 | // "<th width=\"7%\"><div class=\"tableCell\">接收时间</div></th>" + |
1716 | "<th width=\"5%\"><div class=\"tableCell\">经办人</div></th>" + | 1716 | // "<th width=\"5%\"><div class=\"tableCell\">经办人</div></th>" + |
1717 | "<th width=\"7%\"><div class=\"tableCell\">所属部门</div></th>" + | 1717 | // "<th width=\"7%\"><div class=\"tableCell\">所属部门</div></th>" + |
1718 | "<th width=\"7%\"><div class=\"tableCell\">策划结论</div></th>" + | 1718 | // "<th width=\"7%\"><div class=\"tableCell\">策划结论</div></th>" + |
1719 | "</tr>" + | 1719 | "</tr>" + |
1720 | "</thead>" + | 1720 | "</thead>" + |
1721 | "<tbody id=\"tbodylist\">" | 1721 | "<tbody id=\"tbodylist\">" |
... | @@ -1789,175 +1789,174 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { | ... | @@ -1789,175 +1789,174 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { |
1789 | /* | 1789 | /* |
1790 | * 业务协同项目审批页面 | 1790 | * 业务协同项目审批页面 |
1791 | * */ | 1791 | * */ |
1792 | else if (orign === 'ywxt-xmsp' || orign === 'ywxt-all') { | 1792 | // else if (orign === 'ywxt-xmsp' || orign === 'ywxt-all') { |
1793 | // 业务协同 代办项目 -- | 1793 | // // 业务协同 代办项目 -- |
1794 | // $("#ywxt-xmsp-tabs").show(); | 1794 | // // $("#ywxt-xmsp-tabs").show(); |
1795 | // $("#workingsTabDiv").css('margin-top', '-15px'); | 1795 | // // $("#workingsTabDiv").css('margin-top', '-15px'); |
1796 | //添加表头 | 1796 | // //添加表头 |
1797 | htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + | 1797 | // htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + |
1798 | "<thead><tr class=\"tabletitle\"> " + | 1798 | // "<thead><tr class=\"tabletitle\"> " + |
1799 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + | 1799 | // "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + |
1800 | "<th width=\"3%\" class=\"statusIcon\"></th>" + | 1800 | // "<th width=\"3%\" class=\"statusIcon\"></th>" + |
1801 | "<th width=\"5%\"><div class=\"tableCell\">状态</div></th>" + | 1801 | // "<th width=\"5%\"><div class=\"tableCell\">状态</div></th>" + |
1802 | "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" + | 1802 | // "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" + |
1803 | "<th width=\"20%\"><div class=\"tableCell\">项目名称</div></th> " + | 1803 | // "<th width=\"20%\"><div class=\"tableCell\">项目名称</div></th> " + |
1804 | "<th width=\"12%\"><div class=\"tableCell\">业务类型</div></th>" + | 1804 | // "<th width=\"12%\"><div class=\"tableCell\">业务类型</div></th>" + |
1805 | "<th width=\"7%\"><div class=\"tableCell\">发起部门</div></th>" + | 1805 | // "<th width=\"7%\"><div class=\"tableCell\">发起部门</div></th>" + |
1806 | "<th width=\"11%\"><div class=\"tableCell\">接收时间</div></th>" + | 1806 | // "<th width=\"11%\"><div class=\"tableCell\">接收时间</div></th>" + |
1807 | "</tr>" + | 1807 | // "</tr>" + |
1808 | "</thead>" + | 1808 | // "</thead>" + |
1809 | "<tbody id=\"tbodylist\">" | 1809 | // "<tbody id=\"tbodylist\">" |
1810 | 1810 | // | |
1811 | for (var i = 0; i < groupData.length; i++) {//遍历分组数据 | 1811 | // for (var i = 0; i < groupData.length; i++) {//遍历分组数据 |
1812 | /*if(i>0){//TODO 测试 | 1812 | // /*if(i>0){//TODO 测试 |
1813 | break; | 1813 | // break; |
1814 | }*/ | 1814 | // }*/ |
1815 | var flowType = groupData[i]["type"]; | 1815 | // var flowType = groupData[i]["type"]; |
1816 | var flowTypeName = groupData[i]["name"]; | 1816 | // var flowTypeName = groupData[i]["name"]; |
1817 | var sum = 0;//统计属于该类型的项目个数 | 1817 | // var sum = 0;//统计属于该类型的项目个数 |
1818 | var htmlTableBodyTr = "";//归类项目内容 | 1818 | // var htmlTableBodyTr = "";//归类项目内容 |
1819 | 1819 | // | |
1820 | // -- ↓ | 1820 | // // -- ↓ |
1821 | data = data.filter(item => ( | 1821 | // data = data.filter(item => ( |
1822 | item.FLOWNAME === "工程建设许可阶段并联审批" || | 1822 | // item.FLOWNAME === "工程建设许可阶段并联审批" || |
1823 | item.FLOWNAME === "立项用地规划许可阶段并联审批" || | 1823 | // item.FLOWNAME === "立项用地规划许可阶段并联审批" || |
1824 | item.FLOWNAME === "施工许可阶段并联审批" || | 1824 | // item.FLOWNAME === "施工许可阶段并联审批" || |
1825 | item.FLOWNAME === "竣工验收阶段并联审批" || | 1825 | // item.FLOWNAME === "竣工验收阶段并联审批" || |
1826 | item.FLOWNAME === "成果审查子流程测试" || | 1826 | // item.FLOWNAME === "成果审查子流程测试" || |
1827 | item.FLOWNAME === "项目储备策划生成" || | 1827 | // item.FLOWNAME === "项目储备策划生成" || |
1828 | item.FLOWNAME === "出让类项目储备策划生成" || | 1828 | // item.FLOWNAME === "出让类项目储备策划生成" || |
1829 | item.FLOWNAME==='项目策划生成(政府投资工程建设项目类)'|| | 1829 | // item.FLOWNAME==='项目策划生成(政府投资工程建设项目类)'|| |
1830 | item.FLOWNAME==='项目策划生成(企业投资项目用地储备类)' | 1830 | // item.FLOWNAME==='项目策划生成(企业投资项目用地储备类)' |
1831 | // || item.FLOWNAME === "数据申请" | 1831 | // // || item.FLOWNAME === "数据申请" |
1832 | )); | 1832 | // )); |
1833 | 1833 | // | |
1834 | if (createdFlag) { | 1834 | // if (createdFlag) { |
1835 | createPage(data); | 1835 | // createPage(data); |
1836 | createdFlag = false; | 1836 | // createdFlag = false; |
1837 | } | 1837 | // } |
1838 | ; | 1838 | // ; |
1839 | data.forEach((ele) => { | 1839 | // data.forEach((ele) => { |
1840 | if(ele.RECEIVETIME) { | 1840 | // if(ele.RECEIVETIME) { |
1841 | ele.timeStampVal = (new Date(ele.REGISTERTIME)).getTime(); | 1841 | // ele.timeStampVal = (new Date(ele.REGISTERTIME)).getTime(); |
1842 | }else { | 1842 | // }else { |
1843 | ele.timeStampVal = 0; | 1843 | // ele.timeStampVal = 0; |
1844 | } | 1844 | // } |
1845 | }); | 1845 | // }); |
1846 | ownSort(data); | 1846 | // ownSort(data); |
1847 | pageData = data.slice((currentLayui - 1) * pageSizeLayui, (currentLayui - 1) * pageSizeLayui + pageSizeLayui); | 1847 | // pageData = data.slice((currentLayui - 1) * pageSizeLayui, (currentLayui - 1) * pageSizeLayui + pageSizeLayui); |
1848 | 1848 | // | |
1849 | var dataCopy = JSON.parse(JSON.stringify(pageData)) | 1849 | // var dataCopy = JSON.parse(JSON.stringify(pageData)) |
1850 | var _url = '/xm/getLcList'; | 1850 | // var _url = '/xm/getLcList'; |
1851 | var user = JSON.parse(parent.userCookies).user; | 1851 | // var user = JSON.parse(parent.userCookies).user; |
1852 | var _obj = { | 1852 | // var _obj = { |
1853 | userId: user.id, | 1853 | // userId: user.id, |
1854 | userName: user.realname, | 1854 | // userName: user.realname, |
1855 | 1855 | // | |
1856 | }; | 1856 | // }; |
1857 | postDataToServe(_url, {..._obj, data: JSON.stringify(pageData)}, res => { | 1857 | // postDataToServe(_url, {..._obj, data: JSON.stringify(pageData)}, res => { |
1858 | for (var i = 0; i < pageData.length; i++) { | 1858 | // for (var i = 0; i < pageData.length; i++) { |
1859 | for (var j = 0; j < res.length; j++) { | 1859 | // for (var j = 0; j < res.length; j++) { |
1860 | if (pageData[i].PROJECTID == res[j].id) { | 1860 | // if (pageData[i].PROJECTID == res[j].id) { |
1861 | pageData[i].REGISTERTIME = res[j].rwjssj | 1861 | // pageData[i].REGISTERTIME = res[j].rwjssj |
1862 | pageData[i].PROJECTNAME = res[j].xmmc || "" | 1862 | // pageData[i].PROJECTNAME = res[j].xmmc || "" |
1863 | pageData[i].PROJECTCODE = res[j].xmbh || "" | 1863 | // pageData[i].PROJECTCODE = res[j].xmbh || "" |
1864 | pageData[i].BINDINGASSIGNEE = res[j].jbr || "" | 1864 | // pageData[i].BINDINGASSIGNEE = res[j].jbr || "" |
1865 | pageData[i].ZPMSPH = res[j].cbbh || "" | 1865 | // pageData[i].ZPMSPH = res[j].cbbh || "" |
1866 | pageData[i].BUILDADDRESS = res[j].jsdw || "" | 1866 | // pageData[i].BUILDADDRESS = res[j].jsdw || "" |
1867 | pageData[i].CASECODE = res[j].jsdd || "" | 1867 | // pageData[i].CASECODE = res[j].jsdd || "" |
1868 | pageData[i].BINDINGUNIT = res[j].bm || "" | 1868 | // pageData[i].BINDINGUNIT = res[j].bm || "" |
1869 | pageData[i].SPJD = res[j].SPJD || "" | 1869 | // pageData[i].SPJD = res[j].SPJD || "" |
1870 | 1870 | // | |
1871 | if (pageData[i].ACTIVITYNAME === '发起项目' || | 1871 | // if (pageData[i].ACTIVITYNAME === '发起项目' || |
1872 | pageData[i].ACTIVITYNAME === '预选址及审核' || | 1872 | // pageData[i].ACTIVITYNAME === '预选址及审核' || |
1873 | pageData[i].ACTIVITYNAME === '空间协调' || | 1873 | // pageData[i].ACTIVITYNAME === '空间协调' || |
1874 | pageData[i].ACTIVITYNAME === '空间协调意见汇总' || | 1874 | // pageData[i].ACTIVITYNAME === '空间协调意见汇总' || |
1875 | pageData[i].ACTIVITYNAME === '前期工作计划决策') { | 1875 | // pageData[i].ACTIVITYNAME === '前期工作计划决策') { |
1876 | pageData[i].BUILDUNIT = "空间协调" | 1876 | // pageData[i].BUILDUNIT = "空间协调" |
1877 | } else if (pageData[i].ACTIVITYNAME === '提交可研材料' || | 1877 | // } else if (pageData[i].ACTIVITYNAME === '提交可研材料' || |
1878 | pageData[i].ACTIVITYNAME === '可研初审' || | 1878 | // pageData[i].ACTIVITYNAME === '可研初审' || |
1879 | pageData[i].ACTIVITYNAME === '联评联审' || | 1879 | // pageData[i].ACTIVITYNAME === '联评联审' || |
1880 | pageData[i].ACTIVITYNAME === '下达可研报告通知函') { | 1880 | // pageData[i].ACTIVITYNAME === '下达可研报告通知函') { |
1881 | pageData[i].BUILDUNIT = "可研协调" | 1881 | // pageData[i].BUILDUNIT = "可研协调" |
1882 | } else if (pageData[i].FLOWNAME === '工程建设许可阶段并联审批') { | 1882 | // } else if (pageData[i].FLOWNAME === '工程建设许可阶段并联审批') { |
1883 | pageData[i].BUILDUNIT = "工程建设许可" | 1883 | // pageData[i].BUILDUNIT = "工程建设许可" |
1884 | } else if (pageData[i].FLOWNAME === '立项用地规划许可阶段并联审批') { | 1884 | // } else if (pageData[i].FLOWNAME === '立项用地规划许可阶段并联审批') { |
1885 | pageData[i].BUILDUNIT = "用地规划许可" | 1885 | // pageData[i].BUILDUNIT = "用地规划许可" |
1886 | } else if (pageData[i].FLOWNAME === '施工许可阶段并联审批') { | 1886 | // } else if (pageData[i].FLOWNAME === '施工许可阶段并联审批') { |
1887 | pageData[i].BUILDUNIT = "施工许可" | 1887 | // pageData[i].BUILDUNIT = "施工许可" |
1888 | } else if (pageData[i].FLOWNAME === '竣工验收阶段并联审批') { | 1888 | // } else if (pageData[i].FLOWNAME === '竣工验收阶段并联审批') { |
1889 | pageData[i].BUILDUNIT = "竣工验收" | 1889 | // pageData[i].BUILDUNIT = "竣工验收" |
1890 | } | 1890 | // } |
1891 | } | 1891 | // } |
1892 | } | 1892 | // } |
1893 | } | 1893 | // } |
1894 | }, false); | 1894 | // }, false); |
1895 | // -- ↑ | 1895 | // // -- ↑ |
1896 | for (var j = 0; j < pageData.length; j++) {//遍历所有项目数据 | 1896 | // for (var j = 0; j < pageData.length; j++) {//遍历所有项目数据 |
1897 | var flowTypeStr = pageData[j]["PROJECTFLOWTYPE"]; | 1897 | // var flowTypeStr = pageData[j]["PROJECTFLOWTYPE"]; |
1898 | var obj = JSON.stringify(pageData[j]); | 1898 | // var obj = JSON.stringify(pageData[j]); |
1899 | var fontweight = ""; | 1899 | // var fontweight = ""; |
1900 | var descrption = pageData[j]["DESCRIPTION"]; | 1900 | // var descrption = pageData[j]["DESCRIPTION"]; |
1901 | if (descrption != "read") { | 1901 | // if (descrption != "read") { |
1902 | fontweight = ' style=\"font-weight: 600;color: blue;\" '; | 1902 | // fontweight = ' style=\"font-weight: 600;color: blue;\" '; |
1903 | } | 1903 | // } |
1904 | // if (flowType == flowTypeStr) { | 1904 | // // if (flowType == flowTypeStr) { |
1905 | htmlTableBodyTr += "<tr id=\"" + pageData[j]["PROJECTID"] + "\" " + fontweight + ' class=\"group' + i + '\">' + | 1905 | // htmlTableBodyTr += "<tr id=\"" + pageData[j]["PROJECTID"] + "\" " + fontweight + ' class=\"group' + i + '\">' + |
1906 | "<td width=\"1%\" class=\"checkboxCls\" >" + '<input class="son_check" type="checkbox" name="layTableCheckbox" lay-skin="primary" title="" >' + "</td>" + | 1906 | // "<td width=\"1%\" class=\"checkboxCls\" >" + '<input class="son_check" type="checkbox" name="layTableCheckbox" lay-skin="primary" title="" >' + "</td>" + |
1907 | "<td width=\"3%\" onclick=\'workingSeeDetail(this)\' class=\"statusIcon\">" + pageData[j]["BJQX"] + "</td>" + | 1907 | // "<td width=\"3%\" onclick=\'workingSeeDetail(this)\' class=\"statusIcon\">" + pageData[j]["BJQX"] + "</td>" + |
1908 | 1908 | // | |
1909 | "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTSTATUS"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTSTATUS"] + "</div></td>" + | 1909 | // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTSTATUS"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTSTATUS"] + "</div></td>" + |
1910 | "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTCODE"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTCODE"] + "</div></td>" + | 1910 | // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTCODE"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTCODE"] + "</div></td>" + |
1911 | 1911 | // | |
1912 | "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTNAME"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTNAME"] + "</div></td>" + | 1912 | // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["PROJECTNAME"] +"><div class=\"tableCell\">" + pageData[j]["PROJECTNAME"] + "</div></td>" + |
1913 | 1913 | // | |
1914 | "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["FLOWNAME"] +"><div class=\"tableCell\">" + pageData[j]["FLOWNAME"] + "</div></td>" + | ||
1915 | "<td width=\"7%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["BINDINGUNIT"] +"><div class=\"tableCell\">" + pageData[j]["BINDINGUNIT"] + "</div></td>" + | ||
1916 | // "<td width=\"11%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["REGISTERTIME"] +"><div class=\"tableCell\">" + pageData[j]["REGISTERTIME"] + "</div></td>" + | ||
1917 | `<td width=\"11%\" onclick=\'workingSeeDetail(this)\' title='${ pageData[j]["REGISTERTIME"]}'><div class=\"tableCell\"> ${pageData[j]["REGISTERTIME"]} </div></td>` + | ||
1918 | |||
1919 | // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["FLOWNAME"] +"><div class=\"tableCell\">" + pageData[j]["FLOWNAME"] + "</div></td>" + | 1914 | // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["FLOWNAME"] +"><div class=\"tableCell\">" + pageData[j]["FLOWNAME"] + "</div></td>" + |
1920 | "</tr>"; | 1915 | // "<td width=\"7%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["BINDINGUNIT"] +"><div class=\"tableCell\">" + pageData[j]["BINDINGUNIT"] + "</div></td>" + |
1921 | sum++; | 1916 | // // "<td width=\"11%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["REGISTERTIME"] +"><div class=\"tableCell\">" + pageData[j]["REGISTERTIME"] + "</div></td>" + |
1922 | showDataList.push(pageData[j]);//将显示的数据保存 | 1917 | // `<td width=\"11%\" onclick=\'workingSeeDetail(this)\' title='${ pageData[j]["REGISTERTIME"]}'><div class=\"tableCell\"> ${pageData[j]["REGISTERTIME"]} </div></td>` + |
1918 | // | ||
1919 | // // "<td width=\"12%\" onclick=\'workingSeeDetail(this)\' title=" + pageData[j]["FLOWNAME"] +"><div class=\"tableCell\">" + pageData[j]["FLOWNAME"] + "</div></td>" + | ||
1920 | // "</tr>"; | ||
1921 | // sum++; | ||
1922 | // showDataList.push(pageData[j]);//将显示的数据保存 | ||
1923 | // // } | ||
1923 | // } | 1924 | // } |
1924 | } | 1925 | // if( i >= groupData.length) { |
1925 | if( i >= groupData.length) { | 1926 | // ownSort(showDataList); |
1926 | ownSort(showDataList); | 1927 | // //往表格中添加一行用于提示分类的标志行 |
1927 | //往表格中添加一行用于提示分类的标志行 | 1928 | // } |
1928 | } | 1929 | // var htmlTableHeadTr = ""; |
1929 | var htmlTableHeadTr = ""; | 1930 | // htmlTable = "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + |
1930 | htmlTable = "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + | 1931 | // "<thead><tr class=\"tabletitle\"> " + |
1931 | "<thead><tr class=\"tabletitle\"> " + | 1932 | // "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + |
1932 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + | 1933 | // "<th width=\"3%\" class=\"statusIcon\"></th>" + |
1933 | "<th width=\"3%\" class=\"statusIcon\"></th>" + | 1934 | // "<th width=\"5%\"><div class=\"tableCell\">状态</div></th>" + |
1934 | "<th width=\"5%\"><div class=\"tableCell\">状态</div></th>" + | 1935 | // "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" + |
1935 | "<th width=\"8%\"><div class=\"tableCell\">项目编号</div></th>" + | 1936 | // "<th width=\"20%\"><div class=\"tableCell\">项目名称</div></th> " + |
1936 | "<th width=\"20%\"><div class=\"tableCell\">项目名称</div></th> " + | 1937 | // "<th width=\"22%\"><div class=\"tableCell\">业务类型</div></th>" + |
1937 | "<th width=\"22%\"><div class=\"tableCell\">业务类型</div></th>" + | 1938 | // "<th width=\"10%\"><div class=\"tableCell\">发起部门</div></th>" + |
1938 | "<th width=\"10%\"><div class=\"tableCell\">发起部门</div></th>" + | 1939 | // "<th width=\"14%\"><div class=\"tableCell\">接收时间</div></th>" + |
1939 | "<th width=\"14%\"><div class=\"tableCell\">接收时间</div></th>" + | 1940 | // "</tr>" + |
1940 | "</tr>" + | 1941 | // "</thead>" + |
1941 | "</thead>" + | 1942 | // "<tbody id=\"tbodylist\">" + htmlTableHeadTr + htmlTableBodyTr; |
1942 | "<tbody id=\"tbodylist\">" + htmlTableHeadTr + htmlTableBodyTr; | 1943 | // |
1943 | 1944 | // } | |
1944 | } | 1945 | // } |
1945 | } else { | 1946 | else if(orign =='phgl'){ |
1946 | //添加表头 | 1947 | //添加表头 |
1947 | htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + | 1948 | htmlTable += "<table class=\"striped\" id=\"datalist\" style=\"table-layout: fixed;width: 100%;\">" + |
1948 | "<thead><tr class=\"tabletitle\"> " + | 1949 | "<thead><tr class=\"tabletitle\"> " + |
1949 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + | 1950 | "<th width=\"1%\" class=\"checkboxCls\">" + '<input class="parent_check" type="checkbox" name="" lay-skin="primary" title="" >' + "</th>" + |
1950 | "<th width=\"3%\" class=\"statusIcon\"></th>" + | ||
1951 | "<th width=\"5%\"><div class=\"tableCell\">状态</div></th> " + | ||
1952 | "<th width=\"12%\"><div class=\"tableCell\">业务类型</div></th>" + | ||
1953 | "<th width=\"10%\"><div class=\"tableCell\">项目编号</div></th>" + | 1951 | "<th width=\"10%\"><div class=\"tableCell\">项目编号</div></th>" + |
1954 | "<th width=\"10%\"><div class=\"tableCell\">报建编号</div></th>" + | 1952 | "<th width=\"10%\"><div class=\"tableCell\">项目名称</div></th>" + |
1955 | "<th width=\"20%\"><div class=\"tableCell\">项目名称</div></th>" + | 1953 | "<th width=\"10%\"><div class=\"tableCell\">地籍编号</div></th>" + |
1956 | "<th width=\"8%\"><div class=\"tableCell\">建设位置</div></th>" + | 1954 | "<th width=\"8%\"><div class=\"tableCell\">用地面积(亩)</div></th>" + |
1957 | "<th width=\"8%\"><div class=\"tableCell\">建设单位</div></th>" + | 1955 | "<th width=\"8%\"><div class=\"tableCell\">宗地位置</div></th>" + |
1958 | "<th width=\"8%\"><div class=\"tableCell\">接收时间</div></th>" + | 1956 | "<th width=\"8%\"><div class=\"tableCell\">土地用途</div></th>" + |
1959 | "<th width=\"5%\"><div class=\"tableCell\">经办人</div></th>" + | 1957 | "<th width=\"8%\"><div class=\"tableCell\">责任单位</div></th>" + |
1960 | "<th width=\"10%\"><div class=\"tableCell\">所属部门</div></th>" + | 1958 | "<th width=\"10%\"><div class=\"tableCell\">所属区域</div></th>" + |
1959 | "<th width=\"10%\"><div class=\"tableCell\">创建时间</div></th>" + | ||
1961 | "</tr>" + | 1960 | "</tr>" + |
1962 | "</thead>" + | 1961 | "</thead>" + |
1963 | "<tbody id=\"tbodylist\">" | 1962 | "<tbody id=\"tbodylist\">" |
... | @@ -1999,21 +1998,21 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { | ... | @@ -1999,21 +1998,21 @@ function dynamicWorkingTable(result, tbodyid, searchtext) { |
1999 | } | 1998 | } |
2000 | } | 1999 | } |
2001 | //往表格中添加一行用于提示分类的标志行 | 2000 | //往表格中添加一行用于提示分类的标志行 |
2002 | var htmlTableHeadTr = "<tr class=\"flowtypeParent\" id=\"" + "group" + i + "\">" + | 2001 | // var htmlTableHeadTr = "<tr class=\"flowtypeParent\" id=\"" + "group" + i + "\">" + |
2003 | "<td width=\"1%\" class=\"iconTd\">" + "<span class=\"glyphicon glyphicon-minus\"></span>" + "</td>" + | 2002 | // "<td width=\"1%\" class=\"iconTd\">" + "<span class=\"glyphicon glyphicon-minus\"></span>" + "</td>" + |
2004 | "<td width=\"3%\">" + flowTypeName + "(" + sum + ")" + "</td>" + | 2003 | // "<td width=\"3%\">" + flowTypeName + "(" + sum + ")" + "</td>" + |
2005 | "<td width=\"5%\">" + "" + "</td>" + | 2004 | // "<td width=\"5%\">" + "" + "</td>" + |
2006 | "<td width=\"10%\">" + "" + "</td>" + | 2005 | // "<td width=\"10%\">" + "" + "</td>" + |
2007 | "<td width=\"10%\">" + "" + "</td>" + | 2006 | // "<td width=\"10%\">" + "" + "</td>" + |
2008 | "<td width=\"10%\">" + "" + "</td>" + | 2007 | // "<td width=\"10%\">" + "" + "</td>" + |
2009 | "<td width=\"20%\">" + "" + "</td>" + | 2008 | // "<td width=\"20%\">" + "" + "</td>" + |
2010 | "<td width=\"8%\">" + "" + "</td>" + | 2009 | // "<td width=\"8%\">" + "" + "</td>" + |
2011 | "<td width=\"8%\">" + "" + "</td>" + | 2010 | // "<td width=\"8%\">" + "" + "</td>" + |
2012 | "<td width=\"10%\">" + "" + "</td>" + | 2011 | // "<td width=\"10%\">" + "" + "</td>" + |
2013 | "<td width=\"5%\">" + "" + "</td>" + | 2012 | // "<td width=\"5%\">" + "" + "</td>" + |
2014 | "<td width=\"10%\">" + "" + "</td>" + | 2013 | // "<td width=\"10%\">" + "" + "</td>" + |
2015 | "</tr>"; | 2014 | // "</tr>"; |
2016 | htmlTable += htmlTableHeadTr + htmlTableBodyTr; | 2015 | // htmlTable += htmlTableHeadTr + htmlTableBodyTr; |
2017 | } | 2016 | } |
2018 | } | 2017 | } |
2019 | ; | 2018 | ; | ... | ... |
-
Please register or sign in to post a comment