峰峰执法平台简易案件程序板块 pad端
yang
2022-10-26 d8896d6d303d466e613aee1c53d9603edacf0aeb
解决
6个文件已修改
59 ■■■■■ 已修改文件
src/views/padSunmaryProcedure/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/padWord.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word-view.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeBL.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeGZ.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/word_mange/mangeJD.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/padSunmaryProcedure/index.vue
@@ -109,8 +109,8 @@
    },
    //点击点跳转查看
    rowget(row,column) {
      console.log(row,'row===')
      console.log(column,'column===')
      /*console.log(row,'row===')
      console.log(column,'column===')*/
      // this.$router.push({name: 'process_manage', params: {name: id}})
      this.$router.push({
        path: '/padWord',
src/views/padSunmaryProcedure/padWord.vue
@@ -3,19 +3,18 @@
    <div id="navs">
      <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button>
      <div>{{ name1 }}</div>
      <p>{{id}}</p>
      <el-button icon="el-icon-upload el-icon--right" @click="submit">提交</el-button>
    </div>
    <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick"
             :stretch="true">
      <el-tab-pane label="调查询问笔录" name="first">
        <BiLu v-if="activeName == 'first'" :id="id"></BiLu>
        <BiLu v-if="id" :id="id"></BiLu>
      </el-tab-pane>
      <el-tab-pane label="责令限期改正通知书" name="second">
        <GaiZheng v-if="activeName == 'second'" :id="id"></GaiZheng>
        <GaiZheng v-if="id" :id="id"></GaiZheng>
      </el-tab-pane>
      <el-tab-pane label="处罚决定书" name="third">
        <JueDingShu v-if="activeName == 'third'" :id="id"></JueDingShu>
        <JueDingShu v-if="id" :id="id"></JueDingShu>
      </el-tab-pane>
    </el-tabs>
  </div>
@@ -41,7 +40,7 @@
        id:''
      },
      name1: "",
      activeName: 'second'
      activeName: 'first'
    }
  },
  created() {
@@ -60,9 +59,9 @@
      })
    },
    submit() {
      /*submitcase(this.id).then(res => {
      submitcase(this.id).then(res => {
        this.goHome()
      })*/
      })
    },
    /*goToBL() {
      this.$router.push({
src/views/padSunmaryProcedure/word-view.vue
@@ -17,7 +17,7 @@
    };
  },
  created() {
    console.log(this.$route,'this.$route======')
    console.log(this.$route.query,'this.$route======')
    if (this.$route.query) {
      if(this.$route.query.wordData){
        // this.dataForm = this.$route.query.wordData
@@ -27,7 +27,10 @@
      }else {
        // this.dataForm = this.$route.query.dawordData
        this.$nextTick(() => {
          exportDoc(this.$route.query.wordData, this.$route.query.src,this.$refs.word)
          exportDoc(this.$route.query.wordData, this.$route.query.src,this.$route.query.name);
          this.$router.push({
            path: '/pad',
          })
        })
      }
    }
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")
src/views/padSunmaryProcedure/word_mange/mangeGZ.vue
@@ -162,7 +162,8 @@
        path: '/WordYulan',
        query: {
          wordData: data,
          src:'/wordes/correctionNotice.docx'
          src:'/wordes/correctionNotice.docx',
          name:'责令限期改正通知书',
        }
      })
    },
@@ -172,7 +173,8 @@
        path: '/WordYulan',
        query: {
          downWordData: data,
          src:'/wordes/correctionNotice.docx'
          src:'/wordes/correctionNotice.docx',
          name:'责令限期改正通知书',
        }
      })
      // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx")
src/views/padSunmaryProcedure/word_mange/mangeJD.vue
@@ -165,7 +165,8 @@
        path: '/WordYulan',
        query: {
          wordData: data,
          src:'/wordes/penaltyDecision.docx'
          src: '/wordes/penaltyDecision.docx',
          name: '处罚决定书',
        }
      })
    },
@@ -174,8 +175,10 @@
      this.$router.push({
        path: '/WordYulan',
        query: {
          id:this.id,
          downWordData: data,
          src:'/wordes/penaltyDecision.docx'
          src: '/wordes/penaltyDecision.docx',
          name: '处罚决定书',
        }
      })
      // WordView.methods.exportDoc(wordData, "/wordes/inquiryCause.docx", "调查询问笔录.docx")