ead93d36 by 杨威

权利性质组件操作按钮权限控制

1 parent 8150e0cf
......@@ -2,7 +2,8 @@
<div class="temp">
<div class="qlxzAdd fl">
<span>权利性质</span>
<i class="iconfont iconicon-test2" @click="handleClick(0, 'add')"></i>
<i class="iconfont iconicon-test2" v-if="formData.qszt=='0'" @click="handleClick(0, 'add')"></i>
<i class="iconfont iconicon-test2" v-if="formData.qszt!='0'" style="cursor: not-allowed;"></i>
</div>
<el-row
class="qlxzModule fl"
......@@ -16,7 +17,8 @@
:key="childIndex + '1'"
:class="childIndex > 0 ? 'childYT noTopBorder' : ''"
>
<i v-show="childIndex == 0" :style="{'margin-top':(items.list.length-1)*57 - 18 + 'px'}" class="iconfont icon- qlxzMinus" @click="handleClick(index, 'minus')"></i>
<i v-show="childIndex == 0 && formData.qszt=='0'" :style="{'margin-top':(items.list.length-1)*57 - 18 + 'px'}" class="iconfont icon- qlxzMinus" @click="handleClick(index, 'minus')"></i>
<i v-show="childIndex == 0 && formData.qszt!='0'" :style="{'margin-top':(items.list.length-1)*57 - 18 + 'px'}" class="iconfont icon- qlxzMinus" style="cursor: not-allowed;"></i>
<div
:class="items.hasNotBorder ? 'itemShow whiteItem' : 'whiteItem'"
v-if="items.isInside"
......@@ -30,7 +32,8 @@
>
<template>
<span v-show ="childIndex == 0" :style="{'margin-top':(items.list.length-1)*57 - 40 + 'px'}">土地用途</span>
<i class="iconfont iconicon-test1" v-show ="childIndex == 0" :style="{'margin-top':(items.list.length-1)*57 + 'px'}" @click="handleInClick(index, childIndex, 'add')"></i>
<i class="iconfont iconicon-test1" v-show ="childIndex == 0 && formData.qszt=='0'" :style="{'margin-top':(items.list.length-1)*57 + 'px'}" @click="handleInClick(index, childIndex, 'add')"></i>
<i class="iconfont iconicon-test1" v-show ="childIndex == 0 && formData.qszt!='0'" :style="{'margin-top':(items.list.length-1)*57 + 'px'}" style="cursor: not-allowed;"></i>
</template>
</el-col>
<el-col
......@@ -39,7 +42,8 @@
:key="childIndex + '18'"
:class="childIndex > 0 ? 'childYT' : ''"
>
<i class="iconfont iconicon-test" @click="handleInClick(index, childIndex, 'minus')"></i>
<i class="iconfont iconicon-test" v-if="formData.qszt=='0'" @click="handleInClick(index, childIndex, 'minus')"></i>
<i class="iconfont iconicon-test" v-if="formData.qszt!='0'" style="cursor: not-allowed;"></i>
</el-col>
<template v-if="hasSyqx">
<el-col
......