feat:合并

This commit is contained in:
lixg
2022-12-03 08:30:43 +08:00
parent 20d58c0ee4
commit ce4cc38247
5 changed files with 57 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-11-21 14:32:52
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2022-12-02 17:12:37
* @LastEditTime: 2022-12-02 17:13:55
* @FilePath: /fe-manage/src/api/config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -53,7 +53,7 @@ http.interceptors.response.use(
return response;
} else {
if (code === 1000) {
window.open("https://u-pre.boe.com/web/", '_self');
// window.open("https://u-pre.boe.com/web/", '_self');
}
console.log("api %o", msg);
}

View File

@@ -31,9 +31,10 @@
"
:src="avatar"
/>
<div>{{ username }}</div>
<div style="margin-right: 20px">{{ username }}</div>
</div>
<div
<!-- 2022-12-2注释 后面放开 增加username的margin-right:20 -->
<!-- <div
class="signOutMain"
style="margin: 0px 33px 0px 35px"
@click="showDrawer"
@@ -43,7 +44,7 @@
src="../assets/images/navtop/download.png"
/>
<span class="signOut">下载</span>
</div>
</div> -->
<div class="signOutMain" @click="logOut">
<img
style="width: 27px; height: 27px"

View File

@@ -15,16 +15,16 @@
@click="closeDrawer"
/>
</div>
<div style="display: flex; flex-direction: row; padding-top: 32px">
<button
<!-- 2022-11-30注释 后面放开 修改div的padding-topL:32 -->
<div style="display: flex; flex-direction: row; padding-top: 0px">
<!-- <button
style="width: 100px"
@click="changeOuter(1)"
:class="[isOuter == 1 ? 'outer' : 'notOuter']"
>
系统考试
</button>
<!-- 2022-11-30注释 后面放开 -->
</button> -->
<!-- <button
style="width: 100px"
@click="changeOuter(2)"
@@ -666,7 +666,7 @@ export default {
state.paperName = "";
};
const queryTest = () => {
state.addLoading = true;
state.addLoading = true;
queryExaminationDetailById({ examinationId: props.EditTestId })
.then((res) => {
formState.examinationName = res.data.data.examinationName;
@@ -727,7 +727,7 @@ export default {
if (props.edit) {
// 编辑任务
updateExamination(obj)
.then(async(res) => {
.then(async (res) => {
await updateTask(res);
closeDrawer();
})
@@ -737,7 +737,7 @@ export default {
} else {
// 创建任务
createExamination(obj)
.then(async(res) => {
.then(async (res) => {
await updateTask(res);
closeDrawer();
})

View File

@@ -90,6 +90,7 @@
title: 'name',
value: 'name',
}"
:disabled="isDisabled"
>
<template #suffixIcon></template>
</a-tree>
@@ -148,14 +149,14 @@
</div>
</div>
</div>
<div class="clbox">
<div class="clbox" @click="removeClick">
<span class="allclear">转移归属权</span>
</div>
</div>
</div>
</div>
<div class="btnn">
<button class="btn1">取消</button>
<button class="btn1" @click="closeDrawer">取消</button>
<button class="btn2" @click="addAuth">确定</button>
</div>
</div>
@@ -306,12 +307,15 @@ export default {
selectedRowKeys: [], //表格选中的key
selectPeopleArr: [], //表格选中的人
//快速选人-------------------------------------
isDisabled: true, //是否可选择组织树及用户,默认为不可选
});
const closeDrawer = () => {
state.activeKey = "1";
ctx.emit("update:ProjOwnervisible", false);
state.openKeys = [];
state.isDisabled = true;
};
const afterVisibleChange = (bool) => {
@@ -373,6 +377,11 @@ export default {
const changePagination = () => {
getPeoples();
};
//点击转移归属权
const removeClick = () => {
state.isDisabled = false;
};
//获取授权
const optionAuthPerm = () => {
let obj = {
@@ -588,6 +597,7 @@ export default {
optionAuthPerm,
changeOwnership,
addAuth,
removeClick,
};
},
};

View File

@@ -93,7 +93,7 @@
<a-tab-pane key="1" tab="概览">
<div class="split"></div>
<!-- 概览无数据 -->
<div :style="{ display: nodata ? 'block' : 'none' }">
<div :style="{ display: 'block' }">
<div class="onerow">
<div class="taskmain">快速创建项目详情</div>
</div>
@@ -137,7 +137,8 @@
</div>
<div class="centermain">快速添加学员</div>
</div>
<div
<!-- 2022-12-2注释 后面放开 -->
<!-- <div
class="taskbox"
@click="showPub"
style="background: linear-gradient(180deg, #e5f6ec, #eef9f3)"
@@ -155,11 +156,11 @@
发布
</div>
<div class="centermain">快速发布项目</div>
</div>
</div> -->
</div>
</div>
<!-- 概览有数据 -->
<div :style="{ display: nodata ? 'none' : 'block' }">
<div :style="{ display: 'none' }">
<div class="onerow">
<div class="taskmain">关卡概览</div>
</div>
@@ -476,7 +477,7 @@
</div>
</div>
<div class="operations">
<div
<!-- <div
class="operation"
style="cursor: pointer"
:style="{
@@ -485,8 +486,8 @@
@click="showFS"
>
学员
</div>
<div
</div> -->
<!-- <div
class="operation"
style="cursor: pointer"
@click="showAA(item.type, item.name)"
@@ -498,18 +499,10 @@
}"
>
考勤
</div>
</div> -->
<div
class="operation"
style="cursor: pointer"
:style="{
display:
item.type === 6 ||
item.type === 9 ||
item.type === 2
? 'flex'
: 'none',
}"
@click="
item.type === 2
? showCopyModal(item.type)
@@ -522,7 +515,7 @@
>
二维码
</div>
<div
<!-- <div
class="operation"
style="cursor: pointer; margin-right: 35px"
@click="
@@ -545,7 +538,7 @@
"
>
管理
</div>
</div> -->
</div>
</div>
</a-collapse-panel>
@@ -599,13 +592,30 @@
<!-- 2022-11-30注释 后面放开 -->
<!-- <button class="addd" @click="showImpStu">导入学员</button> -->
<div class="select">
<a-select
<a-button
style="
border: 1px solid rgba(64, 158, 255, 1);
background: none;
width: 130px;
height: 40px;
font-size: 14px;
font-weight: 400;
color: rgba(64, 158, 255, 1);
margin-left: 5px;
border-radius: 8px;
cursor: pointer;
"
class="btnText"
@click="deleteStu()"
>批量删除</a-button
>
<!-- <a-select
style="width: 130px"
value="更多操作"
@change="handleStuChange"
:options="projectNameList"
>
</a-select>
</a-select> -->
</div>
</div>
<div class="talk">
@@ -2150,6 +2160,7 @@ export default {
pageChange,
setconfig,
deFile,
deleteStu,
};
},
};