峰峰执法平台简易案件程序板块 pad端
yang
2022-10-26 d8896d6d303d466e613aee1c53d9603edacf0aeb
src/views/padSunmaryProcedure/word_mange/mangeBL.vue
@@ -9,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="结束日期">
@@ -131,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>
@@ -144,7 +144,6 @@
  props: ['id'],
  data() {
    return {
      props: ['id'],
      value1: [],
      form: {
        causePoint: "",
@@ -180,13 +179,20 @@
    window.getFingerUrl =this.getFingerUrl;
// this.getSignUrl();
  },
    /*mounted() {
        console.log(this.id,'id=================')
    },*/
  methods: {
    getDataList() {
      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.$nextTick(()=>{
        // 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)
        })
      })
    },
    // 点击添加
    addEle() {
@@ -226,7 +232,8 @@
        path: '/WordYulan',
        query: {
          wordData: data,
          src:'/wordes/inquiryCause.docx'
          src:'/wordes/inquiryCause.docx',
          name:'调查询问笔录',
        }
      })
    },
@@ -236,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")