123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- {extend name="common/base"/}
- <!-- 主体 -->
- {block name="style"}
- <style>
- .footer{
- display: none;
- }
- .heading th {
- text-align: center;
- }
- .form td {
- text-align: center;
- }
- /* 日志 */
- .log_top {
- padding-left: 1vw;
- }
- .log_top span {
- margin: 0 0.5vw;
- }
- /* 1,1,1 */
- .log_commentary {
- color: rgb(0, 176, 80);
- }
- .log_company {
- color: rgb(255, 33, 0);
- }
- .log_content {
- margin: 0.3vw 1.5vw 1vw 1.5vw;
- padding: 0.5vw 0vw;
- text-indent: 2em;
- line-height: 2.1vh;
- background-color: rgb(255, 255, 255);
- /* background-color: aqua; */
- border-radius: 0.5vw;
- /* box-shadow:4px 4px 6px 2px rgba(0,0,0,0.3); */
- /* box-shadow: 0.17vw 0.17vw 0.4vw 0.03vw rgba(0, 0, 0, 0.1); */
- box-shadow: 0.19vw 0.16vw 0.4vw 0.03vw rgba(0, 0, 0, 0.1);
- }
- .log_content_color {
- /* background-color: rgb(250,250,250); */
- }
- .log_content_img img {
- height: 100%;
- width: 10%;
- border-radius: 0.5vw;
- margin: 0.3vw 0;
- }
- .log_item_top {
- height: 70%;
- overflow: scroll;
- }
- .log_item_top {
- height: 60vh;
- }
- .log_item_bottom {
- display: flex;
- /* height: 17vh; */
- /* border-top: 1px solid #eee; */
- margin: 0 1.5vw;
- /* background-color: rgb(250,250,250); */
- }
- .log_input input {
- width: 55vw;
- height: 10vh;
- border: #eee 1px solid;
- }
- .log_bottom_img {
- /* height: 5vh; */
- }
- .log_bottom_img img {
- height: 4vw;
- width: 6vw;
- border-radius: 0.5vw;
- margin: 0.5vw 0vw 0.5vw 0.3vw;
- }
- .log_bottom_left {
- width: 100%;
- margin-top: 1.5vh;
- }
- .log_bottom_right {
- width: 5%;
- }
- /* 上传图片 */
- .layui-upload-drag-self {
- background-color: #fbfdff;
- border: 1px dashed #c0ccda;
- border-radius: 6px;
- box-sizing: border-box;
- line-height: 4vw;
- vertical-align: top;
- display: inline-block;
- text-align: center;
- cursor: pointer;
- outline: 0;
- margin-right: 13px;
- float: left;
- }
- .layui-input-inlines-self {
- position: relative;
- margin-left: 90px;
- min-height: 36px;
- text-align: left;
- }
- .layui-upload-drag-self .layui-icon {
- font-size: 28px;
- color: #8c939d
- }
- .layui-upload-drag-self .img {
- position: relative;
- height: 148px;
- width: 148px;
- }
- .layui-upload-img {
- width: 148px;
- height: 148px;
- border-radius: 6px;
- margin-top: -3px;
- margin-left: -2px;
- }
- .handle {
- position: absolute;
- width: 148px;
- height: 100%;
- z-index: 100;
- border-radius: 6px;
- top: 0;
- background: rgba(59, 60, 61, 0.6);
- text-align: center;
- }
- .handle .icon-myself {
- z-index: 999;
- transition: all .3s;
- cursor: pointer;
- font-size: 25px;
- width: 25px;
- color: rgba(255, 255, 255, 0.91);
- margin: 0 4px;
- }
- .log_textarea {
- width: 89vw;
- height: 8vh;
- padding: 0.5vw;
- /* margin-right: 2vw; */
- margin: 1vw;
- }
- .log_button_img {
- width: 2vw;
- }
- .log_card {
- border: none !important;
- }
- /* 点击图片放大 */
- .content_img img {
- max-width: 100%;
- cursor: pointer;
- }
- .overlay {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.7);
- justify-content: center;
- z-index: 1;
- }
- .overlay img {
- margin-top: 4%;
- max-width: 90%;
- max-height: 90%;
- object-fit: contain;
- }
- .p-4 {
- background-color: rgb(255, 255, 255);
- }
- /*表格*/
- #tabniubi {
- width: 100%;
- margin: 10px 0;
- background-color: #fff;
- color: #5f5f5f;
- }
- #tabniubi th {
- padding: 9px 15px;
- min-height: 20px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- /* font-size: 14px; */
- border-width: 1px;
- border-style: solid;
- border-color: #e2e2e2;
- font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
- }
- #tabniubi tr:first-child {
- padding: 0;
- min-height: 0;
- line-height: 0;
- border-width: 0;
- border-style: none;
- border-color: #fff;
- font-size: 0;
- }
- #tabniubi tr:first-child th {
- padding: 0;
- min-height: 0;
- line-height: 0;
- border-width: 0;
- border-style: none;
- border-color: #fff;
- font-size: 0;
- }
- .form-title {
- background-color: rgb(241, 241, 241);
- color: rgb(95, 95, 95);
- border-color: rgb(241, 241, 241);
- font-weight: 600;
- }
- .fujianimg img {
- width: 5vw;
- height: 5vh;
- }
- .forleft {
- text-align: left !important;
- }
- /* .forright{
- text-align:right !important;
- } */
- .layui-form-select dl dd.layui-this {
- background-color: #f8f8f8;
- color: rgb(23, 145, 233);
- font-weight: 700;
- }
- .layui-input, .layui-textarea {
- /* padding-left: 3.75vw; */
- color: #5f5f5f;
- }
- .upimg {
- width: 250px;
- height: 250px;
- }
- .filelist{
- width: 100%;
- overflow: scroll;
- height: 8vw;
- justify-content:flex-start;
- align-content: space-between;
- /* flex-direction: column-reverse; */
- flex-wrap: wrap;
- display: flex;
- }
- .filelist li{
- padding: 0.5vw 0.7vw 0.5vw 0.7vw;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- display: inline-block;
- border-right: 1px solid #e2e2e2;
- }
- .filelist p{
- margin: 3px 0 5px 0;
- width: 5vw;
- text-align: center;
- }
- .filelist:hover li{
- /* display: initial; */
- }
- </style>
- {/block}
- {block name="body"}
- <div class="layui-form p-4">
- <div class="layui-row layui-col-space12">
- <div class="layui-col-md12">
- <h2>{$detail.project_name}</h2>
- </div>
- <div class="layui-col-md3">
- {$detail.project_num}
- </div>
- <div class="layui-col-md3">
- {if $detail.unit_type==0}
- {$detail.review_head_name}
- {elseif $detail.unit_type==2}
- {$detail.entrust_unit_name}
- {/if}
- </div>
- <div class="layui-col-md3">
- 接收时间于:{if $detail.project_receive_time==0}未接收{else}{$detail.project_receive_time|date="Y-m-d"}{/if}
- </div>
- </div>
- </div>
- <div class="layui-tab layui-tab-card" lay-filter="test-hash" style="margin: 0;">
- <ul class="layui-tab-title">
- <li class="layui-this" lay-id="11">项目概览</li>
- {if $project_five.project_comments == 1}
- <li lay-id="22">作业日志</li>
- {/if}
- {if $project_five.project_record == 1}
- <li data-load="">工作记录</li>
- {/if}
- {if $project_five.project_report == 1}
- <li data-load="">项目报告</li>
- {/if}
- {if $project_five.project_user == 1}
- <li data-load="">项目人员</li>
- {/if}
- {if $project_five.project_log == 1}
- <li data-load="">项目动态</li>
- {/if}
- </ul>
- <div class="layui-tab-content" style="padding: 16px;">
- <div class="layui-tab-item layui-show">
- {include file="/project/cost_company/project_overview"/}
- </div>
- {if $project_five.project_comments == 1}
- <div class="layui-tab-item" >
- {include file="/project/cost_company/project_log"/}
- </div>
- {/if}
- {if $project_five.project_record == 1}
- <div class="layui-tab-item">
- {include file="/project/cost_company/project_record" /}
- </div>
- {/if}
- {if $project_five.project_report == 1}
- <div class="layui-tab-item">
- {include file="/project/cost_company/project_report" /}
- </div>
- {/if}
- {if $project_five.project_user == 1}
- <div class="layui-tab-item">
- {include file="/project/cost_company/project_user" /}
- </div>
- {/if}
- {if $project_five.project_log == 1}
- <div class="layui-tab-item">
- {include file="/project/projectlog/index" /}
- </div>
- {/if}
- </div>
-
- </div>
- <!--zjl,懂的都懂-->
- <script>
- var project_id = '{$project_id}'
- const moduleInit = ['tool','employeepicker'];
- function gouguInit() {
- var innow = false;
- var form = layui.form,tool=layui.tool,upload = layui.upload;
- var element = layui.element;
- first()
- element.on('tab(test-hash)', function (data) {
- let index = data.index;
- if (index == 1) {
- comment()
- } else if (index == 2) {
- record(index);
- } else if (index == 3) {
- report(index);
- } else if (index == 4) {
- project_user(index)
- } else if (index == 5) {
- } else if (index == 6) {
- }
- });
- //看报告
- $('[lay-data="readreport"]').click(function (){
- var id = $(this).attr('data-id');
- parent.layui.tool.side('/admin/project.report/view/id/' + id); // 项目id
- })
- }
- </script>
- {/block}
|