峰峰执法平台简易案件程序板块 pad端
zhangxiaoxu123
2022-10-26 2a158bb96daa1254a0b3d0de1961afbda59f8308
src/views/padSunmaryProcedure/padWord.vue
@@ -2,7 +2,7 @@
  <div style="width: 100%;height: 100%;overflow: auto;">
    <div id="navs">
      <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button>
<!--      <div>{{ name1 }}</div>-->
      <div>{{ name1 }}</div>
      <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"
@@ -35,14 +35,16 @@
  },
  data() {
    return {
        id:'',
      form:{
        id:this.id,
        id:''
      },
      name1: "",
      activeName: 'first'
    }
  },
  created() {
      this.id = this.$store.state.user.id
    if (this.$route.query) {
      this.$nextTick(() => {
        this.name1 = this.$route.query.name
@@ -56,7 +58,7 @@
      })
    },
    submit() {
      submitcase(this.form).then(res => {
      submitcase({id:this.id}).then(res => {
        this.goHome()
      })
    },