权限分发管理增加搜索条件,试题列表改为试卷列表
This commit is contained in:
parent
6e8b69869b
commit
d2b296153a
@ -14,7 +14,7 @@ export default {
|
||||
trainingScore: '实训得分',
|
||||
returnToExamList: '返回考试列表',
|
||||
totalScore: '总分',
|
||||
itemList: '试题列表',
|
||||
itemList: '试卷列表',
|
||||
courseName: '课程名称',
|
||||
permissionsDetails: '权限详情',
|
||||
buy: '购买',
|
||||
|
@ -12,6 +12,7 @@ import { listPackagePermission, restorePackagePermission, getPackageQrCode, setC
|
||||
import { UrlConfig } from '@/router/index';
|
||||
import QrCode from '@/components/QrCode';
|
||||
import Qcode from './Qcode';
|
||||
import { getPublishMapListOnline } from '@/api/jmap/map';
|
||||
|
||||
export default {
|
||||
name: 'Author',
|
||||
@ -31,11 +32,24 @@ export default {
|
||||
labelWidth: '140px',
|
||||
reset: false,
|
||||
queryObject: {
|
||||
'userName': {
|
||||
type: 'text',
|
||||
label: this.$t('orderAuthor.founder')
|
||||
mapId: {
|
||||
type: 'select',
|
||||
label: this.$t('orderAuthor.mapName'),
|
||||
config: {
|
||||
data: []
|
||||
}
|
||||
},
|
||||
'status': {
|
||||
canDistribute: {
|
||||
type: 'select',
|
||||
label: this.$t('orderAuthor.publicOrPrivate'),
|
||||
config: {
|
||||
data: [
|
||||
{ value: false, label: this.$t('orderAuthor.privateAuthority')},
|
||||
{ value: true, label: this.$t('orderAuthor.publicAuthority')}
|
||||
]
|
||||
}
|
||||
},
|
||||
status: {
|
||||
type: 'select',
|
||||
label: this.$t('global.status'),
|
||||
value: '1',
|
||||
@ -179,6 +193,11 @@ export default {
|
||||
return true;
|
||||
});
|
||||
});
|
||||
getPublishMapListOnline().then(resp => {
|
||||
resp.data.forEach(elem => {
|
||||
this.queryForm.queryObject.mapId.config.data.push({value: elem.id, label: elem.name});
|
||||
});
|
||||
});
|
||||
},
|
||||
formatterDate(row, porpInfo) {
|
||||
return row[porpInfo.property] ? row[porpInfo.property] : this.$t('global.perpetual');
|
||||
|
Loading…
Reference in New Issue
Block a user