mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
修改错乱代码
This commit is contained in:
@@ -1015,7 +1015,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="cstm_items" style="align-items: baseline;">
|
||||
<div class="signbox">
|
||||
<div class="signbox" style="position: relative;top: -5px">
|
||||
<div class="sign">
|
||||
<img
|
||||
src="@/assets/images/coursewareManage/asterisk.png"
|
||||
@@ -1040,8 +1040,8 @@
|
||||
<a-input-number :min="0" @change="inputWeightChange(index)" v-model:value="item.weight" placeholder="%"/>
|
||||
<span style="margin-top: 10px;width: 34px;">权重</span>
|
||||
<div style="display: flex;">
|
||||
<a-button shape="circle" class="btn-circle btn-add" @click="inputAdd">+</a-button>
|
||||
<a-button shape="circle" class="btn-circle" @click="inputRemove(index)" :disabled="offteachers.length == 1">-</a-button>
|
||||
<a-button v-if="index===0" shape="circle" class="btn-circle btn-add" @click="inputAdd">+</a-button>
|
||||
<a-button shape="circle" class="btn-circle" @click="inputRemove(index)" :disabled="offteachers.length == 1"><delete-outlined class="custom-icon"/></a-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1814,6 +1814,7 @@ import DropDown from "@/components/common/DropDown";
|
||||
import { checkPer, checkOwner } from "@/utils/utils";
|
||||
import dayjs from "dayjs";
|
||||
import {duration} from "moment";
|
||||
import { DeleteOutlined } from '@ant-design/icons-vue';
|
||||
|
||||
//列表表格
|
||||
|
||||
@@ -2236,6 +2237,7 @@ export default defineComponent({
|
||||
// },
|
||||
addOnlineCourse,
|
||||
TwoDimensionalCode,
|
||||
DeleteOutlined
|
||||
},
|
||||
setup() {
|
||||
const CourseModalRef = ref(null);
|
||||
@@ -2898,8 +2900,8 @@ export default defineComponent({
|
||||
function onDateSelect(date) {
|
||||
const month = String(date.$M+1).padStart(2, '0')
|
||||
const day = String(date.$D).padStart(2, '0')
|
||||
const hour = String(date.$D).padStart(2, '0')
|
||||
const minute = String(date.$D).padStart(2, '0')
|
||||
const hour = String(date.$H).padStart(2, '0')
|
||||
const minute = String(date.$m).padStart(2, '0')
|
||||
state.xjkkinputV3[0]=date.$y+'-'+month+'-'+day+' '+hour+':'+minute
|
||||
}
|
||||
const openStart = ref(false)
|
||||
@@ -2927,8 +2929,8 @@ function onFocusStart(){
|
||||
function onDateEnd(date) {
|
||||
const month = String(date.$M+1).padStart(2, '0')
|
||||
const day = String(date.$D).padStart(2, '0')
|
||||
const hour = String(date.$D).padStart(2, '0')
|
||||
const minute = String(date.$D).padStart(2, '0')
|
||||
const hour = String(date.$H).padStart(2, '0')
|
||||
const minute = String(date.$m).padStart(2, '0')
|
||||
state.xjkkinputV3[1]=date.$y+'-'+month+'-'+day+' '+hour+':'+minute
|
||||
}
|
||||
const openEnd = ref(false)
|
||||
@@ -3812,7 +3814,7 @@ function onFocusEnd(){
|
||||
teacherName: "",
|
||||
weight: '',
|
||||
}]
|
||||
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),moment().format('YYYY-MM-DD HH:mm')]
|
||||
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
|
||||
state.cstm_hs = true;
|
||||
};
|
||||
const handleCancelStu = () => {
|
||||
@@ -5761,6 +5763,7 @@ function onFocusEnd(){
|
||||
border-radius: 8px !important;
|
||||
border: 1px solid #C7CBD2 !important;
|
||||
margin: 0 10px 0 10px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
.btn-add{
|
||||
margin: 0 10px 0 10px;
|
||||
@@ -5769,6 +5772,12 @@ function onFocusEnd(){
|
||||
text-align: center;
|
||||
line-height: 100%;
|
||||
margin-top: 5px;
|
||||
.custom-icon{
|
||||
font-size: 20px;
|
||||
svg{
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
span{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user