<template>
    <div>
        <c-col :span="24">
            <div v-for="(item, idx) in rol" :key="idx">
                <c-ptsmsg
                    :model="model"
                    :argadr="{
                        title: item.title,
                        grp: `${argadr.trans}`,
                        rol: item.trans,
                    }"
                    :disabled="true"
                ></c-ptsmsg>
            </div>
        </c-col>
    </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Ptsmsg from "~/views/Public/Ptsmsg";
// 机构信息模块
export default {
    inject: ["root"],
    mixins: [commonProcess],
    components: {
        "c-ptsmsg": Ptsmsg,
    },
    props: {
        model: {
            type: Object,
            default: undefined,
        },
        argadr: {
            type: Object,
            default: function () {
                return {
                    title: "", //角色名称
                    trans: "", //所属模块
                };
            },
        },
        rol: {
            type: Array,
            default: () => [],
        },
    },
    data() {
        return {
            data: [],
        };
    },
    watch: {},
    methods: {},

    created: function () {},
};
</script>
<style>
</style>
