Commit 8440ed2f by chenwq

参与次数验证交互

1 parent 11453487
......@@ -18,20 +18,20 @@
<div class="flex-default m-r-20" slot="repeatTime" slot-scope="scope">
<div class="flex-default m-r-20" v-if="editForm.repeatMode == 2">
<p style="width: 50px">每周</p>
<el-select :size="size" v-model="editForm[scope.scope.name]" placeholder="请选择每周指定日期">
<el-select :size="size" v-model="editForm[scope.scope.name]" placeholder="请选择每周指定日期" @change="handleResetMaxSet">
<el-option v-for="item in baseData.weekList" :key="item.confId" :label="item.confName" :value="item.confId"></el-option>
</el-select>
</div>
<div class="flex-default m-r-20" v-if="editForm.repeatMode == 3">
<p style="width: 50px">每月</p>
<el-select :size="size" v-model="editForm[scope.scope.name]" placeholder="请选择每月指定日期">
<el-select :size="size" v-model="editForm[scope.scope.name]" placeholder="请选择每月指定日期" @change="handleResetMaxSet">
<el-option v-for="item in baseData.monthList" :key="item.confId" :label="item.confName" :value="item.confId"></el-option>
</el-select>
</div>
<div>重复循环至</div>
</div>
<div slot="eventEndDate" slot-scope="scope">
<el-date-picker v-model="editForm[scope.scope.name]" :disabled="!editForm.eventStartDate" :placeholder="scope.scope.placeholder" :value-format="scope.scope.valueFormat" :clearable="scope.scope.isClear" :picker-options="scope.scope.customPickerOptions"></el-date-picker>
<el-date-picker v-model="editForm[scope.scope.name]" :disabled="!editForm.eventStartDate" :placeholder="scope.scope.placeholder" :value-format="scope.scope.valueFormat" :clearable="scope.scope.isClear" :picker-options="scope.scope.customPickerOptions" @change="handleResetMaxSet"></el-date-picker>
</div>
</glsx-combi-form>
</div>
......@@ -86,8 +86,10 @@
同一用户最多参与
<el-form-item prop="reachesTypeSet">
<el-input v-model="editForm.reachesTypeSet"></el-input>
<span class="txt-red" v-if="+maxReachesTypeSet < editForm.reachesTypeSet">该用户最多能参与{{ maxReachesTypeSet }}次</span>
<span class="txt-red" v-else-if="editForm.reachesTypeSet < 2">只能输入2及以上的数字</span>
<div v-show="editForm.reachesTypeSet && maxReachesTypeSet">
<span class="txt-red" v-if="+maxReachesTypeSet < editForm.reachesTypeSet">该用户最多能参与{{ maxReachesTypeSet }}次</span>
<span class="txt-red" v-else-if="editForm.reachesTypeSet < 2">只能输入2及以上的数字</span>
</div>
</el-form-item>
次
</span>
......@@ -294,6 +296,7 @@ export default {
handleRadioChange: val => {
this.editForm.repeatTime = ''
this.editForm.eventEndDate = ''
this.maxReachesTypeSet = ''
}
}
],
......@@ -488,6 +491,10 @@ export default {
}
},
handleResetMaxSet() {
this.maxReachesTypeSet = ''
},
getStaffTypeList() {
this.$apis.common.getStaffFollowerListApi({}).then(res => {
this.baseData.staffTypeList = res
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!