1bb18c5462491565febe259b14517b27.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. <?php /*a:2:{s:69:"D:\phpstudy_pro\WWW\caiping\app\admin\view\project\index_company.html";i:1723541257;s:59:"D:\phpstudy_pro\WWW\caiping\app\admin\view\common\base.html";i:1723541257;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="360-site-verification" content="a7c876fae8b6e3175a52ea9f19543f51" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
  10. <script src="/static/dist/xm-select.js"></script>
  11. <link rel="mobile-prefetch" href=""/>
  12. <title><?php echo get_system_config('web','admin_title'); ?></title>
  13. <meta name="keywords" content="<?php echo get_system_config('web','keywords'); ?>"/>
  14. <meta name="description" content="<?php echo get_system_config('web','desc'); ?>"/>
  15. <link rel="stylesheet" href="/static/assets/gougu/css/gougu.css?v=<?php echo get_system_config('web','version'); ?>" media="all">
  16. <style>
  17. .footer{
  18. width: 100%;
  19. height: 25px;
  20. text-align: center;
  21. margin-bottom: 0 !important;
  22. }
  23. /* .left-box {
  24. height: 99vh !important;
  25. } */
  26. .left-box-font {
  27. color: #666666;
  28. font-size: 0.75vw;
  29. }
  30. .button-search {
  31. /* margin: 0 0 0 3vh; */
  32. margin-top: 2vw;
  33. background-color: rgb(23, 145, 233);
  34. }
  35. .layui-card-header {
  36. border-bottom: 1px solid #eee;
  37. line-height: 0;
  38. }
  39. .choose {
  40. margin-left: 1.4vw;
  41. display: flex;
  42. align-items: center;
  43. justify-content: space-between;
  44. line-height: 0;
  45. }
  46. .record {
  47. float: right;
  48. margin-right: 1.8vw;
  49. text-align: right;
  50. width: 45%;
  51. font-size: 0.75vw !important;
  52. }
  53. .box-right-top {
  54. height: 8vh;
  55. font-size: 0.75VW;
  56. }
  57. .box-right-top-1 {
  58. color: rgb(23, 145, 233);
  59. font-size: 1.5vw;
  60. height: 60%;
  61. }
  62. .countdown {
  63. height: 7vh;
  64. font-size: 1vw;
  65. text-align: center;
  66. border: 1px solid #eee;
  67. }
  68. .countdown-top {
  69. height: 3vh;
  70. line-height: 3vh;
  71. border-bottom: 1px solid #eee;
  72. color: #fff;
  73. background-color: rgb(23, 145, 233);
  74. border-bottom: 1px solid rgb(23, 145, 233);
  75. font-size: 0.8vw;
  76. padding: 0;
  77. margin: 0;
  78. }
  79. .countdown-bottom {
  80. height: 4vh;
  81. line-height: 4vh;
  82. padding: 0;
  83. margin: 0;
  84. background-color: #fff;
  85. }
  86. .fund {
  87. border: 1px solid rgba(209, 209, 204, 0.719);
  88. margin-top: 1.5vh;
  89. border-radius: 0.2vw;
  90. background-color: rgb(250, 250, 250);
  91. }
  92. .fund-top {
  93. font-size: 0.8vw;
  94. font-weight: 550;
  95. }
  96. .list {
  97. font-size: 0.75vw;
  98. }
  99. .layui-form-checked[lay-skin=primary]>i {
  100. border-color: rgb(23, 145, 233) !important;
  101. background-color: rgb(23, 145, 233);
  102. }
  103. .layui-form-checkbox[lay-skin=primary]:hover>i {
  104. border-color: rgb(23, 145, 233);
  105. }
  106. .bar {
  107. position: relative;
  108. }
  109. /* .progress-box {
  110. margin-left: 4vw;
  111. } */
  112. .line {
  113. width: 50%;
  114. height: 1px;
  115. background-color: black;
  116. float: left;
  117. top: 1vh;
  118. position: relative;
  119. margin: auto;
  120. position: absolute;
  121. left: 42%;
  122. top: 50%;
  123. margin-left: 1.25vw;
  124. }
  125. /* .text-line {
  126. float: left;
  127. } */
  128. .schedule {
  129. font-size: 2vw;
  130. vertical-align: middle;
  131. }
  132. .dynamic-top {
  133. width: 6.5vw;
  134. height: 3.5vh;
  135. border: 1px solid;
  136. /* color: rgb(23, 145, 233); */
  137. line-height: 3.5vh;
  138. text-align: center;
  139. margin: 0 auto;
  140. border-radius: 0.2vw;
  141. font-weight: 600;
  142. font-size: 0.8vw;
  143. margin-top: 3vh;
  144. }
  145. .dynamic-bottom {
  146. width: 6.5vw;
  147. height: 3.5vh;
  148. border: 1px solid;
  149. /* color: rgb(23, 145, 233); */
  150. line-height: 3.5vh;
  151. text-align: center;
  152. margin: 0 auto;
  153. border-radius: 0.2vw;
  154. font-weight: 600;
  155. font-size: 0.8vw;
  156. margin-top: 1.5vh;
  157. }
  158. .dynamic span {
  159. float: right;
  160. }
  161. .dynamic-top~p {
  162. color: grey;
  163. text-align: center;
  164. }
  165. .dynamic-bottom~p {
  166. color: grey;
  167. text-align: center;
  168. margin-bottom: 3vh;
  169. }
  170. .dynamic-top1 {
  171. width: 6.5vw;
  172. height: 3.5vh;
  173. border: 1px solid;
  174. /* color: rgb(23, 145, 233); */
  175. line-height: 3.5vh;
  176. text-align: center;
  177. margin: 0 auto;
  178. border-radius: 0.2vw;
  179. font-weight: 600;
  180. font-size: 0.8vw;
  181. margin-top: 3vh;
  182. }
  183. .dynamic-top1~p {
  184. color: grey;
  185. text-align: center;
  186. }
  187. .dynamic div {
  188. float: left;
  189. }
  190. .detail {
  191. color: rgb(23, 145, 233);
  192. }
  193. .project-list {
  194. border-bottom: 1px solid #eee;
  195. }
  196. .information {
  197. width: 6vw;
  198. height: 3.5vh;
  199. line-height: 3.5vh;
  200. border-radius: 0.25vw;
  201. }
  202. .table-header {
  203. height: 4.5vh;
  204. line-height: 4.5vh;
  205. }
  206. .basic-information {
  207. /* width: 7vw; */
  208. /* height: 3.5vh; */
  209. border: 1px solid rgb(23, 145, 233);
  210. color: rgb(23, 145, 233);
  211. line-height: 3.5vh;
  212. text-align: center;
  213. border-radius: 0.2vw;
  214. font-weight: 600;
  215. font-size: 0.8vw;
  216. float: left;
  217. padding: 0 2%;
  218. }
  219. .layui-tab .layui-tab-title .layui-this {
  220. background-color: rgb(247, 251, 255);
  221. color: rgb(23, 145, 233);
  222. border-color: rgb(236, 246, 255);
  223. font-size: 0.8vw;
  224. height: 4vh;
  225. line-height: 4vh;
  226. font-weight: 600;
  227. }
  228. .layui-tab .layui-tab-title li {
  229. width: 4.5vw;
  230. font-size: 0.8vw;
  231. height: 4vh;
  232. line-height: 4vh;
  233. }
  234. .layui-tab .layui-tab-title {
  235. /* height: 4vh; */
  236. height: unset;
  237. }
  238. .layui-tab-title .layui-this:after {
  239. border-style: none;
  240. }
  241. .per {
  242. height: 4vh;
  243. width: 4vw;
  244. text-align: center;
  245. line-height: 4vh;
  246. margin-top: 65%;
  247. border-radius: 5px;
  248. border: 1.5px solid rgb(25, 144, 255);
  249. }
  250. /* .percentage-box {
  251. height: 8vh;
  252. width: 4vw;
  253. } */
  254. .project-list-name {
  255. font-size: 0.75vw;
  256. }
  257. .h3 {
  258. font-size: 1vw;
  259. }
  260. .layui-form-checkbox>div {
  261. font-size: 0.75vw !important;
  262. }
  263. .layui-form-label {
  264. width: 110px;
  265. }
  266. .line-style {
  267. width: 100%;
  268. overflow: hidden;
  269. }
  270. .line-style-right {
  271. width: 45%;
  272. overflow: hidden;
  273. }
  274. .dynamic-line {
  275. padding: 8px 0;
  276. }
  277. /* 日志 */
  278. .log_top {
  279. padding-left: 1vw;
  280. }
  281. .log_top span {
  282. margin: 0 0.5vw;
  283. }
  284. /* 1,1,1 */
  285. .log_commentary {
  286. color: rgb(0, 176, 80);
  287. }
  288. .log_company {
  289. color: rgb(255, 33, 0);
  290. }
  291. .log_content {
  292. margin: 1vw 1.5vw 0 1.5vw;
  293. padding: 0.5vw 1vw;
  294. text-indent: 1.2em;
  295. line-height: 2.1vh;
  296. background-color: rgb(255, 255, 255);
  297. /* background-color: aqua; */
  298. border-radius: 0.5vw;
  299. box-shadow: 0.19vw 0.16vw 0.4vw 0.03vw rgba(0, 0, 0, 0.13);
  300. }
  301. /* .log_content_color {
  302. background-color: rgb(250,250,250);
  303. } */
  304. .log_content_img img {
  305. /* height: 6vw;
  306. width: 9vw; */
  307. border-radius: 0.5vw;
  308. margin: 0.3vw 0;
  309. }
  310. .log_item_top {
  311. height: 70%;
  312. overflow: scroll;
  313. }
  314. .log_item_top {
  315. height: 79vh !important;
  316. }
  317. .log_item_bottom {
  318. display: flex;
  319. /* height: 17vh; */
  320. /* border-top: 1px solid #eee; */
  321. margin: 0 1.5vw;
  322. /* background-color: rgb(250,250,250); */
  323. }
  324. .log_input input {
  325. width: 55vw;
  326. height: 10vh;
  327. border: #eee 1px solid;
  328. }
  329. .log_bottom_img {
  330. /* height: 5vh; */
  331. }
  332. .log_bottom_img img {
  333. height: 4vw;
  334. width: 6vw;
  335. border-radius: 0.5vw;
  336. margin: 0.5vw 0vw 0.5vw 0.3vw;
  337. }
  338. .log_bottom_left {
  339. width: 95%;
  340. margin-top: 1.5vh;
  341. }
  342. .log_bottom_right {
  343. width: 5%;
  344. }
  345. /* 上传图片 */
  346. /* .layui-upload-drag-self {
  347. background-color: #fbfdff;
  348. border: 1px dashed #c0ccda;
  349. border-radius: 6px;
  350. box-sizing: border-box;
  351. width: 6vw;
  352. height: 4vw;
  353. line-height: 4vw;
  354. vertical-align: top;
  355. display: inline-block;
  356. text-align: center;
  357. cursor: pointer;
  358. outline: 0;
  359. margin-right: 13px;
  360. float: left;
  361. } */
  362. /* .layui-input-inlines-self {
  363. position: relative;
  364. margin-left: 90px;
  365. min-height: 36px;
  366. text-align: left;
  367. }
  368. .layui-upload-drag-self .layui-icon {
  369. font-size: 28px;
  370. color: #8c939d
  371. }
  372. .layui-upload-drag-self .img {
  373. position: relative;
  374. height: 148px;
  375. width: 148px;
  376. }
  377. .layui-upload-img {
  378. width: 148px;
  379. height: 148px;
  380. border-radius: 6px;
  381. margin-top: -3px;
  382. margin-left: -2px;
  383. } */
  384. .handle {
  385. position: absolute;
  386. width: 148px;
  387. height: 100%;
  388. z-index: 100;
  389. border-radius: 6px;
  390. top: 0;
  391. background: rgba(59, 60, 61, 0.6);
  392. text-align: center;
  393. }
  394. .handle .icon-myself {
  395. z-index: 999;
  396. transition: all .3s;
  397. cursor: pointer;
  398. font-size: 25px;
  399. width: 25px;
  400. color: rgba(255, 255, 255, 0.91);
  401. margin: 0 4px;
  402. }
  403. .log_textarea {
  404. width: 60vw;
  405. height: 8vh;
  406. padding: 0.5vw;
  407. /* margin-right: 2vw; */
  408. }
  409. .log_button_img {
  410. width: 2vw;
  411. }
  412. .log_card {
  413. border: none !important;
  414. }
  415. /* 点击图片放大 */
  416. /* .content_img img {
  417. max-width: 100%;
  418. cursor: pointer;
  419. }
  420. .overlay {
  421. display: none;
  422. position: fixed;
  423. top: 0;
  424. left: 0;
  425. width: 100%;
  426. height: 100%;
  427. background-color: rgba(0, 0, 0, 0.7);
  428. justify-content: center;
  429. align-items: center;
  430. z-index: 1;
  431. }
  432. .overlay img {
  433. max-width: 90%;
  434. max-height: 90%;
  435. object-fit: contain;
  436. }
  437. .layui-card:last-child {
  438. margin-bottom: 46px;
  439. }
  440. .layui-input,.layui-form-select {
  441. display: block;
  442. width: auto;
  443. padding-right: auto;
  444. } */
  445. /* .layui-form-select{
  446. padding-right:0;
  447. } */
  448. .project-select {
  449. width: auto !important;
  450. }
  451. .layui-form-select .layui-input {
  452. padding-right: 0;
  453. text-align: left;
  454. font-size: 0.75vw;
  455. }
  456. .filelist {
  457. width: 100%;
  458. overflow: scroll;
  459. height: 8vw;
  460. justify-content: flex-start;
  461. align-content: space-between;
  462. /* flex-direction: column-reverse; */
  463. flex-wrap: wrap;
  464. display: flex;
  465. }
  466. .filelist li {
  467. padding: 0.5vw 0.7vw 0.5vw 0.7vw;
  468. white-space: nowrap;
  469. overflow: hidden;
  470. text-overflow: ellipsis;
  471. display: inline-block;
  472. border-right: 1px solid #e2e2e2;
  473. }
  474. .filelist p {
  475. margin: 3px 0 5px 0;
  476. width: 5vw;
  477. text-align: center;
  478. }
  479. .filelist:hover li {
  480. /* display: initial; */
  481. }
  482. .layui-col-md4 {
  483. padding: 6px 0 !important;
  484. }
  485. .layui-col-md12 {
  486. padding-left: 0 !important;
  487. }
  488. .navleft-body {
  489. height: 85vh;
  490. overflow: auto;
  491. }
  492. .video {
  493. height: 100vh;
  494. overflow: auto;
  495. }
  496. </style>
  497. </head>
  498. <body class="main-body">
  499. <!-- 主体 -->
  500. <div class="p-3">
  501. <div class="layui-row layui-col-space12">
  502. <div class="layui-col-md4 left-box layui-card">
  503. <form class="layui-form" action="" lay-filter="component-form-element">
  504. <div class="layui-card-body layui-row layui-col-space12">
  505. <div class="layui-col-md10 layui-form" style="width: 82%;">
  506. <div class="layui-card-body layui-row layui-col-space12" style="padding: 10px 0;">
  507. <div class="layui-col-md6 " style="display: flex;">
  508. <label class="layui-form-label left-box-font" style="padding: 9px 0;">
  509. 项目名称:
  510. </label>
  511. <div class="layui-input-block left-box-font">
  512. <input type="text" name="project_name" placeholder="请输入" autocomplete="off"
  513. class="layui-input " style="font-size: 0.75vw;">
  514. </div>
  515. </div>
  516. <div class="layui-col-md6" style="display: flex;">
  517. <label class="layui-form-label left-box-font" style="padding: 9px 0;">
  518. 项目状态:
  519. </label>
  520. <div class="layui-input-block project-select">
  521. <select name="project_status" id="">
  522. <option value=""></option>
  523. <option value="4">分配中</option>
  524. <option value="5">作业中</option>
  525. <option value="6">归档中</option>
  526. <option value="8">已归档</option>
  527. <option value="7">退审中</option>
  528. <option value="9">已退审</option>
  529. </select>
  530. </div>
  531. </div>
  532. <div class="layui-col-md6" style="display: flex;">
  533. <label class="layui-form-label left-box-font" style="padding: 9px 0;">
  534. 送审部门:
  535. </label>
  536. <div class="layui-input-block">
  537. <input type="text" name="sent_review_unit_name" placeholder="请输入" autocomplete="off"
  538. class="layui-input" style="font-size: 0.75vw;">
  539. </div>
  540. </div>
  541. <div class="layui-col-md6" style="display: flex;">
  542. <label class="layui-form-label left-box-font" style="padding: 9px 0;">
  543. 负责人:
  544. </label>
  545. <div class="layui-input-block">
  546. <input type="text" name="entrust_unit_name" placeholder="请输入" autocomplete="off"
  547. class="layui-input" style="font-size: 0.75vw;">
  548. </div>
  549. </div>
  550. </div>
  551. </div>
  552. <div style="display: flex;justify-content: center;">
  553. <button class="layui-btn layui-btn-warm button-search" lay-submit="" lay-filter="webform"><i
  554. class="layui-icon">&#xe615;</i></button>
  555. </div>
  556. </div>
  557. </form>
  558. <!--<div class="layui-form">
  559. <div class="layui-card-header">
  560. <div class="choose">
  561. <input type="checkbox" name="interest[write]" title="与我有关" lay-skin="primary">
  562. <input type="checkbox" name="interest[read]" title="与我部门有关" lay-skin="primary">
  563. <input type="checkbox" name="interest[code]" title="未完成" checked lay-skin="primary">
  564. <p class="record">共3条记录</p>
  565. </div>
  566. </div>
  567. </div>-->
  568. <div class="navleft-body">
  569. <?php if(is_array($detail) || $detail instanceof \think\Collection || $detail instanceof \think\Paginator): $i = 0; $__LIST__ = $detail;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  570. <div class="layui-form navleft" style="cursor: pointer;" data-id="<?php echo htmlentities($vo['id']); ?>">
  571. <div class="layui-card-body">
  572. <div class="layui-card-body layui-row layui-col-space12 project-list">
  573. <div class="layui-col-md2" style="padding: 0;">
  574. <div class="layui-card-body" style="padding: 0;">
  575. <div id="main222" class="per">
  576. <?php switch($vo['project_status']): case "1": ?>立项中<?php break; case "2": ?>审批中<?php break; case "3": ?>待接收<?php break; case "4": ?>待分配<?php break; case "5": ?>作业中<?php break; case "6": ?>归档中<?php break; case "7": ?>退审中<?php break; case "8": ?>已归档<?php break; case "9": ?>已退审<?php break; default: ?>未知
  577. <?php endswitch; ?>
  578. </div>
  579. </div>
  580. </div>
  581. <div class="layui-col-md10 list">
  582. <a href="JavaScript:void(0)">
  583. <div class="layui-card-body layui-row layui-col-space12" style="padding-right: 0;">
  584. <div class="layui-col-md12 h3">
  585. <?php echo htmlentities($vo['project_name']); ?>
  586. </div>
  587. <div class="layui-col-md12">
  588. 服务单位:<?php echo htmlentities($vo['review_unit_name']); ?>
  589. </div>
  590. <!-- <div class="layui-col-md4 text-middle">
  591. 项目状态:
  592. <?php switch($vo['project_status']): case "1": ?>立项中<?php break; case "2": ?>审批中<?php break; case "3": ?>待接收<?php break; case "4": ?>待分配<?php break; case "5": ?>作业中<?php break; case "6": ?>归档中<?php break; case "7": ?>退审中<?php break; case "8": ?>已归档<?php break; case "9": ?>已退审<?php break; default: ?>未知
  593. <?php endswitch; ?>
  594. </div> -->
  595. <div class="layui-col-md4">
  596. 作业人:<?php echo htmlentities($vo['operate_head_name']); ?>
  597. </div>
  598. <div class="layui-col-md4">
  599. 负责人:<?php echo htmlentities($vo['review_head_name']); ?>
  600. </div>
  601. <div class="layui-col-md4">
  602. 工程类别:<?php echo htmlentities($vo['engineering_type']); ?>
  603. </div>
  604. <div class="layui-col-md8" style="padding-left: 0;">
  605. 送审金额:<?php if(!empty($vo['sent_review_amount'])): ?><?php echo htmlentities($vo['sent_review_amount']); ?>万<?php endif; ?>
  606. </div>
  607. <div class="layui-col-md4">
  608. <?php echo htmlentities(date("Y-m-d",!is_numeric($vo['create_time'])? strtotime($vo['create_time']) : $vo['create_time'])); ?> 创建
  609. </div>
  610. </div>
  611. </a>
  612. </div>
  613. </div>
  614. </div>
  615. </div>
  616. <?php endforeach; endif; else: echo "" ;endif; ?>
  617. </div>
  618. </div>
  619. <div class="layui-col-md8 video" id="projectkanban">
  620. </div>
  621. </div>
  622. </div>
  623. <!-- /主体 -->
  624. <!-- 底部 -->
  625. <div class="footer">
  626. 逸管工程项目管理系统 © www.yiguanfep.com
  627. <img src="/static/home/images/police.png" alt="" style="width:14.5px;height:16px;">
  628. <a href="https://beian.mps.gov.cn/#/query/websearch?code=45030202000160 " rel="\&quot;noreferrer'target=\”blank\&quot;" onclick="window.open(this.href); return false;">桂公网安备45030202000160号</a>
  629. <a href="https://beian.miit.gov.cn/#/Integrated/index" onclick="window.open(this.href); return false;">桂ICP备17000971号</a>
  630. </div>
  631. <!-- /底部 -->
  632. <!-- 脚本 -->
  633. <script>
  634. const moduleInit = ['tool'];
  635. function gouguInit() {
  636. var form = layui.form,
  637. tool = layui.tool,
  638. upload = layui.upload;
  639. var $ = layui.jquery,
  640. layer = layui.layer;
  641. $('.navleft').click((e) => {
  642. let projectId = $(e)[0].currentTarget.dataset.id;
  643. var cindex = layer.load(3, {
  644. shade: 0.1
  645. });
  646. $("#projectkanban").load("/admin/project/kan_c?id=" + projectId, '', function () {
  647. layer.close(cindex);
  648. })
  649. })
  650. $(".navleft")[0].click();
  651. var element = layui.element;
  652. element.on('tab(test-hash)', function (data) {
  653. let index = $(this).attr('data-id');
  654. console.log(index)
  655. if (index == 1) {
  656. comment()
  657. } else if (index == 2) {
  658. record(index);
  659. } else if (index == 3) {
  660. report(index);
  661. } else if (index == 4) {
  662. project_user()
  663. } else if (index == 5) {
  664. } else if (index == 6) {
  665. contact(index)
  666. } else if (index == 7) {
  667. }
  668. });
  669. form.on('submit(webform)', function (data) {
  670. console.log(data.field)
  671. let host=window.location.host
  672. window.location.href = 'https://'+host+'/admin/project/index_company?project_name=' + data.field['project_name'] + '&sent_review_unit_name=' + data.field['sent_review_unit_name'] + '&entrust_unit_name=' + data.field['entrust_unit_name']+ '&project_status=' + data.field['project_status'];
  673. // tool.post("/admin/project/index", data.field, callback);
  674. return false;
  675. });
  676. //看报告
  677. $('[lay-data="readreport"]').click(function () {
  678. var id = $(this).attr('data-id');
  679. parent.layui.tool.side('/admin/project.report/view/id/' + id); // 项目id
  680. })
  681. };
  682. </script>
  683. <!-- /脚本 -->
  684. <!-- <script src="/static/assets/layui/layui.js"></script> -->
  685. <script src="/static/assets/layui/layui.js"></script>
  686. <script src="/static/assets/third_party/echart/echarts.min.js"></script>
  687. <script src="/static/assets/gougu/gouguInit.js"></script>
  688. <script src="https://unpkg.com/pinyin-pro"></script>
  689. <script>
  690. var { pinyin } = pinyinPro;
  691. </script>
  692. <!-- 统计代码 -->
  693. <!-- /统计代码 -->
  694. </body>
  695. </html>