| | |
| | | .el-form-item { |
| | | margin-bottom: 16px; |
| | | } |
| | | |
| | | .full-screen{ |
| | | position: absolute; |
| | | right: 52px; |
| | | top: 22px; |
| | | } |
| | | </style> |
| | | |
| | | <template> |
| | |
| | | :key="upIndex" @handleWeave="handleWeave"/> |
| | | </div> |
| | | </div> |
| | | <el-dialog title="在线编制" :visible.sync="claimVisible" width="80%" :modal-append-to-body="false"> |
| | | <Word style="height:70vh" v-if="claimVisible" ref="Word"/> |
| | | <el-dialog title="在线编制" :visible.sync="claimVisible" width="25cm" :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> |
| | | <img src="../../../static/img/no-full.svg" alt="" v-else style="cursor: pointer;" @click="fullscreen=false;" > |
| | | </div> |
| | | <Word :style="fullscreen?'height:83vh':'height:70vh'" v-if="claimVisible" ref="Word" :value="value"/> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="claimVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="confirmClaim">确 定</el-button> |
| | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | import Word from '../tool/word.vue' |
| | | // import convertFileToHtml from '../../util/file'; |
| | | export default { |
| | | components: { |
| | | ValueTable, |
| | |
| | | entityCopy: {}, |
| | | upIndex: 0, |
| | | statusList:[], |
| | | claimVisible:false |
| | | claimVisible:false, |
| | | fullscreen:false, |
| | | value:'' |
| | | } |
| | | }, |
| | | watch:{ |
| | | claimVisible(val){ |
| | | this.fullscreen = false; |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity) |
| | | this.getPower() |
| | | }, |
| | | methods: { |
| | | // ...convertFileToHtml(), |
| | | refreshTable() { |
| | | this.$refs['ValueTable'].selectList() |
| | | }, |