学期计划添加设置按钮
This commit is contained in:
parent
a9092c1325
commit
f00b46b35b
@ -167,6 +167,14 @@
|
|||||||
class-name="small-padding fixed-width edit-btns"
|
class-name="small-padding fixed-width edit-btns"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-setting"
|
||||||
|
@click="handleSetting(scope.row)"
|
||||||
|
v-hasPermi="['benyi:mathtermplan:edit']"
|
||||||
|
>设置</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@ -332,6 +340,14 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/** 设置按钮操作 */
|
||||||
|
handleSetting(row) {
|
||||||
|
const id = row.id;
|
||||||
|
this.$router.push({
|
||||||
|
path: "/benyi_course/mathtermplan/data/" + id,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 是否显示
|
||||||
isShow(row) {
|
isShow(row) {
|
||||||
if (row.status == "0") {
|
if (row.status == "0") {
|
||||||
return true;
|
return true;
|
||||||
|
@ -190,6 +190,14 @@
|
|||||||
width="60"
|
width="60"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-setting"
|
||||||
|
@click="handleSetting(scope.row)"
|
||||||
|
v-hasPermi="['benyi:thememonthplan:edit']"
|
||||||
|
>设置</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@ -375,6 +383,14 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/** 设置按钮操作 */
|
||||||
|
handleSetting(row) {
|
||||||
|
const id = row.id;
|
||||||
|
this.$router.push({
|
||||||
|
path: "/benyi_course/thememonthplan/data/" + id,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 是否显示
|
||||||
isShow(row) {
|
isShow(row) {
|
||||||
if (row.status == "0") {
|
if (row.status == "0") {
|
||||||
return true;
|
return true;
|
||||||
|
@ -167,6 +167,14 @@
|
|||||||
class-name="small-padding fixed-width edit-btns"
|
class-name="small-padding fixed-width edit-btns"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-setting"
|
||||||
|
@click="handleSetting(scope.row)"
|
||||||
|
v-hasPermi="['benyi:themetermplan:edit']"
|
||||||
|
>设置</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@ -506,6 +514,13 @@ export default {
|
|||||||
path: "/benyi_course/themetermplanprint/table/" + id,
|
path: "/benyi_course/themetermplanprint/table/" + id,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/** 设置按钮操作 */
|
||||||
|
handleSetting(row) {
|
||||||
|
const id = row.id;
|
||||||
|
this.$router.push({
|
||||||
|
path: "/benyi_course/themetermplan/data/" + id,
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -180,6 +180,14 @@
|
|||||||
width="60"
|
width="60"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
icon="el-icon-setting"
|
||||||
|
@click="handleSetting(scope.row)"
|
||||||
|
v-hasPermi="['benyi:themeweekplan:edit']"
|
||||||
|
>设置</el-button
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@ -358,6 +366,14 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/** 设置按钮操作 */
|
||||||
|
handleSetting(row) {
|
||||||
|
const id = row.id;
|
||||||
|
this.$router.push({
|
||||||
|
path: "/benyi_course/themeweekplan/data/" + id,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 是否显示
|
||||||
isShow(row) {
|
isShow(row) {
|
||||||
if (row.status == "0") {
|
if (row.status == "0") {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user