Commit e64608cd authored by 黄自鹏's avatar 黄自鹏

试卷调整,支持选择其他公司的题库

parent 74ffd53b
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
doUpdate, doUpdate,
doDelete, doDelete,
pxxmQuery, pxxmQuery,
doQueryByXmid,
excelimport excelimport
} from '@/api/train/questionManage'; } from '@/api/train/questionManage';
import { import {
...@@ -248,7 +249,7 @@ export default { ...@@ -248,7 +249,7 @@ export default {
pageSize:pageSize, pageSize:pageSize,
pageNo:page pageNo:page
} }
doQuery(params).then(res=>{ doQueryByXmid(params).then(res=>{
this.loading = false; this.loading = false;
this.tableData=res.data.records||[] this.tableData=res.data.records||[]
this.total = res.data.total this.total = res.data.total
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<el-form-item label="题库" ref="xmid" prop="xmid"> <el-form-item label="题库" ref="xmid" prop="xmid">
<!--<RelSelect linkage :linkParams="{gsid:form.gsid}" :readonly="readonly" filterable style="width: 100%;" clearable src='aqgl/pxgl/pxxm/query' <!--<RelSelect linkage :linkParams="{gsid:form.gsid}" :readonly="readonly" filterable style="width: 100%;" clearable src='aqgl/pxgl/pxxm/query'
:match="{value:'id',label:'name'}" v-model='form.xmid'></RelSelect>--> :match="{value:'id',label:'name'}" v-model='form.xmid'></RelSelect>-->
<RelSelect :readonly="readonly" filterable style="width: 100%;" clearable src='aqgl/pxgl/pxxm/query' <RelSelect :readonly="readonly" filterable style="width: 100%;" clearable src='aqgl/pxgl/pxxm/queryAllPxxm'
:match="{value:'id',label:'name'}" v-model='form.xmid'></RelSelect> :match="{value:'id',label:'name'}" v-model='form.xmid'></RelSelect>
</el-form-item> </el-form-item>
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
url:'aqgl/pxgl/pxjh/query',label:'name',value:'id' url:'aqgl/pxgl/pxjh/query',label:'name',value:'id'
}}, }},
{label: "题库", prop: "xmid", fieldType: "ftString",width:192,transform:{ {label: "题库", prop: "xmid", fieldType: "ftString",width:192,transform:{
url:'aqgl/pxgl/pxxm/query',label:'name',value:'id' url:'aqgl/pxgl/pxxm/queryAllPxxm',label:'name',value:'id'
}}, }},
{label: "总分", prop: "score", fieldType: "float",width:192}, {label: "总分", prop: "score", fieldType: "float",width:192},
{label: "合格分数", prop: "hgfs", fieldType: "float",width:192}, {label: "合格分数", prop: "hgfs", fieldType: "float",width:192},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment