|
|
|
|
@ -71,90 +71,6 @@
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</q-select>
|
|
|
|
|
<!-- <div class="csc-pbx-model-select row items-end xs-gutter">-->
|
|
|
|
|
<!-- <div-->
|
|
|
|
|
<!-- v-if="selectedProfile !== null"-->
|
|
|
|
|
<!-- class="col-auto"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-icon-->
|
|
|
|
|
<!-- v-if="selectedProfileImageUrl === null"-->
|
|
|
|
|
<!-- class="csc-pbx-device-model-icon"-->
|
|
|
|
|
<!-- size="24px"-->
|
|
|
|
|
<!-- name="fa-fax"-->
|
|
|
|
|
<!-- color="white"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- <div-->
|
|
|
|
|
<!-- v-else-->
|
|
|
|
|
<!-- class="csc-pbx-device-model-image"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <img-->
|
|
|
|
|
<!-- :src="selectedProfileImageUrl"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div-->
|
|
|
|
|
<!-- class="col-grow"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-input-->
|
|
|
|
|
<!-- readonly-->
|
|
|
|
|
<!-- class="cursor-pointer"-->
|
|
|
|
|
<!-- label="Device Model"-->
|
|
|
|
|
<!-- :value="selectedProfileName"-->
|
|
|
|
|
<!-- :disable="disable"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <q-menu-->
|
|
|
|
|
<!-- ref="popover"-->
|
|
|
|
|
<!-- fit-->
|
|
|
|
|
<!-- @open="$emit('opened')"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-list>-->
|
|
|
|
|
<!-- <q-item-->
|
|
|
|
|
<!-- v-for="profileItem in profiles"-->
|
|
|
|
|
<!-- :key="profileItem.id"-->
|
|
|
|
|
<!-- class="cursor-pointer"-->
|
|
|
|
|
<!-- @click="selectProfile(profileItem)"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-item-section-->
|
|
|
|
|
<!-- v-if="!modelImageMap[profileItem.device_id]"-->
|
|
|
|
|
<!-- side-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-icon-->
|
|
|
|
|
<!-- size="24px"-->
|
|
|
|
|
<!-- name="fax"-->
|
|
|
|
|
<!-- color="white"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </q-item-section>-->
|
|
|
|
|
<!-- <q-item-section-->
|
|
|
|
|
<!-- v-else-->
|
|
|
|
|
<!-- side-->
|
|
|
|
|
<!-- avatar-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <img-->
|
|
|
|
|
<!-- :src="modelImageMap[profileItem.device_id].url"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- </q-item-section>-->
|
|
|
|
|
<!-- <q-item-section>-->
|
|
|
|
|
<!-- <q-item-label>-->
|
|
|
|
|
<!-- {{ profileItem.name }}-->
|
|
|
|
|
<!-- </q-item-label>-->
|
|
|
|
|
<!-- </q-item-section>-->
|
|
|
|
|
<!-- </q-item>-->
|
|
|
|
|
<!-- </q-list>-->
|
|
|
|
|
<!-- </q-menu>-->
|
|
|
|
|
<!-- <div-->
|
|
|
|
|
<!-- class="col-auto"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <q-btn-->
|
|
|
|
|
<!-- v-if="selectedProfile !== null && hasResetButton"-->
|
|
|
|
|
<!-- icon="clear"-->
|
|
|
|
|
<!-- color="white"-->
|
|
|
|
|
<!-- flat-->
|
|
|
|
|
<!-- small-->
|
|
|
|
|
<!-- @click="resetProfile"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|