<?php /*a:2:{s:66:"D:\phpEnv\www\SCM-API\app\admin\view\general\attachment\index.html";i:1750736984;s:52:"D:\phpEnv\www\SCM-API\app\admin\view\layout\vue.html";i:1750736984;}*/ ?>
<!DOCTYPE html>
<html <?php if($config['elementUi']['dark']): ?>class="dark"<?php endif; ?>>
<head>
<meta charset="utf-8">
<title><?php echo site_config('basic.sitename'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">
<link rel="shortcut icon" href="<?php echo request()->domain(); ?>/favicon.ico" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/element-plus.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/theme/dark.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/libs/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/yunqi.css" />

</head>
<body>
    <div id="app">
        <el-container id="container" style="display: none;">
            <el-main style="padding: 0px;border-radius:4px;" id="mainScrollbar">
                <el-scrollbar>
                    
    <el-card shadow="never">
        <yun-table
                :columns="columns"
                tabs="category"
                search="filename"
                toolbar="refresh,add,del,guilei"
                :auth="auth"
                :extend="extend">
                <template #toolbar="{tool,selections}">
                    <el-dropdown trigger="click" v-if="tool=='guilei'">
                        <el-button type="warning" :disabled="selections.length?false:true"><i class="fa fa-arrow-right"></i>&nbsp;归类</el-button>
                        <template #dropdown>
                            <el-dropdown-menu>
                                <?php if(is_array($categoryList) || $categoryList instanceof \think\Collection || $categoryList instanceof \think\Paginator): if( count($categoryList)==0 ) : echo "" ;else: foreach($categoryList as $key=>$item): ?>
                                <el-dropdown-item @click.stop="changeCategory(selections,'<?php echo htmlentities((string) $key); ?>')"><i class="fa fa-eye"></i> <?php echo htmlentities((string) $item); ?></el-dropdown-item>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </el-dropdown-menu>
                        </template>
                    </el-dropdown>
                </template>
                <template #formatter="{field,rows}">
                    <div v-if="field=='filename'">
                        <el-tooltip
                                effect="dark"
                                :content="rows.filename"
                                placement="top">
                                <el-tag style="cursor: pointer;">{{formateName(rows.filename)}}</el-tag>
                        </el-tooltip>
                    </div>
                </template>
        </yun-table>
    </el-card>

                </el-scrollbar>
            </el-main>
        </el-container>
    </div>
</body>
<script type="text/javascript" src="<?php echo request()->domain(); ?>/assets/js/yunqi.js?v=<?php echo htmlentities((string) $config['version']); ?>"></script>
<script type="text/javascript">
    Yunqi.setConfig(<?php echo json_encode($config,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES); ?>);
    Yunqi.setData(<?php echo build_var_json(get_defined_vars()); ?>);
    Yunqi.setAuth(<?php echo json_encode($auth->getBackendAuth(),JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES); ?>);
</script>
<script type="module">
    import pageinfo from '<?php echo htmlentities((string) $config['baseUrl']); ?>ajax/js/2c7e53ef5f178471e470377e264998f4';
    import zhcn from '<?php echo request()->domain(); ?>/assets/js/zh-cn.js';
    try{
        Yunqi.setUp(pageinfo,zhcn);
    }catch (e){
        console.error(e);
    }
</script>
</html>
