BUG 25348
This commit is contained in:
		@@ -65,7 +65,7 @@
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
import {mapState} from "vuex";
 | 
			
		||||
import {mapMutations, mapState} from "vuex";
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: "formDetail",
 | 
			
		||||
@@ -110,9 +110,7 @@ export default {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    emitShow() {
 | 
			
		||||
      document.title = this.form.title || "调查问卷"
 | 
			
		||||
    },
 | 
			
		||||
    ...mapMutations(['logout']),
 | 
			
		||||
    getForm() {
 | 
			
		||||
      let {id} = this.$route.query
 | 
			
		||||
      this.$http.post("/app/appquestionnairetemplate/queryDetailById", null, {
 | 
			
		||||
@@ -160,6 +158,7 @@ export default {
 | 
			
		||||
            this.result = {
 | 
			
		||||
              tips: "提交成功!感谢参与",
 | 
			
		||||
            }
 | 
			
		||||
            this.logout()
 | 
			
		||||
          }
 | 
			
		||||
        }).catch(err => {
 | 
			
		||||
          this.$u.toast(err || "提交失败")
 | 
			
		||||
 
 | 
			
		||||
@@ -65,7 +65,7 @@
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
 | 
			
		||||
import {mapState} from "vuex";
 | 
			
		||||
import {mapMutations, mapState} from "vuex";
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: "formDetail",
 | 
			
		||||
@@ -110,9 +110,7 @@ export default {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    emitShow() {
 | 
			
		||||
      document.title = this.form.title || "调查问卷"
 | 
			
		||||
    },
 | 
			
		||||
    ...mapMutations(['logout']),
 | 
			
		||||
    getForm() {
 | 
			
		||||
      let {id} = this.$route.query
 | 
			
		||||
      this.$http.post("/app/appquestionnairetemplate/queryDetailById", null, {
 | 
			
		||||
@@ -160,6 +158,7 @@ export default {
 | 
			
		||||
            this.result = {
 | 
			
		||||
              tips: "提交成功!感谢参与",
 | 
			
		||||
            }
 | 
			
		||||
            this.logout()
 | 
			
		||||
          }
 | 
			
		||||
        }).catch(err => {
 | 
			
		||||
          this.$u.toast(err || "提交失败")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user