| | |
| | | .fullscreen { |
| | | height: 82vh |
| | | } |
| | | |
| | | .img-list{ |
| | | width: 100%; |
| | | display: flex; |
| | | } |
| | | |
| | | .list{ |
| | | display: flex; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | } |
| | | |
| | | .list-item{ |
| | | width: 120px; |
| | | height: 120px; |
| | |
| | | box-sizing: border-box; |
| | | border: 1px solid #fff; |
| | | } |
| | | |
| | | .list-item:hover{ |
| | | border: 1px solid #3A7BFA; |
| | | } |
| | | |
| | | .list-item.active{ |
| | | border: 1px solid #3A7BFA; |
| | | } |
| | |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12" style="text-align: left;"> |
| | | <el-radio-group v-model="radio"size="medium" fill="#3A7BFA"> |
| | | <span>报告编制</span> |
| | | <!-- <el-radio-group v-model="radio"size="medium" fill="#3A7BFA"> |
| | | <el-radio-button label="0">报告编制</el-radio-button> |
| | | <el-radio-button label="1">订单</el-radio-button> |
| | | </el-radio-group> |
| | | </el-radio-group> --> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | |
| | | <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> |
| | | </div> |
| | | <div class="btns"> |
| | | <el-button size="small" type="primary" @click="handleDowns" :loading="outLoading" style="margin-right: 16px;">批量下载</el-button> |
| | | <el-upload |
| | | class="upload-demo" |
| | | :action="action" |
| | | :headers="headers" |
| | | :show-file-list="false" |
| | | accept=".zip" |
| | | :limit="1" |
| | | :before-upload="beforeUpload" |
| | | :on-success="handleSuccess" |
| | | ref="upload" |
| | | :on-error="onError"> |
| | | <el-button size="small" type="primary" @click="handleDowns" :loading="outLoading" |
| | | style="margin-right: 16px;">批量下载</el-button> |
| | | <el-upload class="upload-demo" :action="action" :headers="headers" :show-file-list="false" accept=".zip" |
| | | :limit="1" :before-upload="beforeUpload" :on-success="handleSuccess" ref="upload" :on-error="onError"> |
| | | <el-button size="small" type="primary" :loading="inLoading">批量上传</el-button> |
| | | </el-upload> |
| | | </div> |
| | | </div> |
| | | <div class="table" v-if="radio==0"> |
| | | <ValueTable ref="ValueTable" :url="$api.insReport.pageInsReport" |
| | | :isColumnWidth="true" |
| | | :componentData="componentData" |
| | | :key="upIndex" /> |
| | | <ValueTable ref="ValueTable" :url="$api.insReport.pageInsReport" :isColumnWidth="true" |
| | | :componentData="componentData" :key="upIndex" /> |
| | | </div> |
| | | <Order v-if="radio==1"/> |
| | | </div> |
| | |
| | | <el-dialog title="报告审核" :visible.sync="issuedVisible" width="80vw" :modal-append-to-body="false" |
| | | :fullscreen="fullscreen"> |
| | | <div class="full-screen"> |
| | | <i class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;" v-if="!fullscreen"></i> |
| | | <i class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen = true;" |
| | | v-if="!fullscreen"></i> |
| | | <img src="../../../static/img/no-full.svg" alt="" v-else style="cursor: pointer;" @click="fullscreen=false;" > |
| | | </div> |
| | | <div style="height: 78vh;" v-if="issuedVisible"> |
| | |
| | | <el-button type="primary" @click="handleIssuedReason" :loading="loadingIssuedReason">确定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="报告批准" :visible.sync="approveVisible" width="80vw" :modal-append-to-body="false" :fullscreen="fullscreen"> |
| | | <el-dialog title="报告批准" :visible.sync="approveVisible" width="80vw" :modal-append-to-body="false" |
| | | :fullscreen="fullscreen"> |
| | | <div class="full-screen"> |
| | | <i class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;" v-if="!fullscreen"></i> |
| | | <i class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen = true;" |
| | | v-if="!fullscreen"></i> |
| | | <img src="../../../static/img/no-full.svg" alt="" v-else style="cursor: pointer;" @click="fullscreen=false;" > |
| | | </div> |
| | | <div style="height: 78vh;" v-if="approveVisible"> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="印章选择" :visible.sync="imgVisible" width="50vw" :modal-append-to-body="false" |
| | | :close-on-click-modal="false" |
| | | :close-on-press-escape="false"> |
| | | :close-on-click-modal="false" :close-on-press-escape="false"> |
| | | <div class="img-list"> |
| | | <label style="width: 120px;">印章选择:</label> |
| | | <div class="list" style="flex: 1;"> |
| | | <div class="list-item" :class="{active:currentImg==m.id}" v-for="m in imgList" @click="currentImg = m.id"> |
| | | <div class="list-item" :class="{ active: currentImg == m.id }" v-for="m in imgList" |
| | | @click="currentImg = m.id"> |
| | | <img :src="javaApi+'/img/'+m.address" alt="" style="width: 118px;height: 118px;"> |
| | | </div> |
| | | </div> |
| | |
| | | <el-button type="primary" @click="handleApproveReason" :loading="loadingApproveReason">确定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog |
| | | title="文件预览" |
| | | :visible.sync="lookFileVisible" |
| | | fullscreen :modal="false"> |
| | | <filePreview v-if="lookFileVisible" :fileUrl="currentFile.url" |
| | | :currentFile="currentFile" style="max-height: 87vh;overflow-y: auto;"/> |
| | | <el-dialog title="文件预览" :visible.sync="lookFileVisible" fullscreen :modal="false"> |
| | | <filePreview v-if="lookFileVisible" :fileUrl="currentFile.url" :currentFile="currentFile" |
| | | style="max-height: 87vh;overflow-y: auto;" /> |
| | | </el-dialog> |
| | | <!--报告查看--> |
| | | <el-dialog :fullscreen="fullscreen" top="5vh" :modal-append-to-body="false" :visible.sync="viewIssuedVisible" title="报告查看" |
| | | width="80vw"> |
| | | <el-dialog :fullscreen="fullscreen" top="5vh" :modal-append-to-body="false" :visible.sync="viewIssuedVisible" |
| | | title="报告查看" width="80vw"> |
| | | <div class="full-screen"> |
| | | <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" @click="fullscreen=true;"></i> |
| | | <i v-if="!fullscreen" class="el-icon-full-screen" style="cursor: pointer;font-size: 18px" |
| | | @click="fullscreen = true;"></i> |
| | | <img v-else alt="" src="../../../static/img/no-full.svg" style="cursor: pointer;" @click="fullscreen=false;" > |
| | | </div> |
| | | <div v-if="viewIssuedVisible" style="height: 80vh;"> |