+
@@ -49,7 +49,7 @@
placeholder="公告信息最多输入150个字"
style="margin-top: -10px; height: 160px;"
/>
-
+
取消
发布
@@ -69,6 +69,10 @@ import emitter from "../../utils/bus";
export default {
name: "NoticePub",
props: {
+ permissions:{
+ type:String,
+ default:''
+ },
projectId: {
type: Number,
default: null,
diff --git a/src/components/drawers/ProjectScore.vue b/src/components/drawers/ProjectScore.vue
index c8d63de7..c8a13b0d 100644
--- a/src/components/drawers/ProjectScore.vue
+++ b/src/components/drawers/ProjectScore.vue
@@ -144,7 +144,7 @@
规则
-
+
编辑
@@ -302,6 +302,10 @@ export default {
StuScoreDetail,
},
props: {
+ permissions:{
+ type:String,
+ default: ''
+ },
projectId: {
type: Number,
default: null,
diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue
index 8899454d..8a4c578b 100644
--- a/src/components/student/TableStudent.vue
+++ b/src/components/student/TableStudent.vue
@@ -79,6 +79,7 @@
type="flex"
gutter="12"
style="padding-left: 20px; margin-right: 0px"
+ v-button-per="permissions"
>
通过
拒绝
- 删除
+ 删除
@@ -355,6 +358,10 @@ import { ExclamationCircleOutlined } from "@ant-design/icons-vue";
const props = defineProps({
type: Number,
+ permissions:{
+ type: String,
+ default: ''
+ },
id: String,
columns: {
type: Array,
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index 0678f121..8af57952 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -4447,6 +4447,18 @@ export default defineComponent({
// 管理开课
const handleGuan22 = (item) => {
+ if (String(item.courseform) === '1') {
+ return;
+ }
+ if (String(item.courseform) === ('1' || '线上')) {
+ state.om_1 = true;
+ state.ft_1 = false;
+ } else if (
+ String(item.courseform) === ('2' || '面授')
+ ) {
+ state.om_1 = true;
+ state.ft_1 = true;
+ }
state.manageStuLoading = true;
console.log(787666, item);
state.faceClassification = item.contentTxt;
diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue
index 4adfac7b..7672e178 100644
--- a/src/views/learningpath/LevelAdd.vue
+++ b/src/views/learningpath/LevelAdd.vue
@@ -53,7 +53,7 @@
-
+
任务大纲
-
+
查看
- 调整
+ 调整
查看
- 调整
+ 调整
-
@@ -592,7 +592,7 @@
关卡内容可见可学设置
-
+
编辑
@@ -1388,6 +1388,7 @@ export default {
const router = useRouter();
// const store = useStore();
const state = reactive({
+ permissions:'',
hasTask: false,
stage: [],
statess: [],
@@ -2240,6 +2241,7 @@ export default {
.then((res) => {
console.log("router-list", res);
state.fileList = JSON.parse(res.data.data.routerInfo.attach);
+ state.permissions = res.data.data.routerInfo.permissions
console.log("asdasdasd-------->", state.fileList);
state.docChecked =
res.data.data.routerInfo.attachSwitch == 1 ? true : false;
diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue
index 55a671e4..cc3ff998 100644
--- a/src/views/projectcenter/TaskPage.vue
+++ b/src/views/projectcenter/TaskPage.vue
@@ -195,7 +195,7 @@
-
+
-->
-
+
-
+
-
+
创建小组
@@ -781,7 +783,7 @@
style="color: rgba(0, 0, 0, 0.45); cursor: pointer"
>. . .
-
+
编辑
@@ -838,7 +840,7 @@
-
+
-
+
@@ -1096,7 +1098,7 @@
编辑
-->
-
+
@@ -2143,6 +2145,7 @@ export default {
const store = useStore();
const route = useRoute();
const state = reactive({
+ permissions:'',
screenHeight: document.body.clientHeight,
screenWidth: document.body.clientWidth,
editRecord: {},
@@ -3854,6 +3857,7 @@ export default {
name: e.name,
}));
let info = res.data.data.projectInfo;
+ state.permissions = info.permissions;
// let start = toDate(info.beginTime / 1000, "Y-M-D h:m");
let start = info.beginTime;
// let end = toDate(info.endTime / 1000, "Y-M-D h:m");