|
@@ -34,17 +34,25 @@
|
|
|
{{ scope.row.pname.join(' -> ') }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="attr" label="网点属性" v-if="userData.type != 1">
|
|
|
+ <el-table-column prop="attr" label="网点属性">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ { SELF: '自建网点', MAJOR: '第三方专业网点', MERCHANT: '第三方经销商家网点' }[scope.row.attr] }}
|
|
|
+ {{
|
|
|
+ scope.row.type == 'B'
|
|
|
+ ? ''
|
|
|
+ : { SELF: '自建网点', MAJOR: '第三方专业网点', MERCHANT: '第三方经销商家网点' }[scope.row.attr]
|
|
|
+ }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="level" label="网点级别" v-if="userData.type != 1">
|
|
|
+ <el-table-column prop="level" label="网点级别">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ { '1': '一级网点', '2': '二级网点' }[scope.row.level] }}
|
|
|
+ {{ scope.row.type == 'B' ? '' : { '1': '一级网点', '2': '二级网点' }[scope.row.level] }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="insureType" label="保险类型">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.type == 'B' ? '' : scope.row.insureType }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="insureType" label="保险类型" v-if="userData.type != 1"> </el-table-column>
|
|
|
<el-table-column align="center" label="状态" class-name="status-col" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag :type="scope.row.status ? 'success' : 'danger'">{{
|
|
@@ -55,7 +63,7 @@
|
|
|
<el-table-column label="操作" width="268" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
- v-if="userData.type != 1"
|
|
|
+ v-if="scope.row.type != 'B'"
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
icon="el-icon-edit"
|
|
@@ -63,7 +71,7 @@
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-if="userData.type != 1"
|
|
|
+ v-if="scope.row.type != 'B'"
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
icon="el-icon-edit"
|