Commit 13dca84e by 匡雅琴

bug修复

1 parent 9de26e80
......@@ -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,6 +373,7 @@ export default {
window.sessionStorage.setItem('firstLogin', 'true')
}
},
// 重置
handleReset() {
this.searchForm = {
......@@ -384,7 +393,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
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!