峰峰执法平台简易案件程序板块 pad端
yang
2022-10-27 49c31a3feb1e2d3174016f5a12c13cf500460ca3
src/views/padSunmaryProcedure/word_mange/mangeJD.vue
@@ -124,9 +124,9 @@
export default {
  name: "mangeJD",
  props: ['id'],
  data() {
    return {
        id:'',
      form: {
        unitName: "",
        litigant: "",
@@ -138,20 +138,23 @@
      }
    }
  },
  created() {
  mounted() {
    this.id = this.$store.state.user.id
    this.init();
  },
  methods: {
    init() {
      nowpenaltydecision(this.id).then(res => {
        this.form = res.data.data
      this.$nextTick(() => {
        nowpenaltydecision(this.id).then(res => {
          this.form = res.data.data
        })
      })
    },
    //点击保存数据
    dataFormSubmit() {
      this.form.startTime = this.value1[0]
      this.form.endTime = this.value1[1]
      this.form.registerId = this.id
      /*this.form.startTime = this.value1[0]
      this.form.endTime = this.value1[1]*/
      //this.form.registerId = this.id
      inquiry(this.form).then(res => {
        if (res.data.code == 0) {
          this.$message.success("保存成功");
@@ -175,7 +178,7 @@
      this.$router.push({
        path: '/WordYulan',
        query: {
          id:this.id,
          id: this.id,
          downWordData: data,
          src: '/wordes/penaltyDecision.docx',
          name: '处罚决定书',