mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
fix:修改发布学员人数
This commit is contained in:
@@ -138,7 +138,7 @@ export async function request(_url, params) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const body = method !== 'get' ? params || {} : {}
|
const body = method !== 'get' ? params || {} : {}
|
||||||
url = process.env.VUE_APP_BOE_API_URL + url
|
// url = process.env.VUE_APP_BOE_API_URL + url
|
||||||
return fetch(url, {
|
return fetch(url, {
|
||||||
method,
|
method,
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -51,31 +51,37 @@ body {
|
|||||||
height: 6px;
|
height: 6px;
|
||||||
/*对水平流动条有效*/
|
/*对水平流动条有效*/
|
||||||
}
|
}
|
||||||
|
|
||||||
::-o-scrollbar {
|
::-o-scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
/*对垂直流动条有效*/
|
/*对垂直流动条有效*/
|
||||||
height: 6px;
|
height: 6px;
|
||||||
/*对水平流动条有效*/
|
/*对水平流动条有效*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar {
|
.scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
/*对垂直流动条有效*/
|
/*对垂直流动条有效*/
|
||||||
height: 6px;
|
height: 6px;
|
||||||
/*对水平流动条有效*/
|
/*对水平流动条有效*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*定义滚动条的轨道颜色、内阴影及圆角*/
|
/*定义滚动条的轨道颜色、内阴影及圆角*/
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background-color: rgba(239, 244, 252, 1);
|
background-color: rgba(239, 244, 252, 1);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-scrollbar-track {
|
::-moz-scrollbar-track {
|
||||||
background-color: rgba(239, 244, 252, 1);
|
background-color: rgba(239, 244, 252, 1);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-o-scrollbar-track {
|
::-o-scrollbar-track {
|
||||||
background-color: rgba(239, 244, 252, 1);
|
background-color: rgba(239, 244, 252, 1);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar-track {
|
.scrollbar-track {
|
||||||
background-color: rgba(239, 244, 252, 1);
|
background-color: rgba(239, 244, 252, 1);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@@ -86,14 +92,17 @@ body {
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: rgba(78, 166, 255, 1);
|
background-color: rgba(78, 166, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-scrollbar-thumb {
|
::-moz-scrollbar-thumb {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: rgba(78, 166, 255, 1);
|
background-color: rgba(78, 166, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
::-o-scrollbar-thumb {
|
::-o-scrollbar-thumb {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: rgba(78, 166, 255, 1);
|
background-color: rgba(78, 166, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar-thumb {
|
.scrollbar-thumb {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: rgba(78, 166, 255, 1);
|
background-color: rgba(78, 166, 255, 1);
|
||||||
@@ -104,35 +113,43 @@ body {
|
|||||||
background-color: cyan;
|
background-color: cyan;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-scrollbar-button {
|
::-moz-scrollbar-button {
|
||||||
background-color: cyan;
|
background-color: cyan;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-o-scrollbar-button {
|
::-o-scrollbar-button {
|
||||||
background-color: cyan;
|
background-color: cyan;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar-button {
|
.scrollbar-button {
|
||||||
background-color: cyan;
|
background-color: cyan;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*定义右下角汇合处的样式*/
|
/*定义右下角汇合处的样式*/
|
||||||
::-webkit-scrollbar-corner {
|
::-webkit-scrollbar-corner {
|
||||||
background: rgba(239, 244, 252, 1);
|
background: rgba(239, 244, 252, 1);
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-scrollbar-corner {
|
::-moz-scrollbar-corner {
|
||||||
background: rgba(239, 244, 252, 1);
|
background: rgba(239, 244, 252, 1);
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-o-scrollbar-corner {
|
::-o-scrollbar-corner {
|
||||||
background: rgba(239, 244, 252, 1);
|
background: rgba(239, 244, 252, 1);
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrollbar-corner {
|
.scrollbar-corner {
|
||||||
background: rgba(239, 244, 252, 1);
|
background: rgba(239, 244, 252, 1);
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
//隐藏滚动条----------------------------------------------------------------
|
//隐藏滚动条----------------------------------------------------------------
|
||||||
|
|
||||||
//禁止选中----------------------------------------------------------
|
//禁止选中----------------------------------------------------------
|
||||||
@@ -329,7 +346,8 @@ textarea {
|
|||||||
|
|
||||||
//抽屉--------------------------------------------------------
|
//抽屉--------------------------------------------------------
|
||||||
.drawerStyle {
|
.drawerStyle {
|
||||||
// transform: translateX(0px) !important;
|
|
||||||
|
// transform: translateX(0px) !important;
|
||||||
.ant-drawer-content-wrapper {
|
.ant-drawer-content-wrapper {
|
||||||
max-width: 1050px;
|
max-width: 1050px;
|
||||||
|
|
||||||
@@ -437,29 +455,34 @@ textarea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-modal{
|
.ant-modal {
|
||||||
.modalHeader{
|
.modalHeader {
|
||||||
background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important;
|
background: linear-gradient(180deg, rgba(103, 64, 255, 0.2) 0%, rgba(166, 168, 255, 0) 100%) !important;
|
||||||
}
|
}
|
||||||
.top{
|
|
||||||
background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important;
|
.top {
|
||||||
|
background: linear-gradient(180deg, rgba(103, 64, 255, 0.2) 0%, rgba(166, 168, 255, 0) 100%) !important;
|
||||||
}
|
}
|
||||||
.del_header{
|
|
||||||
background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important;
|
.del_header {
|
||||||
|
background: linear-gradient(180deg, rgba(103, 64, 255, 0.2) 0%, rgba(166, 168, 255, 0) 100%) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//弹窗--------------------------------------------------------
|
//弹窗--------------------------------------------------------
|
||||||
|
|
||||||
//loading--------------------------------------------------------
|
//loading--------------------------------------------------------
|
||||||
.aeLoading {
|
.aeLoading {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top:0,
|
top: 0;
|
||||||
|
z-index: 100
|
||||||
}
|
}
|
||||||
|
|
||||||
//loading--------------------------------------------------------
|
//loading--------------------------------------------------------
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
<!-- <img class="im" src="../../assets/px.jpg" />
|
<!-- <img class="im" src="../../assets/px.jpg" />
|
||||||
<img class="im" src="../../assets/px.jpg" />
|
<img class="im" src="../../assets/px.jpg" />
|
||||||
<img class="im" src="../../assets/px.jpg" /> -->
|
<img class="im" src="../../assets/px.jpg" /> -->
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@click="chooseImg(item)"
|
@click="chooseImg(item)"
|
||||||
v-for="(item, index) in imgData"
|
v-for="(item, index) in imgData"
|
||||||
@@ -244,7 +244,7 @@
|
|||||||
class="aeLoading"
|
class="aeLoading"
|
||||||
:style="{ display: lpLoading ? 'flex' : 'none' }"
|
:style="{ display: lpLoading ? 'flex' : 'none' }"
|
||||||
>
|
>
|
||||||
<a-spin :spinning="lpLoading" tip=""/>
|
<a-spin :spinning="lpLoading" tip="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -278,7 +278,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="inname">路径图名称</div>
|
<div class="inname">路径图名称</div>
|
||||||
<div class="in" >
|
<div class="in">
|
||||||
<!-- <a-input-->
|
<!-- <a-input-->
|
||||||
<!-- v-model:value="pathName"-->
|
<!-- v-model:value="pathName"-->
|
||||||
<!-- maxlength="20"-->
|
<!-- maxlength="20"-->
|
||||||
@@ -332,7 +332,7 @@
|
|||||||
<!-- <img class="im" src="../../assets/px.jpg" />
|
<!-- <img class="im" src="../../assets/px.jpg" />
|
||||||
<img class="im" src="../../assets/px.jpg" />
|
<img class="im" src="../../assets/px.jpg" />
|
||||||
<img class="im" src="../../assets/px.jpg" /> -->
|
<img class="im" src="../../assets/px.jpg" /> -->
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@click="chooseImg2(item)"
|
@click="chooseImg2(item)"
|
||||||
v-for="(item, index) in imgData"
|
v-for="(item, index) in imgData"
|
||||||
@@ -709,7 +709,7 @@ import { storage } from "../../api/storage";
|
|||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
import OrgClass from "@/components/project/OrgClass";
|
import OrgClass from "@/components/project/OrgClass";
|
||||||
import NameInput from "@/components/project/NameInput";
|
import NameInput from "@/components/project/NameInput";
|
||||||
|
import { getStuPage } from "@/api/index1";
|
||||||
export default {
|
export default {
|
||||||
name: "learningPath",
|
name: "learningPath",
|
||||||
components: {
|
components: {
|
||||||
@@ -857,7 +857,7 @@ export default {
|
|||||||
state.pathName = "";
|
state.pathName = "";
|
||||||
state.pathBg = "";
|
state.pathBg = "";
|
||||||
state.pathBgId = "";
|
state.pathBgId = "";
|
||||||
if(store.state.userInfo.departId && store.state.userInfo.departName){
|
if (store.state.userInfo.departId && store.state.userInfo.departName) {
|
||||||
state.organizationSelectName = store.state.userInfo.departName;
|
state.organizationSelectName = store.state.userInfo.departName;
|
||||||
state.organizationSelectId = store.state.userInfo.departId;
|
state.organizationSelectId = store.state.userInfo.departId;
|
||||||
}
|
}
|
||||||
@@ -867,7 +867,7 @@ export default {
|
|||||||
const handleOut1 = () => {
|
const handleOut1 = () => {
|
||||||
state.pathName = "";
|
state.pathName = "";
|
||||||
state.pathBg = "";
|
state.pathBg = "";
|
||||||
state.pathBgId =1;
|
state.pathBgId = 1;
|
||||||
state.organizationSelectName = null;
|
state.organizationSelectName = null;
|
||||||
state.organizationSelectId = null;
|
state.organizationSelectId = null;
|
||||||
state.pathIntro = "";
|
state.pathIntro = "";
|
||||||
@@ -908,12 +908,12 @@ export default {
|
|||||||
let stuobj = {
|
let stuobj = {
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
routerId: router.id,
|
pid: router.id,
|
||||||
|
type: 2,
|
||||||
};
|
};
|
||||||
api
|
getStuPage(stuobj)
|
||||||
.getStudent(stuobj)
|
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("获取学员列表", res.data.data.total);
|
console.log("获取学员列表", res.data);
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
state.routeStudentsNum = res.data.data.total;
|
state.routeStudentsNum = res.data.data.total;
|
||||||
state.pubLoading = false;
|
state.pubLoading = false;
|
||||||
@@ -1175,7 +1175,7 @@ export default {
|
|||||||
key: "opacation",
|
key: "opacation",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
// fixed: "right",
|
// fixed: "right",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" }, //引入的插槽
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text);
|
// console.log(text);
|
||||||
@@ -1626,17 +1626,16 @@ export default {
|
|||||||
arr.forEach((item) => {
|
arr.forEach((item) => {
|
||||||
if (item.dictValue === state.pathBg) {
|
if (item.dictValue === state.pathBg) {
|
||||||
state.pathBgId = item.dictCode;
|
state.pathBgId = item.dictCode;
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//for (let i = 0; i < arr.length; i++) {
|
//for (let i = 0; i < arr.length; i++) {
|
||||||
// console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
|
// console.log("arr[i].dictValue", arr[i].dictValue, state.pathBg);
|
||||||
// if (arr[i].dictValue === state.pathBg) {
|
// if (arr[i].dictValue === state.pathBg) {
|
||||||
// state.pathBgId = arr[i].dictCode;
|
// state.pathBgId = arr[i].dictCode;
|
||||||
|
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
@@ -1745,7 +1744,7 @@ export default {
|
|||||||
state.searchdate = null;
|
state.searchdate = null;
|
||||||
state.startTime = null;
|
state.startTime = null;
|
||||||
state.endTime = null;
|
state.endTime = null;
|
||||||
state.createUser=null;
|
state.createUser = null;
|
||||||
getLearnPath();
|
getLearnPath();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1803,7 +1802,7 @@ export default {
|
|||||||
// state.imgData = ;
|
// state.imgData = ;
|
||||||
// }
|
// }
|
||||||
});
|
});
|
||||||
const imgData = computed(()=>store.state.pathmapPic)
|
const imgData = computed(() => store.state.pathmapPic);
|
||||||
//添加权限
|
//添加权限
|
||||||
watch(
|
watch(
|
||||||
() => state.addAuthList,
|
() => state.addAuthList,
|
||||||
|
|||||||
@@ -10,26 +10,27 @@
|
|||||||
<div class="fort">创建时间:{{ cretime }}</div>
|
<div class="fort">创建时间:{{ cretime }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<!--
|
<!--
|
||||||
<img
|
<img
|
||||||
class="img1"
|
class="img1"
|
||||||
src="../../assets/images/leveladd/ma.png"
|
src="../../assets/images/leveladd/ma.png"
|
||||||
@click="showCodeModel2()"
|
@click="showCodeModel2()"
|
||||||
/>
|
/>
|
||||||
<div v-if="action == 1 || action == 0" class="line"></div>-->
|
<div v-if="action == 1 || action == 0" class="line"></div>-->
|
||||||
<div class ="pubIcon" v-if="action == 1 || action == 0" @click="pubIcon(action)">
|
<div
|
||||||
<img
|
class="pubIcon"
|
||||||
class="img2"
|
v-if="action == 1 || action == 0"
|
||||||
src="../../assets/images/leveladd/pub.png"
|
@click="pubIcon(action)"
|
||||||
/>
|
>
|
||||||
<!-- 已发布的显示 -->
|
<img class="img2" src="../../assets/images/leveladd/pub.png" />
|
||||||
<div class="pub" style="width: 28px">
|
<!-- 已发布的显示 -->
|
||||||
{{ act }}
|
<div class="pub" style="width: 28px">
|
||||||
|
{{ act }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<router-link to="/learningpath"
|
<router-link to="/learningpath"
|
||||||
><div style="display: flex; ">
|
><div style="display: flex">
|
||||||
<img class="img2" src="../../assets/images/leveladd/back.png" />
|
<img class="img2" src="../../assets/images/leveladd/back.png" />
|
||||||
<div class="return">返回</div>
|
<div class="return">返回</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -507,7 +508,7 @@
|
|||||||
<a-tab-pane key="3" tab="学员管理" force-render>
|
<a-tab-pane key="3" tab="学员管理" force-render>
|
||||||
<TableStudent :type="2" :id="routerId" :stage="stage"></TableStudent>
|
<TableStudent :type="2" :id="routerId" :stage="stage"></TableStudent>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<!--1211注释 待开放
|
<!--1211注释 待开放
|
||||||
<a-tab-pane key="4" tab="设置">
|
<a-tab-pane key="4" tab="设置">
|
||||||
<div class="split"></div>
|
<div class="split"></div>
|
||||||
|
|
||||||
@@ -703,7 +704,6 @@
|
|||||||
</a-tabs>
|
</a-tabs>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
|
|
||||||
<a-modal
|
<a-modal
|
||||||
@@ -1114,6 +1114,7 @@ import { codeUrl } from "../../api/method";
|
|||||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||||
import TableStudent from "@/components/student/TableStudent";
|
import TableStudent from "@/components/student/TableStudent";
|
||||||
// import * as student from "@/api/student";
|
// import * as student from "@/api/student";
|
||||||
|
import { getStuPage } from "@/api/index1";
|
||||||
export default {
|
export default {
|
||||||
name: "LevelAdd",
|
name: "LevelAdd",
|
||||||
components: {
|
components: {
|
||||||
@@ -1367,12 +1368,12 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: "岗位",
|
// title: "岗位",
|
||||||
// dataIndex: "gang",
|
// dataIndex: "gang",
|
||||||
// key: "gang",
|
// key: "gang",
|
||||||
// width: 110,
|
// width: 110,
|
||||||
// align: "center",
|
// align: "center",
|
||||||
// className: "h",
|
// className: "h",
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
title: "当前关卡",
|
title: "当前关卡",
|
||||||
@@ -1382,14 +1383,14 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "进度",
|
title: "进度",
|
||||||
dataIndex: "jin",
|
dataIndex: "jin",
|
||||||
key: "jin",
|
key: "jin",
|
||||||
width: 110,
|
width: 110,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "开始时间",
|
title: "开始时间",
|
||||||
dataIndex: "time",
|
dataIndex: "time",
|
||||||
@@ -1680,10 +1681,10 @@ export default {
|
|||||||
let stuobj = {
|
let stuobj = {
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
routerId: state.routerId,
|
pid: state.routerId,
|
||||||
|
type: 2,
|
||||||
};
|
};
|
||||||
api
|
getStuPage(stuobj)
|
||||||
.getStudent(stuobj)
|
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("获取学员列表", res.data.data.total);
|
console.log("获取学员列表", res.data.data.total);
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
@@ -1695,14 +1696,13 @@ export default {
|
|||||||
console.log("获取学员列表失败", err);
|
console.log("获取学员列表失败", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const pubIcon =(action)=>{
|
const pubIcon = (action) => {
|
||||||
if(action ==1){
|
if (action == 1) {
|
||||||
showBackModal();
|
showBackModal();
|
||||||
}else{
|
} else {
|
||||||
showPub();
|
showPub();
|
||||||
}
|
}
|
||||||
|
};
|
||||||
}
|
|
||||||
//显示撤回弹窗
|
//显示撤回弹窗
|
||||||
const showBackModal = () => {
|
const showBackModal = () => {
|
||||||
state.backModal = true;
|
state.backModal = true;
|
||||||
@@ -1868,7 +1868,10 @@ export default {
|
|||||||
state.nodata = false;
|
state.nodata = false;
|
||||||
}
|
}
|
||||||
let data = res.data.data.chapterList;
|
let data = res.data.data.chapterList;
|
||||||
state.stage = res.data.data.chapterList.map(e => ({id: e.chapterId, name: e.name}))
|
state.stage = res.data.data.chapterList.map((e) => ({
|
||||||
|
id: e.chapterId,
|
||||||
|
name: e.name,
|
||||||
|
}));
|
||||||
state.taskSyllabus = data;
|
state.taskSyllabus = data;
|
||||||
// for(let i in data) {
|
// for(let i in data) {
|
||||||
// state.taskSyllabus[i].name = data[i].name
|
// state.taskSyllabus[i].name = data[i].name
|
||||||
@@ -2851,23 +2854,23 @@ export default {
|
|||||||
background-color: #e8effa;
|
background-color: #e8effa;
|
||||||
margin-right: 28px;
|
margin-right: 28px;
|
||||||
}
|
}
|
||||||
.pubIcon{
|
.pubIcon {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.img2 {
|
.img2 {
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
margin-right: 22px;
|
margin-right: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pub {
|
.pub {
|
||||||
color: #ffb64e;
|
color: #ffb64e;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.img2 {
|
.img2 {
|
||||||
@@ -4262,7 +4265,5 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
style="border-radius: 8px; height: 40px; margin-left: 5px"
|
style="border-radius: 8px; height: 40px; margin-left: 5px"
|
||||||
:placeholder="[' 开始时间', ' 结束时间']"
|
:placeholder="[' 开始时间', ' 结束时间']"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; margin-bottom: 20px">
|
<div style="display: flex; margin-bottom: 20px">
|
||||||
@@ -829,7 +828,7 @@ import { changeOwnership } from "@/api/method";
|
|||||||
import NameInput from "@/components/project/NameInput";
|
import NameInput from "@/components/project/NameInput";
|
||||||
import { validateName } from "@/api/index1";
|
import { validateName } from "@/api/index1";
|
||||||
//import { toDate } from "../../api/method";
|
//import { toDate } from "../../api/method";
|
||||||
|
import { getStuPage } from "@/api/index1";
|
||||||
export default {
|
export default {
|
||||||
name: "projectManage",
|
name: "projectManage",
|
||||||
components: {
|
components: {
|
||||||
@@ -1050,10 +1049,10 @@ export default {
|
|||||||
let obj = {
|
let obj = {
|
||||||
pageNo: 0,
|
pageNo: 0,
|
||||||
pageSize: 0,
|
pageSize: 0,
|
||||||
projectId: object.projectId,
|
pid: object.projectId,
|
||||||
|
type: 1,
|
||||||
};
|
};
|
||||||
api
|
getStuPage(obj)
|
||||||
.projectStudent(obj)
|
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
// console.log("res", res.data);
|
// console.log("res", res.data);
|
||||||
@@ -1699,7 +1698,6 @@ export default {
|
|||||||
state.searchParam.valueDate &&
|
state.searchParam.valueDate &&
|
||||||
state.searchParam.valueDate.length === 2
|
state.searchParam.valueDate.length === 2
|
||||||
? dayjs(state.searchParam.valueDate[0]).format("YYYY-MM-DD")
|
? dayjs(state.searchParam.valueDate[0]).format("YYYY-MM-DD")
|
||||||
|
|
||||||
: "",
|
: "",
|
||||||
endTime:
|
endTime:
|
||||||
state.searchParam.valueDate &&
|
state.searchParam.valueDate &&
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -174,7 +174,11 @@
|
|||||||
<!--操作弹窗 -->
|
<!--操作弹窗 -->
|
||||||
</div>
|
</div>
|
||||||
<!-- 加载动画 -->
|
<!-- 加载动画 -->
|
||||||
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
|
<div
|
||||||
|
class="aeLoading"
|
||||||
|
style="z-index: 100"
|
||||||
|
:style="{ display: addLoading ? 'flex' : 'none' }"
|
||||||
|
>
|
||||||
<a-spin :spinning="addLoading" tip="" />
|
<a-spin :spinning="addLoading" tip="" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user