

import { ref } from 'vue'




//
export default function () {

    //
    const styleDiagnosisInformation = ref({
        watch: "100%",
    })

    //
    const controlDataDiagnosisInformation = ref(
        [
            {
                id: 0,
                name: "el-row",
                description: "病人信息1",
                display: true,
                // 控制 内置 的 col 
                data: [
                    {
                        id: 0,
                        name: "el-col",
                        description: "病人信息",
                        span: 24,
                        display: true,
                        colList: [
                            {
                                id: 0,
                                name: "el-col",
                                description: "患者信息",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "1 学号 诊断类型 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "1 学号 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "学号/工号",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "1 诊断类型 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "诊断类型",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 1,
                                        name: "el-row",
                                        description: "2 姓名 就诊人类型 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "2 姓名 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "姓名",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "2 就诊人类型 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "就诊人类型",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 2,
                                        name: "el-row",
                                        description: "3 性别 年龄 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "3 性别 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "性别",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "3 年龄 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "年龄",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 3,
                                        name: "el-row",
                                        description: "4 专业 班级 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "4 专业 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "专业",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "4 班级 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "班级",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 4,
                                        name: "el-row",
                                        description: "5 电话  辅导员 部门 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "5 电话 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "电话",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "5 辅导员 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "辅导员",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                            {
                                                id: 2,
                                                name: "el-col",
                                                description: "5 部门 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "部门",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 5,
                                        name: "el-row",
                                        description: "6 是否医保  报销比率 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "6 是否医保 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "是否医保",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "6 报销比率 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "报销比率",
                                                        display: true,
                                                        prohibit: true,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                ]
                            },
                            {
                                id: 1,
                                name: "el-col",
                                description: "主诉",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "主诉",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "主诉",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 2,
                                name: "el-col",
                                description: "现病史",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "现病史",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "现病史",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 3,
                                name: "el-col",
                                description: "既往史",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "既往史",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "既往史",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 4,
                                name: "el-col",
                                description: "临床诊断",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "临床诊断",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "临床诊断",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 5,
                                name: "el-col",
                                description: "医嘱事项",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "医嘱事项",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "医嘱事项",
                                                        display: true,
                                                        prohibit: true,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                        ]
                    },
                    {
                        id: 1,
                        name: "el-col",
                        description: "病人病历",
                        display: false,
                        rowList: []
                    }
                ]
            },
            {
                id: 1,
                name: "",
                description: "提示 处方详情",
                display: false,
            },
            {
                id: 2,
                name: "",
                description: "新增处方",
                display: false,
            },
            {
                id: 3,
                name: "",
                description: "处方",
                display: true,
            },
        ]
    )
    const controlDataDiagnosisInformation1 = ref(
        [
            {
                id: 0,
                name: "el-row",
                description: "病人信息1",
                display: true,
                // 控制 内置 的 col 
                data: [
                    {
                        id: 0,
                        name: "el-col",
                        description: "病人信息",
                        span: 24,
                        display: true,
                        colList: [
                            {
                                id: 0,
                                name: "el-col",
                                description: "患者信息",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "1 学号 诊断类型 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "1 学号 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "学号/工号",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "1 诊断类型 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "诊断类型",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 1,
                                        name: "el-row",
                                        description: "2 姓名 就诊人类型 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "2 姓名 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "姓名",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "2 就诊人类型 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "就诊人类型",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 2,
                                        name: "el-row",
                                        description: "3 性别 年龄 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "3 性别 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "性别",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "3 年龄 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "年龄",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 3,
                                        name: "el-row",
                                        description: "4 专业 班级 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "4 专业 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "专业",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "4 班级 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "班级",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 4,
                                        name: "el-row",
                                        description: "5 电话  辅导员 部门 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "5 电话 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "电话",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "5 辅导员 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "辅导员",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                            {
                                                id: 2,
                                                name: "el-col",
                                                description: "5 部门 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "部门",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                    {
                                        id: 5,
                                        name: "el-row",
                                        description: "6 是否医保  报销比率 ",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "el-col",
                                                description: "6 是否医保 col ",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "el-form-input > el-input",
                                                        description: "是否医保",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                            {
                                                id: 1,
                                                name: "el-col",
                                                description: "6 报销比率 col",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "报销比率",
                                                        display: true,
                                                        prohibit: false,
                                                    },
                                                ]
                                            },
                                        ]
                                    },
                                ]
                            },
                            {
                                id: 1,
                                name: "el-col",
                                description: "主诉",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "主诉",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "主诉",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 2,
                                name: "el-col",
                                description: "现病史",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "现病史",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "现病史",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 3,
                                name: "el-col",
                                description: "既往史",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "既往史",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "既往史",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 4,
                                name: "el-col",
                                description: "临床诊断",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "临床诊断",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "临床诊断",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                            {
                                id: 5,
                                name: "el-col",
                                description: "医嘱事项",
                                display: true,
                                rowList: [
                                    {
                                        id: 0,
                                        name: "el-row",
                                        description: "el-col",
                                        display: true,
                                        colList: [
                                            {
                                                id: 0,
                                                name: "医嘱事项",
                                                description: "",
                                                display: true,
                                                data: [
                                                    {
                                                        id: 0,
                                                        name: "医嘱事项",
                                                        display: true,
                                                        prohibit: false,
                                                    }
                                                ]
                                            },
                                        ]
                                    },
                                ],
                            },
                        ]
                    },
                    {
                        id: 1,
                        name: "el-col",
                        description: "病人病历",
                        display: false,
                        rowList: []
                    }
                ]
            },
            {
                id: 1,
                name: "",
                description: "提示 处方详情",
                display: false,
            },
            {
                id: 2,
                name: "",
                description: "新增处方",
                display: false,
            },
            {
                id: 3,
                name: "",
                description: "处方",
                display: false,
            },
        ]
    )

    return { controlDataDiagnosisInformation , styleDiagnosisInformation }
}