mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 23:36:46 +08:00
--项目 学员列表
This commit is contained in:
@@ -167,10 +167,10 @@
|
|||||||
:style="{ display: hideshow ? 'block' : 'none' }"
|
:style="{ display: hideshow ? 'block' : 'none' }"
|
||||||
>
|
>
|
||||||
<span style="color: #999ba3">
|
<span style="color: #999ba3">
|
||||||
1、课程名称统一不加书名号。<br />
|
1、课程名称统一不加书名号。<br/>
|
||||||
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
||||||
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
||||||
看到的是课程内容主题。<br />
|
看到的是课程内容主题。<br/>
|
||||||
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
||||||
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
||||||
</span>
|
</span>
|
||||||
@@ -351,10 +351,10 @@
|
|||||||
:style="{ display: hideshow ? 'block' : 'none' }"
|
:style="{ display: hideshow ? 'block' : 'none' }"
|
||||||
>
|
>
|
||||||
<span style="color: #999ba3">
|
<span style="color: #999ba3">
|
||||||
1、课程名称统一不加书名号。<br />
|
1、课程名称统一不加书名号。<br/>
|
||||||
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
||||||
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
||||||
看到的是课程内容主题。<br />
|
看到的是课程内容主题。<br/>
|
||||||
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
||||||
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
||||||
</span>
|
</span>
|
||||||
@@ -768,10 +768,10 @@
|
|||||||
:style="{ display: hideshow ? 'block' : 'none' }"
|
:style="{ display: hideshow ? 'block' : 'none' }"
|
||||||
>
|
>
|
||||||
<span style="color: #999ba3">
|
<span style="color: #999ba3">
|
||||||
1、课程名称统一不加书名号。<br />
|
1、课程名称统一不加书名号。<br/>
|
||||||
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
2、项目名称、属地等信息如需体现在课程名称中,请放在课程名称信息
|
||||||
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
之后,如“时间管理(GROW180项目)”或“时间管理(B*)”确保首先
|
||||||
看到的是课程内容主题。<br />
|
看到的是课程内容主题。<br/>
|
||||||
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
3、同一课程如先后有多个版本,原则上仅开放最新版本,旧版本应停用
|
||||||
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
版本如必须以年份标明,请以“沟通技巧(2022年)”的方式呈现。
|
||||||
</span>
|
</span>
|
||||||
@@ -1187,7 +1187,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -1285,7 +1285,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
</span>
|
</span>
|
||||||
@@ -1402,7 +1402,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<span>
|
<span>
|
||||||
@@ -1531,7 +1531,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -1639,7 +1639,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -2067,7 +2067,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
更多
|
更多
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
</span>
|
</span>
|
||||||
@@ -2885,13 +2885,13 @@
|
|||||||
class="del-icons"
|
class="del-icons"
|
||||||
:style="{ display: del_hs ? 'block' : 'none' }"
|
:style="{ display: del_hs ? 'block' : 'none' }"
|
||||||
>
|
>
|
||||||
<img src="@/assets/images/coursewareManage/notice.png" alt="" />
|
<img src="@/assets/images/coursewareManage/notice.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="del-icons"
|
class="del-icons"
|
||||||
:style="{ display: copy_hs || nouse_hs ? 'block' : 'none' }"
|
:style="{ display: copy_hs || nouse_hs ? 'block' : 'none' }"
|
||||||
>
|
>
|
||||||
<img src="@/assets/images/coursewareManage/QR.png" alt="" />
|
<img src="@/assets/images/coursewareManage/QR.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<span>提示</span>
|
<span>提示</span>
|
||||||
<div class="close_exit" @click="delete_exit1"></div>
|
<div class="close_exit" @click="delete_exit1"></div>
|
||||||
@@ -2970,11 +2970,12 @@
|
|||||||
v-model:addAuthList="addAuthList"
|
v-model:addAuthList="addAuthList"
|
||||||
:authClassify="authClassify"
|
:authClassify="authClassify"
|
||||||
classify="course"
|
classify="course"
|
||||||
|
:type="shipType"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
|
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
|
||||||
<a-spin :spinning="addLoading" tip="保存中..." />
|
<a-spin :spinning="addLoading" tip="保存中..."/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -2988,7 +2989,7 @@ import {
|
|||||||
onBeforeUnmount,
|
onBeforeUnmount,
|
||||||
watch,
|
watch,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import { message } from "ant-design-vue";
|
import {message} from "ant-design-vue";
|
||||||
// import StuAdd from "../../components/drawers/StuAdd";
|
// import StuAdd from "../../components/drawers/StuAdd";
|
||||||
// import OwnPower from "../../components/drawers/OwnPower.vue";
|
// import OwnPower from "../../components/drawers/OwnPower.vue";
|
||||||
// import Corpowerlist from "../../components/drawers/CorPowerlist.vue";
|
// import Corpowerlist from "../../components/drawers/CorPowerlist.vue";
|
||||||
@@ -3022,12 +3023,12 @@ import {
|
|||||||
getdateToDate,
|
getdateToDate,
|
||||||
} from "../../utils/utils";
|
} from "../../utils/utils";
|
||||||
// import { toDate } from "../../api/method.js";
|
// import { toDate } from "../../api/method.js";
|
||||||
import { fileUp } from "../../api/indexEval";
|
import {fileUp} from "../../api/indexEval";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import * as api1 from "../../api/index1";
|
import * as api1 from "../../api/index1";
|
||||||
|
|
||||||
import "@wangeditor/editor/dist/css/style.css";
|
import "@wangeditor/editor/dist/css/style.css";
|
||||||
import { Editor, Toolbar } from "@wangeditor/editor-for-vue";
|
import {Editor, Toolbar} from "@wangeditor/editor-for-vue";
|
||||||
import ProjectManager from "@/components/project/ProjectManager";
|
import ProjectManager from "@/components/project/ProjectManager";
|
||||||
|
|
||||||
//列表表格
|
//列表表格
|
||||||
@@ -3038,7 +3039,7 @@ const columns1 = [
|
|||||||
dataIndex: "num",
|
dataIndex: "num",
|
||||||
key: "num",
|
key: "num",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ index }) => {
|
customRender: ({index}) => {
|
||||||
return index + 1;
|
return index + 1;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3049,7 +3050,7 @@ const columns1 = [
|
|||||||
key: "name",
|
key: "name",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3059,7 +3060,7 @@ const columns1 = [
|
|||||||
dataIndex: "contentTxt",
|
dataIndex: "contentTxt",
|
||||||
key: "1",
|
key: "1",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3069,7 +3070,7 @@ const columns1 = [
|
|||||||
dataIndex: "courseform",
|
dataIndex: "courseform",
|
||||||
key: "2",
|
key: "2",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.courseform)) {
|
switch (String(record.courseform)) {
|
||||||
case "1":
|
case "1":
|
||||||
return "线上";
|
return "线上";
|
||||||
@@ -3085,7 +3086,7 @@ const columns1 = [
|
|||||||
key: "3",
|
key: "3",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3095,7 +3096,7 @@ const columns1 = [
|
|||||||
dataIndex: "stunum",
|
dataIndex: "stunum",
|
||||||
key: "4",
|
key: "4",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "0";
|
return text ? text : "0";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3105,7 +3106,7 @@ const columns1 = [
|
|||||||
dataIndex: "grade",
|
dataIndex: "grade",
|
||||||
key: "5",
|
key: "5",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "0";
|
return text ? text : "0";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3115,7 +3116,7 @@ const columns1 = [
|
|||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
key: "6",
|
key: "6",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.status)) {
|
switch (String(record.status)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未提交";
|
return "未提交";
|
||||||
@@ -3134,7 +3135,7 @@ const columns1 = [
|
|||||||
dataIndex: "ynpub",
|
dataIndex: "ynpub",
|
||||||
key: "7",
|
key: "7",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.ynpub)) {
|
switch (String(record.ynpub)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未发布";
|
return "未发布";
|
||||||
@@ -3149,7 +3150,7 @@ const columns1 = [
|
|||||||
dataIndex: "creator",
|
dataIndex: "creator",
|
||||||
key: "8",
|
key: "8",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3159,7 +3160,7 @@ const columns1 = [
|
|||||||
dataIndex: "createtime",
|
dataIndex: "createtime",
|
||||||
key: "9",
|
key: "9",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? getdateToTime(text * 1000) : "-";
|
return text ? getdateToTime(text * 1000) : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3169,7 +3170,7 @@ const columns1 = [
|
|||||||
dataIndex: "pubtime",
|
dataIndex: "pubtime",
|
||||||
key: "10",
|
key: "10",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? getdateToTime(text * 1000) : "-";
|
return text ? getdateToTime(text * 1000) : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3179,7 +3180,7 @@ const columns1 = [
|
|||||||
key: "either",
|
key: "either",
|
||||||
dataIndex: "kkty",
|
dataIndex: "kkty",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.kkty)) {
|
switch (String(record.kkty)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "停用";
|
return "停用";
|
||||||
@@ -3275,7 +3276,7 @@ const columns6 = [
|
|||||||
key: "num",
|
key: "num",
|
||||||
width: "8%",
|
width: "8%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ index }) => {
|
customRender: ({index}) => {
|
||||||
//{ text, record, index, column }
|
//{ text, record, index, column }
|
||||||
return index + 1;
|
return index + 1;
|
||||||
},
|
},
|
||||||
@@ -3286,7 +3287,7 @@ const columns6 = [
|
|||||||
key: "organization",
|
key: "organization",
|
||||||
width: "10%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3296,7 +3297,7 @@ const columns6 = [
|
|||||||
key: "saddress",
|
key: "saddress",
|
||||||
width: "10%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3306,7 +3307,7 @@ const columns6 = [
|
|||||||
key: "starttime",
|
key: "starttime",
|
||||||
width: "18%",
|
width: "18%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? getdateToTime(text * 1000) : "-";
|
return text ? getdateToTime(text * 1000) : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3316,7 +3317,7 @@ const columns6 = [
|
|||||||
key: "createtime",
|
key: "createtime",
|
||||||
width: "18%",
|
width: "18%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? getdateToTime(text * 1000) : "-";
|
return text ? getdateToTime(text * 1000) : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3336,7 +3337,7 @@ const columns7 = [
|
|||||||
dataIndex: "num",
|
dataIndex: "num",
|
||||||
key: "num",
|
key: "num",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ index }) => {
|
customRender: ({index}) => {
|
||||||
//{ text, record, index, column }
|
//{ text, record, index, column }
|
||||||
return index + 1;
|
return index + 1;
|
||||||
},
|
},
|
||||||
@@ -3346,7 +3347,7 @@ const columns7 = [
|
|||||||
width: 200,
|
width: 200,
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3356,7 +3357,7 @@ const columns7 = [
|
|||||||
dataIndex: "number",
|
dataIndex: "number",
|
||||||
key: "1",
|
key: "1",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3366,7 +3367,7 @@ const columns7 = [
|
|||||||
dataIndex: "department",
|
dataIndex: "department",
|
||||||
key: "2",
|
key: "2",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3376,7 +3377,7 @@ const columns7 = [
|
|||||||
dataIndex: "postion",
|
dataIndex: "postion",
|
||||||
key: "3",
|
key: "3",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3386,7 +3387,7 @@ const columns7 = [
|
|||||||
dataIndex: "band",
|
dataIndex: "band",
|
||||||
key: "4",
|
key: "4",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3396,7 +3397,7 @@ const columns7 = [
|
|||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
key: "5",
|
key: "5",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "待审核";
|
return "待审核";
|
||||||
@@ -3413,7 +3414,7 @@ const columns7 = [
|
|||||||
dataIndex: "join",
|
dataIndex: "join",
|
||||||
key: "6",
|
key: "6",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "1":
|
case "1":
|
||||||
return "手动加入";
|
return "手动加入";
|
||||||
@@ -3428,7 +3429,7 @@ const columns7 = [
|
|||||||
dataIndex: "signstatus",
|
dataIndex: "signstatus",
|
||||||
key: "7",
|
key: "7",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未签到";
|
return "未签到";
|
||||||
@@ -3445,7 +3446,7 @@ const columns7 = [
|
|||||||
dataIndex: "evastatus",
|
dataIndex: "evastatus",
|
||||||
key: "8",
|
key: "8",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.source)) {
|
switch (String(record.source)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未评估";
|
return "未评估";
|
||||||
@@ -3501,13 +3502,14 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
|
shipType: 1,
|
||||||
addLoading: false,
|
addLoading: false,
|
||||||
currentPlanItem: {},
|
currentPlanItem: {},
|
||||||
teacherId: null,
|
teacherId: null,
|
||||||
teacher: null,
|
teacher: null,
|
||||||
selectedRowKeys7: [],
|
selectedRowKeys7: [],
|
||||||
isEdit: 0,
|
isEdit: 0,
|
||||||
member: { name: "", value: "" },
|
member: {name: "", value: ""},
|
||||||
//列表表格
|
//列表表格
|
||||||
tableData1: [
|
tableData1: [
|
||||||
// {
|
// {
|
||||||
@@ -3752,6 +3754,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
const showStuAdd = () => {
|
const showStuAdd = () => {
|
||||||
state.viewpowervisible = true;
|
state.viewpowervisible = true;
|
||||||
|
state.shipType=2
|
||||||
state.authClassify = 3;
|
state.authClassify = 3;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3767,7 +3770,7 @@ export default defineComponent({
|
|||||||
// }, 1500);
|
// }, 1500);
|
||||||
});
|
});
|
||||||
const toolbarConfig = {};
|
const toolbarConfig = {};
|
||||||
const editorConfig = { placeholder: "请输入内容..." };
|
const editorConfig = {placeholder: "请输入内容..."};
|
||||||
// 组件销毁时,也及时销毁编辑器
|
// 组件销毁时,也及时销毁编辑器
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
const editor = editorRef.value;
|
const editor = editorRef.value;
|
||||||
@@ -3912,7 +3915,7 @@ export default defineComponent({
|
|||||||
endTime: endTime,
|
endTime: endTime,
|
||||||
beginTime: startTime,
|
beginTime: startTime,
|
||||||
});
|
});
|
||||||
const { rows, total } = res.data.data;
|
const {rows, total} = res.data.data;
|
||||||
state.tableDataTotal1 = total;
|
state.tableDataTotal1 = total;
|
||||||
const datas = traverseArr(
|
const datas = traverseArr(
|
||||||
rows,
|
rows,
|
||||||
@@ -4191,7 +4194,7 @@ export default defineComponent({
|
|||||||
// console.log("获取学员信息", obj);
|
// console.log("获取学员信息", obj);
|
||||||
let res = await studentList(obj);
|
let res = await studentList(obj);
|
||||||
// console.log("获取学员列表", res);
|
// console.log("获取学员列表", res);
|
||||||
const { rows, total } = res.data.data;
|
const {rows, total} = res.data.data;
|
||||||
state.tableDataTotal3 = total;
|
state.tableDataTotal3 = total;
|
||||||
rows.forEach((item, index) => {
|
rows.forEach((item, index) => {
|
||||||
rows[index] = {
|
rows[index] = {
|
||||||
@@ -4291,7 +4294,7 @@ export default defineComponent({
|
|||||||
console.log("获取开课", obj);
|
console.log("获取开课", obj);
|
||||||
let res = await planList(obj);
|
let res = await planList(obj);
|
||||||
console.log("开课res", res);
|
console.log("开课res", res);
|
||||||
const { rows, total } = res.data.data;
|
const {rows, total} = res.data.data;
|
||||||
state.tableDataTotal222 = total;
|
state.tableDataTotal222 = total;
|
||||||
const datas = traverseArr(
|
const datas = traverseArr(
|
||||||
rows,
|
rows,
|
||||||
@@ -4616,7 +4619,7 @@ export default defineComponent({
|
|||||||
state.xjkkradioV1 = "";
|
state.xjkkradioV1 = "";
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
state.member = { value: item.teacherId, name: item.teacher };
|
state.member = {value: item.teacherId, name: item.teacher};
|
||||||
|
|
||||||
state.cstm_hs = true;
|
state.cstm_hs = true;
|
||||||
state.kk_eidt = true;
|
state.kk_eidt = true;
|
||||||
@@ -4951,7 +4954,7 @@ export default defineComponent({
|
|||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log("获取授课教师失败", err);
|
console.log("获取授课教师失败", err);
|
||||||
});
|
});
|
||||||
const { rows, total } = item1;
|
const {rows, total} = item1;
|
||||||
state.tableDataTotalTea1 = total;
|
state.tableDataTotalTea1 = total;
|
||||||
state.tableDataTotalTea2 = total;
|
state.tableDataTotalTea2 = total;
|
||||||
let newArr = [];
|
let newArr = [];
|
||||||
@@ -5009,7 +5012,7 @@ export default defineComponent({
|
|||||||
state.teacher = item.teacher;
|
state.teacher = item.teacher;
|
||||||
state.teacherId = item.teacherId;
|
state.teacherId = item.teacherId;
|
||||||
state.qdms_inputV6 = item.intro;
|
state.qdms_inputV6 = item.intro;
|
||||||
state.member = { value: item.teacherId, name: item.teacher };
|
state.member = {value: item.teacherId, name: item.teacher};
|
||||||
|
|
||||||
if (item.attach == "") {
|
if (item.attach == "") {
|
||||||
state.imgList = [];
|
state.imgList = [];
|
||||||
@@ -5017,10 +5020,10 @@ export default defineComponent({
|
|||||||
if (item.attach.indexOf(",")) {
|
if (item.attach.indexOf(",")) {
|
||||||
const arr = item.attach.split(",");
|
const arr = item.attach.split(",");
|
||||||
arr.forEach((item) => {
|
arr.forEach((item) => {
|
||||||
state.imgList.push({ img: item });
|
state.imgList.push({img: item});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
state.imgList = [{ img: item.attach }];
|
state.imgList = [{img: item.attach}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5061,7 +5064,7 @@ export default defineComponent({
|
|||||||
state.teacher = item.teacher;
|
state.teacher = item.teacher;
|
||||||
state.teacherId = item.teacherId;
|
state.teacherId = item.teacherId;
|
||||||
state.qdms_inputV6 = item.intro;
|
state.qdms_inputV6 = item.intro;
|
||||||
state.member = { value: item.teacherId, name: item.teacher };
|
state.member = {value: item.teacherId, name: item.teacher};
|
||||||
|
|
||||||
if (item.attach == "") {
|
if (item.attach == "") {
|
||||||
state.imgList = [];
|
state.imgList = [];
|
||||||
@@ -5069,10 +5072,10 @@ export default defineComponent({
|
|||||||
if (item.attach.indexOf(",")) {
|
if (item.attach.indexOf(",")) {
|
||||||
const arr = item.attach.split(",");
|
const arr = item.attach.split(",");
|
||||||
arr.forEach((item) => {
|
arr.forEach((item) => {
|
||||||
state.imgList.push({ img: item });
|
state.imgList.push({img: item});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
state.imgList = [{ img: item.attach }];
|
state.imgList = [{img: item.attach}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5327,6 +5330,7 @@ export default defineComponent({
|
|||||||
// console.log("record", record);
|
// console.log("record", record);
|
||||||
state.viewpowervisible = true;
|
state.viewpowervisible = true;
|
||||||
state.selectCourseId = record.offcourseId;
|
state.selectCourseId = record.offcourseId;
|
||||||
|
state.shipType=1
|
||||||
state.authClassify = 2;
|
state.authClassify = 2;
|
||||||
};
|
};
|
||||||
//添加权限
|
//添加权限
|
||||||
|
|||||||
Reference in New Issue
Block a user