mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -417,7 +417,7 @@ export default {
|
|||||||
message.error(`请输入审核意见!`);
|
message.error(`请输入审核意见!`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
ctx.emit("update:ProjAuditvisible", false);
|
||||||
auditView({
|
auditView({
|
||||||
createId: props.chooseCreateId,
|
createId: props.chooseCreateId,
|
||||||
createName: props.chooseCreater,
|
createName: props.chooseCreater,
|
||||||
@@ -437,7 +437,8 @@ export default {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const getDictList = async (param) =>
|
const getDictList = async (param) =>
|
||||||
api1.getDict({
|
api1
|
||||||
|
.getDict({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
setCode: param,
|
setCode: param,
|
||||||
@@ -648,7 +649,6 @@ export default {
|
|||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
}
|
}
|
||||||
.reworkCon {
|
.reworkCon {
|
||||||
height: 56px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 1px solid #f0f6fc;
|
border-bottom: 1px solid #f0f6fc;
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export default {
|
|||||||
console.log('我是传递过来的参数', props.datasource)
|
console.log('我是传递过来的参数', props.datasource)
|
||||||
console.log('我是传递过来的参数2', props.basicdata)
|
console.log('我是传递过来的参数2', props.basicdata)
|
||||||
api.QueryAssessmentDetail({
|
api.QueryAssessmentDetail({
|
||||||
"assessmentSubmitId": props.datasource.assessmentSubmitId,
|
"assessmentSubmitId": props.datasource.assessmentSubmitId?props.datasource.assessmentSubmitId:props.datasource.assessmentResultIds,
|
||||||
"courseId": props.basicdata.id,
|
"courseId": props.basicdata.id,
|
||||||
"studentId": props.datasource.studentId
|
"studentId": props.datasource.studentId
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
|
|||||||
@@ -48,6 +48,10 @@ const props = defineProps({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
checkBatch: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
groupList: {
|
groupList: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
@@ -56,10 +60,10 @@ const props = defineProps({
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const option = computed(() => {
|
const option = computed(() => {
|
||||||
debugger
|
|
||||||
console.log("props.groupList", props.groupList);
|
console.log("props.groupList", props.groupList);
|
||||||
return props.groupList.map((e) => ({
|
return props.groupList.map((e) => ({
|
||||||
label: e.groupName,
|
label: e.groupName,
|
||||||
@@ -81,13 +85,13 @@ const selectGroup = (e, v) => {
|
|||||||
};
|
};
|
||||||
//确认换组
|
//确认换组
|
||||||
const changeGroup = (item) => {
|
const changeGroup = (item) => {
|
||||||
// debugger
|
debugger
|
||||||
console.log("换组", selectGroupId.value, item);
|
console.log("换组", selectGroupId.value, item);
|
||||||
props.checkgroupStuId.forEach(stu => {
|
props.checkgroupStuId.forEach(stu => {
|
||||||
let obj = {
|
let obj = {
|
||||||
groupId: selectGroupId.value,
|
groupId: selectGroupId.value,
|
||||||
groupName: selectGroupName.value,
|
groupName: selectGroupName.value,
|
||||||
studentId: stu,
|
id: stu,
|
||||||
};
|
};
|
||||||
console.log("换组obj", obj);
|
console.log("换组obj", obj);
|
||||||
api
|
api
|
||||||
|
|||||||
@@ -295,7 +295,8 @@ import {
|
|||||||
AUDIENCE_LIST,
|
AUDIENCE_LIST,
|
||||||
ORG_CHILD_LIST,
|
ORG_CHILD_LIST,
|
||||||
ORG_LIST,
|
ORG_LIST,
|
||||||
USER_LIST, USER_LIST_PAGE,
|
// USER_LIST,
|
||||||
|
USER_LIST_PAGE,
|
||||||
} from "@/api/ThirdApi";
|
} from "@/api/ThirdApi";
|
||||||
import {
|
import {
|
||||||
saveStu,
|
saveStu,
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
<ChangeLevelModal v-model:visiblene="visiblene" :stage="stage" :ids="stuSelectKeys" @finash="submitCall" />
|
<ChangeLevelModal v-model:visiblene="visiblene" :stage="stage" :ids="stuSelectKeys" @finash="submitCall" />
|
||||||
|
|
||||||
<!-- 换组弹窗 -->
|
<!-- 换组弹窗 -->
|
||||||
<ChangeGroupModal v-model:changegroupV="checkgroupParam.changegroupV" :groupList="groupList"
|
<ChangeGroupModal v-model:changegroupV="checkgroupParam.changegroupV" :groupList="groupList" :checkBatch="checkgroupParam.checkBatch"
|
||||||
:checkgroupStuId="stuSelectKeys" />
|
:checkgroupStuId="stuSelectKeys" />
|
||||||
<!-- 批量调整关卡弹窗 -->
|
<!-- 批量调整关卡弹窗 -->
|
||||||
<!-- 取消学员弹窗 -->
|
<!-- 取消学员弹窗 -->
|
||||||
@@ -407,6 +407,7 @@ const checkgroupParam = ref({
|
|||||||
changegroupV: false, //学员名称
|
changegroupV: false, //学员名称
|
||||||
checkgroupList: "", //学员小组
|
checkgroupList: "", //学员小组
|
||||||
checkgroupStuId: null,
|
checkgroupStuId: null,
|
||||||
|
checkBatch: true
|
||||||
});
|
});
|
||||||
|
|
||||||
const stuSelectKeys = ref([]);
|
const stuSelectKeys = ref([]);
|
||||||
@@ -426,10 +427,13 @@ const stuRowSelection = computed(() => ({
|
|||||||
|
|
||||||
//显示学员换组弹窗
|
//显示学员换组弹窗
|
||||||
function showChangeGroupModal() {
|
function showChangeGroupModal() {
|
||||||
|
debugger
|
||||||
|
console.log("批量")
|
||||||
const d = props.groupList
|
const d = props.groupList
|
||||||
console.log("d" + d)
|
console.log("d" + d)
|
||||||
// debugger
|
// debugger
|
||||||
checkgroupParam.value.changegroupV = true;
|
checkgroupParam.value.changegroupV = true;
|
||||||
|
checkgroupParam.value.checkBatch = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出数据
|
// 导出数据
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export default {
|
|||||||
api.DownLoadTotalSize().then(res=>{
|
api.DownLoadTotalSize().then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res.data.code==200){
|
if(res.data.code==200){
|
||||||
state.capacity = res.data.data;
|
state.capacity = res.data.data && res.data.data !== {} ? res.data.data : 0;
|
||||||
}else{
|
}else{
|
||||||
state.capacity = 0;
|
state.capacity = 0;
|
||||||
}
|
}
|
||||||
@@ -177,6 +177,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function formatCapacityGB(data) {
|
function formatCapacityGB(data) {
|
||||||
|
debugger
|
||||||
let num = Number(data);
|
let num = Number(data);
|
||||||
let CMB = (num / (1048576*1024)).toFixed(2);
|
let CMB = (num / (1048576*1024)).toFixed(2);
|
||||||
return CMB
|
return CMB
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -15,8 +15,8 @@ module.exports = defineConfig({
|
|||||||
port: 8070,
|
port: 8070,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/manageApi": {
|
"/manageApi": {
|
||||||
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
//target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||||
// target: 'http://localhost:30001',
|
target: 'http://localhost:30001',
|
||||||
changeOrigin: true, //表示是否改变原域名
|
changeOrigin: true, //表示是否改变原域名
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
"^/manageApi": "",
|
"^/manageApi": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user