yangfeng
2023-10-26 37ef6a58ba3c85a6eccd703799fedda1f87e2601
概述新建刷新问题修复
1个文件已修改
13 ■■■■■ 已修改文件
src/views/overview/OverviewListView.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/OverviewListView.vue
@@ -40,7 +40,7 @@
      v-if="editConfig.visible"
      :work-type="workType"
      :edit-common-config="editConfig"
      :add-name="this.$route.params.name"
      :add-name="addName"
      :display-edit="displayEdit"
    />
  </div>
@@ -78,7 +78,8 @@
      params: {},
      displayEdit: false,
      formLabel: "",
      toLabel: ""
      toLabel: "",
      addName: ""
    }
  },
  created() {
@@ -259,14 +260,16 @@
      console.log(row)
      this.editConfig.visible = true
      this.editConfig.title = val
      this.editConfig.operationTypeId = this.$route.params.id
      this.editConfig.operationTypeId = this.params.id
      this.editConfig.infomation = { ...row }
    },
    // 新建
    addBtnClick() {
      this.editConfig.title = "新建"
      this.editConfig.operationTypeId = this.$route.params.id
      this.editConfig.code=this.$route.params.code
      this.addName = this.params.name
      console.log(this.params, "ss刷新")
      this.editConfig.operationTypeId = this.params.id
      this.editConfig.code = this.params.code
      this.editConfig.infomation = {}
      this.editConfig.visible = true
    },