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

View File

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