diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index 210318d..436a345 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -808,12 +808,10 @@ export default { this.listQuery.templateId = this.id this.form.templateId = this.id this.formLabelAlign.templateId = this.id - console.log(this.id, 6666) if (this.id) { this.loadFormData(this.index) this.getList() } else { - console.log(this.formTemplate, 5454242) this.$refs['formTemplate'].resetFields() this.clearForm() } @@ -1074,7 +1072,14 @@ export default { species: species } }).then((data) => { - this.nblbList = data + switch (type) { + case 'jylb': + this.jylbList = data + break + case 'nblb': + this.nblbList = data + break + } }) }, loadFormData(index) { @@ -1109,10 +1114,8 @@ export default { } else { methods = 'post' } - console.log(this.neibuleibie) this.formTemplate.neibuleibie = JSON.stringify(this.neibuleibie) this.formTemplate.shebeipinzhongdaima = JSON.stringify(this.shebeipinzhongdaima) - console.log(this.formTemplate) this.api({ url: '/template', method: methods,