feat: 修改 趣味分析
This commit is contained in:
parent
343f82e859
commit
2c48e13ce7
|
@ -99,21 +99,21 @@ export const asyncRoutes = [
|
||||||
|
|
||||||
|
|
||||||
// youpei 是只针对地坪项目新建的菜单
|
// youpei 是只针对地坪项目新建的菜单
|
||||||
{
|
// {
|
||||||
path: '/youpei',
|
// path: '/youpei',
|
||||||
component: Layout,
|
// component: Layout,
|
||||||
redirect: '/youpei/index',
|
// redirect: '/youpei/index',
|
||||||
name: 'Youpei',
|
// name: 'Youpei',
|
||||||
meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] },
|
// meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] },
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
path: 'index',
|
// path: 'index',
|
||||||
name: 'youpeiList',
|
// name: 'youpeiList',
|
||||||
component: () => import('@/views/youpei/index.vue'),
|
// component: () => import('@/views/youpei/index.vue'),
|
||||||
meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] }
|
// meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] }
|
||||||
}
|
// }
|
||||||
]
|
// ]
|
||||||
},
|
// },
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/vod',
|
path: '/vod',
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<el-table-column label="上传时间">
|
<el-table-column label="上传时间">
|
||||||
<template slot-scope="scope">{{ scope.row.create_time }}</template>
|
<template slot-scope="scope">{{ scope.row.create_time }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="分类" prop="cate" />
|
<el-table-column label="分类" prop="cate" />
|
||||||
<el-table-column align="header-center" label="排序码">
|
<el-table-column align="header-center" label="排序码">
|
||||||
<template slot-scope="scope">{{ scope.row.sort }}</template>
|
<template slot-scope="scope">{{ scope.row.sort }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
<el-form-item label="描述" prop="description">
|
<el-form-item label="描述" prop="description">
|
||||||
<el-input v-model="material.description" placeholder="描述" />
|
<el-input v-model="material.description" placeholder="描述" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="分类" prop="cate">
|
<el-form-item label="分类" prop="cate" >
|
||||||
<el-select
|
<el-select
|
||||||
v-model="material.cate"
|
v-model="material.cate"
|
||||||
placeholder="所属分类"
|
placeholder="所属分类"
|
||||||
|
@ -235,6 +235,7 @@ export default {
|
||||||
components: { Pagination },
|
components: { Pagination },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
upHeaders: upHeaders(),
|
upHeaders: upHeaders(),
|
||||||
upUrl: upUrl(),
|
upUrl: upUrl(),
|
||||||
materialList: { count: 0 },
|
materialList: { count: 0 },
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<el-table-column align="left" label="标题">
|
<el-table-column align="left" label="标题">
|
||||||
<template slot-scope="scope">{{ scope.row.title }}</template>
|
<template slot-scope="scope">{{ scope.row.title }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="left" label="文章类型">
|
<el-table-column align="left" label="文章类型" v-if=" uploadUrl=='https://qw.ctc-zc.com/api'">
|
||||||
<template slot-scope="scope">{{ type_[scope.row.type] }}</template>
|
<template slot-scope="scope">{{ type_[scope.row.type] }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="left" label="来源">
|
<el-table-column align="left" label="来源">
|
||||||
|
@ -110,6 +110,7 @@ export default {
|
||||||
components: { Pagination },
|
components: { Pagination },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
uploadUrl: process.env.VUE_APP_BASE_API,
|
||||||
type_: {1:"技能大赛",2:"铺装工匠",3:"培训信息",4:"大赛信息"},
|
type_: {1:"技能大赛",2:"铺装工匠",3:"培训信息",4:"大赛信息"},
|
||||||
|
|
||||||
listQuery: Object.assign({}, listQuery),
|
listQuery: Object.assign({}, listQuery),
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<el-form-item label="标题" prop="title">
|
<el-form-item label="标题" prop="title">
|
||||||
<el-input v-model="Form.title" style="width: 80%" />
|
<el-input v-model="Form.title" style="width: 80%" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="文章类型">
|
<el-form-item label="文章类型" v-if=" uploadUrl=='https://qw.ctc-zc.com/api'">
|
||||||
<el-select v-model="Form.type" placeholder="文章类型" style="width:80%">
|
<el-select v-model="Form.type" placeholder="文章类型" style="width:80%">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in typeOption"
|
v-for="item in typeOption"
|
||||||
|
@ -50,6 +50,7 @@ export default {
|
||||||
components: { Tinymce },
|
components: { Tinymce },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
uploadUrl: process.env.VUE_APP_BASE_API,
|
||||||
typeOption: [
|
typeOption: [
|
||||||
{ name: '技能大赛', value: 1 },
|
{ name: '技能大赛', value: 1 },
|
||||||
{ name: '铺装工匠', value: 2 },
|
{ name: '铺装工匠', value: 2 },
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<el-form-item label="标题" prop="title">
|
<el-form-item label="标题" prop="title">
|
||||||
<el-input v-model="Form.title" style="width: 80%"></el-input>
|
<el-input v-model="Form.title" style="width: 80%"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="文章类型">
|
<el-form-item label="文章类型" v-if=" uploadUrl=='https://qw.ctc-zc.com/api'">
|
||||||
<el-select v-model="Form.type" placeholder="文章类型" style="width:80%">
|
<el-select v-model="Form.type" placeholder="文章类型" style="width:80%">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in typeOption"
|
v-for="item in typeOption"
|
||||||
|
@ -49,6 +49,7 @@ export default {
|
||||||
components: { Tinymce },
|
components: { Tinymce },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
uploadUrl: process.env.VUE_APP_BASE_API,
|
||||||
Form:{
|
Form:{
|
||||||
title:'',
|
title:'',
|
||||||
ifrom:'',
|
ifrom:'',
|
||||||
|
|
Loading…
Reference in New Issue