记得上下班打卡 | git大法好,push需谨慎

Commit 34ee4cca authored by sangchunxi's avatar sangchunxi

edit change okk

parent 8c636cab
......@@ -350,7 +350,7 @@
$('#activeType').find(`option[value=${res.activeType}]`).attr('selected', true)
$('#search input').attr('value', res.activeBindName)
$('#search input').attr('value', res.name)
$('#search input').attr('data-id', res.activeBindId)
......@@ -477,15 +477,15 @@
if (_selectVal) {
let _params = {}
if (_selectVal === 1) {
if (_selectVal == 1) {
_params['type'] = 1
_params['title'] = val
} else if (_selectVal === 2) { // 组合购
} else if (_selectVal == 2) { // 组合购
_params['title'] = val
} else if (_selectVal === 3) { // 演出
} else if (_selectVal == 3) { // 演出
_params['status'] = '(3,6,7,9,10)'
_params['title'] = val
} else { // 商品
} else if (_selectVal == 4) { // 商品
_params['name'] = val
// _params['title'] = val
}
......@@ -504,22 +504,18 @@
console.log('_selectVal', _selectVal)
if (_selectVal == 1) {
console.log('111')
_data = nft.map(item => { // 组装返回nft数据
return { id: item.spuId, value: item.spuName }
})
} else if (_selectVal == 2) {
console.log('222')
_data = group?.map(item => {
return { id: item.mixId, value: item.name }
})
} else if (_selectVal == 3) {
console.log('333')
_data = yan?.map(item => {
return { id: item.performancesId, value: item.title }
})
} else if (_selectVal == 4) {
console.log('444')
_data = sp?.map(item => {
return { id: item.spuId, value: item.name }
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment