feat:增加选择模版等

This commit is contained in:
lixg
2022-11-15 20:02:20 +08:00
parent d362f3db09
commit f8d1a5c779
8 changed files with 1590 additions and 1782 deletions

View File

@@ -419,23 +419,7 @@
<div
class="operation"
style="cursor: pointer"
:style="{
display:
item.type == '6' ||
item.type == '9' ||
item.type == '2'
? 'flex'
: 'none',
}"
@click="
item.type == '2'
? showCopyModal(item.type)
: item.type == '6'
? showzhibModal(item.type)
: item.type == '9'
? showhuodModal(item.type)
: null
"
@click="showCodeModal"
>
二维码
</div>
@@ -1373,6 +1357,7 @@
</a-modal>
</div>
<!-- 删除弹窗 -->
<!-- 面授管理二维码 -->
<a-modal
v-model:visible="copyModal"
@@ -1490,6 +1475,15 @@
</div>
<!-- 编辑项目弹窗 -->
<proj-set v-model:editHs="editHs" v-model:projectId="projectId" />
<!-- 二维码弹窗 -->
<two-dimensional-code
v-model:codevisible="codevisible"
:codeInfo="codeInfo"
index="0"
type="课程二维码"
/>
<!-- 二维码弹窗 -->
</div>
</template>
<script>
@@ -1529,6 +1523,7 @@ import { getTask } from "../../api/indexTaskadd";
import { toDate } from "../../api/method";
import projSet from "../../components/Modals/projSet";
import { overview } from "../../api/indexProjStu";
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
export default {
name: "taskPage",
components: {
@@ -1550,6 +1545,7 @@ export default {
TaskImpStu,
projSet,
NoticeHis,
TwoDimensionalCode,
},
setup() {
const state = reactive({
@@ -1664,6 +1660,9 @@ export default {
huodModal: false, //活动二维码弹窗
allDelete: false, //批量删除弹窗
codevisible: false, //二维码弹窗
codeInfo: null, //二维码信息
pubproject: false,
stugroup: false,
canclestu: false,
@@ -2505,6 +2504,15 @@ export default {
const showEditProj = () => {
state.editHs = true;
};
//显示二维码弹窗
const showCodeModal = () => {
state.codevisible = true;
state.codeInfo = {
title: "课程二维码",
name: "管理者进阶面授课程",
url: "https://www.baidu.com/https://www.baidu.com/https://www.baidu.com/https://www.baidu.com/https://www.baidu.com/",
};
};
//学员管理列表操作
const studentData = () => {
@@ -3199,6 +3207,7 @@ export default {
closehuodModal,
closezhibModal,
showCodeModal,
tabsChange,
getTaskList,