mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
Merge remote-tracking branch 'origin/zcwy-0511-out' into zcwy-0511-out
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup >
|
||||
import { ref,onMounted } from 'vue';
|
||||
import { ref,onMounted,computed } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import {getexamineList,CreateAuthentication,delExamine,getOnlineLearningList,deleteCourse,addCourse,updateExamine,removePermission} from '@/api/examineApi.js'
|
||||
import dialog from "@/utils/dialog";
|
||||
@@ -8,11 +8,19 @@ import OwnerTableModelStudent from "./tablemodel";
|
||||
import CommonStudent from "./CommonTeacher";
|
||||
import CreateOnline from "@/components/drawers/CreateOnline.vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import { useStore } from "vuex";
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const visible = ref(false);
|
||||
const loading = ref(false);
|
||||
|
||||
const store = useStore();
|
||||
const userInfo = computed(() => store.state.userInfo);
|
||||
const uploadAdmin = (admin)=>{
|
||||
const roleCode = userInfo.value.roleList.map((item)=>item.roleCode)
|
||||
if (admin){
|
||||
return roleCode.some(t => t == admin)
|
||||
}
|
||||
}
|
||||
const columns = [
|
||||
{
|
||||
name: 'serial',
|
||||
@@ -169,35 +177,15 @@ const deleteReview = (record) =>{
|
||||
}
|
||||
})
|
||||
}
|
||||
const falseData = () => {
|
||||
ViewReviewShow.value = false
|
||||
}
|
||||
const AddList = () => {
|
||||
|
||||
falseData()
|
||||
}
|
||||
//认证审批项目列表数据
|
||||
const data = ref([{
|
||||
"id": 1,
|
||||
"deleted": false,
|
||||
"createTime": "2024-05-10 13:38:37",
|
||||
"createId": null,
|
||||
"createName": null,
|
||||
"updateTime": "2024-05-10 13:49:16",
|
||||
"updateId": 965342027497607168,
|
||||
"updateName": "李玉冰",
|
||||
"number": 1,
|
||||
"name": "测试1",
|
||||
"description": "认证项目详情",
|
||||
"cover": "/www/elearning/upload/activityfile/blue.png"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"deleted": false,
|
||||
"createTime": "2024-05-10 13:24:50",
|
||||
"createId": null,
|
||||
"createName": null,
|
||||
"updateTime": null,
|
||||
"updateId": null,
|
||||
"updateName": null,
|
||||
"number": 2,
|
||||
"name": "认证项目003修改",
|
||||
"description": "认证项目详情",
|
||||
"cover": "/www/elearning/upload/activityfile/blue.png"
|
||||
},])
|
||||
const data = ref([])
|
||||
const delVisible = ref(false)
|
||||
//页数
|
||||
const current1 = ref(1);
|
||||
@@ -338,7 +326,7 @@ function handleOper(record, type, status = "") {
|
||||
</div>
|
||||
<div style="display: flex;flex-direction: column;">
|
||||
<!-- <div @click="ViewReviewShow=true" style="margin-bottom: 15px; height: 38px; width: 150px;background: #4ea6ff;line-height: 40px;text-align: center;border-radius: 8px;color: #ffffff;">选择/新建课程</div> -->
|
||||
<CreateOnline ref="onlineRef" :id="1" :type="1">
|
||||
<CreateOnline ref="onlineRef" :id="''" :type="''">
|
||||
<a-button type="primary" style="border-radius: 4px">{{
|
||||
"选择/新建课程"
|
||||
}}
|
||||
@@ -367,8 +355,8 @@ function handleOper(record, type, status = "") {
|
||||
</a-table>
|
||||
</div>
|
||||
<div style=" display: flex;justify-content: center;">
|
||||
<div style="margin-right: 30px; border-radius: 8px; color: #fff;font-size: 16px; display: flex; justify-content: center;align-items: center; width: 100px; height: 38px; margin-top: 36px;background: #3da8f0;">取消</div>
|
||||
<div style="border-radius: 8px; color: #fff;font-size: 16px; display: flex; justify-content: center;align-items: center; width: 100px; height: 38px; margin-top: 36px;background: #3da8f0;">确定</div>
|
||||
<div @click="falseData" style="margin-right: 30px; border-radius: 8px; color: #fff;font-size: 16px; display: flex; justify-content: center;align-items: center; width: 100px; height: 38px; margin-top: 36px;background: #3da8f0;">取消</div>
|
||||
<div @click="AddList" style="border-radius: 8px; color: #fff;font-size: 16px; display: flex; justify-content: center;align-items: center; width: 100px; height: 38px; margin-top: 36px;background: #3da8f0;">确定</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -481,8 +469,8 @@ function handleOper(record, type, status = "") {
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;" src="../../assets/33.png" alt="">
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;margin-left: 15px" src="../../assets/47.png" alt="">
|
||||
<img style="width: 127px; height: 70px;margin-bottom: 13px;margin-left: 15px" src="../../assets/49.png" alt=""> -->
|
||||
<div class="img_box_item" :style="createParam?.index==item.id?{border:'1px solid #4ea6ff'}:{}" @click="imgClick(item)" v-for="(item,index) in imgData" :key="index">
|
||||
<img style="width: 127px; height: 70px;" :src="require(`../../assets/${item.img}`)" alt="">
|
||||
<div class="img_box_item" @click="imgClick(item)" v-for="(item,index) in imgData" :key="index">
|
||||
<img :style="createParam?.index==item.id?{border:'3px solid rgba(78, 166, 255, 1)'}:{border:'1px solid #ccc'}" style="width: 127px; height: 70px;" :src="require(`../../assets/${item.img}`)" alt="">
|
||||
</div>
|
||||
</a-form-item>
|
||||
<a-form-item style="margin-left: 32px;margin-top: 24px" label="具体说明">
|
||||
|
||||
Reference in New Issue
Block a user