提交 01f9420f authored 作者: 翟畅's avatar 翟畅

zc修改模块

上级 c99c88b9
...@@ -77,7 +77,7 @@ const companyRouter = { //与我同行管理--company_manage ...@@ -77,7 +77,7 @@ const companyRouter = { //与我同行管理--company_manage
meta: { meta: {
title: '新建资讯', title: '新建资讯',
type: 'recruit', type: 'recruit',
noCache: true, activeMenu: `/group_manage/recruit` noCache: true, activeMenu: `/company_manage/recruit`
}, },
}, { }, {
path: 'editRecruit', path: 'editRecruit',
...@@ -87,7 +87,7 @@ const companyRouter = { //与我同行管理--company_manage ...@@ -87,7 +87,7 @@ const companyRouter = { //与我同行管理--company_manage
meta: { meta: {
title: '编辑资讯', title: '编辑资讯',
type: 'recruit', type: 'recruit',
noCache: true, activeMenu: `/group_manage/recruit` noCache: true, activeMenu: `/company_manage/recruit`
}, },
}, { }, {
path: 'viewRecruit', path: 'viewRecruit',
...@@ -97,7 +97,7 @@ const companyRouter = { //与我同行管理--company_manage ...@@ -97,7 +97,7 @@ const companyRouter = { //与我同行管理--company_manage
meta: { meta: {
title: '预览资讯', title: '预览资讯',
type: 'recruit', type: 'recruit',
noCache: true, activeMenu: `/group_manage/recruit` noCache: true, activeMenu: `/company_manage/recruit`
}, },
} }
] ]
......
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
:header-cell-style="{color:'#4F5D73'}"> :header-cell-style="{color:'#4F5D73'}">
<el-table-column type="selection" ref="selectionCheckbox"></el-table-column> <el-table-column type="selection" ref="selectionCheckbox"></el-table-column>
<el-table-column prop="name" label="模块名称" min-width="20%" show-overflow-tooltip></el-table-column> <el-table-column prop="name" label="模块名称" min-width="20%" show-overflow-tooltip></el-table-column>
<el-table-column label="类型" min-width="10%"> <!-- <el-table-column label="类型" min-width="10%">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.columnType == 1">表格式</span> <span v-if="scope.row.columnType == 1">表格式</span>
<span v-if="scope.row.columnType == 2">文本式</span> <span v-if="scope.row.columnType == 2">文本式</span>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column prop="sort" label="排序号" min-width="10%" default-sort="{order: 'ascending'}"></el-table-column> <el-table-column prop="sort" label="排序号" min-width="10%" default-sort="{order: 'ascending'}"></el-table-column>
<el-table-column prop="createdTime" label="创建时间" min-width="10%"></el-table-column> <el-table-column prop="createdTime" label="创建时间" min-width="10%"></el-table-column>
<el-table-column label="操作" min-width="10%" class-name="small-padding" fixed="right"> <el-table-column label="操作" min-width="10%" class-name="small-padding" fixed="right">
......
...@@ -60,18 +60,6 @@ ...@@ -60,18 +60,6 @@
<span v-else>表格式</span> <span v-else>表格式</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="上线状态" min-width="10%">
<template slot="header" slot-scope="slot">
<el-select style="width:70%" v-model="listQuery.status" @change="getList()" size="mini">
<el-option label="上线状态" value=""></el-option>
<el-option :label="i" :value="v" v-for="(i,v) in lineStatusList" :key="v"></el-option>
</el-select>
</template>
<template slot-scope="scope">
<span v-if="scope.row.status == 1" ><span class="up_status"></span>{{statusText[scope.row.status]}}</span>
<span v-else style="color:#999999"><span class="down_status"></span>{{statusText[scope.row.status]}}</span>
</template>
</el-table-column> -->
<el-table-column label="操作" min-width="10%" class-name="small-padding" fixed="right"> <el-table-column label="操作" min-width="10%" class-name="small-padding" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-for="item in btnList" :key="item.id" v-if="item.type == 9 && !(item.url == 'removeLine' && scope.row.status==1)" :class="item.url" size="mini" type="text" <el-button v-for="item in btnList" :key="item.id" v-if="item.type == 9 && !(item.url == 'removeLine' && scope.row.status==1)" :class="item.url" size="mini" type="text"
......
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
</div> </div>
<!-- 页面检索模块 --> <!-- 页面检索模块 -->
<el-form inline :model="listQuery" style="float:right;" size="small"> <el-form inline :model="listQuery" style="float:right;" size="small">
<el-form-item style="width:120px;margin-right:0"> <!-- <el-form-item style="width:120px;margin-right:0">
<el-select clearable placeholder="所属栏目" v-model="listQuery.columnId"> <el-select clearable placeholder="所属栏目" v-model="listQuery.columnId">
<el-option v-for="(item,index) in columnList" :key="index" :label="item.name" :value="item.id" v-if="item.name == '招聘职位'"></el-option> <el-option v-for="(item,index) in columnList" :key="index" :label="item.name" :value="item.id" v-if="item.name == '招聘职位'"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item v-for="item in searchBox" :key="item.name" style="margin-bottom:0"> <el-form-item v-for="item in searchBox" :key="item.name" style="margin-bottom:0">
<el-input v-model="listQuery[item.name]" @keyup.enter.native="getList()" <el-input v-model="listQuery[item.name]" @keyup.enter.native="getList()"
:placeholder="item.placeholder" clearable> :placeholder="item.placeholder" clearable>
...@@ -159,9 +159,9 @@ export default { ...@@ -159,9 +159,9 @@ export default {
}, },
handleBtn(btnName,id) { handleBtn(btnName,id) {
let status = { let status = {
'createBtn':() => { this.navigationFuc('createContentWork') },//新建 'createBtn':() => { this.navigationFuc('createRecruit') },//新建
'editLine':() => { this.navigationFuc('editContentWork',{editId:id}) }, //编辑 'editLine':() => { this.navigationFuc('editRecruit',{editId:id}) }, //编辑
'viewLine':() => { this.navigationFuc('viewContentWork',{reviewId:id}) }, //预览 'viewLine':() => { this.navigationFuc('viewRecruit',{reviewId:id}) }, //预览
'removeLine':() => { this.removeData(id) }, //删除 'removeLine':() => { this.removeData(id) }, //删除
'batchRemoveBtn':() => { this.removeData() }, //批量删除 'batchRemoveBtn':() => { this.removeData() }, //批量删除
'soldBtn':() => { this.batchSoldData(1) }, //上线 'soldBtn':() => { this.batchSoldData(1) }, //上线
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<!-- 页面检索模块 --> <!-- 页面检索模块 -->
<el-form inline :model="listQuery" style="float:right;" size="small"> <el-form inline :model="listQuery" style="float:right;" size="small">
<el-form-item style="width:120px;margin-right:0"> <el-form-item style="width:120px;margin-right:0">
<el-select clearable placeholder="所属栏目" v-model="listQuery.columnId"> <el-select placeholder="所属栏目" v-model="listQuery.columnId">
<el-option v-for="(item,index) in columnList" :key="index" :label="item.name" :value="item.id" v-if="item.name == '党建工作' || item.name == '社会责任'"></el-option> <el-option v-for="(item,index) in columnList" :key="index" :label="item.name" :value="item.id" v-if="item.name == '党建工作' || item.name == '社会责任'"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论