1.删除开源版不支持的功能代码以及商用提示

This commit is contained in:
gx_ma
2024-07-19 16:46:15 +08:00
parent 90e9409b7a
commit 9aed2047cb
3 changed files with 0 additions and 45 deletions

View File

@@ -1,19 +0,0 @@
<template>
<div style="padding-left:20px;">
<el-row :gutter="10">
<el-col :span="14">
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-tag type="danger" style="margin-left:15px;">开源版本不支持该功能,请前往购买商业版本</el-tag>
</el-col>
</el-row>
</el-col>
</el-row>
</div>
</template>
<style scoped lang="scss">
</style>
<script>
</script>

View File

@@ -131,22 +131,6 @@
<sipid ref="sipidGen" :product="form" @addGenEvent="getSipIDData($event)" /> <sipid ref="sipidGen" :product="form" @addGenEvent="getSipIDData($event)" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane name="runningStatus" v-if="form.deviceType !== 3 && !isSubDev">
<span slot="label">运行状态</span>
<running-status ref="runningStatus" :device="form" @statusEvent="getDeviceStatusData($event)"/>
</el-tab-pane>
<el-tab-pane name="runningStatus" v-if="isSubDev">
<span slot="label"><span style="color:red;"> </span>运行状态</span>
<business ref="business"/>
</el-tab-pane>
<el-tab-pane name="sipChannel" :disabled="form.deviceId === 0" v-if="form.deviceType === 3">
<span slot="label"><span style="color:red;"> </span>设备通道</span>
<business ref="business"/>
</el-tab-pane>
<!-- <el-tab-pane :disabled="form.deviceId === 0" v-if="form.deviceType === 3" name="sipPlayer"> <!-- <el-tab-pane :disabled="form.deviceId === 0" v-if="form.deviceType === 3" name="sipPlayer">
<span slot="label"><span style="color:red;"> </span>设备直播</span> <span slot="label"><span style="color:red;"> </span>设备直播</span>
<business ref="business"/> <business ref="business"/>
@@ -156,11 +140,6 @@
<device-live-stream ref="deviceLiveStream" :device="form" /> <device-live-stream ref="deviceLiveStream" :device="form" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane :disabled="form.deviceId === 0" v-if="form.deviceType === 3" name="sipVideo">
<span slot="label"><span style="color:red;"> </span>直播录像</span>
<business ref="business"/>
</el-tab-pane>
<el-tab-pane name="deviceTimer" :disabled="form.deviceId === 0" <el-tab-pane name="deviceTimer" :disabled="form.deviceId === 0"
v-if="form.deviceType !== 3 && hasShrarePerm('timer')"> v-if="form.deviceType !== 3 && hasShrarePerm('timer')">
<span slot="label">设备定时</span> <span slot="label">设备定时</span>

View File

@@ -143,11 +143,6 @@
<div style="margin-top: 200px"></div> <div style="margin-top: 200px"></div>
<el-tab-pane label="" name="alert" :disabled="form.productId == 0" v-if="form.deviceType !== 3">
<span slot="label"><span style="color:red;"> </span>告警配置</span>
<business ref="business"/>
</el-tab-pane>
<div style="margin-top:200px;"></div> <div style="margin-top:200px;"></div>