zzw
2023-11-17 971b31b2b70b0d1f6de52b9a41c34c7d2e8ae3f1
web/src/views/modules/project/SoftwareTestOrder.vue
@@ -36,7 +36,7 @@
          <zt-table-column-dict prop="articleNature" width="120px" label="物品性质" dict="article_nature"/>
          <zt-table-column-handle :table="table" width="150px" edit-perm="project:update" delete-perm="project::delete">
            <template v-slot="{ row }">
              <zt-table-button size="small" type="primary"
              <zt-table-button size="small" v-show = "row.accessoryMap" type="primary"
                               @click="preview(row)">预览
              </zt-table-button>
            </template>
@@ -85,12 +85,7 @@
      this.$refs.addOrUpdate.$refs.dialog.init(null, {id: null, projectId: row.id})
    },
    preview(row){
      // let _this = this
      console.log(row,'preview(row)')
      console.log(this.$refs.ViewAccessory)
        this.$refs.view.setAccessory(row)
        this.$refs.view.openAccessoryFormatSingle(row)
    }
  }
}