|
|
@@ -232,32 +232,31 @@
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop=""
|
|
|
- label="合同段权限">
|
|
|
- <template slot-scope="scope">
|
|
|
- <template v-if="scope.row.relationContractInfo > 0">
|
|
|
+ <el-table-column
|
|
|
+ prop=""
|
|
|
+ label="合同段权限"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+
|
|
|
+ <template v-if="scope.row.relationContractInfo && scope.row.relationContractInfo.length > 0">
|
|
|
+
|
|
|
<el-tooltip
|
|
|
- v-for="(item,index) in scope.row.relationContractInfo"
|
|
|
- :key="key"
|
|
|
- :content="item.contractName"
|
|
|
+ v-for="(item, index) in scope.row.relationContractInfo.filter(Boolean)"
|
|
|
+ :key="index"
|
|
|
+ :content="item.contractName || ''"
|
|
|
placement="top"
|
|
|
-
|
|
|
>
|
|
|
<el-tag
|
|
|
size="small"
|
|
|
:type="item.contractType===1?'warning':item.contractType===2?'primary':'success'"
|
|
|
class="custom-ellipse-tag2 ellipsis-tag1"
|
|
|
-
|
|
|
>
|
|
|
- {{item.contractName}}
|
|
|
+ {{ item.contractName || '' }}
|
|
|
</el-tag>
|
|
|
</el-tooltip>
|
|
|
- </template>
|
|
|
-
|
|
|
- </template>
|
|
|
-
|
|
|
- </el-table-column>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
width="180px"
|
|
|
prop="address"
|