|
@@ -123,6 +123,8 @@ export default {
|
|
|
this.getAllTypes();
|
|
|
const {isCopy, isEdit, data } = this.$route.params
|
|
|
if(isEdit || isCopy) {
|
|
|
+ this.form.hospital = ''+data.hospitalId
|
|
|
+ this.form.moduleName = ''+data.modeId
|
|
|
if(isEdit){
|
|
|
this.isEdit = isEdit;
|
|
|
this.id = data.id
|
|
@@ -140,10 +142,9 @@ export default {
|
|
|
this.form.moduleType=""
|
|
|
this.form.example=""
|
|
|
}
|
|
|
- this.form.hospital = ''+data.hospitalId
|
|
|
- this.form.moduleName = ''+data.modeId
|
|
|
-
|
|
|
|
|
|
+
|
|
|
+ console.log( ' this.form',this.form)
|
|
|
const moduleDetail = data.moduleDetail
|
|
|
const keysList = Object.keys(moduleDetail)
|
|
|
for(let i = 0; i < keysList.length; i++){
|