| | |
| | | <gradient-btn |
| | | size="xs" |
| | | :disabled=" |
| | | !checkListMon[battInfoType].some((v) => v == true) || |
| | | !checkListMon[0].some((v) => v == true) || |
| | | !hasPermission |
| | | " |
| | | @click="batchMonSet(0)" |
| | |
| | | <gradient-btn |
| | | size="xs" |
| | | :disabled=" |
| | | !checkListMon[battInfoType].some((v) => v == true) || |
| | | !checkListMon[1].some((v) => v == true) || |
| | | !hasPermission |
| | | " |
| | | @click="batchMonSet(1)" |
| | |
| | | <gradient-btn |
| | | size="xs" |
| | | :disabled=" |
| | | !checkListMon[battInfoType].some((v) => v == true) || |
| | | !checkListMon[2].some((v) => v == true) || |
| | | !hasPermission |
| | | " |
| | | @click="batchMonSet(2)" |
| | |
| | | > |
| | | </div> |
| | | <div class="grid1 scroller" v-show="0 == battInfoType"> |
| | | <yc-grid :count="monCount" :config="monProps[battInfoType]"> |
| | | <yc-grid :count="monCount" :config="monProps[0]"> |
| | | <template v-slot="{ data, index }"> |
| | | <card-batt |
| | | :ref="'mon_type0_' + index" |
| | | :option="data[index]" |
| | | :checked.sync="checkListMon[battInfoType][index]" |
| | | :checked.sync="checkListMon[0][index]" |
| | | :datas="monData" |
| | | ></card-batt> |
| | | </template> |
| | | </yc-grid> |
| | | </div> |
| | | <div class="grid1 scroller" v-show="1 == battInfoType"> |
| | | <yc-grid :count="monCount" :config="monProps[battInfoType]"> |
| | | <yc-grid :count="monCount" :config="monProps[1]"> |
| | | <template v-slot="{ data, index }"> |
| | | <card-batt |
| | | :ref="'mon_type1_' + index" |
| | | :option="data[index]" |
| | | :checked.sync="checkListMon[battInfoType][index]" |
| | | :checked.sync="checkListMon[1][index]" |
| | | :datas="monData" |
| | | ></card-batt> |
| | | </template> |
| | | </yc-grid> |
| | | </div> |
| | | <div class="grid1 scroller" v-show="2 == battInfoType"> |
| | | <yc-grid :count="monCount" :config="monProps[battInfoType]"> |
| | | <yc-grid :count="monCount" :config="monProps[2]"> |
| | | <template v-slot="{ data, index }"> |
| | | <card-batt |
| | | :ref="'mon_type2_' + index" |
| | | :option="data[index]" |
| | | :checked.sync="checkListMon[battInfoType][index]" |
| | | :checked.sync="checkListMon[2][index]" |
| | | :datas="monData" |
| | | ></card-batt> |
| | | </template> |