<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>管理后台</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="renderer" content="webkit"> <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> <link href="/sitefiles/assets/images/favicon.png" rel="icon" type="image/png"> <link href="/sitefiles/assets/css/font-awesome-4.7.0.min.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/css/ionicons-2.0.0.min.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/lib/elementui/themechalk/index.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/css/element-ui.css?v=1618992755943" rel="stylesheet" type="text/css"> </head> <body> <div id="main"> <div v-if="this.pageLoad" style="display: none" :style="{display: ''}"> <el-form :inline="true"> <el-form-item label="栏目名称"> <el-input v-model="filterText" size="mini" placeholder="输入栏目进行过滤"></el-input> </el-form-item> <el-form-item label="栏目模板" v-if="channelTemplates && channelTemplates.length > 0"> <el-select v-model="filterChannelTemplateId" size="mini" placeholder="选择栏目模板进行过滤"> <el-option label="<无筛选>" :value="0"></el-option> <el-option v-for="channelTemplate in channelTemplates" :key="channelTemplate.id" :label="channelTemplate.templateName" :value="channelTemplate.id"></el-option> </el-select> </el-form-item> <el-form-item label="内容模板" v-if="contentTemplates && contentTemplates.length > 0"> <el-select v-model="filterContentTemplateId" size="mini" placeholder="选择内容模板进行过滤"> <el-option label="<无筛选>" :value="0"></el-option> <el-option v-for="contentTemplate in contentTemplates" :key="contentTemplate.id" :label="contentTemplate.templateName" :value="contentTemplate.id"></el-option> </el-select> </el-form-item> </el-form> <el-tree ref="tree" :data="channels" :default-expanded-keys="expandedChannelIds" node-key="value" show-checkbox check-on-click-node check-strictly highlight-current class="tree" :filter-node-method="filterNode" v-on:check-change="handleCheckChange"> <div slot-scope="{ node, data }"> <el-link :underline="false" :href="getChannelUrl(data)" v-on:click.stop.native target="_blank"><i class="el-icon-link"></i></el-link> {{ data.label }} ({{data.count}}) <el-tag size="mini"> {{ getChannelTemplateName(data.channelTemplateId) }} </el-tag> <el-tag size="mini" type="success"> {{ getContentTemplateName(data.contentTemplateId) }} </el-tag> </div> </el-tree> <div style="height: 10px"></div> <el-divider></el-divider> <div style="height: 10px"></div> <el-form :inline="true" size="small"> <el-form-item label=""> <el-checkbox label="全选" v-on:change="selectAll" v-model="isAllChecked"></el-checkbox> <el-checkbox label="同时生成下级" v-model="isDescendent"></el-checkbox> <el-checkbox label="生成栏目页" v-model="isChannelPage"></el-checkbox> <el-checkbox label="生成内容页" v-model="isContentPage"></el-checkbox> </el-form-item> <el-form-item> <el-select v-model="scope"> <el-option value="all" label="<不限>"></el-option> <el-option value="1month" label="一个月内更新内容的栏目"></el-option> <el-option value="1day" label="一天内更新内容的栏目"></el-option> <el-option value="2hours" label="2小时内更新内容的栏目"></el-option> </el-select> </el-form-item> <el-form-item> <el-button size="small" type="primary" :disabled="channelIds.length === 0 || (!isChannelPage && !isContentPage)" v-on:click="btnCreateClick"> 生 成 </el-button> </el-form-item> </el-form> </div> <div v-else :style="{top: ($(window).height()/2 - 30) + 'px'}" v-loading="true" element-loading-text="页面加载中"></div> </div> </body> </html> <script src="/sitefiles/assets/lib/es6-promise.auto.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/axios-0.17.1.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/core-js-3.6.5.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/lodash-4.17.10.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/jquery-1.9.1.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/layer/layer-3.1.1.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/sweetalert2-7.28.4.all.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/vue-2.5.16.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/elementui/index.js?v=1618992755943"></script> <script src="/sitefiles/assets/js/admin.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/utils.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/cloud.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/admin/cms/createPage.js?v=1618992755943" type="text/javascript"></script> 