Merge remote-tracking branch 'origin/develop' into develop

# Conflicts:
#	src/views/projectcenter/TaskPage.vue
This commit is contained in:
yuping
2023-03-07 17:46:05 +08:00
9 changed files with 24 additions and 12 deletions

1
.env
View File

@@ -17,6 +17,7 @@ VUE_APP_OUTPUT_DIR=./dist
VUE_APP_IFRAME_URL=//u-pre.boe.com/pc/iframe VUE_APP_IFRAME_URL=//u-pre.boe.com/pc/iframe
# 学员端路由 # 学员端路由
VUE_APP_IFRAME_STUDENT_URL=//u-pre.boe.com/pc/loading VUE_APP_IFRAME_STUDENT_URL=//u-pre.boe.com/pc/loading
VUE_APP_IFRAME_TEACHER_URL=//u-pre.boe.com/pc/need/waitaudit
# 课程二维码 # 课程二维码
VUE_APP_COURSE_STUDY=//u-pre.boe.com/pc/course/studyindex?id= VUE_APP_COURSE_STUDY=//u-pre.boe.com/pc/course/studyindex?id=

View File

@@ -10,6 +10,7 @@ VUE_APP_BOE_API_URL=//u.boe.com
VUE_APP_IFRAME_URL=//u.boe.com/pc/iframe VUE_APP_IFRAME_URL=//u.boe.com/pc/iframe
VUE_APP_IFRAME_STUDENT_URL=//u.boe.com/pc/loading VUE_APP_IFRAME_STUDENT_URL=//u.boe.com/pc/loading
VUE_APP_IFRAME_TEACHER_URL=//u-pre.boe.com/pc/need/waitaudit
VUE_APP_COURSE_STUDY=//u.boe.com/pc/course/studyindex?id= VUE_APP_COURSE_STUDY=//u.boe.com/pc/course/studyindex?id=

View File

@@ -10,6 +10,7 @@ VUE_APP_BOE_API_URL=//u.boe.com
VUE_APP_IFRAME_URL=//u.boe.com/pc-release/iframe VUE_APP_IFRAME_URL=//u.boe.com/pc-release/iframe
VUE_APP_IFRAME_STUDENT_URL=//u.boe.com/pc-release/loading VUE_APP_IFRAME_STUDENT_URL=//u.boe.com/pc-release/loading
VUE_APP_IFRAME_TEACHER_URL=//u-pre.boe.com/pc-release/need/waitaudit
VUE_APP_COURSE_STUDY=//u.boe.com/pc-release/course/studyindex?id= VUE_APP_COURSE_STUDY=//u.boe.com/pc-release/course/studyindex?id=

View File

@@ -280,6 +280,7 @@ const organizationalTree = []
const iframeUrl = window.location.protocol + process.env.VUE_APP_IFRAME_URL const iframeUrl = window.location.protocol + process.env.VUE_APP_IFRAME_URL
//学员端路由 //学员端路由
const studentUrl = window.location.protocol + process.env.VUE_APP_IFRAME_STUDENT_URL const studentUrl = window.location.protocol + process.env.VUE_APP_IFRAME_STUDENT_URL
const teacherUrl = window.location.protocol + process.env.VUE_APP_IFRAME_TEACHER_URL
//二维码 //二维码
const codeUrl = window.location.protocol + "//u-pre.boe.com" const codeUrl = window.location.protocol + "//u-pre.boe.com"
@@ -297,5 +298,6 @@ export {
organizationalTree, organizationalTree,
iframeUrl, iframeUrl,
studentUrl, studentUrl,
teacherUrl,
codeUrl, codeUrl,
} }

View File

