峰峰执法平台简易案件程序板块 pad端
yang
2022-10-26 d8896d6d303d466e613aee1c53d9603edacf0aeb
src/views/padSunmaryProcedure/word_mange/mangeBL.vue
@@ -1,7 +1,6 @@
<template>
  <el-main style="width: 100%;font-size: 18px;">
    <el-form ref="form" :model="form" label-width="85px" size="24">
     <h1>{{id}}</h1>
      <el-form-item label="案由">
        <el-input v-model="form.causePoint" placeholder="请填写案由"></el-input>
      </el-form-item>
@@ -10,7 +9,7 @@
          style="width: 100%"
          v-model="value1"
          type="datetimerange"
          value-format="`yyyy-MM-dd HH:mm:ss`"
          :value-format="`yyyy-MM-dd HH:mm:ss`"
          range-separator="至"
          start-placeholder="开始日期"
          end-placeholder="结束日期">
@@ -132,7 +131,7 @@
    <div style="text-align: center">
      <el-button v-if="form.registerState=='0'||form.registerState==null" @click="dataFormSubmit('0')">保存</el-button>
      <el-button type="primary" @click="viewVord(form)">预览</el-button>
      <el-button v-if="form.registerState=='1'" type="success" @click="downloadWord(form)">下载</el-button>
      <el-button type="success" @click="downloadWord(form)">下载</el-button>
    </div>
  </el-main>
</template>
@@ -180,18 +179,17 @@
    window.getFingerUrl =this.getFingerUrl;
// this.getSignUrl();
  },
    mounted() {
    /*mounted() {
        console.log(this.id,'id=================')
    },
    },*/
  methods: {
    getDataList() {
      this.$nextTick(()=>{
        console.log(this.id,'this.id')
        // console.log(this.id,'this.id')
        inquiryquestion(this.id).then(res => {
          this.form = res.data.data
          /*this.value1.push(res.data.data.startTime)
          this.value1.push(res.data.data.endTime)*/
          this.value1.push(res.data.data.startTime)
          this.value1.push(res.data.data.endTime)
        })
      })
@@ -234,7 +232,8 @@
        path: '/WordYulan',
        query: {
          wordData: data,
          src:'/wordes/inquiryCause.docx'
          src:'/wordes/inquiryCause.docx',
          name:'调查询问笔录',
        }
      })
    },
@@ -244,7 +243,8 @@
        path: '/WordYulan',
        query: {
          downWordData: data,
          src:'/wordes/inquiryCause.docx'
          src:'/wordes/inquiryCause.docx',
          name:'调查询问笔录',
        }
      })
      // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx")