<!--
 * @Author       : yuanrunwei
 * @Date         : 2021-12-03 15:18:11
 * @LastEditors  : yuanrunwei
 * @LastEditTime : 2021-12-03 19:57:11
 * @FilePath     : \spfm-market-front\src\pages\main\performance\analysis.vue
-->
<template>
    <div class="simple-container">
        <simple-table
            :list="table_list"
            :config="table_config"
            :loading="table_loading"
            @delete="handleDelete"
            @check="handleCheck"
            @edit="handleEdit"
        ></simple-table>
    </div>
</template>

<script>
import simpleTable from "./components/table.vue";
export default {
    components: {
        simpleTable,
    },
    data() {
        return {
            table_list: [
                {
                    index: 1,
                    subject: "政企能力攻坚工程",
                    origin: "八大工程",
                    content:
                        "1、推进项目支撑能力升级，优化智慧中台运营能\n2、推进风险防控质量升级，打造风险防控体系\n3、推进集团价值能力提升，打造业务运营监控体系\n",
                    mark: "1、推进项目支撑能力升级：\n1.1、4月完成资金管理、响应交付功能上线；\n1.2、6月完成政企沙盘、行业库、标杆项目库功能上线；\n1.3、12月完成商机管理、角色管理、欠费管理、ESOP迁移、六项重点产品甩单支撑能力建设、ICT项目支撑能力升级。",
                    score: "1",
                    leader: "邱钰",
                },
            ],
            table_loading: false,
            table_config: [
                {
                    label: "序号",
                    props: "index",
                    width: 50,
                },
                {
                    label: "重点工作",
                    props: "subject",
                },
                {
                    label: "来源",
                    props: "origin",
                },
                {
                    label: "主要内容",
                    props: "content",
                    width: 300,
                    type: "edit",
                    align: "left",
                },
                {
                    label: "完成标志及计分方法（需体现出完成时间）",
                    props: "mark",
                    width: 500,
                    type: "edit",
                    align: "left",
                },
                {
                    label: "分值",
                    props: "score",
                },
                {
                    label: "负责人",
                    props: "leader",
                },
                {
                    label: "本月绩效自评",
                    props: "",
                    width: 300,
                    children: [
                        {
                            label: "本月工作内容",
                            props: "",
                        },
                        {
                            label: "本月完成情况",
                            props: "",
                        },
                        {
                            label: "本月完成情况自评",
                            props: "",
                        },
                    ],
                },
                {
                    label: "下月计划",
                    props: "",
                    children: [
                        {
                            label: "工作内容",
                            props: "",
                        },
                        {
                            label: "下月工作内容计分方法",
                            props: "",
                        },
                    ],
                },
            ],
        };
    },
    methods: {
        handleInit() {},
        handleEdit() {},
        handleCheck() {},
        handleDelete() {},
    },
};
</script>

<style></style>
