diff --git a/src/views/components/category/SettingForm.vue b/src/views/components/category/SettingForm.vue index 117882c..ccc1c3c 100644 --- a/src/views/components/category/SettingForm.vue +++ b/src/views/components/category/SettingForm.vue @@ -64,7 +64,7 @@ 必填字段 - + 自动生成 @@ -96,6 +96,10 @@ export default { name: 'SettingForm', components: {}, props: { + isCategory: { + type: Boolean, + required: true + }, isDisabled: { type: Boolean, required: true @@ -229,7 +233,6 @@ export default { } }, created() { - console.log(this.form) }, mounted() { this.form = this.thisFields @@ -381,7 +384,6 @@ export default { this.form.isAutomatic = false this.$message.error('著录形式必须为文本框才可操作!') } else if (value) { - console.log(this.form) getNoFormatField({ categoryId: this.form.categoryId }).then((res) => { const repeatIndex = res.findIndex((item) => { return item.dictionaryId === this.form.id diff --git a/src/views/system/archivesCategory/baseInfo/index.vue b/src/views/system/archivesCategory/baseInfo/index.vue index 5446b6c..efd983a 100644 --- a/src/views/system/archivesCategory/baseInfo/index.vue +++ b/src/views/system/archivesCategory/baseInfo/index.vue @@ -67,13 +67,9 @@ export default { }, watch: { selectedCategory: function(newValue, oldValue) { - // if (newValue && newValue.id) { - // } } }, created() { - // if (this.selectedCategory && this.selectedCategory.id) { - // } }, methods: { } diff --git a/src/views/system/archivesCategory/descriptionPreview/index.vue b/src/views/system/archivesCategory/descriptionPreview/index.vue index b9bf314..01a41cb 100644 --- a/src/views/system/archivesCategory/descriptionPreview/index.vue +++ b/src/views/system/archivesCategory/descriptionPreview/index.vue @@ -28,7 +28,7 @@ 编辑 排序 - +
@@ -40,7 +40,7 @@
- + diff --git a/src/views/system/archivesCategory/fieldManage/module/form.vue b/src/views/system/archivesCategory/fieldManage/module/form.vue index 76f9ef6..5183a6a 100644 --- a/src/views/system/archivesCategory/fieldManage/module/form.vue +++ b/src/views/system/archivesCategory/fieldManage/module/form.vue @@ -1,7 +1,7 @@