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