kan.html 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114
  1. <style>
  2. /* .left-box {
  3. height: 99vh !important;
  4. } */
  5. .left-box-font {
  6. color: #666666;
  7. font-size: 0.75vw;
  8. }
  9. .button-search {
  10. /* margin: 2.8vh 0 0 2vh; */
  11. margin-top: 2vw;
  12. background-color: rgb(23, 145, 233);
  13. }
  14. .layui-card-header {
  15. border-bottom: 1px solid #eee;
  16. line-height: 0;
  17. }
  18. .choose {
  19. margin-left: 1.4vw;
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-between;
  23. line-height: 0;
  24. }
  25. .record {
  26. float: right;
  27. margin-right: 1.8vw;
  28. text-align: right;
  29. width: 45%;
  30. font-size: 0.75vw !important;
  31. }
  32. .box-right-top {
  33. height: 8vh;
  34. font-size: 0.75VW;
  35. }
  36. .box-right-top-1 {
  37. color: rgb(23, 145, 233);
  38. font-size: 1.5vw;
  39. height: 60%;
  40. }
  41. .countdown {
  42. height: 8.5vh;
  43. width: 6.5vw;
  44. font-size: 1vw;
  45. text-align: center;
  46. border: 1px solid #eee;
  47. }
  48. .countdown-top {
  49. height: 3.5vh;
  50. line-height: 3.5vh;
  51. border-bottom: 1px solid #eee;
  52. color: #fff;
  53. background-color: rgb(23, 145, 233);
  54. border-bottom: 1px solid rgb(23, 145, 233);
  55. font-size: 0.95vw;
  56. padding: 0;
  57. margin: 0;
  58. }
  59. .countdown-bottom {
  60. height: 5vh;
  61. line-height: 5vh;
  62. padding: 0;
  63. margin: 0;
  64. background-color: #fff;
  65. }
  66. .fund {
  67. border: 1px solid rgba(209, 209, 204, 0.719);
  68. margin-top: 1.5vh;
  69. border-radius: 0.2vw;
  70. background-color: rgb(250, 250, 250);
  71. }
  72. .fund-top {
  73. font-size: 0.8vw;
  74. font-weight: 550;
  75. }
  76. .list {
  77. font-size: 0.75vw;
  78. }
  79. .layui-form-checked[lay-skin=primary] > i {
  80. border-color: rgb(23, 145, 233) !important;
  81. background-color: rgb(23, 145, 233);
  82. }
  83. .layui-form-checkbox[lay-skin=primary]:hover > i {
  84. border-color: rgb(23, 145, 233);
  85. }
  86. .bar {
  87. position: relative;
  88. }
  89. /* .progress-box {
  90. margin-left: 4vw;
  91. } */
  92. .line {
  93. width: 50%;
  94. height: 1px;
  95. background-color: black;
  96. float: left;
  97. top: 1vh;
  98. position: relative;
  99. margin: auto;
  100. position: absolute;
  101. left: 42%;
  102. top: 50%;
  103. margin-left: 1.25vw;
  104. }
  105. /* .text-line {
  106. float: left;
  107. } */
  108. .schedule {
  109. font-size: 2vw;
  110. vertical-align: middle;
  111. }
  112. .dynamic-top {
  113. width: 6.5vw;
  114. height: 3.5vh;
  115. border: 1px solid;
  116. /* color: rgb(23, 145, 233); */
  117. line-height: 3.5vh;
  118. text-align: center;
  119. margin: 0 auto;
  120. border-radius: 0.2vw;
  121. font-weight: 600;
  122. font-size: 0.8vw;
  123. margin-top: 3vh;
  124. }
  125. .dynamic-bottom {
  126. width: 6.5vw;
  127. height: 3.5vh;
  128. border: 1px solid;
  129. /* color: rgb(23, 145, 233); */
  130. line-height: 3.5vh;
  131. text-align: center;
  132. margin: 0 auto;
  133. border-radius: 0.2vw;
  134. font-weight: 600;
  135. font-size: 0.8vw;
  136. margin-top: 1.5vh;
  137. }
  138. .dynamic span {
  139. float: right;
  140. }
  141. .dynamic-top ~ p {
  142. color: grey;
  143. text-align: center;
  144. }
  145. .dynamic-bottom ~ p {
  146. color: grey;
  147. text-align: center;
  148. margin-bottom: 3vh;
  149. }
  150. .dynamic-top1 {
  151. width: 6.5vw;
  152. height: 3.5vh;
  153. border: 1px solid;
  154. /* color: rgb(23, 145, 233); */
  155. line-height: 3.5vh;
  156. text-align: center;
  157. margin: 0 auto;
  158. border-radius: 0.2vw;
  159. font-weight: 600;
  160. font-size: 0.8vw;
  161. margin-top: 3vh;
  162. }
  163. .dynamic-top1 ~ p {
  164. color: grey;
  165. text-align: center;
  166. }
  167. .dynamic div {
  168. float: left;
  169. }
  170. .detail {
  171. color: rgb(23, 145, 233);
  172. }
  173. .project-list {
  174. border-bottom: 1px solid #eee;
  175. }
  176. .information {
  177. width: 6vw;
  178. height: 3.5vh;
  179. line-height: 3.5vh;
  180. border-radius: 0.25vw;
  181. }
  182. .table-header {
  183. height: 4.5vh;
  184. line-height: 4.5vh;
  185. }
  186. .basic-information {
  187. /* width: 7vw; */
  188. /* height: 3.5vh; */
  189. border: 1px solid rgb(23, 145, 233);
  190. color: rgb(23, 145, 233);
  191. line-height: 3.5vh;
  192. text-align: center;
  193. border-radius: 0.2vw;
  194. font-weight: 600;
  195. font-size: 0.8vw;
  196. float: left;
  197. padding: 0 2%;
  198. }
  199. .layui-tab .layui-tab-title .layui-this {
  200. background-color: rgb(247, 251, 255);
  201. color: rgb(23, 145, 233);
  202. border-color: rgb(236, 246, 255);
  203. font-size: 0.8vw;
  204. height: 4vh;
  205. line-height: 4vh;
  206. font-weight: 600;
  207. }
  208. .layui-tab .layui-tab-title li {
  209. width: 4.5vw;
  210. font-size: 0.8vw;
  211. height: 4vh;
  212. line-height: 4vh;
  213. }
  214. .layui-tab .layui-tab-title {
  215. /* height: 4vh; */
  216. height: unset;
  217. }
  218. .layui-tab-title .layui-this:after {
  219. border-style: none;
  220. }
  221. .percentage {
  222. height: 8vh;
  223. width: 4vw;
  224. }
  225. .percentage-box {
  226. height: 8vh;
  227. width: 4vw;
  228. left: -10%;
  229. }
  230. .project-list-name {
  231. font-size: 0.75vw;
  232. }
  233. .h3 {
  234. font-size: 1vw;
  235. }
  236. .layui-form-checkbox > div {
  237. font-size: 0.75vw !important;
  238. }
  239. .layui-form-label {
  240. width: 110px;
  241. }
  242. .line-style {
  243. width: 100%;
  244. overflow: hidden;
  245. }
  246. .line-style-right {
  247. width: 45%;
  248. overflow: hidden;
  249. }
  250. .dynamic-line {
  251. padding: 8px 0;
  252. }
  253. /* 日志 */
  254. .log_top {
  255. padding-left: 1vw;
  256. }
  257. .log_top span {
  258. margin: 0 0.5vw;
  259. }
  260. /* 1,1,1 */
  261. .log_commentary {
  262. color: rgb(0, 176, 80);
  263. }
  264. .log_company {
  265. color: rgb(255, 33, 0);
  266. }
  267. .log_content {
  268. width: fit-content;
  269. margin: 0.3vw 1.5vw 1vw 1.5vw;
  270. padding: 0.5vw 1vw;
  271. text-indent: 1.2em;
  272. line-height: 2.1vh;
  273. background-color: rgb(255, 255, 255);
  274. /* background-color: aqua; */
  275. border-radius: 0.5vw;
  276. box-shadow: 0.19vw 0.16vw 0.4vw 0.03vw rgba(0, 0, 0, 0.13);
  277. }
  278. /* .log_content_color {
  279. background-color: rgb(250,250,250);
  280. } */
  281. .log_content_img img {
  282. /* width: 10%; */
  283. border-radius: 0.5vw;
  284. margin: 0.3vw 0;
  285. padding-right: 18px;
  286. padding-bottom: 7px;
  287. padding-left: 2px;;
  288. }
  289. .log_item_top {
  290. /* height: 70%; */
  291. overflow: scroll;
  292. }
  293. .log_item_top {
  294. height: 79.2vh;
  295. }
  296. .log_item_bottom {
  297. display: flex;
  298. /* height: 17vh; */
  299. /* border-top: 1px solid #eee; */
  300. margin: 0 1.5vw;
  301. /* background-color: rgb(250,250,250); */
  302. }
  303. .log_input input {
  304. width: 55vw;
  305. height: 10vh;
  306. border: #eee 1px solid;
  307. }
  308. .log_bottom_img {
  309. /* height: 5vh; */
  310. }
  311. .log_bottom_img img {
  312. height: 4vw;
  313. width: 6vw;
  314. border-radius: 0.5vw;
  315. margin: 0.5vw 0vw 0.5vw 0.3vw;
  316. }
  317. .log_bottom_left {
  318. width: 95%;
  319. margin-top: 1.5vh;
  320. }
  321. .log_bottom_right {
  322. width: 5%;
  323. }
  324. /* 上传图片 */
  325. /* .layui-upload-drag-self {
  326. background-color: #fbfdff;
  327. border: 1px dashed #c0ccda;
  328. border-radius: 6px;
  329. box-sizing: border-box;
  330. width: 6vw;
  331. height: 4vw;
  332. line-height: 4vw;
  333. vertical-align: top;
  334. display: inline-block;
  335. text-align: center;
  336. cursor: pointer;
  337. outline: 0;
  338. margin-right: 13px;
  339. float: left;
  340. } */
  341. /* .layui-input-inlines-self {
  342. position: relative;
  343. margin-left: 90px;
  344. min-height: 36px;
  345. text-align: left;
  346. }
  347. .layui-upload-drag-self .layui-icon {
  348. font-size: 28px;
  349. color: #8c939d
  350. }
  351. .layui-upload-drag-self .img {
  352. position: relative;
  353. height: 148px;
  354. width: 148px;
  355. }
  356. .layui-upload-img {
  357. width: 148px;
  358. height: 148px;
  359. border-radius: 6px;
  360. margin-top: -3px;
  361. margin-left: -2px;
  362. } */
  363. .handle {
  364. position: absolute;
  365. width: 148px;
  366. height: 100%;
  367. z-index: 100;
  368. border-radius: 6px;
  369. top: 0;
  370. background: rgba(59, 60, 61, 0.6);
  371. text-align: center;
  372. }
  373. .handle .icon-myself {
  374. z-index: 999;
  375. transition: all .3s;
  376. cursor: pointer;
  377. font-size: 25px;
  378. width: 25px;
  379. color: rgba(255, 255, 255, 0.91);
  380. margin: 0 4px;
  381. }
  382. .log_textarea {
  383. width: 60vw;
  384. height: 8vh;
  385. padding: 0.5vw;
  386. /* margin-right: 2vw; */
  387. }
  388. .log_button_img {
  389. width: 2vw;
  390. }
  391. .log_card {
  392. border: none !important;
  393. }
  394. /* 点击图片放大 */
  395. /* .content_img img {
  396. max-width: 100%;
  397. cursor: pointer;
  398. }
  399. .overlay {
  400. display: none;
  401. position: fixed;
  402. top: 0;
  403. left: 0;
  404. width: 100%;
  405. height: 100%;
  406. background-color: rgba(0, 0, 0, 0.7);
  407. justify-content: center;
  408. align-items: center;
  409. z-index: 1;
  410. }
  411. .overlay img {
  412. max-width: 90%;
  413. max-height: 90%;
  414. object-fit: contain;
  415. }
  416. .layui-card:last-child {
  417. margin-bottom: 46px;
  418. }
  419. .layui-input,.layui-form-select {
  420. display: block;
  421. width: auto;
  422. padding-right: auto;
  423. } */
  424. /* .layui-form-select{
  425. padding-right:0;
  426. } */
  427. .project-select {
  428. width: auto !important;
  429. }
  430. .layui-form-select .layui-input {
  431. padding-right: 0;
  432. text-align: left;
  433. font-size: 0.75vw;
  434. }
  435. .filelist {
  436. width: 100%;
  437. overflow: scroll;
  438. height: 8vw;
  439. justify-content: flex-start;
  440. align-content: space-between;
  441. /* flex-direction: column-reverse; */
  442. flex-wrap: wrap;
  443. display: flex;
  444. }
  445. .filelist li {
  446. padding: 0.5vw 0.7vw 0.5vw 0.7vw;
  447. white-space: nowrap;
  448. overflow: hidden;
  449. text-overflow: ellipsis;
  450. display: inline-block;
  451. border-right: 1px solid #e2e2e2;
  452. }
  453. .filelist p {
  454. margin: 3px 0 5px 0;
  455. width: 5vw;
  456. text-align: center;
  457. }
  458. .filelist:hover li {
  459. /* display: initial; */
  460. }
  461. </style>
  462. <div class="layui-card">
  463. <div class="layui-card-body layui-row layui-col-space12 header-detail">
  464. <div class="layui-col-md10">
  465. <div class="layui-card-body layui-row box-right-top">
  466. <div class="layui-col-md12 box-right-top-1">
  467. {$detail.project_name}
  468. </div>
  469. <div class="layui-col-md5 box-right-top-2">
  470. 服务单位:{$detail.review_unit_name}
  471. </div>
  472. <div class="layui-col-md4 box-right-top-2" style="padding: 0 !important;">
  473. 送审日期:{$detail.create_time|date="Y-m-d"}
  474. </div>
  475. <div class="layui-col-md3 box-right-top-2">
  476. 接收日期:{$detail.project_receive_time|date="Y-m-d"}
  477. </div>
  478. </div>
  479. </div>
  480. <div class="layui-col-md1">
  481. <div class="layui-card countdown">
  482. <div class="countdown-top">
  483. {if $detail.project_end_time>time()}剩 余{else}逾 期{/if}
  484. </div>
  485. <div class="countdown-bottom">
  486. {$advent_time}
  487. </div>
  488. </div>
  489. </div>
  490. </div>
  491. <div class="layui-tab" lay-filter="test-hash">
  492. <ul class="layui-tab-title">
  493. <li class="layui-this" lay-id="ture">项目概览</li>
  494. {if $project_five.project_comments == 1}
  495. <li lay-id="22" data-id="1">作业日志</li>
  496. {/if}
  497. {if $project_five.project_record == 1}
  498. <li data-load="" data-id="2">工作记录</li>
  499. {/if}
  500. {if $project_five.project_report == 1}
  501. <li data-load="" data-id="3">项目报告</li>
  502. {/if}
  503. {if $project_five.project_user == 1}
  504. <li data-load="" data-id="4">项目人员</li>
  505. {/if}
  506. {if $project_five.project_file == 1}
  507. <li data-load="" data-id="5">项目附件</li>
  508. {/if}
  509. {if $project_five.project_contact == 1}
  510. <li data-load="" data-id="6">联系函</li>
  511. {/if}
  512. {if $project_five.project_log == 1}
  513. <li data-load="" data-id="7">项目动态</li>
  514. {/if}
  515. </ul>
  516. <div class="layui-tab-content">
  517. <div class="layui-tab-item layui-show">
  518. <div class="layui-card-body">
  519. <form class="layui-form" action="" lay-filter="component-form-element">
  520. <div class="layui-card-body layui-row layui-col-space12" style="display: flex;justify-content: space-between;padding-left: 0;
  521. padding-right: 0;margin-left: -2vw;">
  522. <div class="layui-col-md8" style="width: 50%;">
  523. <div class="basic-information" style="display: flex;align-items: center;">
  524. <i class="layui-icon">&#xe63c;</i>
  525. <span>项目基本情况</span>
  526. </div>
  527. </div>
  528. <div class="layui-col-md2" style="font-size: 0.75vw;margin-top: 0.7vh;">
  529. 负责人:{$detail.project_review_head_name}
  530. </div>
  531. <div class="layui-col-md2" style="font-size: 0.75vw;margin-top: 0.7vh;">
  532. 作业人负责人:{$detail.operate_head_name}
  533. </div>
  534. </div>
  535. <div class="layui-card-body layui-row layui-col-space12" id="buzhoutiao"
  536. style="display: flex;justify-content: space-between;font-size: 0.9vw;">
  537. <div class="layui-col-md3 progress-box bar" data-status="0"
  538. style="display: flex;justify-content: space-between;align-items: center;">
  539. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在对接</div>
  540. <div><span class="line"></span></div>
  541. </div>
  542. <div class="layui-col-md3 bar" data-status="1"
  543. style="display: flex;align-items: center;">
  544. <!-- <div class="text-line">
  545. <i
  546. class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在签约&nbsp;&nbsp;&nbsp;&nbsp;
  547. </div>
  548. <div class="line"></div> -->
  549. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在签约</div>
  550. <div><span class="line"></span></div>
  551. </div>
  552. <div class="layui-col-md3 bar" data-status="2"
  553. style="display: flex;align-items: center;">
  554. <!-- <div class="text-line">
  555. <i
  556. class="layui-icon schedule">&#xe60e;</i>&nbsp;&nbsp;正在履行&nbsp;&nbsp;&nbsp;&nbsp;
  557. </div>
  558. <div class="line"></div> -->
  559. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在履行</div>
  560. <div><span class="line"></span></div>
  561. </div>
  562. <div class="layui-col-md3 bar" data-status="3"
  563. style="display: flex;align-items: center;width: 16%;">
  564. <i class="layui-icon schedule">&#xe63f;</i>&nbsp;&nbsp;履行完成
  565. </div>
  566. </div>
  567. <div class="layui-card fund">
  568. <div class="layui-card-header table-header">
  569. <div class="layui-col-md1 fund-top">
  570. 项目动态
  571. </div>
  572. <div class="layui-col-md10" style="font-size: 0.7vw;">
  573. 当前进度:{switch $detail.project_status}
  574. {case 1}立项中{/case}
  575. {case 2}审批中{/case}
  576. {case 3}待接收{/case}
  577. {case 4}待分配{/case}
  578. {case 5}作业中{/case}
  579. {case 6}归档中{/case}
  580. {case 7}退审中{/case}
  581. {case 8}已归档{/case}
  582. {case 9}已退审{/case}
  583. {default /}未知
  584. {/switch}
  585. </div>
  586. <div class="layui-col-md1" style="text-align: right;font-size: 0.7vw;">
  587. <!--<a href="" class="detail">详情 >></a>-->
  588. </div>
  589. </div>
  590. <div class="layui-card-body">
  591. <div class="layui-card-body layui-row layui-col-space12 project-list-name"
  592. id="project" style="display: flex;flex-flow: row wrap;">
  593. <div class="layui-col-md3 dynamic-line" data-status="0">
  594. <div class="dynamic-top" id="dynamic">项目立项</div>
  595. <div style="margin-left: 7vw;display: flex;align-items: center;">
  596. <span></span>&nbsp;&nbsp;<span
  597. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  598. class="line-style">————————————————————————</span>
  599. </div>
  600. <p id="state">状态:已完成</p>
  601. <p style="padding-left: 0;">实际完成时间:{$detail.create_time|date="Y-m-d"}</p>
  602. <p>经办人:{$detail.entrust_maker_name}</p>
  603. </div>
  604. <div class="layui-col-md3 dynamic-line" data-status="1">
  605. <div class="dynamic-top" id="dynamic">立项审核</div>
  606. <div style="display: flex;align-items: center;"><span
  607. class="line-style">————————————————————————</span>&nbsp;&nbsp;
  608. <span style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  609. class="line-style line-color">————————————————————————</span>
  610. </div>
  611. {if $detail.project_status>2}
  612. <p id="state">状态:已完成</p>
  613. <p style="padding-left: 0;">
  614. 实际完成时间:{$detail.approver_time|date="Y-m-d"}</p>
  615. <p>审核人:{$detail.entrust_approver_name}</p>
  616. {else}
  617. <p id="state">状态:未开始</p>
  618. <p style="padding-left: 0;"></p>
  619. <p></p>
  620. {/if}
  621. </div>
  622. <div class="layui-col-md3 dynamic-line" data-status="2">
  623. <div class="dynamic-top" id="dynamic">项目接收</div>
  624. <div style="display: flex;align-items: center;"><span
  625. class="line-style">————————————————————————</span>
  626. &nbsp;&nbsp;<span
  627. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  628. class="line-style line-color">————————————————————————</span>
  629. </div>
  630. {if $detail.project_status>3}
  631. <p id="state">状态:已完成</p>
  632. <p style="padding-left: 0;">实际完成时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  633. <p>经办人:{$detail.review_head_name}</p>
  634. {else}
  635. <p id="state">状态:{if $detail.project_status==3}进行中{else}未开始{/if}</p>
  636. <p style="padding-left: 0;"></p>
  637. <p></p>
  638. {/if}
  639. </div>
  640. <div class="layui-col-md3 dynamic-line" data-status="3">
  641. <div class="dynamic-top" id="dynamic">分配中</div>
  642. <div style="display: flex;align-items: center;"><span
  643. class="line-style-right">————————————————————————</span>&nbsp;&nbsp;<span
  644. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span></span>
  645. </div>
  646. {if $detail.project_status>4}
  647. <p id="state">状态:进行中</p>
  648. <p style="padding-left: 0;">完成时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  649. <p>经办人:{$detail.review_head_name}</p>
  650. {else}
  651. <p id="state">状态:{if $detail.project_status==4}进行中{else}未开始{/if}</p>
  652. <p style="padding-left: 0;"></p>
  653. <p></p>
  654. {/if}
  655. </div>
  656. <div class="layui-col-md3 dynamic-line" data-status="4">
  657. <div class="dynamic-bottom" id="dynamic">作业中</div>
  658. <div style="display: flex;align-items: center;"><span
  659. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  660. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  661. class="line-style line-color">————————————————————————</span>
  662. </div>
  663. {if $detail.project_status>5}
  664. <p id="state">状态:已完成</p>
  665. <p style="padding-left: 0;"></p>
  666. <p></p>
  667. {else}
  668. <p id="state">状态:{if $detail.project_status==5}进行中{else}未开始{/if}</p>
  669. <p style="padding-left: 0;"></p>
  670. <p></p>
  671. {/if}
  672. </div>
  673. <div class="layui-col-md3 dynamic-line" data-status="5">
  674. <div class="dynamic-bottom" id="dynamic">归档中/退审中</div>
  675. <div style="display: flex;align-items: center;"><span
  676. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  677. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  678. class="line-style line-color">————————————————————————</span>
  679. </div>
  680. {if $detail.project_status==8 || $detail.project_status==9}
  681. <p id="state">状态:已完成</p>
  682. <p style="padding-left: 0;"></p>
  683. <p></p>
  684. {else}
  685. <p id="state">状态:{if $detail.project_status==6 || $detail.project_status==7}进行中{else}未开始{/if}</p>
  686. <p style="padding-left: 0;"></p>
  687. <p></p>
  688. {/if}
  689. </div>
  690. <div class="layui-col-md3 dynamic-line" data-status="6">
  691. <div class="dynamic-bottom" id="dynamic">已归档</div>
  692. <div style="display: flex;align-items: center;"><span
  693. class="line-style-right">————————————————————————</span>&nbsp;&nbsp;<span
  694. style="font-size: 1vw">■</span><span></span></div>
  695. {if $detail.project_status==8 || $detail.project_status==9}
  696. <p id="state">状态:已完成</p>
  697. <p style="padding-left: 0;"></p>
  698. <p></p>
  699. {else}
  700. <p id="state">状态:{if $detail.project_status==6 || $detail.project_status==7}进行中{else}未开始{/if}</p>
  701. <p style="padding-left: 0;"></p>
  702. <p></p>
  703. {/if}
  704. </div>
  705. </div>
  706. </div>
  707. </div>
  708. <div class="layui-card fund">
  709. <div class="layui-card-header table-header">
  710. <div class="layui-col-md1 fund-top">
  711. 报告进度
  712. </div>
  713. <div class="layui-col-md10" style="font-size: 0.7vw;">
  714. 当前进度:{switch $type_max}
  715. {case 0}初稿作业{/case}
  716. {case 1}初审报告{/case}
  717. {case 2}对数报告{/case}
  718. {case 3}审定报告{/case}
  719. {default /}未知
  720. {/switch}
  721. </div>
  722. <div class="layui-col-md1" style="text-align: right;font-size: 0.7vw;">
  723. <!-- <a href="" class="detail">详情 >></a>-->
  724. </div>
  725. </div>
  726. <div class="layui-card-body">
  727. <div class="layui-card-body layui-row layui-col-space12 project-list-name"
  728. id="report_status">
  729. <div class="layui-col-md3 dynamic-line" data-status="0"
  730. style="margin-bottom: 3vh;">
  731. <div class="dynamic-top1">初稿作业</div>
  732. <div style="margin-left: 7.25vw;display: flex;align-items: center;">
  733. <span></span>
  734. <span style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  735. class="line-style">————————————————————————</span>
  736. </div>
  737. <p>状态:已完成</p>
  738. <p style="padding-left: 0;">实际完成时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  739. <p>经办人:{$detail.review_head_name}</p>
  740. </div>
  741. <div class="layui-col-md3 dynamic-line" data-status="1"
  742. style="margin-bottom: 3vh;">
  743. <div class="dynamic-top1">初审报告</div>
  744. <div style="display: flex;align-items: center;"><span
  745. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  746. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  747. class="line-style">————————————————————————</span>
  748. </div>
  749. {if $type_max>0}
  750. <p>状态:已完成</p>
  751. <p style="padding-left: 0;">实际完成时间:{if $report_time[0]["create_time"]==0}无{else}{$report_time[0]["create_time"]|date="Y-m-d"}{/if}</p>
  752. <p>经办人:{if $report_time[0]["nickname"]==0}无{else}{$report_time[0]["nickname"]}{/if}</p>
  753. {else}
  754. <p>状态:{if $type_max==0}进行中{else}未开始{/if}</p>
  755. <p style="padding-left: 0;"></p>
  756. <p></p>
  757. {/if}
  758. </div>
  759. <div class="layui-col-md3 dynamic-line" data-status="2"
  760. style="margin-bottom: 3vh;">
  761. <div class="dynamic-top1">对数报告</div>
  762. <div style="display: flex;align-items: center;"><span
  763. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  764. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  765. class="line-style">————————————————————————</span>
  766. </div>
  767. {if $type_max>1}
  768. <p>状态:已完成</p>
  769. <p style="padding-left: 0;">开始时间:{if $report_time[1]["create_time"]==0}无{else}{$report_time[1]["create_time"]||date="Y-m-d"}{/if}</p>
  770. <p>经办人:{if $report_time[1]["nickname"]==0}无{else}{$report_time[1]["nickname"]}{/if}</p>
  771. {else}
  772. <p>状态:未开始</p>
  773. <p style="padding-left: 0;"></p>
  774. <p></p>
  775. {/if}
  776. </div>
  777. <div class="layui-col-md3 dynamic-line" data-status="3"
  778. style="margin-bottom: 3vh;">
  779. <div class="dynamic-top1">审定报告</div>
  780. <div style="display: flex;align-items: center;"><span
  781. class="line-style-right">————————————————————————</span>&nbsp;&nbsp;<span
  782. style="font-size: 1vw">■</span><span></span></div>
  783. {if $type_max>2 }
  784. <p>状态:已完成</p>
  785. <p style="padding-left: 0;">开始时间:{if $report_time[2]["create_time"]==0}无{else}{$report_time[2]["create_time"]||date="Y-m-d"}{/if}</p>
  786. <p>经办人:{if $report_time[2]["nickname"]==0}无{else}{$report_time[2]["nickname"]}{/if}</p>
  787. {else}
  788. <p>状态:未开始</p>
  789. <p style="padding-left: 0;"></p>
  790. <p></p>
  791. {/if}
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. </form>
  797. </div>
  798. </div>
  799. {if $project_five.project_comments == 1}
  800. <div class="layui-tab-item" >
  801. {include file="/project/cost/project_comments"/}
  802. </div>
  803. {/if}
  804. {if $project_five.project_record == 1}
  805. <div class="layui-tab-item">
  806. {include file="/project/cost/project_record" /}
  807. </div>
  808. {/if}
  809. {if $project_five.project_report == 1}
  810. <div class="layui-tab-item">
  811. {include file="/project/cost/project_report" /}
  812. </div>
  813. {/if}
  814. {if $project_five.project_user == 1}
  815. <div class="layui-tab-item">
  816. {include file="/project/cost/project_user" /}
  817. </div>
  818. {/if}
  819. {if $project_five.project_file == 1}
  820. <div class="layui-tab-item">
  821. {include file="/project/project_file" /}
  822. </div>
  823. {/if}
  824. {if $project_five.project_contact == 1}
  825. <div class="layui-tab-item">
  826. {include file="/project/cost/project_contact" /}
  827. </div>
  828. {/if}
  829. {if $project_five.project_log == 1}
  830. <div class="layui-tab-item">
  831. {include file="/project/projectlog/index" /}
  832. </div>
  833. {/if}
  834. </div>
  835. </div>
  836. </div>
  837. <script>
  838. var project_id = '{$project_id}'
  839. let zhuangtai = 2;
  840. let box = document.getElementById("buzhoutiao");
  841. // console.log(box)
  842. // console.log(box.children.length)
  843. // console.log(box.children[0])
  844. // console.log(box.children[0].dataset.status)
  845. for (let i = 0; i < box.children.length; i++) {
  846. let chilbox = box.children[i];
  847. let chilline = box.getElementsByClassName('line')[i];
  848. let status = chilbox.dataset.status
  849. if (status == zhuangtai) {
  850. chilbox.style.color = 'rgb(25,144,255)'
  851. chilline.style.backgroundColor = 'rgb(25,144,255)'
  852. } else if (status < zhuangtai) {
  853. chilbox.style.color = 'rgb(138,211,126)'
  854. chilline.style.backgroundColor = 'rgb(138,211,126)'
  855. } else {
  856. chilbox.style.color = '#aaa'
  857. // chilline.style.backgroundcolor = 'rgb(138,211,126)'
  858. }
  859. }
  860. </script>
  861. <script>
  862. let project = '{$detail.project_status}';
  863. project = project - 1
  864. let box1 = document.getElementById("project");
  865. // line-color
  866. for (let i = 0; i < box1.children.length; i++) {
  867. let p1 = box1.getElementsByTagName("p");
  868. let span_color = box1.getElementsByTagName("span");
  869. var aa = p1.innerHTML
  870. var chilbox1 = box1.children[i];
  871. let status = chilbox1.dataset.status
  872. let span_num = span_color[2 + i * 3]
  873. if (status == project) {
  874. chilbox1.style.color = 'rgb(23, 145, 233)'
  875. span_num.style.color = '#aaa'
  876. } else if (status < project) {
  877. chilbox1.style.color = 'rgb(23, 145, 233)'
  878. } else {
  879. chilbox1.style.color = '#aaa'
  880. }
  881. }
  882. </script>
  883. <script>
  884. let report_status = "{$type_max}";
  885. console.log(report_status)
  886. let box2 = document.getElementById("report_status");
  887. for (let i = 0; i < box2.children.length; i++) {
  888. let chilbox2 = box2.children[i];
  889. let span_color2 = box2.getElementsByTagName("span");
  890. let status = chilbox2.dataset.status
  891. let span_num2 = span_color2[2 + i * 3]
  892. if (status == report_status) {
  893. chilbox2.style.color = 'rgb(64,186,42)'
  894. span_num2.style.color = '#aaa'
  895. } else if (status < report_status) {
  896. chilbox2.style.color = 'rgb(64,186,42)'
  897. } else {
  898. chilbox2.style.color = '#aaa'
  899. }
  900. }
  901. </script>
  902. <script>
  903. var project_id = '{$detail.id}';
  904. function gouguInit() {
  905. var element = layui.element,
  906. form = layui.form,
  907. tool = layui.tool;
  908. first();
  909. // console.log($('#hha').css("display",'block'))
  910. element.on('tab(project)', function (data) {
  911. let index = $(this).attr('data-id');
  912. if (index == 1) {
  913. comment();
  914. } else if (index == 2) {
  915. record();
  916. } else if (index == 3) {
  917. report();
  918. } else if (index == 4) {
  919. project_user()
  920. } else if (index == 5) {
  921. } else if (index == 6) {
  922. } else if (index == 7) {
  923. contact(index)
  924. }
  925. });
  926. }
  927. </script>