Commit 952664e7 by 李乾广

数据重跑 广场选择增加全选

1 parent 1f4041da
......@@ -29,6 +29,16 @@
optionFilterProp="label"
show-search
>
<template #dropdownRender="{ menuNode: menu }">
<v-nodes :vnodes="menu"/>
<a-divider style="margin: 4px 0"/>
<div
@mousedown="e => e.preventDefault()"
>
<a-button @click="selectPlazaAll()" type="link">全选</a-button>
<a-button @click="clearPlazaAll()" type="link">清空</a-button>
</div>
</template>
</a-select>
</a-form-item>
<a-form-item label="数据类型:">
......@@ -376,6 +386,16 @@ export default {
const clearAll = function() {
queryForm.scheduleTypeList = []
}
// 广场全选清空
const selectPlazaAll = function() {
queryForm.plaza_id = []
for (const one in plazaList.value){
queryForm.plaza_id.push(plazaList.value[one].value)
}
}
const clearPlazaAll = function() {
queryForm.plaza_id = []
}
const __main = function() {
getAccountList()
......@@ -400,6 +420,8 @@ export default {
confirmSearch,
selectAll,
clearAll,
selectPlazaAll,
clearPlazaAll,
confirmSearch2,
msgLogList,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!