kan_c.html 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092
  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_img img {
  279. border-radius: 0.5vw;
  280. margin: 0.3vw 0;
  281. padding-right: 18px;
  282. padding-bottom: 7px;
  283. padding-left: 2px;
  284. }
  285. .log_item_top {
  286. /* height: 70%; */
  287. overflow: scroll;
  288. }
  289. .log_item_top {
  290. height: 79.2vh;
  291. }
  292. .log_item_bottom {
  293. display: flex;
  294. /* height: 17vh; */
  295. /* border-top: 1px solid #eee; */
  296. margin: 0 1.5vw;
  297. /* background-color: rgb(250,250,250); */
  298. }
  299. .log_input input {
  300. width: 55vw;
  301. height: 10vh;
  302. border: #eee 1px solid;
  303. }
  304. .log_bottom_img {
  305. /* height: 5vh; */
  306. }
  307. .log_bottom_img img {
  308. height: 4vw;
  309. width: 6vw;
  310. border-radius: 0.5vw;
  311. margin: 0.5vw 0vw 0.5vw 0.3vw;
  312. }
  313. .log_bottom_left {
  314. width: 95%;
  315. margin-top: 1.5vh;
  316. }
  317. .log_bottom_right {
  318. width: 5%;
  319. }
  320. /* 上传图片 */
  321. /* .layui-upload-drag-self {
  322. background-color: #fbfdff;
  323. border: 1px dashed #c0ccda;
  324. border-radius: 6px;
  325. box-sizing: border-box;
  326. width: 6vw;
  327. height: 4vw;
  328. line-height: 4vw;
  329. vertical-align: top;
  330. display: inline-block;
  331. text-align: center;
  332. cursor: pointer;
  333. outline: 0;
  334. margin-right: 13px;
  335. float: left;
  336. } */
  337. /* .layui-input-inlines-self {
  338. position: relative;
  339. margin-left: 90px;
  340. min-height: 36px;
  341. text-align: left;
  342. }
  343. .layui-upload-drag-self .layui-icon {
  344. font-size: 28px;
  345. color: #8c939d
  346. }
  347. .layui-upload-drag-self .img {
  348. position: relative;
  349. height: 148px;
  350. width: 148px;
  351. }
  352. .layui-upload-img {
  353. width: 148px;
  354. height: 148px;
  355. border-radius: 6px;
  356. margin-top: -3px;
  357. margin-left: -2px;
  358. } */
  359. .handle {
  360. position: absolute;
  361. width: 148px;
  362. height: 100%;
  363. z-index: 100;
  364. border-radius: 6px;
  365. top: 0;
  366. background: rgba(59, 60, 61, 0.6);
  367. text-align: center;
  368. }
  369. .handle .icon-myself {
  370. z-index: 999;
  371. transition: all .3s;
  372. cursor: pointer;
  373. font-size: 25px;
  374. width: 25px;
  375. color: rgba(255, 255, 255, 0.91);
  376. margin: 0 4px;
  377. }
  378. .log_textarea {
  379. width: 60vw;
  380. height: 8vh;
  381. padding: 0.5vw;
  382. /* margin-right: 2vw; */
  383. }
  384. .log_button_img {
  385. width: 2vw;
  386. }
  387. .log_card {
  388. border: none !important;
  389. }
  390. /* 点击图片放大 */
  391. /* .content_img img {
  392. max-width: 100%;
  393. cursor: pointer;
  394. }
  395. .overlay {
  396. display: none;
  397. position: fixed;
  398. top: 0;
  399. left: 0;
  400. width: 100%;
  401. height: 100%;
  402. background-color: rgba(0, 0, 0, 0.7);
  403. justify-content: center;
  404. align-items: center;
  405. z-index: 1;
  406. }
  407. .overlay img {
  408. max-width: 90%;
  409. max-height: 90%;
  410. object-fit: contain;
  411. }
  412. .layui-card:last-child {
  413. margin-bottom: 46px;
  414. }
  415. .layui-input,.layui-form-select {
  416. display: block;
  417. width: auto;
  418. padding-right: auto;
  419. } */
  420. /* .layui-form-select{
  421. padding-right:0;
  422. } */
  423. .project-select {
  424. width: auto !important;
  425. }
  426. .layui-form-select .layui-input {
  427. padding-right: 0;
  428. text-align: left;
  429. font-size: 0.75vw;
  430. }
  431. .filelist {
  432. width: 100%;
  433. overflow: scroll;
  434. height: 8vw;
  435. justify-content: flex-start;
  436. align-content: space-between;
  437. /* flex-direction: column-reverse; */
  438. flex-wrap: wrap;
  439. display: flex;
  440. }
  441. .filelist li {
  442. padding: 0.5vw 0.7vw 0.5vw 0.7vw;
  443. white-space: nowrap;
  444. overflow: hidden;
  445. text-overflow: ellipsis;
  446. display: inline-block;
  447. border-right: 1px solid #e2e2e2;
  448. }
  449. .filelist p {
  450. margin: 3px 0 5px 0;
  451. width: 5vw;
  452. text-align: center;
  453. }
  454. .filelist:hover li {
  455. /* display: initial; */
  456. }
  457. </style>
  458. <div class="layui-card">
  459. <div class="layui-card-body layui-row layui-col-space12 header-detail">
  460. <div class="layui-col-md10">
  461. <div class="layui-card-body layui-row box-right-top">
  462. <div class="layui-col-md12 box-right-top-1">
  463. {$detail.project_name}
  464. </div>
  465. <div class="layui-col-md5 box-right-top-2">
  466. 委托单位:{$detail.entrust_unit_name}
  467. </div>
  468. <div class="layui-col-md4 box-right-top-2" style="padding: 0 !important;">
  469. 送审日期:{$detail.create_time|date="Y-m-d"}
  470. </div>
  471. <div class="layui-col-md3 box-right-top-2">
  472. 接收日期:{$detail.project_receive_time|date="Y-m-d"}
  473. </div>
  474. </div>
  475. </div>
  476. <div class="layui-col-md1">
  477. <div class="layui-card countdown">
  478. <div class="countdown-top">
  479. {if $detail.project_end_time>time()}剩 余{else}逾 期{/if}
  480. </div>
  481. <div class="countdown-bottom">
  482. {$advent_time}
  483. </div>
  484. </div>
  485. </div>
  486. </div>
  487. <div class="layui-tab" lay-filter="test-hash">
  488. <ul class="layui-tab-title">
  489. <li class="layui-this" lay-id="ture">项目概览</li>
  490. {if $project_five.project_comments == 1}
  491. <li lay-id="22" data-id="1">作业日志</li>
  492. {/if}
  493. {if $project_five.project_record == 1}
  494. <li data-load="" data-id="2">工作记录</li>
  495. {/if}
  496. {if $project_five.project_report == 1}
  497. <li data-load="" data-id="3">项目报告</li>
  498. {/if}
  499. {if $project_five.project_user == 1}
  500. <li data-load="" data-id="4">项目人员</li>
  501. {/if}
  502. {if $project_five.project_file == 1}
  503. <li data-load="" data-id="5">项目附件</li>
  504. {/if}
  505. {if $project_five.project_contact == 1}
  506. <li data-load="" data-id="6">联系函</li>
  507. {/if}
  508. {if $project_five.project_log == 1}
  509. <li data-load="" data-id="7">项目动态</li>
  510. {/if}
  511. </ul>
  512. <div class="layui-tab-content">
  513. <div class="layui-tab-item layui-show">
  514. <div class="layui-card-body">
  515. <form class="layui-form" action="" lay-filter="component-form-element">
  516. <div class="layui-card-body layui-row layui-col-space12" style="display: flex;justify-content: space-between;padding-left: 0;
  517. padding-right: 0;margin-left: -2vw;">
  518. <div class="layui-col-md8" style="width: 50%;">
  519. <div class="basic-information" style="display: flex;align-items: center;">
  520. <i class="layui-icon">&#xe63c;</i>
  521. <span>项目基本情况</span>
  522. </div>
  523. </div>
  524. <!-- <div class="layui-col-md8">
  525. <div class="basic-information">
  526. <i class="layui-icon">&#xe63c;</i>
  527. 项目基本情况
  528. </div>
  529. </div> -->
  530. <div class="layui-col-md2" style="font-size: 0.75vw;margin-top: 0.7vh;">
  531. 项目负责人:{$detail.review_head_name}
  532. </div>
  533. <div class="layui-col-md2" style="font-size: 0.75vw;margin-top: 0.7vh;">
  534. 作业作业人:{$detail.operate_head_name}
  535. </div>
  536. </div>
  537. <div class="layui-card-body layui-row layui-col-space12 " id="buzhoutiao"
  538. style="display: flex;justify-content: space-between;font-size: 0.9vw;">
  539. <div class="layui-col-md3 progress-box bar" data-status="0"
  540. style="display: flex;justify-content: space-between;align-items: center;">
  541. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在对接</div>
  542. <div><span class="line"></span></div>
  543. </div>
  544. <div class="layui-col-md3 bar" data-status="1"
  545. style="display: flex;align-items: center;">
  546. <!-- <div class="text-line">
  547. <i
  548. class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在签约&nbsp;&nbsp;&nbsp;&nbsp;
  549. </div>
  550. <div class="line"></div> -->
  551. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在签约</div>
  552. <div><span class="line"></span></div>
  553. </div>
  554. <div class="layui-col-md3 bar" data-status="2"
  555. style="display: flex;align-items: center;">
  556. <!-- <div class="text-line">
  557. <i
  558. class="layui-icon schedule">&#xe60e;</i>&nbsp;&nbsp;正在履行&nbsp;&nbsp;&nbsp;&nbsp;
  559. </div>
  560. <div class="line"></div> -->
  561. <div><i class="layui-icon schedule">&#x1005;</i>&nbsp;&nbsp;正在履行</div>
  562. <div><span class="line"></span></div>
  563. </div>
  564. <div class="layui-col-md3 bar" data-status="3"
  565. style="display: flex;align-items: center;width: 16%;">
  566. <i class="layui-icon schedule">&#xe63f;</i>&nbsp;&nbsp;履行完成
  567. </div>
  568. </div>
  569. <div class="layui-card fund">
  570. <div class="layui-card-header table-header">
  571. <div class="layui-col-md1 fund-top">
  572. 项目动态
  573. </div>
  574. <div class="layui-col-md10" style="font-size: 0.7vw;">
  575. 当前进度:{switch $detail.project_status}
  576. {case 1}立项中{/case}
  577. {case 2}审批中{/case}
  578. {case 3}待接收{/case}
  579. {case 4}待分配{/case}
  580. {case 5}作业中{/case}
  581. {case 6}归档中{/case}
  582. {case 7}退审中{/case}
  583. {case 8}已归档{/case}
  584. {case 9}已退审{/case}
  585. {default /}未知
  586. {/switch}
  587. </div>
  588. <div class="layui-col-md1" style="text-align: right;font-size: 0.7vw;">
  589. <!--<a href="" class="detail">详情 >></a>-->
  590. </div>
  591. </div>
  592. <div class="layui-card-body">
  593. <div class="layui-card-body layui-row layui-col-space12 project-list-name"
  594. id="project" style="display: flex;flex-flow: row wrap;">
  595. <div class="layui-col-md3 dynamic-line" data-status="0">
  596. <div class="dynamic-top" id="dynamic">项目接收</div>
  597. <div style="margin-left: 7vw;display: flex;align-items: center;">
  598. <span></span>&nbsp;&nbsp;<span
  599. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  600. class="line-style">————————————————————————</span>
  601. </div>
  602. {if $detail.project_status>3}
  603. <p id="state">状态:已完成</p>
  604. <p style="padding-left: 0;">实际完成时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  605. <p>经办人:{$detail.review_head_name}</p>
  606. {else}
  607. <p id="state">状态:{if $detail.project_status==3}进行中{else}未开始{/if}</p>
  608. <p style="padding-left: 0;"></p>
  609. <p></p>
  610. {/if}
  611. </div>
  612. <div class="layui-col-md3 dynamic-line" data-status="1">
  613. <div class="dynamic-top" id="dynamic">分配中</div>
  614. <div style="display: flex;align-items: center;"><span
  615. class="line-style">————————————————————————</span>&nbsp;&nbsp;
  616. <span style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  617. class="line-style line-color">————————————————————————</span>
  618. </div>
  619. {if $detail.project_status>4}
  620. <p id="state">状态:进行中</p>
  621. <p style="padding-left: 0;">开始时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  622. <p>经办人:{$detail.review_head_name}</p>
  623. {else}
  624. <p id="state">状态:{if $detail.project_status==4}进行中{else}未开始{/if}</p>
  625. <p style="padding-left: 0;"></p>
  626. <p></p>
  627. {/if}
  628. </div>
  629. <div class="layui-col-md3 dynamic-line" data-status="2">
  630. <div class="dynamic-top" id="dynamic">作业中</div>
  631. <div style="display: flex;align-items: center;"><span
  632. class="line-style">————————————————————————</span>
  633. &nbsp;&nbsp;<span
  634. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  635. class="line-style line-color">————————————————————————</span>
  636. </div>
  637. {if $detail.project_status>5}
  638. <p id="state">状态:已完成</p>
  639. <p style="padding-left: 0;"></p>
  640. <p></p>
  641. {elseif $detail.project_status==5 }
  642. <p id="state">状态:{if $detail.project_status==5}进行中{else}未开始{/if}</p>
  643. <p style="padding-left: 0;">作业负责人:{if empty($detail.operate_head_name)}无{else}{$detail.operate_head_name}{/if}</p>
  644. <p>作业成员:负责人:{if empty($detail.operate_team_names)}无{else}{$detail.operate_team_names}{/if}</p>
  645. {else}
  646. <p id="state">状态:{if $detail.project_status==5}进行中{else}未开始{/if}</p>
  647. <p style="padding-left: 0;"></p>
  648. <p></p>
  649. {/if}
  650. </div>
  651. <div class="layui-col-md3 dynamic-line" data-status="3">
  652. <div class="dynamic-top" id="dynamic">归档中</div>
  653. <div style="display: flex;align-items: center;"><span
  654. class="line-style-right">————————————————————————</span>&nbsp;&nbsp;<span
  655. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span></span>
  656. </div>
  657. {if $detail.project_status==8 || $detail.project_status==9}
  658. <p id="state">状态:已完成</p>
  659. <p style="padding-left: 0;"></p>
  660. <p></p>
  661. {else}
  662. <p id="state">状态:{if $detail.project_status==6 || $detail.project_status==7}进行中{else}未开始{/if}</p>
  663. <p style="padding-left: 0;"></p>
  664. <p></p>
  665. {/if}
  666. </div>
  667. <div class="layui-col-md3 dynamic-line" data-status="4">
  668. <div class="dynamic-bottom" id="dynamic">已归档</div>
  669. <div style="display: flex;align-items: center;"><span
  670. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  671. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  672. class="line-style line-color"></span>
  673. </div>
  674. {if $detail.project_status==8 || $detail.project_status==9}
  675. <p id="state">状态:已完成</p>
  676. <p style="padding-left: 0;"></p>
  677. <p></p>
  678. {else}
  679. <p id="state">状态:{if $detail.project_status==6 || $detail.project_status==7}进行中{else}未开始{/if}</p>
  680. <p style="padding-left: 0;"></p>
  681. <p></p>
  682. {/if}
  683. </div>
  684. </div>
  685. </div>
  686. </div>
  687. <div class="layui-card fund">
  688. <div class="layui-card-header table-header">
  689. <div class="layui-col-md1 fund-top">
  690. 报告进度
  691. </div>
  692. <div class="layui-col-md10" style="font-size: 0.7vw;">
  693. 当前进度:{switch $type_max}
  694. {case 0}初稿作业{/case}
  695. {case 1}初审报告{/case}
  696. {case 2}对数报告{/case}
  697. {case 3}审定报告{/case}
  698. {default /}未知
  699. {/switch}
  700. </div>
  701. <div class="layui-col-md1" style="text-align: right;font-size: 0.7vw;">
  702. <!-- <a href="" class="detail">详情 >></a>-->
  703. </div>
  704. </div>
  705. <div class="layui-card-body">
  706. <div class="layui-card-body layui-row layui-col-space12 project-list-name"
  707. id="report">
  708. <div class="layui-col-md3 dynamic-line" data-status="0"
  709. style="margin-bottom: 3vh;">
  710. <div class="dynamic-top1">初稿作业</div>
  711. <div style="margin-left: 7.25vw;display: flex;align-items: center;">
  712. <span></span>
  713. <span style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  714. class="line-style">————————————————————————</span>
  715. </div>
  716. <p>状态:已完成</p>
  717. <p style="padding-left: 0;">实际完成时间:{$detail.project_receive_time|date="Y-m-d"}</p>
  718. <p>经办人:{$detail.review_head_name}</p>
  719. </div>
  720. <div class="layui-col-md3 dynamic-line" data-status="1"
  721. style="margin-bottom: 3vh;">
  722. <div class="dynamic-top1">初审报告</div>
  723. <div style="display: flex;align-items: center;"><span
  724. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  725. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  726. class="line-style">————————————————————————</span>
  727. </div>
  728. {if $type_max>0}
  729. <p>状态:已完成</p>
  730. <p style="padding-left: 0;">实际完成时间:{if $report_time[0]["create_time"]==0}无{else}{$report_time[0]["create_time"]|date="Y-m-d"}{/if}</p>
  731. <p>经办人:{if $report_time[0]["nickname"]==0}无{else}{$report_time[0]["nickname"]}{/if}</p>
  732. {else}
  733. <p>状态:{if $type_max==0}进行中{else}未开始{/if}</p>
  734. <p style="padding-left: 0;"></p>
  735. <p></p>
  736. {/if}
  737. </div>
  738. <div class="layui-col-md3 dynamic-line" data-status="2"
  739. style="margin-bottom: 3vh;">
  740. <div class="dynamic-top1">对数报告</div>
  741. <div style="display: flex;align-items: center;"><span
  742. class="line-style">————————————————————————</span>&nbsp;&nbsp;<span
  743. style="font-size: 1vw">■</span>&nbsp;&nbsp;<span
  744. class="line-style">————————————————————————</span>
  745. </div>
  746. {if $type_max>1}
  747. <p>状态:已完成</p>
  748. <p style="padding-left: 0;">开始时间:{if $report_time[1]["create_time"]==0}无{else}{$report_time[1]["create_time"]||date="Y-m-d"}{/if}</p>
  749. <p>经办人:{if $report_time[1]["nickname"]==0}无{else}{$report_time[1]["nickname"]}{/if}</p>
  750. {else}
  751. <p>状态:未开始</p>
  752. <p style="padding-left: 0;"></p>
  753. <p></p>
  754. {/if}
  755. </div>
  756. <div class="layui-col-md3 dynamic-line" data-status="3"
  757. style="margin-bottom: 3vh;">
  758. <div class="dynamic-top1">审定报告</div>
  759. <div style="display: flex;align-items: center;"><span
  760. class="line-style-right">————————————————————————</span>&nbsp;&nbsp;<span
  761. style="font-size: 1vw">■</span><span></span></div>
  762. {if $type_max>2 }
  763. <p>状态:已完成</p>
  764. <p style="padding-left: 0;">开始时间:{if $report_time[2]["create_time"]==0}无{else}{$report_time[2]["create_time"]||date="Y-m-d"}{/if}</p>
  765. <p>经办人:{if $report_time[2]["nickname"]==0}无{else}{$report_time[2]["nickname"]}{/if}</p>
  766. {else}
  767. <p>状态:未开始</p>
  768. <p style="padding-left: 0;"></p>
  769. <p></p>
  770. {/if}
  771. </div>
  772. </div>
  773. </div>
  774. </div>
  775. </form>
  776. </div>
  777. </div>
  778. {if $project_five.project_comments == 1}
  779. <div class="layui-tab-item" >
  780. {include file="/project/cost_company/project_log"/}
  781. </div>
  782. {/if}
  783. {if $project_five.project_record == 1}
  784. <div class="layui-tab-item">
  785. {include file="/project/cost_company/project_record" /}
  786. </div>
  787. {/if}
  788. {if $project_five.project_report == 1}
  789. <div class="layui-tab-item">
  790. {include file="/project/cost_company/project_report" /}
  791. </div>
  792. {/if}
  793. {if $project_five.project_user == 1}
  794. <div class="layui-tab-item">
  795. {include file="/project/cost_company/project_user" /}
  796. </div>
  797. {/if}
  798. {if $project_five.project_file == 1}
  799. <div class="layui-tab-item">
  800. {include file="/project/project_file" /}
  801. </div>
  802. {/if}
  803. {if $project_five.project_contact == 1}
  804. <div class="layui-tab-item">
  805. {include file="/project/cost_company/project_contact" /}
  806. </div>
  807. {/if}
  808. {if $project_five.project_log == 1}
  809. <div class="layui-tab-item">
  810. {include file="/project/projectlog/index" /}
  811. </div>
  812. {/if}
  813. </div>
  814. </div>
  815. </div>
  816. <script>
  817. var project_id = '{$project_id}'
  818. let zhuangtai = 2;
  819. let box = document.getElementById("buzhoutiao");
  820. // console.log(box)
  821. // console.log(box.children.length)
  822. // console.log(box.children[0])
  823. // console.log(box.children[0].dataset.status)
  824. for (let i = 0; i < box.children.length; i++) {
  825. let chilbox = box.children[i];
  826. let chilline = box.getElementsByClassName('line')[i];
  827. let status = chilbox.dataset.status
  828. if (status == zhuangtai) {
  829. chilbox.style.color = 'rgb(25,144,255)'
  830. chilline.style.backgroundColor = 'rgb(25,144,255)'
  831. } else if (status < zhuangtai) {
  832. chilbox.style.color = 'rgb(138,211,126)'
  833. chilline.style.backgroundColor = 'rgb(138,211,126)'
  834. } else {
  835. chilbox.style.color = '#aaa'
  836. // chilline.style.backgroundcolor = 'rgb(138,211,126)'
  837. }
  838. }
  839. </script>
  840. <script>
  841. let project = '{$detail.project_status}';
  842. project = project-3
  843. let box1 = document.getElementById("project");
  844. // line-color
  845. for (let i = 0; i < box1.children.length; i++) {
  846. let p1 = box1.getElementsByTagName("p");
  847. let span_color = box1.getElementsByTagName("span");
  848. var aa = p1.innerHTML
  849. var chilbox1 = box1.children[i];
  850. let status = chilbox1.dataset.status
  851. let span_num = span_color[2 + i * 3]
  852. if (status == project) {
  853. chilbox1.style.color = 'rgb(23, 145, 233)'
  854. span_num.style.color = '#aaa'
  855. } else if (status < project) {
  856. chilbox1.style.color = 'rgb(23, 145, 233)'
  857. } else {
  858. chilbox1.style.color = '#aaa'
  859. }
  860. }
  861. </script>
  862. <script>
  863. let report1 = "{$type_max}";
  864. let box2 = document.getElementById("report");
  865. for (let i = 0; i < box2.children.length; i++) {
  866. let chilbox2 = box2.children[i];
  867. let span_color2 = box2.getElementsByTagName("span");
  868. let status = chilbox2.dataset.status
  869. let span_num2 = span_color2[2 + i * 3]
  870. if (status == report1) {
  871. chilbox2.style.color = 'rgb(64,186,42)'
  872. span_num2.style.color = '#aaa'
  873. } else if (status < report1) {
  874. chilbox2.style.color = 'rgb(64,186,42)'
  875. } else {
  876. chilbox2.style.color = '#aaa'
  877. }
  878. }
  879. </script>
  880. <script>
  881. var project_id = '{$detail.id}';
  882. function gouguInit() {
  883. var element = layui.element,
  884. form = layui.form,
  885. tool = layui.tool;
  886. first();
  887. console.log($('#hha').css("display",'block'))
  888. element.on('tab(project)', function (data) {
  889. let index = $(this).attr('data-id');
  890. if (index == 1) {
  891. comment();
  892. } else if (index == 2) {
  893. record();
  894. } else if (index == 3) {
  895. report();
  896. } else if (index == 4) {
  897. project_user()
  898. } else if (index == 5) {
  899. } else if (index == 6) {
  900. contact(index)
  901. } else if (index == 7) {
  902. }
  903. });
  904. }
  905. </script>