diff --git a/src/views/main/DjyTenantConfig/addForm.vue b/src/views/main/DjyTenantConfig/addForm.vue index 95b7e4f..ab24886 100644 --- a/src/views/main/DjyTenantConfig/addForm.vue +++ b/src/views/main/DjyTenantConfig/addForm.vue @@ -78,7 +78,6 @@ export default { let FieldNameList = [] Object.keys(res.data).forEach(item => { - console.log() Object.keys(res.data[item]).forEach(item2 => { FieldNameList.push({ code: item2, @@ -124,7 +123,7 @@ export default { Changetype = true } }) - console.log(this.data) + if (Changetype) { configJson = [...this.data] } else { diff --git a/src/views/main/DjyTenantConfig/editForm.vue b/src/views/main/DjyTenantConfig/editForm.vue index e24578d..558ff91 100644 --- a/src/views/main/DjyTenantConfig/editForm.vue +++ b/src/views/main/DjyTenantConfig/editForm.vue @@ -73,13 +73,11 @@ export default { methods: { // 初始化方法 edit(record, loadData) { - console.log(record) this.data = loadData this.visible = true BookingOrderGetFieldName().then(res => { let FieldNameList = [] Object.keys(res.data).forEach(item => { - console.log() Object.keys(res.data[item]).forEach(item2 => { FieldNameList.push({ code: item2, @@ -89,7 +87,6 @@ export default { }) this.FieldNameList = FieldNameList this.FieldNameList2 = FieldNameList - console.log(this.FieldNameList) }) setTimeout(() => { this.form.setFieldsValue({ @@ -97,11 +94,9 @@ export default { code: record.code, remarks: record.remarks }) - console.log(this.form.getFieldsValue()) }, 100) }, handleSearch(value) { - console.log(value) let Rdata = [] if (value) { this.FieldNameList2.forEach(item => {