|
@@ -415,6 +415,11 @@
|
|
|
<el-switch style="margin:0px 0 10px 81px;" v-model="timeType.taskRequired" active-color="#20a0ff"></el-switch>
|
|
|
<span style="margin:0px 0 10px 10px;color:#999;">{{ $t('parametermandatory') }}</span>
|
|
|
</div>
|
|
|
+ <div class="yanjiu">
|
|
|
+ <span style="margin:0px 0 10px 10px;color:#666;">任务分组</span>
|
|
|
+ <el-switch style="margin-left:108px;" v-model="timeType.taskGroupRequired" active-color="#20a0ff"></el-switch>
|
|
|
+ <span style="margin:0px 0 10px 10px;color:#999;">{{ $t('parametermandatory') }}</span>
|
|
|
+ </div>
|
|
|
<div class="yanjiu">
|
|
|
<span style="margin-left:10px;color:#666;">{{user.companyId==781?$t('other.specificcontentandresults'):$t('other.workMatters')}}</span>
|
|
|
<el-switch :style="user.companyId==781?'margin-left:66px;':'margin-left:108px;'" v-model="timeType.workContentState" active-color="#20a0ff" > </el-switch>
|
|
@@ -1336,6 +1341,7 @@
|
|
|
param.hideStages = param.hideStages ? 1 : 0
|
|
|
param.hideTask = param.hideTask ? 1 : 0
|
|
|
param.taskRequired = param.taskRequired ? 1 : 0
|
|
|
+ param.taskGroupRequired = param.taskGroupRequired ? 1 : 0
|
|
|
|
|
|
var oneseet = 0
|
|
|
var twoset = 0
|
|
@@ -1405,6 +1411,7 @@
|
|
|
this.timeType.hideStages = this.timeType.hideStages? true: false;
|
|
|
this.timeType.hideTask = this.timeType.hideTask? true: false;
|
|
|
this.timeType.taskRequired = this.timeType.taskRequired? true: false;
|
|
|
+ this.timeType.taskGroupRequired = this.timeType.taskGroupRequired? true: false;
|
|
|
// this.timeType.alertNonWorkday = this.timeType.alertNonWorkday ? true : false
|
|
|
|
|
|
if(this.timeType.alertNonWorkday) {
|