|
@@ -24,6 +24,11 @@
|
|
<span :style="{ color: `${row[item.prop] ? '#67C23A' : '#F56C6C'}` }">{{ row[item.prop] ? '已绑定' : '未绑定' }}</span>
|
|
<span :style="{ color: `${row[item.prop] ? '#67C23A' : '#F56C6C'}` }">{{ row[item.prop] ? '已绑定' : '未绑定' }}</span>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template #options="{item}">
|
|
|
|
+ <template v-if="item.prop === 'type'">
|
|
|
|
+ <el-option v-for="i in roleList" :key="i._id || i.id" :value="i.type" :label="i.name"></el-option>
|
|
|
|
+ </template>
|
|
|
|
+ </template>
|
|
</data-table>
|
|
</data-table>
|
|
</detail-frame>
|
|
</detail-frame>
|
|
<detail-frame :title="roleTitle" :returns="() => (view = 'list')" v-else>
|
|
<detail-frame :title="roleTitle" :returns="() => (view = 'list')" v-else>
|