|
@ -65,8 +65,8 @@
|
|
<a-select-option
|
|
<a-select-option
|
|
v-for="(item,index) in classifyList"
|
|
v-for="(item,index) in classifyList"
|
|
:key="index"
|
|
:key="index"
|
|
:value="item.articleContentClassify"
|
|
|
|
>{{ item.articleContentClassify }}</a-select-option>
|
|
|
|
|
|
:value="item.systemDictClassify"
|
|
|
|
>{{ item.systemDictClassify }}</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
<a-form-item label="子分类" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
<a-form-item label="子分类" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
@ -78,8 +78,8 @@
|
|
<a-select-option
|
|
<a-select-option
|
|
v-for="(item,index) in subclassifyList"
|
|
v-for="(item,index) in subclassifyList"
|
|
:key="index"
|
|
:key="index"
|
|
:value="item.articleContentSubclassify"
|
|
|
|
>{{ item.articleContentSubclassify }}</a-select-option>
|
|
|
|
|
|
:value="item.systemDictSubclassify"
|
|
|
|
>{{ item.systemDictSubclassify }}</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
<a-form-item
|
|
<a-form-item
|
|
@ -189,12 +189,17 @@ export default {
|
|
this.visible = true
|
|
this.visible = true
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.form.resetFields()
|
|
this.form.resetFields()
|
|
|
|
this.articleContentType = record.articleContentType
|
|
|
|
this.articleContentClassify = record.articleContentClassify
|
|
|
|
this.articleContentSubclassify = record.articleContentSubclassify
|
|
this.form.setFieldsValue(record)
|
|
this.form.setFieldsValue(record)
|
|
this.form.setFieldsValue({ 'id': record.articleContentId })
|
|
this.form.setFieldsValue({ 'id': record.articleContentId })
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.abstractInput()
|
|
this.abstractInput()
|
|
this.$refs.upLoadRef.initData([record.articleContentCover])
|
|
this.$refs.upLoadRef.initData([record.articleContentCover])
|
|
this.$refs.editorRef.initEditorContent(record.articleContentContent)
|
|
this.$refs.editorRef.initEditorContent(record.articleContentContent)
|
|
|
|
this.getSystemDictClassify()
|
|
|
|
this.getSystemDictSubClassify()
|
|
})
|
|
})
|
|
}, 1)
|
|
}, 1)
|
|
},
|
|
},
|