mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 09:46:45 +08:00
改bug
This commit is contained in:
@@ -111,7 +111,6 @@ export default {
|
||||
line-height: 36px;
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.close {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<a-drawer
|
||||
:visible="openCourseVisible"
|
||||
class="drawerStyle addonlineDrawer"
|
||||
:width="1300"
|
||||
:closable="false"
|
||||
:width="1000"
|
||||
title="开课"
|
||||
placement="right">
|
||||
<div class="drawerMain">
|
||||
<div class="header">
|
||||
@@ -657,16 +657,16 @@ function onDateSelect(date) {
|
||||
const minute = String(date.$D).padStart(2, '0')
|
||||
dateTime.value[0]=date.$y+'-'+month+'-'+day+' '+hour+':'+minute
|
||||
}
|
||||
const openStart = ref(false)
|
||||
const onOkStart = ()=>{
|
||||
openStart.value = false
|
||||
}
|
||||
function onBlurStart(e){
|
||||
dateTime.value[0]=e.target.value
|
||||
openStart.value = false
|
||||
}
|
||||
// const openStart = ref(false)
|
||||
// const onOkStart = ()=>{
|
||||
// openStart.value = false
|
||||
// }
|
||||
// function onBlurStart(e){
|
||||
// dateTime.value[0]=e.target.value
|
||||
// openStart.value = false
|
||||
// }
|
||||
function onFocusStart(){
|
||||
openStart.value = true
|
||||
// openStart.value = true
|
||||
if(!dateTime.value[0]){
|
||||
let now=new Date()
|
||||
let start=new Date(now.setFullYear(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0))
|
||||
@@ -679,14 +679,14 @@ function onFocusStart(){
|
||||
function timeChangeEnd(timeStr){
|
||||
formData.value.endTime = timeStr;
|
||||
}
|
||||
const openEnd = ref(false)
|
||||
const onOkEnd = ()=>{
|
||||
openEnd.value = false
|
||||
}
|
||||
function onBlurEnd(e){
|
||||
dateTime.value[1]=e.target.value
|
||||
openEnd.value = false
|
||||
}
|
||||
// const openEnd = ref(false)
|
||||
// const onOkEnd = ()=>{
|
||||
// openEnd.value = false
|
||||
// }
|
||||
// function onBlurEnd(e){
|
||||
// dateTime.value[1]=e.target.value
|
||||
// openEnd.value = false
|
||||
// }
|
||||
function onDateEnd(date) {
|
||||
const month = String(date.$M+1).padStart(2, '0')
|
||||
const day = String(date.$D).padStart(2, '0')
|
||||
@@ -695,7 +695,7 @@ function onDateEnd(date) {
|
||||
dateTime.value[1]=date.$y+'-'+month+'-'+day+' '+hour+':'+minute
|
||||
}
|
||||
function onFocusEnd(){
|
||||
openEnd.value = true
|
||||
// openEnd.value = true
|
||||
if(!dateTime.value[1]){
|
||||
let now=new Date()
|
||||
let start=new Date()
|
||||
@@ -737,9 +737,8 @@ const confirm = async()=>{
|
||||
projectInfo.value = res.data.data
|
||||
});
|
||||
request(PROJECT_DETAIL_MODIFY, { ...projectInfo.value });
|
||||
//projectInfo.value.projectInfo.status=3
|
||||
//request(PROJECT_RELEASE, {projectId: route.query.projectId})
|
||||
|
||||
projectInfo.value.projectInfo.status=3
|
||||
request(PROJECT_RELEASE, {projectId: route.query.projectId})
|
||||
emit('call-parent-method');
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import 'element-plus/dist/index.css'
|
||||
// import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
import "@/assets/scss/common.scss"
|
||||
import Antd from 'ant-design-vue';
|
||||
import 'ant-design-vue/dist/reset.css';
|
||||
import 'ant-design-vue/dist/antd.css';
|
||||
import {request} from "@/api/request";
|
||||
import {USER_INFO, USER_PERMISSION, VALIDATE_TOKEN} from "@/api/apis";
|
||||
import * as api1 from "@/api/index1";
|
||||
|
||||
@@ -2902,16 +2902,16 @@ export default defineComponent({
|
||||
const minute = String(date.$D).padStart(2, '0')
|
||||
state.xjkkinputV3[0]=date.$y+'-'+month+'-'+day+' '+hour+':'+minute
|
||||
}
|
||||
const openStart = ref(false)
|
||||
// const openStart = ref(false)
|
||||
const onOkStart = ()=>{
|
||||
openStart.value = false
|
||||
// openStart.value = false
|
||||
}
|
||||
function onBlurStart(e){
|
||||
state.xjkkinputV3[0]=e.target.value
|
||||
openStart.value = false
|
||||
// state.xjkkinputV3[0]=e.target.value
|
||||
// openStart.value = false
|
||||
}
|
||||
function onFocusStart(){
|
||||
openStart.value = true
|
||||
// openStart.value = true
|
||||
if(!state.xjkkinputV3[0]){
|
||||
let now=new Date()
|
||||
let start=new Date(now.setFullYear(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0))
|
||||
@@ -2933,14 +2933,14 @@ function onDateEnd(date) {
|
||||
}
|
||||
const openEnd = ref(false)
|
||||
const onOkEnd = ()=>{
|
||||
openEnd.value = false
|
||||
// openEnd.value = false
|
||||
}
|
||||
function onBlurEnd(e){
|
||||
state.xjkkinputV3[1]=e.target.value
|
||||
openEnd.value = false
|
||||
// state.xjkkinputV3[1]=e.target.value
|
||||
// openEnd.value = false
|
||||
}
|
||||
function onFocusEnd(){
|
||||
openEnd.value = true
|
||||
// openEnd.value = true
|
||||
if(!state.xjkkinputV3[1]){
|
||||
let now=new Date()
|
||||
let start=new Date()
|
||||
@@ -5235,13 +5235,12 @@ function onFocusEnd(){
|
||||
|
||||
onDateSelect,
|
||||
onOkStart,
|
||||
openStart,
|
||||
// openStart,
|
||||
onBlurStart,
|
||||
onFocusStart,
|
||||
// timeChangeEnd,
|
||||
onDateEnd,
|
||||
openEnd,
|
||||
onOkEnd,
|
||||
// onOkEnd,
|
||||
onFocusEnd,
|
||||
onBlurEnd,
|
||||
inputWeightChange,
|
||||
|
||||
@@ -588,7 +588,7 @@
|
||||
{{ item.type==2 ? item.createTime !== null ? item.createTime : "-" : item.startTime !== null ? item.startTime : "-" }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="progress" v-if="item.averageScore" style="display: flex;flex-grow: 0;margin: 0;">
|
||||
<div class="progress" v-if="item.averageScore" style="display: flex;flex-grow: 0;margin: 0;min-width: 60px;">
|
||||
<!-- <div class="progresstext">
|
||||
{{ item.finishStuCnt || 0 }}/{{
|
||||
item.totalStuCnt || 0
|
||||
@@ -617,6 +617,9 @@
|
||||
{{ item.averageScore}}分
|
||||
</div>
|
||||
<div class="img_daoc" @click="exportScore(item)"></div>
|
||||
</div>
|
||||
<div class="progress" v-if="!item.averageScore" style="display: flex;flex-grow: 0;margin: 0;min-width: 60px;">
|
||||
|
||||
</div>
|
||||
<div class="operations">
|
||||
<div class="operations_dropdown">
|
||||
@@ -6681,7 +6684,7 @@ export default {
|
||||
.first {
|
||||
//position: relative;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
// flex-grow: 1;
|
||||
align-items: center;
|
||||
//height: 71px;
|
||||
margin-left: 12px;
|
||||
@@ -6710,7 +6713,7 @@ export default {
|
||||
.type {
|
||||
//height: 71px;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
// flex-grow: 1;
|
||||
align-items: center;
|
||||
margin-right: 50px;
|
||||
|
||||
@@ -6738,7 +6741,7 @@ export default {
|
||||
.time {
|
||||
//height: 71px;
|
||||
flex-grow: 1;
|
||||
margin-right: 50px;
|
||||
margin-right: 14px;
|
||||
width: 100px;
|
||||
|
||||
.timetext {
|
||||
|
||||
Reference in New Issue
Block a user