diff --git a/packages/3.0.0/AppVillageAlbum/components/Add.vue b/packages/3.0.0/AppVillageAlbum/components/Add.vue index 772b7679..46bb289e 100644 --- a/packages/3.0.0/AppVillageAlbum/components/Add.vue +++ b/packages/3.0.0/AppVillageAlbum/components/Add.vue @@ -8,22 +8,21 @@ -
@@ -101,7 +92,8 @@ current: 1, areaId: '', size: 1000000, - title: '' + title: '', + timeTag: '' }, isShowAdd: false, form: { @@ -120,7 +112,7 @@ created () { this.loading = true this.search.areaId = this.user.info.areaId - this.dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => { + this.dict.load(['villagePictureAlbumType']).then(() => { this.getList() }) }, diff --git a/packages/3.0.0/AppVillageAlbum/components/config.js b/packages/3.0.0/AppVillageAlbum/components/config.js deleted file mode 100644 index 9df7bb3b..00000000 --- a/packages/3.0.0/AppVillageAlbum/components/config.js +++ /dev/null @@ -1,181 +0,0 @@ -export const components = [ - { - type: 'options', - tips: '(可重复添加)', - label: '选项', - children: [ - { - type: 'radio', - label: '单选', - fixedLabel: '单选', - value: '', - points: '', - icon: 'iconradio', - isShowPoints: false, - required: true, - hasAnswer: false, - answer: '', - pointType: '0', - pointDict: [ - { - dictName: '此题有唯一答案和分值', - dictValue: '0' - }, - { - dictName: '每个选项都有对应分值', - dictValue: '1' - } - ], - options: [ - { - label: '选项1', - value: '', - point: '', - img: [] - }, - { - label: '选项2', - value: '', - point: '', - img: [] - } - ], - title: '' - }, - { - type: 'checkbox', - label: '多选', - fixedLabel: '多选', - points: '', - icon: 'iconcheck_box', - isShowPoints: false, - required: true, - hasAnswer: false, - answer: [], - value: [], - pointType: '0', - pointDict: [ - { - dictName: '此题有唯一答案和分值', - dictValue: '0' - }, - { - dictName: '每个选项都有对应分值', - dictValue: '1' - }, - { - dictName: '答对几项得几分,答错不得分', - dictValue: '2' - } - ], - options: [ - { - label: '选项1', - value: '', - point: '', - img: [] - }, - { - label: '选项2', - point: '', - value: '', - img: [] - } - ], - title: '' - }, - { - type: 'select', - label: '单下拉框', - fixedLabel: '单下拉框', - value: '', - points: '', - icon: 'iconSelect', - isShowPoints: false, - required: true, - hasAnswer: false, - answer: '', - pointType: '0', - pointDict: [ - { - dictName: '此题有唯一答案和分值', - dictValue: '0' - }, - { - dictName: '每个选项都有对应分值', - dictValue: '1' - } - ], - options: [ - { - label: '选项1', - value: '', - point: '', - img: [] - }, - { - label: '选项2', - value: '', - point: '', - img: [] - } - ], - title: '' - } - ] - }, - { - type: 'input', - tips: '(可重复添加)', - label: '填空', - children: [ - { - type: 'input', - label: '单行填空', - fixedLabel: '单行填空', - value: '', - pointType: '0', - icon: 'icontext_box', - isShowPoints: false, - points: '', - required: true, - hasAnswer: false, - placeholder: '请输入...', - answer: '' - }, - { - type: 'textarea', - label: '多行填空', - fixedLabel: '多行填空', - pointType: '0', - icon: 'icontext_area', - points: '', - isShowPoints: false, - required: true, - hasAnswer: false, - answer: '', - placeholder: '请输入...', - value: '' - } - ] - }, - { - type: 'annex', - tips: '(可重复添加)', - label: '附件', - children: [ - { - type: 'upload', - label: '上传图片', - fixedLabel: '上传图片', - value: '', - icon: 'iconpic', - isShowPoints: false, - points: '', - required: true, - hasAnswer: false, - answer: '' - } - ] - } -];