Преглед изворни кода

查体模板维护修改和详情页修改

zhangxc пре 6 година
родитељ
комит
0f168172ee
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/components/icss/AddPhysicalExamTemp.vue

+ 3 - 3
src/components/icss/AddPhysicalExamTemp.vue

@@ -112,12 +112,12 @@
             } else {
                 this.titleText = '模板详情'
             }
-            const { id, name } = data
+            const { deptId, name } = data
             this.isEdit = isEdit
             this.isDetail = isDetail
             this.rightTagsList = data.vitals
-            this.departList.push({ deptId, name, val:deptId })
-            this.form.department = id
+            this.departList.push({ id:deptId, name, val:deptId })
+            this.form.department = deptId
             
         } else {
             this.getDepartmentList()