|
|
@@ -19,6 +19,7 @@
|
|
|
@pagination-change="handlePaginationChange"
|
|
|
@row-dblclick="handleRowDblclick"
|
|
|
>
|
|
|
+
|
|
|
<!-- 查询参数插槽 -->
|
|
|
<template slot="examBankId">
|
|
|
<ibps-custom-dialog
|
|
|
@@ -76,6 +77,15 @@
|
|
|
:visible.sync="showJudgeDialog"
|
|
|
@close="visible => showJudgeDialog = visible"
|
|
|
/>
|
|
|
+ <custom-dialog
|
|
|
+ :visible="customDialogVisible"
|
|
|
+ :value="[]"
|
|
|
+ template-key="ckryfzpzdhk"
|
|
|
+ :dynamic-params="{}"
|
|
|
+ @close="(visible) => (customDialogVisible = visible)"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -86,6 +96,7 @@ import FixHeight from '@/mixins/height'
|
|
|
import { max, min, mean, sum, maxBy, minBy, meanBy, round, keyBy, mapValues, fromPairs } from 'lodash'
|
|
|
import { removeFormData } from '@/api/platform/data/dataTemplate'
|
|
|
import { queryExams } from '@/api/business/general'
|
|
|
+import CustomDialog from '@/business/platform/data/templaterender/custom-dialog/dialog'
|
|
|
|
|
|
const sortField = {
|
|
|
CREATE_TIME_: 'chuangJianShiJ',
|
|
|
@@ -98,7 +109,8 @@ export default {
|
|
|
ExamDetail: () => import('./detail'),
|
|
|
ExamJudge: () => import('../question/judge'),
|
|
|
IbpsCustomDialog: () => import('@/business/platform/data/templaterender/custom-dialog'),
|
|
|
- IbpsUserSelector: () => import('@/business/platform/org/selector')
|
|
|
+ IbpsUserSelector: () => import('@/business/platform/org/selector'),
|
|
|
+ CustomDialog
|
|
|
},
|
|
|
mixins: [FixHeight],
|
|
|
data () {
|
|
|
@@ -115,6 +127,7 @@ export default {
|
|
|
]
|
|
|
const showType = 'info'
|
|
|
return {
|
|
|
+ customDialogVisible: false, //分组配置按钮
|
|
|
userId,
|
|
|
userList,
|
|
|
userOption,
|
|
|
@@ -153,7 +166,8 @@ export default {
|
|
|
{ key: 'create', label: '新建考试', type: 'success', icon: 'ibps-icon-plus' },
|
|
|
{ key: 'remove' },
|
|
|
{ key: 'judge', label: '试题评阅', type: 'info', icon: 'ibps-icon-adjust' },
|
|
|
- { key: 'change', label: `${this.showType === 'info' ? '考试结果' : '考试信息'}`, type: 'warning', icon: 'el-icon-s-operation' }
|
|
|
+ { key: 'change', label: `${this.showType === 'info' ? '考试结果' : '考试信息'}`, type: 'warning', icon: 'el-icon-s-operation' },
|
|
|
+ { key: 'fenzu', label: '参考人员分组配置', type: 'info', icon: 'ibps-icon-cogs', },
|
|
|
],
|
|
|
searchForm: {
|
|
|
forms: [
|
|
|
@@ -580,6 +594,8 @@ export default {
|
|
|
}
|
|
|
this.showDetailDialog = true
|
|
|
break
|
|
|
+ case 'fenzu':
|
|
|
+ this.customDialogVisible = true
|
|
|
default:
|
|
|
break
|
|
|
}
|