AppBenPre.vue 1.32 KB
Newer Older
liuxin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
<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>