峰峰执法平台简易案件程序板块 pad端
zhangxiaoxu123
2022-10-26 ce3c9d345a27d3a86e6c096d927f3ee619b6e68f
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>
@@ -141,10 +141,9 @@
export default {
  name: "mangeBL",
  props: ['id'],
  data() {
    return {
      props: ['id'],
        id:'',
      value1: [],
      form: {
        causePoint: "",
@@ -174,19 +173,24 @@
      },
    }
  },
  created() {
  mounted() {
    this.id = this.$store.state.user.id
    this.getDataList()
    window.getSignUrl =this.getSignUrl;
    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)
      })
        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 +230,8 @@
        path: '/WordYulan',
        query: {
          wordData: data,
          src:'/wordes/inquiryCause.docx'
          src:'/wordes/inquiryCause.docx',
          name:'调查询问笔录',
        }
      })
    },
@@ -236,7 +241,8 @@
        path: '/WordYulan',
        query: {
          downWordData: data,
          src:'/wordes/inquiryCause.docx'
          src:'/wordes/inquiryCause.docx',
          name:'调查询问笔录',
        }
      })
      // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx")