|
@@ -138,7 +138,7 @@
|
|
|
<el-table-column
|
|
|
fixed="right"
|
|
|
label="操作"
|
|
|
- width="150">
|
|
|
+ width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
@click.native.prevent="handleEdit(scope.row)"
|
|
@@ -148,6 +148,13 @@
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
+ @click.native.prevent="handleEdit(scope.row,1)"
|
|
|
+ type="text"
|
|
|
+ size="small"
|
|
|
+ class="primary-btn">
|
|
|
+ 信息
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
@click.native.prevent="handleCheck(scope.row, scope.$index)"
|
|
|
type="text"
|
|
|
size="small"
|
|
@@ -254,7 +261,7 @@
|
|
|
<el-table-column
|
|
|
fixed="right"
|
|
|
label="操作"
|
|
|
- width="190">
|
|
|
+ width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
@click.native.prevent="handleEdits(scope.row)"
|
|
@@ -443,7 +450,7 @@ export default {
|
|
|
return studyCn
|
|
|
},
|
|
|
// 创建机构或者编辑信息
|
|
|
- handleEdit(row){
|
|
|
+ handleEdit(row,flag){
|
|
|
// 根据登录用户判断当前用户是不是超管 在table里加上disabled
|
|
|
|
|
|
// 点击时记录页码和每页条数
|
|
@@ -452,6 +459,9 @@ export default {
|
|
|
window.localStorage.setItem('tabsIndex',this.tabsIndex)
|
|
|
window.localStorage.removeItem('newsForm')
|
|
|
window.localStorage.removeItem('newsStep')
|
|
|
+ if(flag){
|
|
|
+ window.localStorage.setItem('newsStep',1)
|
|
|
+ }
|
|
|
this.$router.push({
|
|
|
path: "/createNewspaper",
|
|
|
query: {
|