common.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
  4. <head>
  5. <title layout:title-pattern="$LAYOUT_TITLE - $CONTENT_TITLE"></title>
  6. <meta name="renderer" content="webkit">
  7. <meta name="keywords"
  8. content="中小企业服务中心,苏州中小企业服务中心,苏州高新区中小企业服务中心,企业服务中心,苏州高新区,企业服务平台,企业服务云,企业发展服务,ESCP,ESCloud,存量工业用地,工业用地,存量用地,活动,政策解读,项目申报,工业小区,智慧政务,智慧工业产业园,互联网+政务">
  9. <meta name="description"
  10. content="苏州高新区企业服务云平台,旨在落实高新区发改局对区内企业的服务政策,及时了解苏州高新区内企业的运行情况数据和发展趋势,加强指标监测,以助力高新区内企业的发展和提升,进而总体把握苏州高新区整体工业及经济形势。同时高新区发改局可以通过平台不断了解企业的真实诉求,运用平台的企业需求反馈咨询跟踪办理机制,针对各企业发展过程中急需解决的问题,利用平台的云计算大数据技术分析技术,为企业提供有效的解决方案支持。并且以苏州高新区内各工业产业园为抓手,通过平台构建苏州高新区智慧工业产业园,提高各工业产业园信息化、智慧化水平,优化工业产业园内企业结构,以全面提升园内企业整体经济效益和经营实力。借助平台动态分析区内行业产业结构、产业生态环境,指导区内经济布局,大力促进及加快企业发展,以信息化手段推动政府职能“互联网+”模式的转变,为苏州高新区企业转型升级提供坚实的科技支撑。最终以平台为技术基础,进行企业运行监控,存量工业用地管理,整合区内资源,聚集企业服务功能,推进产学研结合发展创新方式,打造苏州高新区特色智慧政务模式。">
  11. <meta charset="utf-8"/>
  12. <meta name="_ctx" th:content="@{/}"/>
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <link rel="icon" th:href="@{/assets/favicon.ico}" type="image/x-icon"/>
  15. <link rel="shortcut icon" th:href="@{/assets/favicon.ico}" type="image/x-icon"/>
  16. <link rel="bookmark" th:href="@{/assets/favicon.ico}" type="image/x-icon"/>
  17. <link rel="stylesheet" type="text/css" th:href="@{/home/plugin/bootstrap/css/bootstrap.min.css}">
  18. <link rel="stylesheet" type="text/css" th:href="@{/home/css/index.css}">
  19. <link rel="stylesheet" type="text/css" th:href="@{/home/css/nav.css}">
  20. <link rel="stylesheet" type="text/css" th:href="@{/home/font/iconfont.css}">
  21. <link rel="stylesheet" type="text/css" th:href="@{/home/plugin/layui/css/layui.css}">
  22. <link rel="stylesheet" type="text/css" th:href="@{/home/css/swiper.css}">
  23. <link rel="stylesheet" type="text/css" th:href="@{/home/css/home.css}">
  24. <link rel="stylesheet" type="text/css" th:href="@{/home/css/style.css}">
  25. <link rel="stylesheet" type="text/css" th:href="@{/home/css/policy.css}">
  26. <link rel="stylesheet" type="text/css" th:href="@{/home/css/jquery.pagination.css}">
  27. <script th:src="@{/home/plugin/jquery-1.11.3.min.js}" type="text/javascript"></script>
  28. <script th:src="@{/home/plugin/swiper.min.js}" type="text/javascript"></script>
  29. <script th:src="@{/home/plugin/bootstrap/js/bootstrap.min.js}" type="text/javascript"></script>
  30. <script type="text/javascript" th:src="@{/home/plugin/laydate/laydate.js}"></script>
  31. <script type="text/javascript" th:src="@{/home/plugin/My97DatePicker/WdatePicker.js}"></script>
  32. <script th:src="@{/home/plugin/layui/layui.js}" type="text/javascript"></script>
  33. <script type="text/javascript" th:src="@{/h-ui/lib/layer/2.4/layer.js}"></script>
  34. <script type="text/javascript" th:src="@{/js/common/layerUtil.js}"></script>
  35. <script th:src="@{/js/artTemplate/es5-shim.min.js}"></script>
  36. <script th:src="@{/js/artTemplate/json3.min.js}"></script>
  37. <script th:src="@{/js/template-web.js}"></script>
  38. <script charset="utf-8" th:src="@{/h-ui/lib/kindeditor-4.1.7/plugins/code/prettify.js}"></script>
  39. <script type="text/javascript" th:src="@{/js/lib/highcharts/highcharts.js}"></script>
  40. <script type="text/javascript" th:src="@{/js/lib/highcharts/exporting.js}"></script>
  41. <script type="text/javascript" th:src="@{/js/lib/highcharts/highcharts-zh_CN.js}"></script>
  42. <script type="text/javascript" th:src="@{/js/lib/highcharts/highcharts-more.js}"></script>
  43. <script type="text/javascript" src="https://www.highcharts.com/samples/data/usdeur.js"></script>
  44. <script type="text/javascript" th:src="@{/h-ui/lib/jquery.validation/1.14.0/jquery.validate.min.js}"></script>
  45. <script type="text/javascript" th:src="@{/h-ui/lib/jquery.validation/1.14.0/validate-methods.js}"></script>
  46. <script type="text/javascript" th:src="@{/js/common/jquery.pagination.min.js}"></script>
  47. <script type="text/javascript" th:src="@{/h-ui/static/h-ui/js/H-ui.min.js}"></script>
  48. <!--[if lte IE 8]>
  49. <script th:src="@{/home/plugin/html5shiv.min.js}" type="text/javascript"></script>
  50. <script th:src="@{/home/plugin/respond.min.js}" type="text/javascript"></script>
  51. <![endif]-->
  52. <script type="text/javascript">
  53. loginUserName = localStorage.getItem('user_name')
  54. loginUserId = localStorage.getItem('user_id')
  55. $(function () {
  56. if (loginUserName) {
  57. // document.getElementsByClassName('.loginIcon')[0].src = loginUserName;
  58. if (document.getElementsByClassName("loginName")[0] != undefined) {
  59. document.getElementsByClassName('loginName')[0].innerText = loginUserName;
  60. document.getElementById('login-link').style.display = 'none'
  61. }
  62. } else {
  63. document.getElementsByClassName('toAdmin')[0].style.display = 'none'
  64. document.getElementsByClassName('loginIcon')[0].style.display = 'none'
  65. document.getElementsByClassName('dropMenu')[0].style.display = 'none'
  66. }
  67. });
  68. $(function () {
  69. if ($("#showtime").length > 0) {
  70. showDT();
  71. }
  72. });
  73. function logOut() {
  74. localStorage.clear()
  75. window.location.href = 'http://' + window.location.host + '/admin/logout'
  76. }
  77. function showDT() {
  78. var days = new Array("日", "一", "二", "三", "四", "五", "六");
  79. var currentDT = new Date();
  80. var y, m, date, day, hs, ms, ss, theDateStr;
  81. y = currentDT.getFullYear(); //四位整数表示的年份
  82. m = currentDT.getMonth() + 1; //月
  83. date = currentDT.getDate(); //日
  84. day = currentDT.getDay(); //星期
  85. //hs = currentDT.getHours(); //时
  86. //ms = currentDT.getMinutes(); //分
  87. //ss = currentDT.getSeconds(); //秒
  88. theDateStr = y + "年" + m + "月" + date + "日 星期" + days[day];
  89. document.getElementById("showtime").innerHTML = theDateStr;
  90. window.setTimeout(showDT, 1000);
  91. }
  92. function redirectToIndustrialCarrier() {
  93. // $.ajax({
  94. // url: pagePath + "/token/create",
  95. // type: "get",
  96. // dataType: "json",
  97. // data: {
  98. // timeStamp: new Date()
  99. // },
  100. // success: function (result) {
  101. // if (result.success) {
  102. // var token = result.obj;
  103. // localStorage.setItem("INDUSTRIAL_CARRIER", token);
  104. // window.location.href = pagePath.substring(0,pagePath.lastIndexOf("/")) + '/industry/home';
  105. // // window.open(pagePath.substring(0,pagePath.lastIndexOf("/")) + '/industry/home');
  106. // }
  107. // else {
  108. // location.href = pagePath + "/home/login";
  109. // localStorage.setItem("industrialCarrier", "1");
  110. // localStorage.setItem("errorMsg", "用户不存在!");
  111. // }
  112. // }
  113. // });
  114. }
  115. function toIndustrial() {
  116. window.open(pagePath.substring(0, pagePath.lastIndexOf("/")).replace("/snd-escloud", "") + '/industry/home/#/industrialReserve');
  117. }
  118. function checkLogin1(e) {
  119. $.ajax({
  120. url: pagePath + "/home/checkLogin/",
  121. type: "get",
  122. dataType: "json",
  123. data: {
  124. timeStamp: new Date()
  125. },
  126. success: function (result) {
  127. if (result.success) {
  128. var obj = result.obj;
  129. if (obj.isLogin) {
  130. if (e == 'azw') {
  131. window.open("http://202.102.20.60:8008/zf/#/login?username=" + obj.userName)
  132. } else if (e == 'dljk') {
  133. window.open("http://202.102.20.60:8008/ly/#/login?username=" + obj.userName)
  134. } else if (e == 'lyjj') {
  135. window.open("http://112.4.85.47:8000/lyzf/#/login?username=" + obj.userName)
  136. } else if (e == 'jwtz') {
  137. if (obj.userType == 3) {
  138. window.open('http://112.4.85.50:9300/irsweb/?id=' + loginUserId)
  139. }
  140. } else if (e == 'gycf') {
  141. // window.location.href = pagePath.substring(0,pagePath.lastIndexOf("/")) + '/industry/home';
  142. window.open(pagePath.substring(0, pagePath.lastIndexOf("/")).replace("/snd-escloud", "") + '/industry/home/#/home');
  143. $.ajax({
  144. url: pagePath + "/token/create",
  145. type: "get",
  146. dataType: "json",
  147. data: {
  148. timeStamp: new Date()
  149. },
  150. success: function (result) {
  151. if (result.success) {
  152. var token = result.obj;
  153. localStorage.setItem("INDUSTRIAL_CARRIER", token);
  154. }
  155. }
  156. });
  157. }
  158. } else {
  159. //errorMessage("请登陆!");
  160. location.href = pagePath + "/home/login";
  161. // localStorage.setItem("activityUrl", 'http://202.102.20.60:8008/zf/#/login');
  162. // localStorage.setItem("returnUrl", 'http://202.102.20.60:8008/zf/#/login');
  163. // localStorage.setItem("requiredUserType", "0");
  164. if (e == 'azw') {
  165. localStorage.setItem("safetySupervision", "1");
  166. localStorage.setItem("errorMsg", "用户不存在!");
  167. }
  168. if (e == 'gycf') {
  169. localStorage.setItem("industrialCarrier", "1");
  170. }
  171. }
  172. } else {
  173. errorMessage(result.message);
  174. }
  175. },
  176. error: function () {
  177. errorMessage('系统错误!');
  178. }
  179. });
  180. }
  181. function checkTel(tel) {
  182. var telObj = {}
  183. if (/^1(3|4|5|7|8)\d{9}$/.test(tel)) {
  184. telObj.type = '移动电话'
  185. telObj.typeNumber = 1
  186. telObj.isPass = true
  187. } else if (/^0\d{2,3}-?\d{7,8}$/.test(tel)) {
  188. telObj.type = '固定电话'
  189. telObj.typeNumber = 2
  190. telObj.isPass = true
  191. } else {
  192. telObj.type = '不是有效的电话号码!'
  193. telObj.typeNumber = 0
  194. telObj.isPass = false
  195. }
  196. return telObj
  197. }
  198. function checkEmail(email) {
  199. return (/^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,5}$/.test(email))
  200. }
  201. function changeContact() {
  202. var contractValue = $(".feedback_right input[dataValue='contact']").val()
  203. if (contractValue == '') {
  204. $(".feedback_right input[dataValue='contact']").addClass("is_error")
  205. $(".feedback_error[dataValue='contact']").text('请输入联系人')
  206. return false
  207. } else if (contractValue.length > 10 || contractValue.length < 2) {
  208. $(".feedback_right input[dataValue='contact']").addClass("is_error")
  209. $(".feedback_error[dataValue='contact']").text('长度在2-10个字符')
  210. return false
  211. } else {
  212. $(".feedback_right input[dataValue='contact']").removeClass("is_error")
  213. $(".feedback_error[dataValue='contact']").text('')
  214. return true
  215. }
  216. }
  217. function changeTel() {
  218. var teltValue = $(".feedback_right input[dataValue='tel']").val()
  219. if (teltValue == '') {
  220. $(".feedback_right input[dataValue='tel']").addClass("is_error")
  221. $(".feedback_error[dataValue='tel']").text('请输入电话')
  222. return false
  223. } else {
  224. var checkTelObj = checkTel(teltValue)
  225. if (!checkTelObj.isPass) {
  226. $(".feedback_right input[dataValue='tel']").addClass("is_error")
  227. $(".feedback_error[dataValue='tel']").text(checkTelObj.type)
  228. return false
  229. } else {
  230. $(".feedback_right input[dataValue='tel']").removeClass("is_error")
  231. $(".feedback_error[dataValue='tel']").text('')
  232. return true
  233. }
  234. }
  235. }
  236. function changeEmail() {
  237. var emailValue = $(".feedback_right input[dataValue='email']").val()
  238. if (emailValue == '') {
  239. $(".feedback_right input[dataValue='email']").addClass("is_error")
  240. $(".feedback_error[dataValue='email']").text('请输入邮箱')
  241. return false
  242. } else {
  243. var checkEmailObj = checkEmail(emailValue)
  244. if (!checkEmailObj) {
  245. $(".feedback_right input[dataValue='email']").addClass("is_error")
  246. $(".feedback_error[dataValue='email']").text('请输入正确的邮箱地址')
  247. return false
  248. } else {
  249. $(".feedback_right input[dataValue='email']").removeClass("is_error")
  250. $(".feedback_error[dataValue='email']").text('')
  251. return true
  252. }
  253. }
  254. }
  255. function changeContent() {
  256. var contentValue = $(".feedback_right textarea[dataValue='content']").val()
  257. if (contentValue == '') {
  258. $(".feedback_right textarea[dataValue='content']").addClass("is_error")
  259. $(".feedback_error[dataValue='content']").text('请输入反馈内容')
  260. return false
  261. } else if (contentValue.length > 500 || contentValue.length < 5) {
  262. $(".feedback_right textarea[dataValue='content']").addClass("is_error")
  263. $(".feedback_error[dataValue='content']").text('长度在5-500个字符')
  264. return false
  265. } else {
  266. $(".feedback_right textarea[dataValue='content']").removeClass("is_error")
  267. $(".feedback_error[dataValue='content']").text('')
  268. return true
  269. }
  270. }
  271. function feedbackCancel() {
  272. $(".tips-popup").hide();
  273. }
  274. function feedbackSubmit() {
  275. changeContact()
  276. changeTel()
  277. changeEmail()
  278. changeContent()
  279. var submitResult = changeContact() && changeTel() && changeEmail() && changeContent()
  280. if (submitResult) {
  281. $.ajax({
  282. url: 'http://' + window.location.host + '/api/serviceleague/f/v1/feedback',
  283. type: "post",
  284. dataType: "json",
  285. data: {
  286. "applyContent": $(".feedback_right textarea[dataValue='content']").val(),
  287. "applyEmail": $(".feedback_right input[dataValue='email']").val(),
  288. "applyName": $(".feedback_right input[dataValue='contact']").val(),
  289. "applyCompany": $(".feedback_right input[dataValue='company']").val(),
  290. "applyPhone": $(".feedback_right input[dataValue='tel']").val(),
  291. },
  292. success: function (result) {
  293. succeedMessage('反馈成功')
  294. $(".tips-popup").hide();
  295. },
  296. error: function () {
  297. errorMessage('反馈失败')
  298. }
  299. });
  300. }
  301. }
  302. </script>
  303. </head>
  304. <body>
  305. <div layout:fragment="content"></div>
  306. </body>
  307. </html>