licp
2024-03-19 3ef19c59f59bb1b5a43434b8d14ec12e06d505b0
src/components/view/b1-report-preparation.vue
@@ -77,14 +77,23 @@
               :key="upIndex" @handleWeave="handleWeave"/>
         </div>
      </div>
    <el-dialog title="在线编制" :visible.sync="claimVisible" width="70%" :modal-append-to-body="false">
      <Word style="height:70vh" v-if="claimVisible" ref="Word"/>
         <span slot="footer" class="dialog-footer">
            <el-button @click="claimVisible = false">取 消</el-button>
            <el-button type="primary" @click="confirmClaim">确 定</el-button>
         </span>
      </el-dialog>
   </div>
</template>
<script>
   import ValueTable from '../tool/value-table.vue'
  import Word from '../tool/word.vue'
   export default {
      components: {
         ValueTable
         ValueTable,
      Word,
      },
      data() {
         return {
@@ -178,7 +187,8 @@
            },
            entityCopy: {},
            upIndex: 0,
        statusList:[]
        statusList:[],
        claimVisible:true
         }
      },
      mounted() {
@@ -193,7 +203,9 @@
            this.componentData.entity = this.HaveJson(this.entityCopy)
            this.upIndex++
         },
      handleWeave(){},
      handleWeave(){
        this.claimVisible = true;
      },
         // 权限分配
         getPower(radio) {
            let power = JSON.parse(sessionStorage.getItem('power'))
@@ -213,9 +225,11 @@
            }
         },
         handleClose() {
            this.upLoad = false;
         },
      confirmClaim(){
        console.log(11111111111,this.$refs.Word.getValue())
      }
      }
   }
</script>