| | |
| | | <el-form-item label="考生:" prop="menuIds" required> |
| | | <el-cascader v-model="form.menuIds" :options="options" :props="{ multiple: true }" clearable collapse-tags></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="时间:" prop="limitDateTime" required v-if="examPaper.paperType === 4"> |
| | | <el-date-picker v-model="form.limitDateTime" value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange" |
| | | range-separator="至" start-placeholder="开始时间" end-placeholder="结束时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | |
| | | id: null, |
| | | limitDateTime: [] |
| | | } |
| | | this.dialogVisible = true; |
| | | this.examPaper = item; |
| | | departmentApi.getDepartmentUserByTemplateId(item.id).then(res => { |
| | | this.options = res.response.map(x=>{return{value:x.department.id,label:x.department.name,children:x.userList.map(xx=>{return{value: xx.id,label: xx.realName}})}}) |
| | | this.dialogVisible = true; |
| | | }) |
| | | }, |
| | | submitUpdate () { |