|
|
@@ -6,6 +6,7 @@
|
|
|
v-model="date"
|
|
|
:disabled-dates='disabledDates'
|
|
|
@transition-start="queryMoth"
|
|
|
+ :first-day-of-week="1"
|
|
|
:attributes='attrs'
|
|
|
@dayclick="onDayClick"></vc-date-picker>
|
|
|
<ul>
|
|
|
@@ -81,6 +82,11 @@ export default {
|
|
|
v.customData.workTime = formDate.workTime;
|
|
|
v.customData.workOffTime = formDate.workOffTime;
|
|
|
v.customData.isDuty = formDate.isDuty;
|
|
|
+ console.log()
|
|
|
+ v.highlight = {
|
|
|
+ color: v.customData.isEnable == 1 ? 'green' : v.customData.isEnable == 0 ? 'yellow' : v.customData.isEnable == null ? 'red' : 'indigo',
|
|
|
+ fillMode: 'outline',
|
|
|
+ };
|
|
|
arr.push(v.customData);
|
|
|
});
|
|
|
this.$toast.success('复制成功,请点击提交');
|