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 {
placeholder: '全部',
optionList: [
{
optionId: '',
optionLabel: '全部'
},
{
optionId: 1,
optionLabel: 'pdf'
},
......@@ -183,6 +187,10 @@ export default {
placeholder: '全部',
optionList: [
{
optionId: '',
optionLabel: '全部'
},
{
optionId: 0,
optionLabel: '启用'
},
......@@ -365,11 +373,13 @@ export default {
window.sessionStorage.setItem('firstLogin', 'true')
}
},
// 重置
handleReset() {
this.searchForm = {
applicationType: '',
materialType: '',
businessType: '',
status: '',
materialName: ''
}
......@@ -384,7 +394,12 @@ export default {
this.$apis.material.findAllDictData(params).then(res => {
if (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 {
}
.summarization-containner {
margin-top: 20px;
margin-top: 10px;
&-title {
font-weight: 600;
padding-left: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!