| | |
| | | <div style="width: 100%;height: 100%;"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12" style="padding-left: 20px;text-align: left;">报告编制</el-col> |
| | | <el-col :span="12" style="text-align: left;"> |
| | | <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-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="search" style="position: relative;"> |
| | | <div class="search" style="position: relative;" v-if="radio==0"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">报告编号:</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | |
| | | </el-upload> |
| | | </div> |
| | | </div> |
| | | <!-- <input id="input" type="file" accept=".doc,.docx"></input> --> |
| | | <div class="table"> |
| | | <div class="table" v-if="radio==0"> |
| | | <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="claimVisible" width="22cm" :modal-append-to-body="false" |
| | | :fullscreen="fullscreen"> |
| | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | import onlyoffice from '../tool/onlyoffice.vue' |
| | | import Order from '../do/b1-report-preparation/order.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable, |
| | | onlyoffice |
| | | onlyoffice, |
| | | Order |
| | | }, |
| | | data() { |
| | | return { |
| | | radio:0, |
| | | componentData: { |
| | | entity: { |
| | | entrustCode: null, |
| | |
| | | refresh() { |
| | | this.componentData.entity = this.HaveJson(this.entityCopy) |
| | | this.upIndex++ |
| | | this.$refs['ValueTable'].selectList(e) |
| | | }, |
| | | async handleWeave(row) { |
| | | let fileName = (row.urlS===null||row.urlS==='')?row.url:row.urlS |