@@ -46,7 +46,7 @@
</template> </template>
<script setup> <script setup>
import {computed, reactive} from "vue"; import {computed, reactive} from "vue";
import {studentUrl} from "@/api/method"; import {studentUrl,teacherUrl} from "@/api/method";
import router from "@/router"; import router from "@/router";
import {useStore, createStore} from "vuex"; import {useStore, createStore} from "vuex";
@@ -67,6 +67,11 @@ const state = reactive({
name: "学员", name: "学员",
go: studentUrl, go: studentUrl,
}, },
{
id:3,
name: "教师",
go: teacherUrl,
}
], ],
visible: false, visible: false,
}); });
@@ -124,7 +129,7 @@ const logOut = () => {
.roleItems { .roleItems {
width: 109px; width: 109px;
height: 90px; height: 120px;
padding-top: 10px; padding-top: 10px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);

View File

@@ -8,7 +8,7 @@
> >
<div class="drawerMain"> <div class="drawerMain">
<div class="header"> <div class="header">
<div class="headerTitle">学员获取详情</div> <div class="headerTitle">学员获取详情1</div>
<img <img
style="width: 29px; height: 29px; cursor: pointer" style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png" src="../../assets/images/basicinfo/close.png"
@@ -26,7 +26,7 @@
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
<div class="pa"> <div class="pa">
<a-pagination <a-pagination
v-if="tableDataTotal > 10" v-if="tableDataTotal > 10"
@@ -50,7 +50,7 @@
</div> </div>
</a-drawer> </a-drawer>
</template> </template>
<script> <script>
import { toRefs, reactive } from "vue"; import { toRefs, reactive } from "vue";
import { studentScoreList } from "../../api/indexProjStu"; import { studentScoreList } from "../../api/indexProjStu";
@@ -178,7 +178,7 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" > <style lang="scss" >
.StuScore { .StuScore {
.drawerMain { .drawerMain {
@@ -292,4 +292,4 @@ export default {
} }
} }
} }
</style> </style>

View File

@@ -4555,7 +4555,6 @@ export default defineComponent({
state.newCourseName = item.name; state.newCourseName = item.name;
state.permissions = item.permissions; state.permissions = item.permissions;
getTableDate3(); getTableDate3();
state.stm_hs = true; state.stm_hs = true;
}; };
@@ -4579,12 +4578,15 @@ export default defineComponent({
console.log(state.kk_inputV1); console.log(state.kk_inputV1);
console.log(state.kk_inputV2); console.log(state.kk_inputV2);
console.log(state.selectTime); console.log(state.selectTime);
getTableDate();
getTableDate3(); getTableDate3();
}; };
const handleRestTable = () => { const handleRestTable = () => {
debugger
state.kk_inputV1 = ""; state.kk_inputV1 = "";
state.kk_inputV2 = ""; state.kk_inputV2 = "";
state.selectTime = ""; state.selectTime = "";
getTableDate();
getTableDate3(); getTableDate3();
}; };

View File

@@ -113,12 +113,12 @@
type="link" type="link"
>编辑</a-button >编辑</a-button
> >
<a-button <!-- <a-button
v-if="record.state === '已发布' && checkPer(record.permissions)" v-if="record.state === '已发布' && checkPer(record.permissions)"
@click="getLearnPathInfo(record.id)" @click="getLearnPathInfo(record.id)"
type="link" type="link"
>编辑</a-button >编辑</a-button
> > -->
<a-button @click="manage(record.id)" type="link">管理</a-button> <a-button @click="manage(record.id)" type="link">管理</a-button>
<DropDown v-if="checkPer(record.permissions)" value="授权"> <DropDown v-if="checkPer(record.permissions)" value="授权">
<OwnerTableModelStudent <OwnerTableModelStudent

View File

@@ -1299,7 +1299,7 @@
v-if="docChecked == true" v-if="docChecked == true"
v-model:file-list="fileList" v-model:file-list="fileList"
name="file" name="file"
:action="baseUrl + '/file/uploadunlimit'" :action="uploadAction"
@change="handleChange" @change="handleChange"
> >
<span <span
@@ -2255,7 +2255,6 @@ export default {
const store = useStore(); const store = useStore();
const route = useRoute(); const route = useRoute();
const state = reactive({ const state = reactive({
baseUrl : process.env.VUE_APP_BASE_API,
createId: "", createId: "",
permissions: "", permissions: "",
screenHeight: document.body.clientHeight, screenHeight: document.body.clientHeight,
@@ -2745,6 +2744,7 @@ export default {
ImpoterGroupLeaderV: false, //导入小组长抽屉 ImpoterGroupLeaderV: false, //导入小组长抽屉
certificatelist: [], certificatelist: [],
fileUrl: process.env.VUE_APP_FILE_PATH, fileUrl: process.env.VUE_APP_FILE_PATH,
uploadAction: process.env.VUE_APP_BASE_API + '/file/uploadunlimit'
}); });
// 排行榜 - start // 排行榜 - start
// 积分排行榜 Top10 // 积分排行榜 Top10