Commit 6b28b0a0 by 前端

Merge branch 'kuangyq_fix_v2.0.0' into 'v2.0.0'

Kuangyq fix v2.0.0

See merge request !80
2 parents 7ce0cc4c 8b23be0e
...@@ -160,6 +160,10 @@ export default { ...@@ -160,6 +160,10 @@ export default {
placeholder: '全部', placeholder: '全部',
optionList: [ optionList: [
{ {
optionId: '',
optionLabel: '全部'
},
{
optionId: 1, optionId: 1,
optionLabel: 'pdf' optionLabel: 'pdf'
}, },
...@@ -183,6 +187,10 @@ export default { ...@@ -183,6 +187,10 @@ export default {
placeholder: '全部', placeholder: '全部',
optionList: [ optionList: [
{ {
optionId: '',
optionLabel: '全部'
},
{
optionId: 0, optionId: 0,
optionLabel: '启用' optionLabel: '启用'
}, },
...@@ -365,11 +373,13 @@ export default { ...@@ -365,11 +373,13 @@ export default {
window.sessionStorage.setItem('firstLogin', 'true') window.sessionStorage.setItem('firstLogin', 'true')
} }
}, },
// 重置 // 重置
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
applicationType: '', applicationType: '',
materialType: '', materialType: '',
businessType: '',
status: '', status: '',
materialName: '' materialName: ''
} }
...@@ -384,7 +394,12 @@ export default { ...@@ -384,7 +394,12 @@ export default {
this.$apis.material.findAllDictData(params).then(res => { this.$apis.material.findAllDictData(params).then(res => {
if (res) { if (res) {
this.businessTypes = res this.businessTypes = res
this.materialFormData[0].optionList = res let idx = this.materialFormData.findIndex(item => item.name == 'businessType')
res.unshift({
dictValue: '',
dictLabel: '全部'
})
this.materialFormData[idx].optionList = res
} }
}) })
}, },
......
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
} }
.summarization-containner { .summarization-containner {
margin-top: 20px; margin-top: 10px;
&-title { &-title {
font-weight: 600; font-weight: 600;
padding-left: 20px; padding-left: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!