end.jsp 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8" %>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <jsp:include page="../../../common/common-meta-include.jsp"></jsp:include>
  8. <jsp:include page="../../../common/common-js-include.jsp"></jsp:include>
  9. <jsp:include page="../../../common/common-css-include.jsp"></jsp:include>
  10. <!--[if lt IE 9]>
  11. <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  12. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  13. <![endif]-->
  14. <style type="text/css">
  15. .layui-table-view .layui-table td {
  16. border-right: 1px solid #DDD !important;
  17. }
  18. .layui-table-body .layui-table-cell {
  19. padding: 5px !important;
  20. }
  21. .layui-table-header .layui-table-cell {
  22. height: 42px !important;
  23. }
  24. .table_box .table_process {
  25. height: fit-content;
  26. max-height: 60vh;
  27. overflow: hidden;
  28. }
  29. .layui-table-body::-webkit-scrollbar {
  30. width: 0px;
  31. /*height: 10px;*/
  32. }
  33. .layui-table-col-special .layui-table-cell {
  34. display: flex;
  35. justify-content: space-between;
  36. }
  37. .queryTimeType {
  38. margin-top: -9px;
  39. position: absolute;
  40. }
  41. .hiddenParam,
  42. .hiddenParams {
  43. display: none;
  44. }
  45. .morePan {
  46. position: absolute;
  47. margin-left: 11px;
  48. }
  49. .morePan a {
  50. color: #2C6EC6;
  51. }
  52. .table_box,
  53. .table_box .table_process {
  54. overflow: visible;
  55. }
  56. .layui-form-select dl {
  57. height: 230px;
  58. }
  59. .layui-table-cell .cut {
  60. display: -webkit-box; /* 使用旧版的弹性盒子布局 */
  61. -webkit-box-orient: vertical; /* 设置为垂直方向排列 */
  62. overflow: hidden; /* 隐藏溢出内容 */
  63. text-overflow: ellipsis; /* 使用省略号表示溢出内容 */
  64. -webkit-line-clamp: 2; /* 显示的行数 */
  65. }
  66. </style>
  67. </head>
  68. <body>
  69. <div id="app"></div>
  70. <template id="template">
  71. <div class="layui-layout layui-layout-admin pd0">
  72. <!-- 内容区域 -->
  73. <div class="right_title">
  74. <div class="txt">投产项目库 <div class="top-breadcrumb"></div></div>
  75. <div class="layui-collapse search_form">
  76. <div class="layui-colla-item">
  77. <%-- <%-- <h2 class="layui-colla-title">筛选</h2>--%>
  78. <div class="layui-colla-content layui-show">
  79. <form class="layui-form" lay-filter="searchForm" id="searchForm">
  80. <input type="hidden" name="queryType" value="4">
  81. <div class="layui-row">
  82. <%-- <div class="layui-col-xs3 layui-col-sm3 layui-col-md3">--%>
  83. <%-- <div class="layui-form-item">--%>
  84. <%-- <label class="layui-form-label label-longers required">项目名称</label>--%>
  85. <%-- <div class="layui-input-block">--%>
  86. <%-- <input type="text" name="subName" placeholder="请输入" autocomplete="off"--%>
  87. <%-- class="layui-input">--%>
  88. <%-- </div>--%>
  89. <%-- </div>--%>
  90. <%-- </div>--%>
  91. <%-- <div class="layui-col-xs3 layui-col-sm3 layui-col-md3" style="display: none">--%>
  92. <%-- <div class="layui-form-item" style="height:28px;">--%>
  93. <%-- <label class="layui-form-label label-longers required">项目类型</label>--%>
  94. <%-- <div class="layui-input-block">--%>
  95. <%-- <div id="kind" name="kind"></div>--%>
  96. <%-- </div>--%>
  97. <%-- </div>--%>
  98. <%-- </div>--%>
  99. <%-- <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParam">--%>
  100. <%-- <div class="layui-form-item">--%>
  101. <%-- <label class="layui-form-label label-longers required" style="width: 100px;">金额(万元)</label>--%>
  102. <%-- <div class="layui-input-block time_box">--%>
  103. <%-- <input type="text" id="startAmt" name="startAmt" placeholder="请输入最小金额"--%>
  104. <%-- autocomplete="off" class="layui-input" value="${minAmt}">--%>
  105. <%-- <span class="split_txt">至</span>--%>
  106. <%-- <input type="text" id="endAmt" name="endAmt" placeholder="请输入最大金额"--%>
  107. <%-- autocomplete="off" class="layui-input" value="${maxAmt}">--%>
  108. <%-- </div>--%>
  109. <%-- </div>--%>
  110. <%-- </div>--%>
  111. <%-- <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParam">--%>
  112. <%-- <div class="layui-form-item">--%>
  113. <%-- <label class="layui-form-label label-longers required">建设性质</label>--%>
  114. <%-- <div class="layui-input-block">--%>
  115. <%-- <select name="propKind">--%>
  116. <%-- <option value="">请选择</option>--%>
  117. <%-- <c:forEach items="${JSXZ}" var="js">--%>
  118. <%-- <option value="${js.code }">${js.title }</option>--%>
  119. <%-- </c:forEach>--%>
  120. <%-- </select>--%>
  121. <%-- </div>--%>
  122. <%-- </div>--%>
  123. <%-- </div>--%>
  124. <%-- <div class="layui-col-xs3 layui-col-sm3 layui-col-md3">--%>
  125. <%-- <div class="layui-form-item">--%>
  126. <%-- <label class="layui-form-label label-longers required">建设地点</label>--%>
  127. <%-- <div class="layui-input-block">--%>
  128. <%-- <select name="subjectId">--%>
  129. <%-- <option value="">请选择</option>--%>
  130. <%-- <c:forEach items="${JSDD }" var="hy">--%>
  131. <%-- <option value="${hy.code }">${hy.title }</option>--%>
  132. <%-- </c:forEach>--%>
  133. <%-- </select>--%>
  134. <%-- </div>--%>
  135. <%-- </div>--%>
  136. <%-- </div>--%>
  137. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3">
  138. <div class="layui-form-item">
  139. <label class="layui-form-label label-longers required">项目名称</label>
  140. <div class="layui-input-block">
  141. <input type="text" name="subName" placeholder="请输入" autocomplete="off"
  142. class="layui-input">
  143. </div>
  144. </div>
  145. </div>
  146. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3">
  147. <div class="layui-form-item">
  148. <label class="layui-form-label required label-longers">项目属地</label>
  149. <div class="layui-input-block">
  150. <select name="subjectId">
  151. <option value="">请选择</option>
  152. <c:forEach items="${JSDD }" var="hy">
  153. <option value="${hy.code }">${hy.title }</option>
  154. </c:forEach>
  155. </select>
  156. </div>
  157. </div>
  158. </div>
  159. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3">
  160. <div class="layui-form-item">
  161. <label class="layui-form-label required label-longers">行业类别</label>
  162. <div class="layui-input-block">
  163. <%-- <div id="indusKind"></div>--%>
  164. <select name="indusKind">
  165. <option value="">请选择</option>
  166. <c:forEach items="${HYFL }" var="hy">
  167. <option value="${hy.code }">${hy.title}
  168. <c:forEach items="${hy.children }" var="hy2">
  169. <option value="${hy2.code }">&ensp;&ensp;${hy2.title}
  170. </c:forEach>
  171. </option>
  172. </c:forEach>
  173. </select>
  174. </div>
  175. </div>
  176. </div>
  177. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParam">
  178. <div class="layui-form-item">
  179. <label class="layui-form-label required label-longers" style="width: 100px;">项目总投资(亿元)</label>
  180. <div class="layui-input-block time_box">
  181. <input type="number" name="startAmt" placeholder="请输入最小金额"
  182. autocomplete="off"
  183. class="layui-input">
  184. <span class="split_txt">至</span>
  185. <input type="number" name="endAmt" placeholder="请输入最大金额" autocomplete="off"
  186. class="layui-input">
  187. </div>
  188. </div>
  189. </div>
  190. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParam">
  191. <div class="layui-form-item">
  192. <label class="layui-form-label label-longers">项目单位</label>
  193. <div class="layui-input-block">
  194. <input type="text" name="sbdw" placeholder="请输入项目项目单位名称"
  195. autocomplete="off"
  196. class="layui-input">
  197. </div>
  198. </div>
  199. </div>
  200. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParam">
  201. <div class="layui-form-item">
  202. <label class="layui-form-label required label-longers" style="width: 100px;">升规入统时间</label>
  203. <div class="layui-input-block time_box" style="margin-left:120px">
  204. <input type="text" id="startTime" name="rangeDate" placeholder="请选择时间段"
  205. autocomplete="off" class="layui-input" style="margin-left: 20px;">
  206. </div>
  207. </div>
  208. </div>
  209. <div class="layui-col-xs3 layui-col-sm3 layui-col-md3 hiddenParams" style="display: flex">
  210. <div class="layui-form-item">
  211. <button type="button" class="layui-btn layui-btn-normal" @click="search">查询
  212. </button>
  213. </div>
  214. <div class="layui-form-item">
  215. <div class="layui-input-block">
  216. <span class="morePan" @click="showMore"><a v-if="!showMoreFlag">更多 </a><a
  217. v-if="showMoreFlag">收起 V</a></span>
  218. </div>
  219. </div>
  220. </div>
  221. <%-- <span style="color: red;float: right;">带*号的条件可在导出时使用,其中年份及月份仅限导出使用,年份不选择默认为当前年份</span>--%>
  222. </div>
  223. </form>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. <div>
  229. <div class="layui-row class_ls">
  230. <div style="display: flex">
  231. <label class="juli">
  232. 投产项目总数<span class="lanse-first">{{beginRate.num}}</span>
  233. </label>
  234. <label class="juli">
  235. 已入规<span class="lanse-first">{{beginRate.yrgNum}}</span>
  236. <div class="progress-div">
  237. <div class="layui-progress">
  238. <div class="layui-progress-bar" :style="'width:'+beginRate.noRate"></div>
  239. </div>
  240. </div>
  241. </label>
  242. <label class="juli">
  243. 未入规<span class="lanse-first">{{beginRate.wrgNum}}</span>
  244. <div class="progress-div">
  245. <div class="layui-progress">
  246. <div class="layui-progress-bar" :style="'width:'+beginRate.noRate"></div>
  247. </div>
  248. </div>
  249. </label>
  250. <label class="juli">
  251. 入规率<span class="lanse-first">{{beginRate.rgRate}}%</span>
  252. <div class="progress-div">
  253. <div class="layui-progress">
  254. <div class="layui-progress-bar" :style="'width:'+beginRate.noRate"></div>
  255. </div>
  256. </div>
  257. </label>
  258. <label class="juli">
  259. 投产率<span class="lanse-first">{{beginRate.tcRate}}%</span>
  260. <div class="progress-div">
  261. <div class="layui-progress">
  262. <div class="layui-progress-bar" :style="'width:'+beginRate.noRate"></div>
  263. </div>
  264. </div>
  265. </label>
  266. <%-- <label class="juli" style="display: none">
  267. 投资进度<span class="lanse-first">{{beginRate.amtRate}}%</span>
  268. <div class="progress-div">
  269. <div class="layui-progress">
  270. <div class="layui-progress-bar" :style="'width:'+beginRate.amtRate+'%'"></div>
  271. </div>
  272. </div>
  273. </label>--%>
  274. </div>
  275. <div style="display: flex;margin-bottom: 3px">
  276. <label @click="levelList('kindNatures',item.name,item.code)" class="juli"
  277. v-for="(item, index) in beginRate.tzlxList" :key="index">
  278. {{item.name}}<span class="lanse-first">{{item.num}}</span>
  279. </label>
  280. <label class="juli" @click="levelList('subjects',item.name,item.code)"
  281. v-for="(item, index) in beginRate.jsddList" :key="index">
  282. {{item.name}}<span class="lanse-first">{{item.num}}</span>
  283. </label>
  284. </div>
  285. <div class="second_line" style="margin-bottom: 3px">
  286. <label class="juli"
  287. @click="levelList('indusKinds',item.name?item.name:item.code,item.code)"
  288. v-for="(item, index) in beginRate.hyflList" :key="index">
  289. {{item.name?item.name:item.code}}<span class="lanse-first">{{item.num}}</span>
  290. </label>
  291. </div>
  292. </div>
  293. </div>
  294. <div class="table_box" style="padding-top: 0;">
  295. <div class="table_process" style="position: relative">
  296. <div style="position: relative; display: inline-block" @mouseover="openExport" @mouseout="choseExport">
  297. <div class="export">
  298. <img src="${WebSite.asset}/css/images/left/export.svg"/>
  299. <span>导出</span>
  300. </div>
  301. <div class="export-item" v-if="showExport" :style="{ top: '-93px' }">
  302. <button type="button" class="" @click="exportDetailExcel">导出明细</button>
  303. <button type="button" class="" @click="exportTotalExcel">导出总表</button>
  304. <button type="button" class="" @click="exportMoreExcel">自定义导出</button>
  305. </div>
  306. </div>
  307. <table id="table1" lay-filter="test"></table>
  308. <div class="pagination-box" id="pagination"></div>
  309. </div>
  310. </div>
  311. <div style="height: 20px;"></div>
  312. </div>
  313. </template>
  314. <div id="setReason" style="display: none;">
  315. <form class="layui-form" lay-filter="reasonForm">
  316. <div class="layui-row">
  317. <div class="layui-col-xs6 layui-col-sm6">
  318. <div class="layui-form-item">
  319. <label class="layui-form-label">已开工未入库原因:</label>
  320. <div class="layui-input-block">
  321. <textarea name="reasonNoRk" maxlength="200" style="height: 50px;width: 80%;" id="reasonNoRk"
  322. autocomplete="off" class="layui-textarea"></textarea>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="layui-col-xs6 layui-col-sm6">
  327. <div class="layui-form-item">
  328. <label class="layui-form-label">已入库无投资原因:</label>
  329. <div class="layui-input-block">
  330. <textarea name="reasonNoAmt" maxlength="200" style="height: 50px;width: 80%;" id="reasonNoAmt"
  331. autocomplete="off" class="layui-textarea"></textarea>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. <div class="layui-row">
  337. <div class="layui-col-xs6 layui-col-sm6">
  338. <div class="layui-form-item">
  339. <label class="layui-form-label">是否入统:</label>
  340. <div class="layui-input-block">
  341. <input type="radio" name="isRk" value="0" title="否" checked="checked"/>
  342. <input type="radio" name="isRk" value="1" title="是"/>
  343. </div>
  344. </div>
  345. </div>
  346. <div class="layui-col-xs6 layui-col-sm6">
  347. <div class="layui-form-item">
  348. <label class="layui-form-label">未开工建设原因:</label>
  349. <div class="layui-input-block">
  350. <textarea name="reasonNoKg" maxlength="200" style="height: 50px;width: 80%;" id="reasonNoKg"
  351. autocomplete="off" class="layui-textarea"></textarea>
  352. </div>
  353. </div>
  354. </div>
  355. </div>
  356. <div class="layui-row">
  357. <div class="layui-col-xs6 layui-col-sm6">
  358. <div class="layui-form-item">
  359. <label class="layui-form-label">存在的问题:</label>
  360. <div class="layui-input-block">
  361. <textarea name="reasonq" maxlength="200" style="height: 50px;width: 80%;" id="reasonq"
  362. autocomplete="off" class="layui-textarea"></textarea>
  363. </div>
  364. </div>
  365. </div>
  366. <div class="layui-col-xs6 layui-col-sm6">
  367. <div class="layui-form-item">
  368. <label class="layui-form-label">已开工进度慢原因:</label>
  369. <div class="layui-input-block">
  370. <textarea name="reasonJd" maxlength="200" style="height: 50px;width: 80%;" id="reasonJd"
  371. autocomplete="off" class="layui-textarea"></textarea>
  372. </div>
  373. </div>
  374. </div>
  375. </div>
  376. </form>
  377. </div>
  378. <div id="setAssess" class="layuimini-main" style="display: none;">
  379. <form class="layui-form" lay-filter="assessForm">
  380. <div class="layui-row">
  381. <div class="layui-col-xs12 layui-col-sm12">
  382. <div class="layui-form-item">
  383. <label class="layui-form-label" style="width: 90px">得分</label>
  384. <div class="layui-input-block" style="width: 80%;">
  385. <input name="score" style="width: 80%;"
  386. oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" id="score"
  387. autocomplete="off" class="layui-input">
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. <div class="layui-row">
  393. <div class="layui-col-xs12 layui-col-sm12">
  394. <div class="layui-form-item">
  395. <label class="layui-form-label" style="width: 90px">项目后评价</label>
  396. <div class="layui-input-block" style="width: 80%;">
  397. <textarea name="assessReason" maxlength="400" style="height: 300px;width: 80%;"
  398. id="assessReason" autocomplete="off" class="layui-textarea"></textarea>
  399. </div>
  400. </div>
  401. </div>
  402. </div>
  403. </form>
  404. </div>
  405. <div id="problem" class="layuimini-main" style="display: none;">
  406. <form class="layui-form" lay-filter="problemForm">
  407. <div class="layui-row">
  408. <div class="layui-col-xs12 layui-col-sm12">
  409. <div class="layui-form-item">
  410. <label class="layui-form-label">状态:</label>
  411. <div class="layui-input-block block-width">
  412. <input type="radio" name="statusF" value="2" title="红灯" checked="checked"/>
  413. <input type="radio" name="statusF" value="1" title="黄灯"/>
  414. <input type="radio" name="statusF" value="0" title="绿灯"/>
  415. </div>
  416. </div>
  417. </div>
  418. </div>
  419. <div class="layui-row">
  420. <div class="layui-col-xs12 layui-col-sm12">
  421. <div class="layui-form-item">
  422. <label class="layui-form-label">问题描述:</label>
  423. <div class="layui-input-block block-width">
  424. <textarea name="status_reason" maxlength="400" style="height: 300px;width: 80%;"
  425. id="problemReason" autocomplete="off" class="layui-textarea"></textarea>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. <div class="layui-row">
  431. <div class="layui-col-xs12 layui-col-sm12">
  432. <div class="layui-form-item">
  433. <label class="layui-form-label">要求解决日期:</label>
  434. <div class="layui-input-block block-width" style="width: 25%">
  435. <input type="text" id="dateConfirm" name="dateConfirm" autocomplete="off" class="layui-input">
  436. </div>
  437. </div>
  438. </div>
  439. </div>
  440. </form>
  441. </div>
  442. <div id="toBack" class="layuimini-main" style="display: none;">
  443. <form class="layui-form" lay-filter="toBackForm">
  444. <div class="layui-row">
  445. <div class="layui-col-xs12 layui-col-sm12">
  446. <div class="layui-form-item">
  447. <label class="layui-form-label" style="width: 100px">退回到状态:</label>
  448. <div class="layui-input-block">
  449. <%-- <input type="radio" name="status" value="0" title="暂存" />--%>
  450. <input type="radio" name="status" value="1" title="项目前期" checked="checked"/>
  451. <input type="radio" name="status" value="6" title="待开工"/>
  452. <input type="radio" name="status" value="7" title="施工中"/>
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. </form>
  458. </div>
  459. <script type="text/html" id="subName">
  460. <%-- {{# if(d.usersub == "1") { }}--%>
  461. <span lay-event="toDetail" title="{{d.subName}}">{{d.subName}}</span>
  462. <%-- {{# }else { }}--%>
  463. <%-- <span title="{{d.subName}}">{{d.subName}}</span>--%>
  464. <%-- {{#}}}--%>
  465. </script>
  466. <script type="text/html" id="amt">
  467. {{# var computedPer = function(total, now){
  468. return (total == 0) ? 0 : parseInt(now * 100 / total +0.5);
  469. };
  470. }}
  471. <span title="">
  472. <span class="qianse">总投资:</span><strong class="lanse">{{d.amtTotal}}</strong> 万元 <br/>
  473. <span class="qianse">已完成投资:</span><strong class="lanse">{{d.allAmt}}</strong> 万元(<i
  474. class="lanse">{{computedPer(d.amtTotal, d.allAmt)}} %</i> )
  475. </span>
  476. </script>
  477. <script type="text/html" id="date">
  478. <div title="">
  479. <div class="line"><span class="qianse">计划入规时间:</span><span class="shense">{{d.rtDate?d.rtDate:''}}</span>
  480. </div>
  481. <div class="line"><span class="qianse">实际入规时间:</span><span class="shense">{{d.rgDate?d.rgDate:''}}</span>
  482. </div>
  483. </div>
  484. </script>
  485. <script type="text/html" id="scoreTem">
  486. <div title="">
  487. <c:if test="${sfgw}">
  488. {{# if(d.score == null || d.score == '') { }}
  489. {{#} else { }}
  490. {{d.score}}
  491. {{#} }}
  492. </c:if>
  493. </div>
  494. </script>
  495. <script type="text/html" id="assessReasonTem">
  496. <div title="">
  497. <c:if test="${admin}">
  498. {{# if(d.assessReason == null || d.assessReason == '') { }}
  499. {{#} else { }}
  500. {{d.assessReason}}
  501. {{#} }}
  502. </c:if>
  503. </div>
  504. </script>
  505. <script type="text/html" id="toolBar">
  506. <div class="toolBar">
  507. <span title="项目查询" lay-event="toDetail" class="no-wrap">项目查询</span>
  508. {{# if("${currUser.edit}" == 'true'||( d.propKind == '3' && "${currUser.id}" == d.create_user_id )) { }}
  509. <span title="编辑" lay-event="toEditSubInfo" class="no-wrap">&nbsp;编辑</span>
  510. {{#} }}
  511. <span title="入规" lay-event="rg" class="no-wrap">入规</span>
  512. </div>
  513. </script>
  514. <script>
  515. let vm = new Vue({
  516. el: "#app",
  517. template: "#template",
  518. data: {
  519. winH: 0,
  520. dataList: [],
  521. startDate: "",
  522. endDate: "",
  523. tableName: 'test',
  524. cacheName: 'TzQueryParam_end_${currUser.id}',
  525. pageNo: 1,
  526. kind: {},
  527. beginRate: {},
  528. showMoreFlag: false,
  529. light: null,
  530. sort: {field: "amtTotal", type: "desc"},
  531. pageSize: 10,
  532. endData:'',
  533. showExport: false,
  534. rgParam:{
  535. rgDate: "",
  536. id: ""
  537. }
  538. },
  539. mounted: function () {
  540. this.init()
  541. },
  542. methods: {
  543. closeAllLayers() {
  544. layui.layer.closeAll();
  545. },
  546. confirmMove: function() {
  547. let rgDate = document.getElementById('rgDate').value;
  548. if (!rgDate) {
  549. App.msg.error('请选择入规日期');
  550. return
  551. }
  552. let param = {rgDate:rgDate,id:this.rgParam.id}
  553. App.msg.confirm('确定入规?',()=>{
  554. App.postJson("/api/subject/subInfo/rg",param, (res)=>{
  555. if (res.success) {
  556. App.msg.success("入规成功");
  557. } else {
  558. App.msg.error(res.message || "入规失败,请重试");
  559. }
  560. })
  561. })
  562. this.closeAllLayers();
  563. this.getData();
  564. },
  565. rg(obj) {
  566. this.rgParam.id = obj.data.id
  567. layer.open({
  568. type: 1,
  569. title: '入规',
  570. content: `<div class="layui-form" style="padding: 20px;">
  571. <div class="layui-form-item">
  572. <label class="layui-form-label">入规日期:</label>
  573. <input class="layui-form-input" type="text" id="rgDate" placeholder="请选择入规日期">
  574. </div>
  575. <div class="layui-form-item" style="text-align: center;margin-top: 50px">
  576. <button type="button" class="layui-btn moveConfirm" onclick="vm.confirmMove()">确认</button>
  577. <button type="button" class="layui-btn layui-btn-primary layui-border" onclick="vm.closeAllLayers()">返回</button>
  578. </div>
  579. </div>`,
  580. area: ['350px', '300px'],
  581. success: function (layero, index) {
  582. layui.laydate.render({
  583. elem: '#rgDate'
  584. });
  585. }
  586. });
  587. },
  588. init: function () {
  589. this.winH = document.body.clientHeight;
  590. var nowdate = new Date();
  591. nowdate.setMonth(nowdate.getMonth() + 1);
  592. var y = nowdate.getFullYear();
  593. var m = nowdate.getMonth() + 1;
  594. var d = nowdate.getDate();
  595. var formatwdate = y + '-' + m + '-' + d;
  596. layui.laydate.render({
  597. elem: '#startTime',
  598. theme: layDateTheme,
  599. range: '~'
  600. });
  601. layui.laydate.render({
  602. elem: '#dateConfirm',
  603. theme: layDateTheme,
  604. value: formatwdate
  605. });
  606. /* $("#month").val(new Date().getMonth() + 1);*/
  607. var xmlx = [];
  608. <c:forEach items="${XMLX}" var="xm">
  609. xmlx.push({value: "${xm.code}", name: "${xm.title}"});
  610. </c:forEach>
  611. <%--var indusKindData = [];--%>
  612. <%--<c:forEach items="${HYFL}" var="xm">--%>
  613. <%--var childData = [];--%>
  614. <%--<c:forEach items="${xm.children}" var="c">--%>
  615. <%--childData.push({--%>
  616. <%-- value: "${c.code}",--%>
  617. <%-- name: "${c.title}",--%>
  618. <%--})--%>
  619. <%--</c:forEach>--%>
  620. <%--indusKindData.push(--%>
  621. <%-- {--%>
  622. <%-- value: "${xm.code}",--%>
  623. <%-- name: "${xm.title}",--%>
  624. <%-- children: childData--%>
  625. <%-- });--%>
  626. <%--</c:forEach>--%>
  627. <%--this.indusKind = layui.xmSelect.render({--%>
  628. <%-- el: "#indusKind",--%>
  629. <%-- language: 'zn',--%>
  630. <%-- data: indusKindData,--%>
  631. <%--});--%>
  632. layui.laydate.render({
  633. elem: '#year',
  634. type: 'year',
  635. theme: layDateTheme,
  636. value: new Date().getFullYear()
  637. })
  638. var params = window.localStorage.getItem(this.cacheName);
  639. if (params) {
  640. layui.form.val("searchForm", JSON.parse(params));
  641. }
  642. <%--if(${isHydw}) {--%>
  643. <%-- this.light = layui.xmSelect.render({--%>
  644. <%-- el: "#light",--%>
  645. <%-- language:'zn',--%>
  646. <%-- data: [--%>
  647. <%-- {value: '0', name:'绿灯'},--%>
  648. <%-- {value: '1', name:'黄灯'},--%>
  649. <%-- {value: '2', name:'红灯'}--%>
  650. <%-- ]--%>
  651. <%-- })--%>
  652. <%--}--%>
  653. this.getData();
  654. window.addEventListener('message', this.receiveMessage, false);
  655. window.parent.postMessage('init loaded')
  656. window.toDetail = this.toDetail;
  657. $(".hiddenParams").show();
  658. },
  659. setQueryForm2: function () {
  660. $("#searchForm").find(".layui-form-item").parent()
  661. .removeClass("layui-col-xs3").removeClass("layui-col-sm3").removeClass("layui-col-md3")
  662. .addClass("layui-col-xs5").addClass("layui-col-sm5").addClass("layui-col-md5");
  663. },
  664. setQueryForm4: function () {
  665. $("#searchForm").find(".layui-form-item").parent()
  666. .removeClass("layui-col-xs5").removeClass("layui-col-sm5").removeClass("layui-col-md5")
  667. .addClass("layui-col-xs3").addClass("layui-col-sm3").addClass("layui-col-md3");
  668. },
  669. showMore: function () {
  670. this.showMoreFlag = !this.showMoreFlag;
  671. $(".hiddenParam").toggle();
  672. /* var self = this;
  673. layer.open({
  674. title: "查询条件",
  675. type: 1,
  676. area: ['800px', ''],
  677. content: $("#searchForm"),
  678. btn: ["查询"],
  679. yes: function (index) {
  680. self.search();
  681. layer.close(index);
  682. },
  683. success: function () {
  684. self.setQueryForm2();
  685. $(".hiddenParam").show();
  686. $(".hiddenParams").hide();
  687. },
  688. end: function () {
  689. self.setQueryForm4();
  690. $(".hiddenParam").hide();
  691. $(".hiddenParams").show();
  692. }
  693. })*/
  694. },
  695. levelList: function (field, title, val) {
  696. //详情
  697. var param = field + "," + title + "," + val
  698. var params = encodeURIComponent(JSON.stringify(this.getSearchParams()));
  699. var index = top.layer.open({
  700. type: 2,
  701. title: '',
  702. area: ['90%', '90%'],
  703. content: App.getUrl("/subject/subInfo/levelList?layer=true&type=" + this.getSearchParams().queryType + "&curParam=" + param + "&params=" + params),
  704. });
  705. //top.layer.full(index);
  706. },
  707. getSearchParams: function () {
  708. var param = layui.form.getValue("searchForm");
  709. if (param.rangeDate) {
  710. param.beginDate = param.rangeDate.split(" ~ ")[0];
  711. param.endDate = param.rangeDate.split(" ~ ")[1];
  712. param.rangeDate = null;
  713. }
  714. if (this.light) {
  715. param.light = this.light.getValue("valueStr");
  716. }
  717. if (this.indusKind) {
  718. param.indusKind = this.indusKind.getValue("valueStr");
  719. }
  720. // param.kind = this.kind.getValue("value").sort().join(",");
  721. delete (param.select)
  722. return param;
  723. },
  724. leaderSupervise: function (obj) {
  725. App.openLayer({
  726. title: "督办信息",
  727. content: App.getUrl("/meetingRecords/leaderMeeting?subId=" + obj.data.id),
  728. height: "600",
  729. width: "800"
  730. })
  731. },
  732. getData: function () {
  733. var self = this;
  734. var param = this.getSearchParams();
  735. param.pageNo = this.pageNo;
  736. param.pageSize = this.pageSize;
  737. param.orderBy = this.sort.field;
  738. param.orderType = this.sort.type || null;
  739. ;
  740. // 表格分页数据
  741. param.status = 9;
  742. App.postJson("/api/subInfo/query/queryPage", param, function (res) {
  743. self.dataList = res.rows;
  744. self.loadPage(res.total);
  745. self.loadTable();
  746. });
  747. // 统计数据
  748. App.postJson("/api/subInfo/query/statistics", param, function (res) {
  749. if (res.success) {
  750. self.beginRate = res.data;
  751. self.beginRate.hyflList = self.beginRate.hyflData;
  752. self.beginRate.jsddList = self.beginRate.jsddData;
  753. }
  754. });
  755. // App.postJson("/api/subInfo/query/all", param, function (res) {
  756. // self.dataList = res.rows;
  757. // self.loadPage(res.total);
  758. // self.loadTable();
  759. // var ids = res.rows.map(function(row) {
  760. // return row.id; // 假设每个 row 中有一个 id 属性
  761. // });
  762. // if (ids.length > 0) {
  763. // // 发送请求获取额外数据
  764. // App.postJson("/api/subInfo/query/getSubCompletedPicBySubId", ids, function(res) {
  765. // if (res.success) {
  766. // // 处理返回的额外数据
  767. // console.log('额外数据:', res.rows);
  768. // // 根据需要处理 `res.data`
  769. // self.dataList.forEach(function (project) {
  770. // // 查找该项目的验收报告文件信息(按 subId 匹配)
  771. // var reports = res.rows.filter(function (report) {
  772. // return report.subId === project.id; // 通过 subId 和 id 进行匹配
  773. // });
  774. //
  775. // if (reports.length > 0) {
  776. // // 将所有相关的验收报告文件信息绑定到该项目
  777. // project.acceptanceReports = reports.map(function (report) {
  778. // return {
  779. // picName: report.picName, // 报告文件名
  780. // picAddre: report.picAddre // 报告地址
  781. // };
  782. // });
  783. // } else {
  784. // project.acceptanceReports = []; // 如果没有匹配的报告文件,设为空数组
  785. // }
  786. // });
  787. // } else {
  788. // console.error('获取额外数据失败');
  789. // }
  790. // });
  791. // }
  792. // });
  793. // App.postJson("/api/subInfo/query/beginRate", param, function (res) {
  794. // if (res.success) {
  795. // self.beginRate = res.data;
  796. // self.endData=res.data.total;
  797. // self.beginRate.hyflList = self.beginRate.hyflData.split(";");
  798. // self.beginRate.tzlxList = self.beginRate.tzlxData.split(";");
  799. // self.beginRate.jsddList = self.beginRate.jsddData.split(";");
  800. // if (res.data.total != 0) {
  801. // self.beginRate.beginRate = (res.data.beginNum * 100 / res.data.total).toFixed(2);
  802. // } else {
  803. // self.beginRate.beginRate = 0;
  804. // }
  805. // if (res.data.yearAmt != 0) {
  806. // self.beginRate.amtRate = (res.data.yearAmtSj * 100 / res.data.yearAmt).toFixed(2);
  807. // } else if (res.data.yearAmtSj != 0) {
  808. // self.beginRate.amtRate = 100;
  809. // } else {
  810. // self.beginRate.amtRate = 0;
  811. // }
  812. // } else {
  813. // self.beginRate.beginRate = 0;
  814. // self.beginRate.amtRate = 0;
  815. // }
  816. // });
  817. },
  818. loadTable: function () {
  819. // 状态映射
  820. var statusMap = {
  821. '0': '暂存',
  822. '1': '项目前期',
  823. '6': '待开工',
  824. '7': '施工中',
  825. '8': '暂停施工',
  826. 'A': '已竣工'
  827. };
  828. // 数据转换
  829. this.dataList.forEach(function (item) {
  830. item.statusName = statusMap[item.status] || '未知状态';
  831. });
  832. var self = this;
  833. layui.table.render({
  834. elem: '#table1', // 指定原始表格元素选择器(推荐id选择器)
  835. // even: true,
  836. autoSort: false,
  837. initSort: self.sort,
  838. cols: [[ // 设置表头
  839. {type: 'numbers', fixed: 'left', align: 'center', title: '序号', width: 44},
  840. {field: 'subName', fixed: 'left', title: '项目名称', minWidth: 200, templet: '#subName'},
  841. {field: 'subjectName', title: '项目所在地', width: 100},
  842. {field: 'content', title: '项目基本情况', minWidth: 300,
  843. templet: function (row) {
  844. return row.content ? '<span class="cut" title="' + row.content + '">' + row.content + '</span>' : '';
  845. }},
  846. {field: 'rtDate', title: '升规入统时间', minWidth: 160,templet: '#date'},
  847. {field: 'progress', title: '进展情况', minWidth: 300,
  848. templet: function (row) {
  849. return row.progress ? '<span class="cut" title="' + row.progress + '">' + row.progress + '</span>' : '';
  850. }},
  851. {field: 'remark', title: '备注', minWidth: 150},
  852. {title: '操作', width: 200, toolbar: '#toolBar', fixed: 'right'},
  853. ]],
  854. fixed: true,
  855. height: window.screen.availHeight - 470,
  856. data: self.dataList,
  857. done: function (res, curr, count) {
  858. res.data.forEach(function (item, index) {
  859. //1.当前行的背景颜色cur_color , sort: "amtTotal"
  860. // if (item.usersub == 1) {
  861. // $('.layui-table').find('tr[data-index="' + index + '"]').find("td").css('background-color', "#0a99eb");
  862. // }
  863. $(".layui-table-body tr").resize(function () {
  864. $(".layui-table-body tr").each(function (index, val) {
  865. $($(".layui-table-fixed .layui-table-body table tr")[index]).height($(val).height());
  866. });
  867. });
  868. //初始化高度,使得冻结行表体高度一致
  869. $(".layui-table-body tr").each(function (index, val) {
  870. $($(".layui-table-fixed .layui-table-body table tr")[index]).height($(val).height());
  871. });
  872. });
  873. }
  874. });
  875. layui.table.on('tool(' + this.tableName + ')', function (obj) {
  876. var event = obj.event;
  877. self[event].call(this, obj);
  878. });
  879. layui.table.on('sort(' + this.tableName + ')', function (obj) {
  880. self.sort = obj;
  881. self.getData();
  882. return;
  883. })
  884. },
  885. toBack: function (obj) {
  886. layer.open({
  887. type: 1,
  888. title: "退回",
  889. content: $("#toBack"),
  890. area: ['600px', ''],
  891. btn: ["保存", "取消"],
  892. yes: function (index) {
  893. var data = layui.form.val("toBackForm");
  894. var status = data.status;
  895. if (status != undefined) {
  896. if (parseInt(obj.data.status) <= parseInt(data.status)) {
  897. App.msg.warn("只能退回下级状态,请检查!!!!");
  898. return;
  899. }
  900. }
  901. App.postJson("/api/subject/subInfo/toTemp", {
  902. subId: obj.data.id,
  903. status: data.status
  904. }, function (res) {
  905. if (res.success) {
  906. layer.msg("成功", {icon: 6, time: 1000});
  907. //
  908. window.location.href = App.getUrl("subject/subInfo/projTz?type=4");
  909. }
  910. });
  911. },
  912. close: function (index) {
  913. layer.close(index);
  914. }
  915. })
  916. },
  917. loadPage: function (totalCount) {
  918. var self = this;
  919. layui.laypage.render({
  920. elem: 'pagination',
  921. count: totalCount,
  922. curr: self.pageNo,
  923. limit: self.pageSize,
  924. layout: ['count', 'prev', 'page', 'next', 'skip'],
  925. jump: function (obj, first) {
  926. //首次不执行
  927. if (!first) {
  928. self.pageNo = obj.curr;
  929. self.getData();
  930. }
  931. }
  932. });
  933. },
  934. yearPlan: function (obj) {
  935. window.location.href = App.getUrl("amtPlan/detail?subId=" + obj.data.id);
  936. },
  937. setAssess: function (obj) {
  938. var self = this;
  939. layui.form.val("assessForm", obj.data);
  940. layer.open({
  941. type: 1,
  942. title: "项目评分",
  943. content: $("#setAssess"),
  944. area: ['800px', '600px'],
  945. btn: ["保存", "取消"],
  946. yes: function (index) {
  947. var reason = layui.form.val("assessForm");
  948. reason.subId = obj.data.id;
  949. if (reason.score == "" || reason.score == null) {
  950. App.msg("得分不能为空");
  951. }
  952. App.postJson("/api/subject/subInfo/setSubAssess", reason, function (res) {
  953. if (res.success) {
  954. App.msg.success("设置成功");
  955. self.getData();
  956. layer.close(index);
  957. }
  958. });
  959. },
  960. close: function (index) {
  961. layer.close(index);
  962. }
  963. })
  964. },
  965. setSubReason: function (obj) {
  966. var self = this;
  967. layui.form.val("reasonForm", obj.data);
  968. layer.open({
  969. type: 1,
  970. title: "项目原因录入",
  971. content: $("#setReason"),
  972. area: ['880px', '560px'],
  973. btn: ["保存", "取消"],
  974. yes: function (index) {
  975. var reason = layui.form.val("reasonForm");
  976. reason.subId = obj.data.id;
  977. App.postJson("/api/subject/subInfo/setSubReason", reason, function (res) {
  978. if (res.success) {
  979. App.msg.success("设置成功");
  980. self.getData();
  981. layer.close(index);
  982. }
  983. });
  984. },
  985. close: function (index) {
  986. layer.close(index);
  987. }
  988. })
  989. },
  990. problem: function (obj) {
  991. var self = this;
  992. obj.data.status_reason = "";
  993. layui.form.val("problemForm", obj.data);
  994. layer.open({
  995. type: 1,
  996. title: "问题督办",
  997. content: $("#problem"),
  998. area: ['800px', '600px'],
  999. btn: ["保存", "取消"],
  1000. yes: function (index) {
  1001. var reason = layui.form.val("problemForm");
  1002. reason.subId = obj.data.id;
  1003. if (reason.statusF == "2" || reason.statusF == "1") {
  1004. if (reason.status_reason == "" || reason.status_reason == undefined) {
  1005. layer.msg("红灯,黄灯必须输入原因");
  1006. return;
  1007. }
  1008. }
  1009. App.postJson("/api/subject/subInfo/setStatus", {
  1010. subId: obj.data.id,
  1011. statusFgw: reason.statusF,
  1012. reason: reason.status_reason,
  1013. dateConfirm: reason.dateConfirm
  1014. }, function (res) {
  1015. if (res.success) {
  1016. App.msg.success("设置成功");
  1017. self.getData();
  1018. layer.close(index);
  1019. }
  1020. });
  1021. },
  1022. close: function (index) {
  1023. layer.close(index);
  1024. }
  1025. })
  1026. },
  1027. exportTotalExcel: function () {
  1028. var param = this.getSearchParams();
  1029. param.status = '9'
  1030. App.common.utils.downFile(App.getUrl("subInfoExport/exportTotalExcelByStatus"), "POST", param, "项目情况表(投产库).xlsx", "导出失败");
  1031. },
  1032. exportDetailExcel: function () {
  1033. var param = this.getSearchParams();
  1034. param.status = '9'
  1035. App.common.utils.downFile(App.getUrl("subInfoExport/exportDetailExcel"), "POST", param, "项目明细表(投产库).xlsx", "导出失败");
  1036. },
  1037. exportExcel: function () {
  1038. var param = this.getSearchParams();
  1039. App.common.utils.downFile(App.getUrl("subInfoExport/exportSummaryExcel"), "POST", param, "项目情况表.xlsx", "导出失败");
  1040. },
  1041. exportExcelByIndusKind: function () {
  1042. var param = this.getSearchParams();
  1043. App.common.utils.downFile(App.getUrl("subInfoExport/exportExcelByIndusKind"), "POST", param, "项目情况表(按所属行业统计).xlsx", "导出失败");
  1044. },
  1045. exportSchedulingExcel: function () {
  1046. var param = this.getSearchParams();
  1047. App.common.utils.downFile(App.getUrl("subInfoExport/exportSchedulingExcel"), "POST", param, "项目调度表.xlsx", "导出失败");
  1048. },
  1049. /* exportExcel2: function(){
  1050. var param = this.getSearchParams();
  1051. App.common.utils.downFile(App.getUrl("subInfoExport/exportExcelTz"),"POST", param,"项目详情信息表.xlsx", "导出失败");
  1052. }, */
  1053. exportMoreExcel: function () {
  1054. top.window.getSearchParams = this.getSearchParams;
  1055. App.openLayer({
  1056. title: "自定义导出",
  1057. content: App.getUrl("/subInfoExport/index"),
  1058. height: "800",
  1059. width: "1000"
  1060. })
  1061. },
  1062. toDetail: function (obj) {
  1063. //详情
  1064. var index = layer.open({
  1065. type: 2,
  1066. title: '',
  1067. area: ['1000px', '800px'],
  1068. content: App.getUrl("/subject/subInfo/detailView2?layer=true&subId=" + obj.data.id + "&lastUrl=" + window.location.href),
  1069. });
  1070. layui.layer.full(index);
  1071. },
  1072. print: function (obj) {
  1073. window.open(App.getUrl("/subject/apply/downPdf?subId=" + obj.data.id));
  1074. },
  1075. toEditSubInfo: function (obj) {
  1076. window.location.href = App.getUrl("/subject/subInfo/editSubInfo2?subId=" + obj.data.id+"&queryType=4");
  1077. },
  1078. toTh: function (obj) {
  1079. if (obj.data.statusJh == null || obj.data.statusJh == '0' || obj.data.statusJh == '1') {
  1080. App.msg.confirm("是否需要退回到暂存状态?", function () {
  1081. App.postJson("/api/subject/subInfo/toTemp", {subId: obj.data.id}, function (res) {
  1082. if (res.success) {
  1083. layer.msg("成功", {icon: 6, time: 1000});
  1084. //
  1085. window.location.href = App.getUrl("subject/subInfo/projTz");
  1086. }
  1087. });
  1088. })
  1089. } else {
  1090. App.msg.warn("已做过开工申报,需要走变更流程");
  1091. }
  1092. },
  1093. isNoHide: function (obj) {
  1094. var self = this;
  1095. App.msg.confirm("是否移除在建库?", function () {
  1096. App.postJson("/api/subject/subInfo/setBackIsHide", {subId: obj.data.id}, function (res) {
  1097. if (res.success) {
  1098. App.msg.success("设置成功");
  1099. self.getData();
  1100. layer.close(index);
  1101. }
  1102. });
  1103. });
  1104. },
  1105. isHide: function (obj) {
  1106. var self = this;
  1107. App.msg.confirm("是否移入重点项目库?", function () {
  1108. App.postJson("/api/subject/subInfo/setIsHide", {subId: obj.data.id}, function (res) {
  1109. if (res.success) {
  1110. App.msg.success("设置成功");
  1111. self.getData();
  1112. layer.close(index);
  1113. }
  1114. });
  1115. });
  1116. },
  1117. search: function () {
  1118. var param = layui.form.getValue("searchForm");
  1119. window.localStorage.setItem(this.cacheName, JSON.stringify(param));
  1120. this.pageNo = 1;
  1121. this.getData();
  1122. },
  1123. openExport: function () {
  1124. this.showExport = true;
  1125. console.log('移入了')
  1126. },
  1127. choseExport: function () {
  1128. this.showExport = false;
  1129. console.log('移出了')
  1130. },
  1131. receiveMessage (e) {
  1132. console.log('cb receiveMessage: ', e.data)
  1133. if (e.data.topBreadcrumb) {
  1134. $(".top-breadcrumb").html(e.data.topBreadcrumb)
  1135. }
  1136. }
  1137. }
  1138. });
  1139. </script>
  1140. </body>
  1141. </html>