mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 00:06:47 +08:00
-- 项目名称校验
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modelV"
|
v-model:value="modelV"
|
||||||
placeholder="请输入项目名称"
|
:placeholder="placeholder"
|
||||||
:show-count="showCount"
|
:show-count="showCount"
|
||||||
:maxlength="maxlength"
|
:maxlength="maxlength"
|
||||||
@blur="validateProName"
|
@blur="validateProName"
|
||||||
@@ -23,6 +23,9 @@ const props = defineProps({
|
|||||||
id: {
|
id: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
|
placeholder: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
type: {
|
type: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 1
|
default: 1
|
||||||
|
|||||||
@@ -138,16 +138,17 @@
|
|||||||
<span style="margin-right: 3px">课程名称:</span>
|
<span style="margin-right: 3px">课程名称:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="in b_input">
|
<div class="in b_input">
|
||||||
<NameInput placeholder="请输入课程名称" v-model:value="xzinputV1" v-model:validate="validate" :maxlength="20" show-count :type="2"></NameInput>
|
<NameInput placeholder="请输入课程名称" v-model:value="xzinputV1" v-model:validate="validate"
|
||||||
<!-- <a-input-->
|
:maxlength="20" show-count :type="2"></NameInput>
|
||||||
<!-- v-model:value="xzinputV1"-->
|
<!-- <a-input-->
|
||||||
<!-- maxlength="20"-->
|
<!-- v-model:value="xzinputV1"-->
|
||||||
<!-- style="width: 440px; height: 40px; border-radius: 8px"-->
|
<!-- maxlength="20"-->
|
||||||
<!-- placeholder="请输入课程名称"-->
|
<!-- style="width: 440px; height: 40px; border-radius: 8px"-->
|
||||||
<!-- />-->
|
<!-- placeholder="请输入课程名称"-->
|
||||||
<!-- <div class="inp_num">-->
|
<!-- />-->
|
||||||
<!-- <span style="color: #c7cbd2">{{ xzinputV1.length }}/20</span>-->
|
<!-- <div class="inp_num">-->
|
||||||
<!-- </div>-->
|
<!-- <span style="color: #c7cbd2">{{ xzinputV1.length }}/20</span>-->
|
||||||
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="b_sub">
|
<div class="b_sub">
|
||||||
@@ -195,10 +196,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>
|
||||||
@@ -343,14 +344,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item_inp">
|
<div class="item_inp">
|
||||||
<div class="in i1_input">
|
<div class="in i1_input">
|
||||||
<!-- <a-input-->
|
<!-- <a-input-->
|
||||||
<!-- aria-readonly="true"-->
|
<!-- aria-readonly="true"-->
|
||||||
<!-- v-model:value="qdms_inputV1"-->
|
<!-- v-model:value="qdms_inputV1"-->
|
||||||
<!-- maxlength="90"-->
|
<!-- maxlength="90"-->
|
||||||
<!-- style="width: 440px; height: 40px; border-radius: 8px"-->
|
<!-- style="width: 440px; height: 40px; border-radius: 8px"-->
|
||||||
<!-- placeholder="请输入课程名称"-->
|
<!-- placeholder="请输入课程名称"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<NameInput placeholder="请输入课程名称" v-model:value="qdms_inputV1" v-model:validate="validate" :maxlength="20" show-count :type="2"></NameInput>
|
<NameInput placeholder="请输入课程名称" v-model:value="qdms_inputV1" v-model:validate="validate"
|
||||||
|
:maxlength="20" show-count :type="2"></NameInput>
|
||||||
<div class="inp_num">
|
<div class="inp_num">
|
||||||
<span style="color: #c7cbd2">
|
<span style="color: #c7cbd2">
|
||||||
{{ qdms_inputV1.length }}/90
|
{{ qdms_inputV1.length }}/90
|
||||||
@@ -389,10 +391,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>
|
||||||
@@ -862,7 +864,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -961,7 +963,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
</span>
|
</span>
|
||||||
@@ -1080,7 +1082,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<span>
|
<span>
|
||||||
@@ -1210,7 +1212,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -1319,7 +1321,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
授权
|
授权
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<a
|
<a
|
||||||
@@ -1778,7 +1780,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<a>
|
<a>
|
||||||
更多
|
更多
|
||||||
<down-outlined />
|
<down-outlined/>
|
||||||
</a>
|
</a>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
</span>
|
</span>
|
||||||
@@ -2628,13 +2630,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>
|
||||||
@@ -2726,7 +2728,7 @@
|
|||||||
</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>
|
||||||
|
|
||||||
<!-- 二维码弹窗 -->
|
<!-- 二维码弹窗 -->
|
||||||
@@ -2751,8 +2753,8 @@ import {
|
|||||||
} from "vue";
|
} from "vue";
|
||||||
import * as api from "../../api/indexInvist.js";
|
import * as api from "../../api/indexInvist.js";
|
||||||
|
|
||||||
import { message } from "ant-design-vue";
|
import {message} from "ant-design-vue";
|
||||||
import { useRouter, useRoute } from "vue-router";
|
import {useRouter, useRoute} from "vue-router";
|
||||||
// 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";
|
||||||
@@ -2788,19 +2790,19 @@ 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/ProjectManagerNew";
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
|
|
||||||
import SeeModal from "./components/seeModal.vue";
|
import SeeModal from "./components/seeModal.vue";
|
||||||
import CourseModal from "./courseModal.vue";
|
import CourseModal from "./courseModal.vue";
|
||||||
import * as moment from "moment";
|
import * as moment from "moment";
|
||||||
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
|
||||||
import { codeUrl, toDate } from "../../api/method";
|
import {codeUrl, toDate} from "../../api/method";
|
||||||
//列表表格
|
//列表表格
|
||||||
const columns1 = [
|
const columns1 = [
|
||||||
// {
|
// {
|
||||||
@@ -2822,7 +2824,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2832,7 +2834,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2842,7 +2844,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 "线上";
|
||||||
@@ -2858,7 +2860,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2869,7 +2871,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2879,7 +2881,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";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2889,7 +2891,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";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2899,7 +2901,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 "未提交";
|
||||||
@@ -2918,7 +2920,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 "未发布";
|
||||||
@@ -2933,7 +2935,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2943,7 +2945,7 @@ const columns1 = [
|
|||||||
dataIndex: "createtime",
|
dataIndex: "createtime",
|
||||||
key: "9",
|
key: "9",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2953,7 +2955,7 @@ const columns1 = [
|
|||||||
dataIndex: "pubtime",
|
dataIndex: "pubtime",
|
||||||
key: "10",
|
key: "10",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2963,7 +2965,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 "停用";
|
||||||
@@ -3060,7 +3062,7 @@ const columns6 = [
|
|||||||
width: "6%",
|
width: "6%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ index, record }) => {
|
customRender: ({index, record}) => {
|
||||||
const pageNum =
|
const pageNum =
|
||||||
Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
|
Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
|
||||||
return index + 1 + pageNum;
|
return index + 1 + pageNum;
|
||||||
@@ -3073,7 +3075,7 @@ const columns6 = [
|
|||||||
width: "15%",
|
width: "15%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3084,7 +3086,7 @@ const columns6 = [
|
|||||||
width: "15%",
|
width: "15%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3095,7 +3097,7 @@ const columns6 = [
|
|||||||
width: "10%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3107,7 +3109,7 @@ const columns6 = [
|
|||||||
width: "12%",
|
width: "12%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
// return text ? getdateToTime(text * 1000) : "-";
|
// return text ? getdateToTime(text * 1000) : "-";
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
@@ -3119,7 +3121,7 @@ const columns6 = [
|
|||||||
width: "12%",
|
width: "12%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
// return text ? getdateToTime(text * 1000) : "-";
|
// return text ? getdateToTime(text * 1000) : "-";
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
@@ -3131,7 +3133,7 @@ const columns6 = [
|
|||||||
width: "10%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: ({ text }) => {
|
customRender: ({text}) => {
|
||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3151,7 +3153,7 @@ const columns7 = [
|
|||||||
dataIndex: "num",
|
dataIndex: "num",
|
||||||
key: "num",
|
key: "num",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ index, record }) => {
|
customRender: ({index, record}) => {
|
||||||
const pageNum =
|
const pageNum =
|
||||||
Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
|
Number(record.pageNo) - 1 > 0 ? (Number(record.pageNo) - 1) * 10 : 0;
|
||||||
return index + 1 + pageNum;
|
return index + 1 + pageNum;
|
||||||
@@ -3162,7 +3164,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3172,7 +3174,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3182,7 +3184,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3192,7 +3194,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3202,7 +3204,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 : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -3212,7 +3214,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 "待审核";
|
||||||
@@ -3229,7 +3231,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 "手动加入";
|
||||||
@@ -3244,7 +3246,7 @@ const columns7 = [
|
|||||||
dataIndex: "signstatus",
|
dataIndex: "signstatus",
|
||||||
key: "7",
|
key: "7",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.signStatus)) {
|
switch (String(record.signStatus)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未签到";
|
return "未签到";
|
||||||
@@ -3261,7 +3263,7 @@ const columns7 = [
|
|||||||
dataIndex: "evastatus",
|
dataIndex: "evastatus",
|
||||||
key: "8",
|
key: "8",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record }) => {
|
customRender: ({record}) => {
|
||||||
switch (String(record.evalStatus)) {
|
switch (String(record.evalStatus)) {
|
||||||
case "0":
|
case "0":
|
||||||
return "未评估";
|
return "未评估";
|
||||||
@@ -3332,7 +3334,7 @@ export default defineComponent({
|
|||||||
selectedRowKeys7: [],
|
selectedRowKeys7: [],
|
||||||
auditDescription: "",
|
auditDescription: "",
|
||||||
isEdit: 0,
|
isEdit: 0,
|
||||||
member: { name: "", value: "" },
|
member: {name: "", value: ""},
|
||||||
//列表表格
|
//列表表格
|
||||||
tableData1: [
|
tableData1: [
|
||||||
// {
|
// {
|
||||||
@@ -3544,7 +3546,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
imageUrl: "",
|
imageUrl: "",
|
||||||
imgList: [],
|
imgList: [],
|
||||||
validate:true,
|
validate: true,
|
||||||
|
|
||||||
pageSize2: 10,
|
pageSize2: 10,
|
||||||
currentPage2: 0,
|
currentPage2: 0,
|
||||||
@@ -3592,11 +3594,11 @@ export default defineComponent({
|
|||||||
codeInfo: null, //二维码内容
|
codeInfo: null, //二维码内容
|
||||||
codeUrl: codeUrl,
|
codeUrl: codeUrl,
|
||||||
// 课程三级分类
|
// 课程三级分类
|
||||||
options2222:[
|
options2222: [
|
||||||
{
|
{
|
||||||
title: '领导力',
|
title: '领导力',
|
||||||
value: '100',
|
value: '100',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '领导业务',
|
title: '领导业务',
|
||||||
@@ -3615,7 +3617,7 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
title: '专业力',
|
title: '专业力',
|
||||||
value: '200',
|
value: '200',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '研发',
|
title: '研发',
|
||||||
@@ -3698,7 +3700,7 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
title: '通用力',
|
title: '通用力',
|
||||||
value: '300',
|
value: '300',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '职业操守与道德',
|
title: '职业操守与道德',
|
||||||
@@ -3746,7 +3748,7 @@ export default defineComponent({
|
|||||||
const toolbarConfig = {
|
const toolbarConfig = {
|
||||||
excludeKeys: ["insertVideo", "insertImage"],
|
excludeKeys: ["insertVideo", "insertImage"],
|
||||||
};
|
};
|
||||||
const editorConfig = { placeholder: "请输入内容...", MENU_CONF: {} };
|
const editorConfig = {placeholder: "请输入内容...", MENU_CONF: {}};
|
||||||
editorConfig.MENU_CONF["uploadImage"] = {
|
editorConfig.MENU_CONF["uploadImage"] = {
|
||||||
// 自定义上传
|
// 自定义上传
|
||||||
async customUpload(file, insertFn) {
|
async customUpload(file, insertFn) {
|
||||||
@@ -3909,7 +3911,7 @@ export default defineComponent({
|
|||||||
endTime: endTime,
|
endTime: endTime,
|
||||||
beginTime: startTime,
|
beginTime: startTime,
|
||||||
});
|
});
|
||||||
const { rows, total, pageNo } = res.data.data;
|
const {rows, total, pageNo} = res.data.data;
|
||||||
console.log(res.data.data);
|
console.log(res.data.data);
|
||||||
state.tableDataTotal1 = total;
|
state.tableDataTotal1 = total;
|
||||||
for (let i = 0; i < rows.length; i++) {
|
for (let i = 0; i < rows.length; i++) {
|
||||||
@@ -3950,8 +3952,8 @@ export default defineComponent({
|
|||||||
datas.forEach((itm) => {
|
datas.forEach((itm) => {
|
||||||
itm.pageNo = pageNo;
|
itm.pageNo = pageNo;
|
||||||
console.log(itm)
|
console.log(itm)
|
||||||
for(let i =0; i<options2.value.length;i++){
|
for (let i = 0; i < options2.value.length; i++) {
|
||||||
for(let j=0;j<options2.value[i].children.length;j++){
|
for (let j = 0; j < options2.value[i].children.length; j++) {
|
||||||
if (String(options2.value[i].children[j].value) === String(itm.categoryId)) {
|
if (String(options2.value[i].children[j].value) === String(itm.categoryId)) {
|
||||||
console.log()
|
console.log()
|
||||||
itm.contentTxt = options2.value[i].children[j].title;
|
itm.contentTxt = options2.value[i].children[j].title;
|
||||||
@@ -4241,7 +4243,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, pageNo } = res.data.data;
|
const {rows, total, pageNo} = res.data.data;
|
||||||
state.tableDataTotal3 = total;
|
state.tableDataTotal3 = total;
|
||||||
|
|
||||||
for (let i = 0; i < rows.length; i++) {
|
for (let i = 0; i < rows.length; i++) {
|
||||||
@@ -4366,7 +4368,7 @@ export default defineComponent({
|
|||||||
console.log("获取开obj", obj, state.selectTime);
|
console.log("获取开obj", obj, state.selectTime);
|
||||||
let res = await planList(obj);
|
let res = await planList(obj);
|
||||||
console.log("开课res", res);
|
console.log("开课res", res);
|
||||||
const { rows, total, pageNo } = res.data.data;
|
const {rows, total, pageNo} = res.data.data;
|
||||||
state.tableDataTotal222 = total;
|
state.tableDataTotal222 = total;
|
||||||
|
|
||||||
for (let i = 0; i < rows.length; i++) {
|
for (let i = 0; i < rows.length; i++) {
|
||||||
@@ -4769,7 +4771,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;
|
||||||
@@ -5120,7 +5122,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 = [];
|
||||||
@@ -5695,19 +5697,23 @@ export default defineComponent({
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.addTime {
|
.addTime {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
color: rgba(0, 0, 0, 0.4);
|
color: rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-picker {
|
.ant-picker {
|
||||||
padding-left: 85px;
|
padding-left: 85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-picker-range .ant-picker-active-bar {
|
.ant-picker-range .ant-picker-active-bar {
|
||||||
margin-left: 85px;
|
margin-left: 85px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.aeLoading {
|
.aeLoading {
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,17 +50,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item_inp">
|
<div class="item_inp">
|
||||||
<div class="i1_input">
|
<div class="i1_input">
|
||||||
<a-input
|
<NameInput placeholder="请输入课程名称" v-model:value="qdms_inputV1" v-model:validate="validate"
|
||||||
v-model:value="qdms_inputV1"
|
:maxlength="20" show-count :type="2" :id="offcourseId"></NameInput>
|
||||||
maxlength="90"
|
<!-- <a-input-->
|
||||||
style="width: 440px; height: 40px; border-radius: 8px"
|
<!-- v-model:value="qdms_inputV1"-->
|
||||||
placeholder="请输入课程名称"
|
<!-- maxlength="90"-->
|
||||||
/>
|
<!-- style="width: 440px; height: 40px; border-radius: 8px"-->
|
||||||
<div class="inp_num">
|
<!-- placeholder="请输入课程名称"-->
|
||||||
<span style="color: #c7cbd2">
|
<!-- />-->
|
||||||
{{ qdms_inputV1.length }}/90
|
<!-- <div class="inp_num">-->
|
||||||
</span>
|
<!-- <span style="color: #c7cbd2">-->
|
||||||
</div>
|
<!-- {{ qdms_inputV1.length }}/90-->
|
||||||
|
<!-- </span>-->
|
||||||
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -395,6 +397,7 @@ 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/ProjectManagerNew";
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
|
import NameInput from "@/components/project/NameInput";
|
||||||
import FJUpload from "@/components/common/FJUpload";
|
import FJUpload from "@/components/common/FJUpload";
|
||||||
import * as moment from "moment";
|
import * as moment from "moment";
|
||||||
import * as api2 from "../../api/indexAudit";
|
import * as api2 from "../../api/indexAudit";
|
||||||
@@ -404,6 +407,7 @@ export default defineComponent({
|
|||||||
Editor,
|
Editor,
|
||||||
Toolbar,
|
Toolbar,
|
||||||
FJUpload,
|
FJUpload,
|
||||||
|
NameInput,
|
||||||
ProjectManager,
|
ProjectManager,
|
||||||
},
|
},
|
||||||
setup(props, {expose, emit}) {
|
setup(props, {expose, emit}) {
|
||||||
@@ -411,6 +415,7 @@ export default defineComponent({
|
|||||||
hideshow: true,
|
hideshow: true,
|
||||||
ft_eidt: false,
|
ft_eidt: false,
|
||||||
attach: "",
|
attach: "",
|
||||||
|
validate: true,
|
||||||
ft_hs: false,
|
ft_hs: false,
|
||||||
addLoading: false,
|
addLoading: false,
|
||||||
statusJuJue: 0,
|
statusJuJue: 0,
|
||||||
@@ -431,11 +436,11 @@ export default defineComponent({
|
|||||||
auditDescription: "",
|
auditDescription: "",
|
||||||
contentClassify: [],
|
contentClassify: [],
|
||||||
// 课程三级分类
|
// 课程三级分类
|
||||||
options2222:[
|
options2222: [
|
||||||
{
|
{
|
||||||
title: '领导力',
|
title: '领导力',
|
||||||
value: '100',
|
value: '100',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '领导业务',
|
title: '领导业务',
|
||||||
@@ -454,7 +459,7 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
title: '专业力',
|
title: '专业力',
|
||||||
value: '200',
|
value: '200',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '研发',
|
title: '研发',
|
||||||
@@ -537,7 +542,7 @@ export default defineComponent({
|
|||||||
{
|
{
|
||||||
title: '通用力',
|
title: '通用力',
|
||||||
value: '300',
|
value: '300',
|
||||||
selectable:false,
|
selectable: false,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '职业操守与道德',
|
title: '职业操守与道德',
|
||||||
|
|||||||
Reference in New Issue
Block a user