优化diamante

This commit is contained in:
java110 2022-12-15 14:52:18 +08:00
parent 457f5a4d3b
commit 8235c5cd12
2 changed files with 7 additions and 19 deletions

View File

@ -1,5 +1,4 @@
<div id="addScheduleClassesStaffModel" class="modal fade" role="dialog" <div id="addScheduleClassesStaffModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
@ -9,24 +8,16 @@
<div class="ibox-content"> <div class="ibox-content">
<div> <div>
<div> <div>
<div class="form-group row"> <div>
<label class="col-sm-2 col-form-label"><span> <vc:create path="property/selectStaffs"></vc:create>
<vc:i18n name='员工' namespace='addScheduleClassesStaff'></vc:i18n>
</span></label>
<div class="col-sm-10">
<vc:create path="property/selectStaffs"></vc:create>
</div>
</div> </div>
<div class="ibox-content"> <div class="ibox-content">
<button class="btn btn-primary float-right" type="button" <button class="btn btn-primary float-right" type="button" v-on:click="saveScheduleClassesStaffInfo()"><i class="fa fa-check"></i>&nbsp;
v-on:click="saveScheduleClassesStaffInfo()"><i class="fa fa-check"></i>&nbsp;
<span> <span>
<vc:i18n name="保存"></vc:i18n> <vc:i18n name="保存"></vc:i18n>
</span> </span>
</button> </button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">
data-dismiss="modal">
<span> <span>
<vc:i18n name="取消"></vc:i18n> <vc:i18n name="取消"></vc:i18n>
</span> </span>

View File

@ -6,8 +6,7 @@
</span> </span>
</label> </label>
<div class="col-sm-4"> <div class="col-sm-4">
<select class="custom-select" v-model="scheduleClassesWeekInfo.scheduleCycle" <select class="custom-select" v-model="scheduleClassesWeekInfo.scheduleCycle" @change="_changeInspectionPeriodWeek()">
@change="_changeInspectionPeriodWeek()">
<option selected disabled value=""> <option selected disabled value="">
{{vc.i18n('必填,请选择排班周期','scheduleClassesWeek')}} {{vc.i18n('必填,请选择排班周期','scheduleClassesWeek')}}
</option> </option>
@ -23,9 +22,7 @@
</label> </label>
<div class="col-sm-10"> <div class="col-sm-10">
<div class="row bg-white border-radius padding "> <div class="row bg-white border-radius padding ">
<div class="col-md-2 text-center border padding-lg labeling-strip" <div class=" text-center border padding-lg labeling-strip" v-for="(item,index) in scheduleClassesWeekInfo.days" :key="index" style="border-radius: 5px;cursor:pointer;width: 13%;" @click="_changeWorkdayWeekInfo(item)" v-if="item.weekFlag == week">
v-for="(item,index) in scheduleClassesWeekInfo.days" :key="index"
style="border-radius: 5px;cursor:pointer" @click="_changeWorkdayWeekInfo(item)" v-if="item.weekFlag == week">
<div>{{vc.getWorkDay(item.day)}}</div> <div>{{vc.getWorkDay(item.day)}}</div>
<div>{{item.workdayName}}</div> <div>{{item.workdayName}}</div>
<div v-for="(time,index) in item.times">{{time.startTime}}-{{time.endTime}}</div> <div v-for="(time,index) in item.times">{{time.startTime}}-{{time.endTime}}</div>