lj-publish-test3
Version:
A magical vue admin. Typical templates for enterprise applications. Newest development stack of vue. Lots of awesome features
13 lines • 519 B
Plain Text
form远程搜索脚本:
(query,item,formList,index,that)=>{
window.axios_call_config('getdocument',{"table": "pcm_operator","attrs":{"operator":{"$regex": query},"status":"normal"} ,"dbname": "lora","not_token": true,"page_num": 20,"curpage": 1}).then(res=>{
let arr = []
res.data.data.map((obj,index)=>{
arr.push(obj.operator)
})
item.options = arr
item.optionValues = arr
window.pcm_income_manage_add .operator=res.data.data
that.setFormListItem(formList,item)
})
}