Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以实现模糊查询吗? #50

Closed
LittleiTiot opened this issue Jul 10, 2019 · 4 comments
Closed

可以实现模糊查询吗? #50

LittleiTiot opened this issue Jul 10, 2019 · 4 comments

Comments

@LittleiTiot
Copy link

表单可以实现模糊查询吗?

@zollero
Copy link
Owner

zollero commented Jul 10, 2019

能详细说一下问题吗?

@LittleiTiot
Copy link
Author

data() {
return {
faultDatas: [],
formOptions: {
inline: true,
resetBtnText: 'Search',
forms: [
{ prop: 'deviceName', label: '设备名称', placeholder: '请输入设备名称' },
],
},
columns: [
{ prop: 'deviceName', label: '设备名称', minWidth: 100},
{ prop: 'faultDesc', label: '故障描述', minWidth: 100 },
{ prop: 'faultStartTime', label: '发生时间', minWidth: 100 },
{ prop: 'faultEndTime', label: '结束时间', minWidth: 100 }
]
}
},

就是当我按照设备名称来查询,不需要将设备名称输完全,比如电视机,我输入电视的时候也能够查询

@zollero
Copy link
Owner

zollero commented Jul 10, 2019

模糊查询这个功能,前端还是一样的传参,主要是看你的后端接口支不支持你要的模糊查询,你还是跟你们的后端聊一下这个问题吧。

@zollero zollero closed this as completed Jul 10, 2019
@LittleiTiot
Copy link
Author

好的谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants