feat:编辑测评选择测评选项可以回显,修复删除后tag没清除,修改时间的传参;管理的催促提示修改

This commit is contained in:
Ggysh-7
2022-11-25 21:54:57 +08:00
parent 586d06148f
commit 142e923d05
10 changed files with 202 additions and 453 deletions

View File

@@ -31,8 +31,8 @@ http.interceptors.request.use(
console.log("当前请求页面无token,请执行操作!!!"); console.log("当前请求页面无token,请执行操作!!!");
// 此处测试默认配置token // 此处测试默认配置token
config.headers.token = "123456"; // config.headers.token = "123456";
// config.headers.token = "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzMDA4MDksImV4cCI6MTY2OTMwODAwOSwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.bb3e0e031513761003d5c3bfeaf16e364bdf8fe7bc4cf691a05a74dc454afbfb"; config.headers.token = "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzODQwMTIsImV4cCI6MTY2OTM5MTIxMiwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjAxNTU1M0RELTQ0NUUtNjlENC0zNTFGLUREOUExQTU2NDIwRSIsInVJZCI6Ijk2NTM0MTk5OTY0MzIzNDMwNCIsInBlcm1pc3Npb24iOiIifQ==.654058829fa6a65bf1477f6fc78cc6009304be484c9c49c0944147930c341f6c"
} }
return config; return config;
}, },

View File

@@ -57,6 +57,7 @@
/> />
<div class="pa"> <div class="pa">
<a-pagination <a-pagination
v-if="tableDataTotal>10"
showSizeChanger="true" showSizeChanger="true"
showQuickJumper="true" showQuickJumper="true"
hideOnSinglePage="true" hideOnSinglePage="true"
@@ -308,7 +309,9 @@ export default {
}; };
//重置案例信息 //重置案例信息
const resetCase = () => { const resetCase = () => {
state.inputV1 = ""; state.inputV1 = ""
state.selectedRowKeys=[]
state.currentPage = 1
getAllCaseText(); getAllCaseText();
}; };
return { return {
@@ -468,8 +471,6 @@ export default {
.pa { .pa {
left: 0; left: 0;
width: 100%; width: 100%;
// height: 20px;
// background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
position: absolute; position: absolute;

View File

@@ -54,7 +54,7 @@
<span style="margin-left: 10px"> <span style="margin-left: 10px">
<a-tag <a-tag
class="tag-style" class="tag-style"
v-if="evaluationTypeName != ''" v-if="evaluationTypeName !== ''"
:closable="true" :closable="true"
@close="delTag" @close="delTag"
>{{ evaluationTypeName }}</a-tag >{{ evaluationTypeName }}</a-tag
@@ -97,6 +97,7 @@
</div> </div>
<EvList <EvList
v-model:EvalListVisible="EvalListVisible" v-model:EvalListVisible="EvalListVisible"
v-model:evaluationTypeName="evaluationTypeName"
@getEvListData="checkFinish" @getEvListData="checkFinish"
/> />
<!-- <div class="aeLoading" :style="{display:addLoading?'flex':'none'}"> <!-- <div class="aeLoading" :style="{display:addLoading?'flex':'none'}">
@@ -113,7 +114,6 @@ import * as apitaskadd from "../../api/indexTaskadd";
import { message } from "ant-design-vue"; import { message } from "ant-design-vue";
import { RouterEditTask } from "@/api/indexTask"; import { RouterEditTask } from "@/api/indexTask";
import dayjs from "dayjs"; import dayjs from "dayjs";
// const router = useRouter();
export default { export default {
name: "AddEval", name: "AddEval",
components: { components: {
@@ -165,15 +165,16 @@ export default {
time: undefined, time: undefined,
EvalId: null, EvalId: null,
//子传回来的参数 //子传回来的参数
evaluationTypeId: 0, evaluationTypeId: null,
evaluationTypeName: "", evaluationTypeName: '',
description: "", description: "",
EvalListVisible: false, EvalListVisible: false,
// addLoading:false, // addLoading:false,
}); });
const checkFinish = (value)=> { const checkFinish = (value)=> {
state.evaluationTypeId = value.quiz_kid state.evaluationTypeId = value.quiz_kid ? value.quiz_kid : null
state.evaluationTypeName = value.title state.evaluationTypeName = value.title ? value.title : ""
console.log(state.evaluationTypeId,'state.evaluationTypeId',state.evaluationTypeName,'state.evaluationTypeName');
} }
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:addevalVisible", false); ctx.emit("update:addevalVisible", false);
@@ -264,15 +265,17 @@ export default {
api api
.queryEvaluationDetailById(objqi) .queryEvaluationDetailById(objqi)
.then((res) => { .then((res) => {
console.log(res,'获取到的信息');
message.destroy() message.destroy()
message.success("获取测评信息成功"); message.success("获取测评信息成功");
state.inputV1 = res.data.data.evaluationName state.inputV1 = res.data.data.evaluationName
state.evaluationTypeName = res.data.data.evaluationTypeName state.evaluationTypeName = res.data.data.evaluationTypeName
state.evaluationTypeId = res.data.data.evaluationTypeId; state.evaluationTypeId = res.data.data.evaluationTypeId;
state.time = [ state.time = res.data.data.evaluationStartTime ? [
dayjs(res.data.data.evaluationStartTime, "YYYY-MM-DD"), dayjs(res.data.data.evaluationStartTime, "YYYY-MM-DD"),
dayjs(res.data.data.evaluationEndTime, "YYYY-MM-DD"), dayjs(res.data.data.evaluationEndTime, "YYYY-MM-DD"),
]; ] : undefined ;
state.description = res.data.data.evaluationExplain
}) })
.catch((err) => { .catch((err) => {
message.destroy() message.destroy()
@@ -298,12 +301,12 @@ export default {
} }
let objei = { let objei = {
evaluationName: state.inputV1, evaluationName: state.inputV1,
evaluationEndTime: dayjs(state.time[1]).format("YYYY-MM-DD"), evaluationEndTime: state.time ? dayjs(state.time[1]).format("YYYY-MM-DD") : "",
evaluationId: props.edit ? Number(props.EditEvalId) : 0, evaluationId: props.edit ? Number(props.EditEvalId) : 0,
evaluationStartTime: dayjs(state.time[0]).format("YYYY-MM-DD"), evaluationStartTime: state.time ? dayjs(state.time[0]).format("YYYY-MM-DD") : "",
evaluationTypeId: state.evaluationTypeId, evaluationTypeId: state.evaluationTypeId,
evaluationTypeName: state.evaluationTypeName, evaluationTypeName: state.evaluationTypeName,
evaluationFlag: "", evaluationFlag: state.description,
evaluationPictureAddress: "", evaluationPictureAddress: "",
evaluationTag: "", evaluationTag: "",
updateTime: "", updateTime: "",
@@ -315,8 +318,7 @@ export default {
closeDrawer(); closeDrawer();
ctx.emit("changeData", false); ctx.emit("changeData", false);
}) })
.catch((err) => { .catch(() => {
console.log(err,'errrrrrrrrrrrrrrrrrrrrr');
}); });
} }
//创建测评信息 //创建测评信息
@@ -331,11 +333,12 @@ export default {
} }
let obj = { let obj = {
evaluationName: state.inputV1, evaluationName: state.inputV1,
evaluationEndTime: dayjs(state.time[1]).format("YYYY-MM-DD"), evaluationEndTime: state.time ? dayjs(state.time[1]).format("YYYY-MM-DD") : "",
evaluationId: props.evaluationId , evaluationId: props.evaluationId ,
evaluationStartTime: dayjs(state.time[0]).format("YYYY-MM-DD"), evaluationStartTime: state.time ? dayjs(state.time[0]).format("YYYY-MM-DD") : "",
evaluationTypeId: state.evaluationTypeId, evaluationTypeId: state.evaluationTypeId,
evaluationTypeName: state.evaluationTypeName, evaluationTypeName: state.evaluationTypeName,
evaluationExplain:state.description,
evaluationFlag: "", evaluationFlag: "",
evaluationPictureAddress: "", evaluationPictureAddress: "",
evaluationTag: "", evaluationTag: "",

View File

@@ -23,7 +23,7 @@
<div class="ipt_name">测评信息</div> <div class="ipt_name">测评信息</div>
<div class="fi_input"> <div class="fi_input">
<a-input <a-input
v-model:value="value1" v-model:value="inputV1"
style="width: 240px; height: 40px; border-radius: 8px" style="width: 240px; height: 40px; border-radius: 8px"
placeholder="请输入项目名称" placeholder="请输入项目名称"
/> />
@@ -31,7 +31,7 @@
</div> </div>
</div> </div>
<div class="mi_btns"> <div class="mi_btns">
<div class="btn btn1"> <div class="btn btn1" @click="searchList">
<div class="search"></div> <div class="search"></div>
<div class="btnText">搜索</div> <div class="btnText">搜索</div>
</div> </div>
@@ -52,13 +52,13 @@
/> />
<div class="pa"> <div class="pa">
<a-pagination <a-pagination
v-if="total > 10" v-if="tableDataTotal > 10"
showSizeChanger="true" showSizeChanger="true"
showQuickJumper="true" showQuickJumper="true"
hideOnSinglePage="true" hideOnSinglePage="true"
:pageSize="pageSize" :pageSize="pageSize"
:current="currentPage" :current="currentPage"
:total="total" :total="tableDataTotal"
class="pagination" class="pagination"
@change="changePagination" @change="changePagination"
/> />
@@ -73,7 +73,7 @@
</a-drawer> </a-drawer>
</template> </template>
<script> <script>
import { reactive, toRefs } from "vue"; import { reactive, toRefs } from "vue";
import * as api from "../../api/indexEval"; import * as api from "../../api/indexEval";
export default { export default {
name: "EvList", name: "EvList",
@@ -96,7 +96,8 @@
currentPage: 1, currentPage: 1,
tableDataTotal: 0, tableDataTotal: 0,
pageSize: 10, pageSize: 10,
vlue1:"", inputV1:"",
searching:false,
evaluationTypeId:null, evaluationTypeId:null,
evaluationTypeName:"", evaluationTypeName:"",
tableData: [], tableData: [],
@@ -111,7 +112,7 @@
align: "center", align: "center",
}, },
{ {
title: "title", title: "课程名称",
width: "20%", width: "20%",
dataIndex: "title", dataIndex: "title",
key: "title", key: "title",
@@ -153,9 +154,13 @@
} }
state.selectedRowKeys = selectedRowKeys state.selectedRowKeys = selectedRowKeys
state.evListData = selectedRows[0] ? selectedRows[0] : [] state.evListData = selectedRows[0] ? selectedRows[0] : []
console.log('state.evListData',state.evListData);
} }
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:EvalListVisible", false); ctx.emit("update:EvalListVisible", false);
state.selectedRowKeys = []
state.evListData = {}
state.inputV1 = ""
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
if ( bol == true ) { if ( bol == true ) {
@@ -169,12 +174,53 @@
const changePagination = (page) => { const changePagination = (page) => {
state.currentPage = page; state.currentPage = page;
}; };
//如果编辑情况会通过父亲传回来evaluationTypeId遍历出相同的那个选项 再将那个选项的key值赋给state.selectRowKeys
const getTableDataList = (tableData) => { const getTableDataList = (tableData) => {
let data = tableData; let data = tableData;
let array = []; let array = [];
data.map((value) => { let arrayKey = [];
if(props.evaluationTypeName != ""){
data.map((value,index) => {
let obj = { let obj = {
key:index+1,
status:value.status,
quiz_code:value.quiz_code,
quiz_kid:value.quiz_kid,
title:value.title,
theme_desc:value.theme_desc,
quiz_price:value.quiz_price,
quiz_range:value.quiz_range,
};
array.push(obj)
if(obj.title == props.evaluationTypeName){
arrayKey.push(obj.key);
}
});
state.tableData = array;
state.selectedRowKeys = arrayKey;
}else if (state.searching){
data.map((value,index) => {
let obj = {
key:index+1,
status:value.status,
quiz_code:value.quiz_code,
quiz_kid:value.quiz_kid,
title:value.title,
theme_desc:value.theme_desc,
quiz_price:value.quiz_price,
quiz_range:value.quiz_range,
};
if(state.inputV1 == obj.title)
{
array.push(obj);
}
});
state.tableData = array;
}
else{
data.map((value,index) => {
let obj = {
key:index+1,
status:value.status, status:value.status,
quiz_code:value.quiz_code, quiz_code:value.quiz_code,
quiz_kid:value.quiz_kid, quiz_kid:value.quiz_kid,
@@ -186,13 +232,14 @@
array.push(obj); array.push(obj);
}); });
state.tableData = array; state.tableData = array;
}
}; };
//获取测评列表 //获取测评列表
const getAllEvalText = ()=> { const getAllEvalText = ()=> {
let objael = { let objael = {
"keyword": "", "keyword": "",
"user_id": 0, "user_id": 965341999643234304,
} }
api api
.choiceEvaluation(objael) .choiceEvaluation(objael)
@@ -202,13 +249,16 @@
.catch(()=>{ .catch(()=>{
}) })
} }
//
const searchList = ()=> {
state.searching = true
getAllEvalText()
}
//重置测评列表 //重置测评列表
const resetData = ()=> { const resetData = ()=> {
state.currentPage = 1; state.currentPage = 1;
state.tableData = [];
state.selectedRowKeys = []; state.selectedRowKeys = [];
state.evaluationTypeId = null; state.evListData = {}
state.evaluationTypeName = "";
getAllEvalText(); getAllEvalText();
} }
return { return {
@@ -219,6 +269,7 @@
getTableDataList, getTableDataList,
checkFinish, checkFinish,
changePagination, changePagination,
searchList,
resetData, resetData,
}; };
}, },
@@ -384,8 +435,6 @@
.pa { .pa {
left: 0; left: 0;
width: 100%; width: 100%;
// height: 20px;
// background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
position: absolute; position: absolute;

View File

@@ -58,7 +58,7 @@
<div class="btnss" style="margin-top: 20px"> <div class="btnss" style="margin-top: 20px">
<div class="btn btn1" style="margin-right: 20px" @click="godie"> <div class="btn btn1" style="margin-right: 20px" @click="godie">
<div class="img1"></div> <div class="img1"></div>
<div class="wz">催促学习</div> <div class="wz">催促{{title}}</div>
</div> </div>
<div class="btn btn2" @click="allStuOver"> <div class="btn btn2" @click="allStuOver">
<div class="wz">批量标注完成</div> <div class="wz">批量标注完成</div>
@@ -342,11 +342,14 @@ export default {
); );
} }
}); });
// state.tabledata = arr;
}; };
ListOpera(); ListOpera();
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:Fvisible", false); ctx.emit("update:Fvisible", false);
state.name = ""
state.projectName = ""
state.selectedRowKeys = []
state.currentPage = 1
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
if ( bol == true ) { if ( bol == true ) {
@@ -373,9 +376,9 @@ export default {
//催促学员学习 //催促学员学习
const godie = () => { const godie = () => {
message.destroy() message.destroy()
message.success("催促学员成功") message.success("催促"+props.title+"成功")
}; };
//清空所选 //表头清空
const clearLine = ()=> { const clearLine = ()=> {
state.selectedRowKeys=[] state.selectedRowKeys=[]
} }
@@ -455,10 +458,11 @@ export default {
//重置任务列表 //重置任务列表
const resetTaskList = () => { const resetTaskList = () => {
state.name = ""; state.name = ""
state.projectName = ""; state.projectName = ""
state.tabledata = []; state.selectedRowKeys = []
//getManageList(); state.currentPage = 1
getManageList();
}; };

View File

@@ -64,7 +64,7 @@
style="margin-right: 20px; cursor: pointer" style="margin-right: 20px; cursor: pointer"
> >
<div class="img2"></div> <div class="img2"></div>
<div class="wz">催促考试</div> <div class="wz">催促{{title}}</div>
</div> </div>
<div class="btn btn2"> <div class="btn btn2">
<div class="img1"></div> <div class="img1"></div>
@@ -72,14 +72,6 @@
</div> </div>
</div> </div>
<div class="tab" style="margin-top: 20px; margin-bottom: 100px"> <div class="tab" style="margin-top: 20px; margin-bottom: 100px">
<!-- <a-table
style="border: 1px solid #f2f6fe"
:columns="tableDataFunc()"
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
:scroll="{ x: 900 }"
:pagination="false"
/> -->
<div v-if="itemsType == 5"> <div v-if="itemsType == 5">
<a-table <a-table
style="border: 1px solid #f2f6fe" style="border: 1px solid #f2f6fe"
@@ -163,7 +155,6 @@ export default {
setup(props, ctx) { setup(props, ctx) {
const state = reactive({ const state = reactive({
name: null, name: null,
open: false,
CQvisible:false, //查看答卷抽屉 CQvisible:false, //查看答卷抽屉
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
@@ -395,6 +386,10 @@ export default {
} }
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:TMvisible", false); ctx.emit("update:TMvisible", false);
state.name = ""
state.currentPage = 1
state.projectName = ""
state.selectedRowKeys = []
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
if ( bol == true ) { if ( bol == true ) {
@@ -408,7 +403,7 @@ export default {
//催促 //催促
const godie = () => { const godie = () => {
message.destroy() message.destroy()
message.success("催促考试成功") message.success("催促"+props.title+"成功")
}; };
//换页 //换页
const onChange = (pageNumber) => { const onChange = (pageNumber) => {
@@ -491,10 +486,11 @@ export default {
//重置任务列表 //重置任务列表
const resetTaskList = () => { const resetTaskList = () => {
state.name = ""; state.name = ""
state.projectName = ""; state.currentPage = 1
state.tabledata = []; state.projectName = ""
// getManageList(); state.selectedRowKeys = []
getManageList();
}; };
return { return {

View File

@@ -60,7 +60,7 @@
<div class="btnss" style="margin-top: 20px"> <div class="btnss" style="margin-top: 20px">
<div class="btn btn1" @click="godie" style="margin-right: 20px"> <div class="btn btn1" @click="godie" style="margin-right: 20px">
<div class="img1"></div> <div class="img1"></div>
<div class="wz">催促学习</div> <div class="wz">催促{{title}}</div>
</div> </div>
<div class="btn btn2"> <div class="btn btn2">
<div class="img2"></div> <div class="img2"></div>
@@ -135,7 +135,6 @@ export default {
visible: props.Tvisible, visible: props.Tvisible,
CVvisible:false, //查看投票抽屉 CVvisible:false, //查看投票抽屉
name: "", name: "",
open: false,
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
@@ -344,6 +343,10 @@ export default {
ListOpera(); ListOpera();
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:Tvisible", false); ctx.emit("update:Tvisible", false);
state.currentPage = 1
state.name = ""
state.projectName = ""
state.tabledata = []
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
if ( bol == true ) { if ( bol == true ) {
@@ -356,11 +359,43 @@ export default {
//催促 //催促
const godie = () => { const godie = () => {
message.destroy() message.destroy()
message.success("催促学习成功") message.success("催促"+props.title+"成功")
}; };
const onChange = (pageNumber) => { const onChange = (pageNumber) => {
console.log("Page: ", pageNumber); console.log("Page: ", pageNumber);
}; };
//渲染到列表中
const getTableDate = (tableData) => {
let data = tableData;
let array = [];
data.map((value, index) => {
if(props.itemsType ==12 ){
let obj = {
key: index+1,
workNum:"",
userName:value.useInfoBo.userName,
deptName:value.useInfoBo.deptName,
jobName:value.useInfoBo.jobName,
time:"",
status:"",
operation:"",
};
array.push(obj);
}else{
let obj = {
key: index+1,
workNum:"",
userName:value.userName,
deptName:value.deptName,
jobName:value.jobName,
time:"",
status:"",
};
array.push(obj);
}
});
state.tabledata = array;
};
//获取任务管理列表 //获取任务管理列表
const getManageList = () => { const getManageList = () => {
let obj = { let obj = {
@@ -376,10 +411,10 @@ export default {
.then((res) => { .then((res) => {
state.pageNo = res.data.data.pageNo; state.pageNo = res.data.data.pageNo;
state.pageSize = res.data.data.pageSize; state.pageSize = res.data.data.pageSize;
for (let i = 0; i < res.data.data.rows.length; i++) { // for (let i = 0; i < res.data.data.rows.length; i++) {
state.tabledata.push(res.data.data.rows[i].userInfoBo); // state.tabledata.push(res.data.data.rows[i].userInfoBo);
} // }
ListOpera(); getTableDate(res.data.data.rows)
}) })
.catch((err) => { .catch((err) => {
console.log(err,'sss'); console.log(err,'sss');

View File

@@ -298,6 +298,9 @@ export default {
ListOpera(); ListOpera();
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:Wvisible", false); ctx.emit("update:Wvisible", false);
state.name = ""
state.currentPage = 1
state.projectName = ""
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
if ( bol == true ) { if ( bol == true ) {
@@ -319,7 +322,38 @@ export default {
const onChange = (pageNumber) => { const onChange = (pageNumber) => {
console.log("Page: ", pageNumber); console.log("Page: ", pageNumber);
}; };
//渲染到列表中
const getTableDate = (tableData) => {
let data = tableData;
let array = [];
data.map((value, index) => {
if(props.itemsType ==12 ){
let obj = {
key: index+1,
workNum:"",
userName:value.useInfoBo.userName,
deptName:value.useInfoBo.deptName,
jobName:value.useInfoBo.jobName,
time:"",
status:"",
operation:"",
};
array.push(obj);
}else{
let obj = {
key: index+1,
workNum:"",
userName:value.userName,
deptName:value.deptName,
jobName:value.jobName,
time:"",
status:"",
};
array.push(obj);
}
});
state.tabledata = array;
};
//获取任务管理列表 //获取任务管理列表
const getManageList = () => { const getManageList = () => {
let obj = { let obj = {
@@ -335,10 +369,10 @@ export default {
.then((res) => { .then((res) => {
state.pageNo = res.data.data.pageNo; state.pageNo = res.data.data.pageNo;
state.pageSize = res.data.data.pageSize; state.pageSize = res.data.data.pageSize;
state.pageSize = res.data.data.pageSize; // for (let i = 0; i < res.data.data.rows.length; i++) {
for (let i = 0; i < res.data.data.rows.length; i++) { // state.tabledata.push(res.data.data.rows[i].userInfoBo);
state.tabledata.push(res.data.data.rows[i].userInfoBo); // }
} getTableDate(res.data.data.rows)
}) })
.catch(() => { .catch(() => {
}); });
@@ -377,10 +411,10 @@ export default {
//重置任务列表 //重置任务列表
const resetTaskList = () => { const resetTaskList = () => {
state.name = ""; state.name = ""
state.projectName = ""; state.currentPage = 1
state.tabledata = []; state.projectName = ""
// getManageList(); getManageList();
}; };
return { return {

View File

@@ -1348,7 +1348,7 @@ export default {
//在线抽屉 //在线抽屉
const showDrawerAddOnline = (id, eleId) => { const showDrawerAddOnline = (id, eleId) => {
state.addonlinevisible = true; state.addonlinevisible = true;
state.EditWorkId = id; state.EditOnlineId = id;
state.routerTaskId = eleId; state.routerTaskId = eleId;
}; };
//面授抽屉 //面授抽屉
@@ -1360,12 +1360,11 @@ export default {
//案例抽屉 //案例抽屉
const showDrawerAddCase = (id, eleId) => { const showDrawerAddCase = (id, eleId) => {
state.addcasevisible = true; state.addcasevisible = true;
state.EditWorkId = id; state.EditCaseId = id;
state.routerTaskId = eleId; state.routerTaskId = eleId;
}; };
// 作业抽屉 // 作业抽屉
const showDrawerAddHomework = (id, eleId) => { const showDrawerAddHomework = (id, eleId) => {
console.log("homework==============", id, state.isactive);
state.addhomeworkvisible = true; state.addhomeworkvisible = true;
state.EditWorkId = id; state.EditWorkId = id;
state.routerTaskId = eleId; state.routerTaskId = eleId;
@@ -1390,7 +1389,6 @@ export default {
}; };
//投票抽屉 //投票抽屉
const showDrawerAddVote = (id, eleId) => { const showDrawerAddVote = (id, eleId) => {
// state.addhomeworkvisible = true;
state.addvotevisible = true; state.addvotevisible = true;
state.EditVoteId = id; state.EditVoteId = id;
state.routerTaskId = eleId; state.routerTaskId = eleId;
@@ -1432,10 +1430,6 @@ export default {
if (state.level[i].chapterId === id) { if (state.level[i].chapterId === id) {
let array = []; let array = [];
state.chooseProjectList = JSON.stringify(state.level[i].taskList); state.chooseProjectList = JSON.stringify(state.level[i].taskList);
// console.log(
// "goggoo",
// Object.prototype.toString.call(state.chooseProjectList)
// );
state.level[i].taskList.forEach((element) => { state.level[i].taskList.forEach((element) => {
let obj = { let obj = {
id: element.routerTaskId, id: element.routerTaskId,
@@ -1465,7 +1459,6 @@ export default {
const getDetail = () => { const getDetail = () => {
GetRouterDetail(state.routerId) GetRouterDetail(state.routerId)
.then((res) => { .then((res) => {
console.log("res.data.data.chapterList", res.data.data.chapterList);
//给level赋初始值 //给level赋初始值
state.level = res.data.data.chapterList; state.level = res.data.data.chapterList;
state.styTitle = res.data.data.routerInfo.name; state.styTitle = res.data.data.routerInfo.name;
@@ -1526,7 +1519,6 @@ export default {
{ {
title: "姓名", title: "姓名",
dataIndex: "name", dataIndex: "name",
// width: "30%",
key: "name", key: "name",
width: 60, width: 60,
align: "left", align: "left",

View File

@@ -10,19 +10,11 @@
@click="showCancel" @click="showCancel"
/> />
</div> </div>
<!-- @click="showModal" -->
<div class="btn btn3" @click="showModal()" style="margin-left: 19px"> <div class="btn btn3" @click="showModal()" style="margin-left: 19px">
<div class="search"></div> <div class="search"></div>
<div class="btnText">添加阶段</div> <div class="btnText">添加阶段</div>
</div> </div>
<div class="maincon" style="background-color: #fff"> <div class="maincon" style="background-color: #fff">
<!-- <div
class="items"
:class="{ active: isActive == true }"
@click="changebgc"
v-for="item in level"
:key="item.id"
> -->
<draggable <draggable
v-model="level" v-model="level"
@@ -691,12 +683,6 @@
</div> --> </div> -->
</div> </div>
</div> </div>
<!-- 编辑在线侧弹窗 -->
<div>
<edit-online v-model:editonlineVisible="editonlinevisible" />
</div>
<!-- 编辑在线侧弹窗 -->
</div> </div>
</div> </div>
</div> </div>
@@ -1034,7 +1020,6 @@
<script> <script>
import { reactive, toRefs, onMounted, onUnmounted, onUpdated } from "vue"; import { reactive, toRefs, onMounted, onUnmounted, onUpdated } from "vue";
import AddOnline from "../../components/drawers/AddOnline.vue"; import AddOnline from "../../components/drawers/AddOnline.vue";
import EditOnline from "../../components/drawers/EditOnline.vue";
import AddFaceteach from "../../components/drawers/AddFaceteach.vue"; import AddFaceteach from "../../components/drawers/AddFaceteach.vue";
import AddCase from "../../components/drawers/AddCase.vue"; import AddCase from "../../components/drawers/AddCase.vue";
import AddHomework from "../../components/drawers/AddHomework.vue"; import AddHomework from "../../components/drawers/AddHomework.vue";
@@ -1055,50 +1040,11 @@ import { storage } from "../../api/storage";
import UnlockMode from "../../components/drawers/UnlockMode.vue"; import UnlockMode from "../../components/drawers/UnlockMode.vue";
// import * as api1 from "../../api/index1"; // import * as api1 from "../../api/index1";
const drawercolumns = [
{
title: "项目名称",
dataIndex: "projectName",
key: "projectName",
width: 200,
// align: "center",
ellipsis: true,
// scopedSlots: { customRender: "action" }, //引入的插槽
// customRender: (text, record) => {
// console.log(text, record);
// return <span>{text.text}</span>;
// },
},
{
title: "项目经理",
dataIndex: "manager",
key: "manager",
width: 100,
align: "center",
},
{
title: "创建人",
dataIndex: "creater",
// width: "30%",
key: "creater",
width: 100,
align: "center",
},
{
title: "创建时间",
dataIndex: "time",
key: "time",
width: 180,
align: "center",
},
];
export default { export default {
name: "TaskAdd", name: "TaskAdd",
components: { components: {
draggable, draggable,
AddOnline, AddOnline,
EditOnline,
AddFaceteach, AddFaceteach,
AddCase, AddCase,
AddHomework, AddHomework,
@@ -1136,45 +1082,11 @@ export default {
EditOnlineId: null, //要编辑的在线id EditOnlineId: null, //要编辑的在线id
EditFaceTeach: null, EditFaceTeach: null,
EditFaceId: null, EditFaceId: null,
EditEvalId: null, EditEvalId: null, //要编辑的测评id
EditInvistId: null, EditInvistId: null,
EditVoteId: null, //编辑需要投票的id EditVoteId: null, //编辑需要投票的id
ballotId: "", //编辑需要的题干id ballotId: "", //编辑需要的题干id
projectTaskId: null, // 要编辑的具体任务id projectTaskId: null, // 要编辑的具体任务id
projectNameList: [
{
id: 1,
value: "项目一",
label: "项目一",
},
{
id: 2,
value: "项目二",
label: "项目二",
},
{
id: 3,
value: "项目三",
label: "项目三",
},
{
id: 4,
value: "项目四",
label: "项目四",
},
],
projectNameList2: [
{
id: 1,
value: "删除任务",
label: "删除任务",
},
{
id: 2,
value: "移动任务到关卡",
label: "移动任务到关卡",
},
],
//阶段数据 //阶段数据
level: [], level: [],
@@ -1182,93 +1094,12 @@ export default {
picUrl: null, picUrl: null,
//任务数据 //任务数据
tableData: [], tableData: [],
drawertableData: [
{
key: 1,
projectName: "管理者进阶",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
children: [
{
key: "1-1",
projectName: "管理者进阶-腾飞班",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
children: [
{
key: "1-1-1",
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
],
},
],
},
{
key: 2,
projectName: "管理者进阶",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
children: [
{
key: "2-1",
projectName: "管理者进阶-腾飞班",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
children: [
{
key: "2-1-1",
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
],
},
],
},
{
key: 3,
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
{
key: 4,
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
{
key: 5,
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
{
key: "1-1-1",
projectName: "管理者进阶-腾飞班K1",
manager: "黄华 刘俊",
creater: "毛继禹",
time: "2022-07-20 14:00:03",
},
],
currentPage: 1, currentPage: 1,
tableDataTotal: 100, tableDataTotal: 100,
pageSize: 10, pageSize: 10,
addonlinevisible: false, addonlinevisible: false,
addfaceteachvisible: false, addfaceteachvisible: false,
addcasevisible: false, addcasevisible: false,
editonlinevisible: false,
addhomeworkvisible: false, addhomeworkvisible: false,
addtestvisible: false, addtestvisible: false,
addlivevisible: false, addlivevisible: false,
@@ -1488,7 +1319,6 @@ export default {
<div class="opacation"> <div class="opacation">
<span <span
onClick={() => { onClick={() => {
state.editonlinevisible = true;
console.log(text, "编辑text"); console.log(text, "编辑text");
}} }}
style="color:#4EA6FF;margin-right:25px;cursor:pointer" style="color:#4EA6FF;margin-right:25px;cursor:pointer"
@@ -1600,8 +1430,7 @@ export default {
api api
.deleteTask(obj) .deleteTask(obj)
.then((res) => { .then((res) => {
console.log(res, "gggggggggggggggg"); console.log(res);
// deleteVoteText();
}) })
.catch((err) => { .catch((err) => {
console.log(err); console.log(err);
@@ -1850,7 +1679,6 @@ export default {
state.projectTaskId = eleId; state.projectTaskId = eleId;
state.adddiscussvisible = true; state.adddiscussvisible = true;
}; };
const showDrawerAddActive = (id, eleId) => { const showDrawerAddActive = (id, eleId) => {
state.addactivevisible = true; state.addactivevisible = true;
state.EditActiveId = id; state.EditActiveId = id;
@@ -1859,8 +1687,7 @@ export default {
}; };
const showDrawerAddEval = (id, eleId) => { const showDrawerAddEval = (id, eleId) => {
state.addevalvisible = true; state.addevalvisible = true;
// state.EditEvalId = id; state.EditEvalId = id;
state.evaluationId = id;
state.projectTaskId = eleId; state.projectTaskId = eleId;
}; };
const showDrawerAddInvist = (id, eleId) => { const showDrawerAddInvist = (id, eleId) => {
@@ -1869,7 +1696,6 @@ export default {
state.projectTaskId = eleId; state.projectTaskId = eleId;
}; };
const showDrawerAddVote = (id, eleId) => { const showDrawerAddVote = (id, eleId) => {
state.addvotevisible = true; state.addvotevisible = true;
state.EditVoteId = id; state.EditVoteId = id;
state.projectTaskId = eleId; state.projectTaskId = eleId;
@@ -1985,13 +1811,6 @@ export default {
message.warning("修改失败"); message.warning("修改失败");
}); });
}; };
//打开测评的弹窗
const showEditEvalDrawer = (id, eleId) => {
state.addevalvisible = true;
state.projectTaskId = eleId;
state.EditEvalId = id;
};
//编辑的按钮 //编辑的按钮
const decideType = (type, id, eleId) => { const decideType = (type, id, eleId) => {
state.edit = true; state.edit = true;
@@ -2001,7 +1820,7 @@ export default {
} else if (type == "直播") { } else if (type == "直播") {
showDrawerAddLive(id, eleId); showDrawerAddLive(id, eleId);
} else if (type == "测评") { } else if (type == "测评") {
showEditEvalDrawer(id, eleId); showDrawerAddEval(id, eleId);
} else if (type == "评估") { } else if (type == "评估") {
showDrawerAddInvist(id, eleId); showDrawerAddInvist(id, eleId);
} else if (type == "投票") { } else if (type == "投票") {
@@ -2049,9 +1868,7 @@ export default {
tableDataFunc, tableDataFunc,
showModal, showModal,
closeModal, closeModal,
// showDrawer,
afterVisibleChange, afterVisibleChange,
drawercolumns,
onSelectChange, onSelectChange,
showDrawerOnline, showDrawerOnline,
showDrawerFaceteach, showDrawerFaceteach,
@@ -2063,7 +1880,6 @@ export default {
showDrawerAddDiscuss, showDrawerAddDiscuss,
showDrawerAddActive, showDrawerAddActive,
showDrawerAddEval, showDrawerAddEval,
showEditEvalDrawer,
showDrawerAddInvist, showDrawerAddInvist,
showDrawerAddVote, showDrawerAddVote,
showConfirm, showConfirm,
@@ -2104,12 +1920,6 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
// .ant-input {
// border-radius: 8px;
// // height: 120%;
// width: 384px;
// height: 88px;
// }
.ConfirmModal { .ConfirmModal {
.ant-modal { .ant-modal {
width: 424px !important; width: 424px !important;
@@ -2128,10 +1938,6 @@ export default {
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);
border-radius: 4px; border-radius: 4px;
// position: absolute;
// left: 50%;
// top: 10%;
// transform: translate(-50%, -50%);
.del_header { .del_header {
position: absolute; position: absolute;
width: calc(100%); width: calc(100%);
@@ -2174,7 +1980,6 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
// background-color: red;
position: relative; position: relative;
.back { .back {
position: absolute; position: absolute;
@@ -2248,12 +2053,9 @@ export default {
.name { .name {
width: 78%; width: 78%;
// background-color: lightcoral;
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
align-items: center; align-items: center;
//height: 40px;
// border: 1px solid black;
.namebox { .namebox {
width: 120px; width: 120px;
display: flex; display: flex;
@@ -2287,7 +2089,6 @@ export default {
left: 50%; left: 50%;
top: 50%; top: 50%;
height: 50px; height: 50px;
//margin-left: -5px;
margin-top: -25px; margin-top: -25px;
border-left: 2px solid rgba(78, 166, 255, 1); border-left: 2px solid rgba(78, 166, 255, 1);
} }
@@ -2300,16 +2101,12 @@ export default {
.in { .in {
margin-left: 14px; margin-left: 14px;
flex: 1; flex: 1;
// .ant-radio-wrapper {
// }
.ant-input-affix-wrapper { .ant-input-affix-wrapper {
width: 384px; width: 384px;
border-radius: 8px; border-radius: 8px;
} }
.ant-input { .ant-input {
border-radius: 8px; border-radius: 8px;
// height: 120%;
//width: 384px;
height: 30px; height: 30px;
} }
} }
@@ -2327,7 +2124,6 @@ export default {
width: 549px !important; width: 549px !important;
height: 245px !important; height: 245px !important;
.con { .con {
// background-color: #bfa;
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -2416,133 +2212,20 @@ export default {
} }
} }
} }
// .info {
// width: 78%;
// // background-color: lightcoral;
// display: flex;
// margin-top: 30px;
// // align-items: center;
// // height: 40px;
// // border: 1px solid black;
// .inname {
// color: #6f6f6f;
// font-size: 14px;
// margin-left: 26px;
// margin-top: 15px;
// }
// .in {
// margin-left: 14px;
// width: 81%;
// position: relative;
// .ant-input {
// border-radius: 5px;
// // height: 120%;
// width: 100%;
// height: 130px;
// resize: none;
// }
// }
// }
// .drawerStyle {
// .ant-drawer-content-wrapper {
// // max-width: 1000px;
// .ant-drawer-header {
// display: none !important;
// }
// .ant-drawer-body {
// padding: 0;
// }
// }
// .drawerMain {
// min-width: 600px;
// margin: 0px 32px 0px 32px;
// overflow-x: auto;
// display: flex;
// flex-direction: column;
// .header {
// height: 73px;
// border-bottom: 1px solid #e8e8e8;
// display: flex;
// justify-content: space-between;
// align-items: center;
// // background-color: red;
// margin-bottom: 20px;
// .headerTitle {
// font-size: 18px;
// font-weight: 600;
// color: #333333;
// line-height: 25px;
// // margin-left: 24px;
// }
// }
// .drawerbox {
// margin: 20px 38px 30px;
// th {
// background-color: #eff4fc !important;
// }
// .ant-table-tbody
// > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
// > td {
// background: #f6f9fd;
// }
// }
// .btnn {
// height: 72px;
// width: 100%;
// position: absolute;
// bottom: 0;
// left: 0;
// display: flex;
// align-items: center;
// justify-content: center;
// box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
// .btn1 {
// width: 100px;
// height: 40px;
// border: 1px solid #4ea6ff;
// border-radius: 8px;
// color: #4ea6ff;
// background-color: #fff;
// cursor: pointer;
// }
// .btn2 {
// cursor: pointer;
// width: 100px;
// height: 40px;
// background: #4ea6ff;
// border-radius: 8px;
// border: 0;
// margin-left: 15px;
// color: #fff;
// }
// }
// }
// }
.taskadd { .taskadd {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: 933px; min-width: 933px;
// min-width: 1200px;
// overflow-x: hidden;
// min-width: 1400px;
// overflow: scroll;
background-color: rgba(245, 247, 250, 1); background-color: rgba(245, 247, 250, 1);
.left { .left {
margin-right: 20px; margin-right: 20px;
width: 208px; width: 208px;
// height: 100%;
// flex: 1;
// height: 100%;
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);
display: flex; display: flex;
justify-content: center; justify-content: center;
.leftmain { .leftmain {
// width: 86%;
margin-top: 20px; margin-top: 20px;
.tit { .tit {
margin-left: 20px; margin-left: 20px;
@@ -2550,17 +2233,14 @@ export default {
color: #363636; color: #363636;
} }
// flex-wrap: wrap;
.btn { .btn {
margin-top: 20px; margin-top: 20px;
// padding: 0px 26px 0px 26px;
height: 38px; height: 38px;
background: #fff6e8; background: #fff6e8;
border-radius: 8px; border-radius: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
// margin-right: 14px;
flex-shrink: 0; flex-shrink: 0;
cursor: pointer; cursor: pointer;
.search { .search {
@@ -2570,7 +2250,6 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #ffb64e; color: #ffb64e;
// line-height: 38px;
margin-top: 4px; margin-top: 4px;
margin-left: 5px; margin-left: 5px;
} }
@@ -2594,12 +2273,10 @@ export default {
align-items: center; align-items: center;
.ghost { .ghost {
// background-color: red;
opacity: 0 !important; opacity: 0 !important;
} }
.items { .items {
width: 171px; width: 171px;
// height: 83px;
background: rgba(255, 182, 78, 0.1); background: rgba(255, 182, 78, 0.1);
border: 1px solid #ffb64e; border: 1px solid #ffb64e;
opacity: 0.45; opacity: 0.45;
@@ -2647,9 +2324,6 @@ export default {
.items2 { .items2 {
.nname { .nname {
width: 140px; width: 140px;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
font-weight: bold; font-weight: bold;
overflow: hidden; overflow: hidden;
@@ -2662,21 +2336,16 @@ export default {
} }
.active { .active {
opacity: 1; opacity: 1;
// transition: all 0.5s;
} }
} }
} }
} }
.right { .right {
flex: 1; flex: 1;
// background-color: #fff;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.addhead { .addhead {
width: 100%; width: 100%;
// min-width: 500px;
// height: 130px;
// flex: 1;
background-color: #fff; background-color: #fff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.07); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.07);
display: flex; display: flex;
@@ -2692,7 +2361,6 @@ export default {
.le { .le {
display: flex; display: flex;
align-items: center; align-items: center;
// margin-bottom: 10px;
.leftimg { .leftimg {
width: 151px; width: 151px;
height: 100px; height: 100px;
@@ -2719,11 +2387,7 @@ export default {
} }
.rightt { .rightt {
// width: 500px;
height: 100%; height: 100%;
// background-color: red;
// position: absolute;
// right: 0;
display: flex; display: flex;
align-items: center; align-items: center;
.select { .select {
@@ -2849,7 +2513,6 @@ export default {
.mid { .mid {
width: 100%; width: 100%;
// height: 130px;
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
background-color: #fff; background-color: #fff;
@@ -2859,7 +2522,6 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
.item { .item {
height: 115px; height: 115px;
// width: 7.7%;
display: flex; display: flex;
align-items: center; align-items: center;
.itcon { .itcon {
@@ -2900,8 +2562,6 @@ export default {
justify-content: center; justify-content: center;
.boomcen { .boomcen {
width: 95%; width: 95%;
// height: 100%;
// background-color: #bfa;
.onerow { .onerow {
width: 100%; width: 100%;
display: flex; display: flex;
@@ -3011,7 +2671,6 @@ export default {
height: 50px; height: 50px;
background: #f5faff; background: #f5faff;
border: 1px solid #4ea6ff; border: 1px solid #4ea6ff;
// opacity: 0.22;
display: flex; display: flex;
align-items: center; align-items: center;
.im { .im {
@@ -3045,15 +2704,11 @@ export default {
opacity: 1; opacity: 1;
} }
.ghost { .ghost {
// background-color: red;
opacity: 0; opacity: 0;
} }
.tableRow:hover { .tableRow:hover {
background-color: #f2f6fc; background-color: #f2f6fc;
} }
// .tableRow: {
// background-color: #f2f6fc;
// }
.classify { .classify {
margin-left: 10px !important; margin-left: 10px !important;
padding-left: 9px !important; padding-left: 9px !important;
@@ -3081,8 +2736,6 @@ export default {
.pa { .pa {
left: 0; left: 0;
width: 100%; width: 100%;
// height: 20px;
// background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
position: absolute; position: absolute;
@@ -3092,18 +2745,6 @@ export default {
} }
} }
} }
// .drawerbox {
// // margin: 20px 38px 30px;
// th.h {
// background-color: #eff4fc !important;
// }
// .ant-table-tbody
// > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
// > td {
// background: #f6f9fd;
// }
// }
} }
.opat { .opat {
@@ -3115,13 +2756,11 @@ export default {
background-color: #5dc988; background-color: #5dc988;
} }
.showt { .showt {
// margin-top: 10px;
display: flex; display: flex;
margin-left: 10px; margin-left: 10px;
height: 23px; height: 23px;
position: relative; position: relative;
.bi { .bi {
// margin-top: 10px;
width: 63px; width: 63px;
height: 23; height: 23;
background-color: #5dc988; background-color: #5dc988;
@@ -3136,7 +2775,6 @@ export default {
height: 23px; height: 23px;
background-color: #f2f6fc; background-color: #f2f6fc;
line-height: 23px; line-height: 23px;
// display: none;
position: absolute; position: absolute;
z-index: 998; z-index: 998;
color: #5dc988; color: #5dc988;
@@ -3153,8 +2791,6 @@ export default {
width: 17px; width: 17px;
height: 14px; height: 14px;
background-image: url("../../assets/images/leveladd/z1.png"); background-image: url("../../assets/images/leveladd/z1.png");
// position: absolute;
// left: -40px;
} }
.ch { .ch {
margin-left: 10px; margin-left: 10px;
@@ -3164,7 +2800,6 @@ export default {
width: 100%; width: 100%;
height: 80px; height: 80px;
margin-top: 16px; margin-top: 16px;
// flex: 1;
background-color: #fff; background-color: #fff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.07); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.07);
display: flex; display: flex;