|
@@ -51,7 +51,7 @@
|
|
<div class="loading-icon" style="width:100%">
|
|
<div class="loading-icon" style="width:100%">
|
|
<p style="font-weight:bold;" v-html="langScenes.limit.insufficient"></p>
|
|
<p style="font-weight:bold;" v-html="langScenes.limit.insufficient"></p>
|
|
</div>
|
|
</div>
|
|
- <p class="huifu" @click.stop="rechargeTip(item)">{{langScenes.limit.recharge}}</p>
|
|
|
|
|
|
+ <p class="huifu" @click.stop="rechargeTip(item)">{{langScenes.limit.recharge}}>></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="name" >
|
|
<div class="name" >
|
|
@@ -62,8 +62,8 @@
|
|
<span class="spot"></span>
|
|
<span class="spot"></span>
|
|
</div>
|
|
</div>
|
|
<ul :style="{minWidth: language==='en'?'150px': '90px'}">
|
|
<ul :style="{minWidth: language==='en'?'150px': '90px'}">
|
|
- <li v-if="item.status === 1||item.status===-2" @click="gotoEdit(item)">{{langScenes.edit}}</li>
|
|
|
|
- <li @click="handleCooperation(item)" v-if="(item.status === 1||item.status===-2)&&!deviceLogin">{{langScenes.fenpei}}</li>
|
|
|
|
|
|
+ <li v-if="item.status === 1||item.status===-2 && item.payStatus !== -2" @click="gotoEdit(item)">{{langScenes.edit}}</li>
|
|
|
|
+ <li @click="handleCooperation(item)" v-if="(item.status === 1||item.status===-2)&&!deviceLogin && item.payStatus !== -2">{{langScenes.fenpei}}</li>
|
|
<li v-if="item.status !== 0" @click="del(item)">{{langScenes.delete}}</li>
|
|
<li v-if="item.status !== 0" @click="del(item)">{{langScenes.delete}}</li>
|
|
</ul>
|
|
</ul>
|
|
</template>
|
|
</template>
|
|
@@ -96,17 +96,19 @@
|
|
</div>
|
|
</div>
|
|
<div slot-scope="{data,canclick,type,item}" slot="item" style="width:100%">
|
|
<div slot-scope="{data,canclick,type,item}" slot="item" style="width:100%">
|
|
<template v-if="canclick">
|
|
<template v-if="canclick">
|
|
- <span class="edit table-btn" v-if="item.status === 1||item.status===-2" @click="gotoEdit(item)">{{langScenes.edit}}</span>
|
|
|
|
- <span class="edit table-btn" @click="handleCooperation(item)" v-if="(item.status === 1||item.status===-2)&&!deviceLogin&&tabActive===1" >{{ $t('manage.sceneAdmin.collaborative') }}</span>
|
|
|
|
- <span class="edit table-btn delete-btn" v-if="item.status !== 1&&item.status !== -2" @click="deleteOneScene(item)">{{ $t('common.delete') }}</span>
|
|
|
|
|
|
+ <span class="edit table-btn" v-if="item.status === 1||item.status===-2 && item.payStatus !== -2" @click="gotoEdit(item)">{{langScenes.edit}}</span>
|
|
|
|
+ <span class="edit table-btn" @click="handleCooperation(item)" v-if="(item.status === 1||item.status===-2 && item.payStatus !== -2)&&!deviceLogin&&tabActive===1" >{{ $t('manage.sceneAdmin.collaborative') }}</span>
|
|
|
|
+ <span class="edit table-btn" v-if="item.payStatus === -2" @click="rechargeTip(item)">{{langScenes.limit.recharge}}</span>
|
|
|
|
+ <span class="edit table-btn delete-btn" v-if="item.status !== 1&&item.status !== -2 || item.payStatus === -2" @click="deleteOneScene(item)">{{ $t('common.delete') }}</span>
|
|
</template>
|
|
</template>
|
|
<div style="position:relative;" v-else-if="type === 'image'" >
|
|
<div style="position:relative;" v-else-if="type === 'image'" >
|
|
<div :title="item.name" @click="((item.status === 1||item.status===-2)&&item.payStatus !== -2) && goto(item.webSite)" style="height:40px;" class="card-img" :style="{backgroundImage: `url(${getSceneImg(item)})`}"></div>
|
|
<div :title="item.name" @click="((item.status === 1||item.status===-2)&&item.payStatus !== -2) && goto(item.webSite)" style="height:40px;" class="card-img" :style="{backgroundImage: `url(${getSceneImg(item)})`}"></div>
|
|
- <div class="loading-hover" v-if="item.status === 0">
|
|
|
|
- <div class="loading-icon" style="width:100%">
|
|
|
|
- <p style="margin-top:0">{{langScenes.share.calcule}}</p>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="loading-hover" v-if="item.status === 0 || item.payStatus === -2">
|
|
|
|
+ <div class="loading-icon" style="width:100%">
|
|
|
|
+ <p style="margin-top:0">{{item.payStatus === -2 ? $t('manage.sceneAdmin.archived') : langScenes.share.calcule}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<span v-else-if="type === 'typefix'">{{langScenes.typeObj[data]}}</span>
|
|
<span v-else-if="type === 'typefix'">{{langScenes.typeObj[data]}}</span>
|