Crunchy
2024-05-23 97f22c456a6860f58a9a709b2c193c40c4a9f8e4
2024-5-23 原始记录模板优化完成
已修改2个文件
8 ■■■■ 文件已修改
src/assets/api/controller.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b2-standard-template.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/api/controller.js
@@ -206,6 +206,7 @@
  upStandardTemplate: "/StandardTemplate/upStandardTemplate", //修改检验模板
  delStandardTemplate: "/StandardTemplate/delStandardTemplate", //删除检验模板
  getStandardTemplate: "/StandardTemplate/getStandardTemplate", //查询原始记录模板枚举
  getEditTemplatePreparation: "/StandardTemplate/getEditTemplatePreparation"
}
const insReport = {
src/components/view/b2-standard-template.vue
@@ -167,8 +167,11 @@
                this.addPower = add
            },
            templateWrite(row) {
                this.isShow = true
                this.row = row
                this.$axios.get(this.$api.StandardTemplate.getEditTemplatePreparation + '?id=' + row.id).then(res => {
                    this.row = row
                    this.row.thing = res.data
                    this.isShow = true
                })
            },
            closed() {
                this.loading = true