审核预览功能

This commit is contained in:
paidaxing444 2020-09-08 10:43:04 +08:00
parent 20f1d72420
commit 97ff7191a7
3 changed files with 43 additions and 1 deletions

View File

@ -105,6 +105,13 @@
v-hasPermi="['benyi:thememonthplan:edit']" v-hasPermi="['benyi:thememonthplan:edit']"
v-show="isShow(scope.row)" v-show="isShow(scope.row)"
>审批</el-button> >审批</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="handleView(scope.row)"
v-hasPermi="['benyi:themetermplan:query']"
>预览</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -390,6 +397,13 @@ export default {
} }
}); });
}, },
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
this.$router.push({
path: "/benyi_course/thememonthplanprint/table/"+id,
});
},
}, },
}; };
</script> </script>

View File

@ -83,6 +83,13 @@
v-hasPermi="['benyi:themetermplan:edit']" v-hasPermi="['benyi:themetermplan:edit']"
v-show="isShow(scope.row)" v-show="isShow(scope.row)"
>审批</el-button> >审批</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="handleView(scope.row)"
v-hasPermi="['benyi:themetermplan:query']"
>预览</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -327,6 +334,13 @@ export default {
} }
}); });
}, },
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
this.$router.push({
path: "/benyi_course/themetermplanprint/table/" + id,
});
},
}, },
}; };
</script> </script>

View File

@ -99,6 +99,13 @@
v-hasPermi="['benyi:themeweekplan:edit']" v-hasPermi="['benyi:themeweekplan:edit']"
v-show="isShow(scope.row)" v-show="isShow(scope.row)"
>审批</el-button> >审批</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="handleView(scope.row)"
v-hasPermi="['benyi:themeweekplan:query']"
>预览</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -142,7 +149,7 @@
<el-form-item label="备注" prop="remar"> <el-form-item label="备注" prop="remar">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" :disabled="true" /> <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" :disabled="true" />
</el-form-item> </el-form-item>
<el-form-item label="审批意见" prop="status"> <el-form-item label="审批意见" prop="status">
<el-radio-group v-model="form.status"> <el-radio-group v-model="form.status">
<el-radio label="0">退回</el-radio> <el-radio label="0">退回</el-radio>
<el-radio label="2">通过</el-radio> <el-radio label="2">通过</el-radio>
@ -343,6 +350,13 @@ export default {
} }
}); });
}, },
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
this.$router.push({
path: "/benyi_course/themeweekplanprint/table/" + id,
});
},
}, },
}; };
</script> </script>