<template src='./cncTestLists.html'>
</template>

<script>
    import HeaderMain from "../../components/HeaderMain";
    export default {
        components: {
            HeaderMain
        },
        data() {
            return {
                options: [{
                    value: '选项1',
                    label: '黄金糕'
                }, {
                    value: '选项2',
                    label: '双皮奶'
                }, {
                    value: '选项3',
                    label: '蚵仔煎'
                }, {
                    value: '选项4',
                    label: '龙须面'
                }, {
                    value: '选项5',
                    label: '北京烤鸭'
                }],
                value: '',
                isShowDialog: false,
                tests: [{
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }, {
                    title: "定制你的家居香气",
                }],
                loading: true,
                currentProject: "所属项目",
            }
        },
        created() {

        },
        methods: {
            showQRDialog(index) {
                this.isShowDialog = true;
                this.loading = true,
                    setTimeout(() => {
                        this.$refs.dialogQR.scroll(0, 0)
                    }, 1);
                setTimeout(() => {
                    this.loading = false;
                }, 3000);
            },
            close() {
                this.isShowDialog = false;
            },
            handleCommand(command) {
                this.currentProject = command;
            }
        },
    }
</script>
<style lang="scss" scoped>
    @import './cncTestLists.scss';
</style>