Merge branch 'develop' of https://gitee.com/siwa-team/dawa-vue into develop
This commit is contained in:
commit
9e2f1662f5
|
@ -26,9 +26,9 @@
|
|||
<a-menu-item>
|
||||
<a href="javascript:;" @click="openVisible('question',record)">题库预览</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item v-if="form.id" >
|
||||
<!-- <a-menu-item v-if="form.id" >
|
||||
<a href="javascript:;" @click="openVisible('topic',record)">必选题设置</a>
|
||||
</a-menu-item>
|
||||
</a-menu-item> -->
|
||||
<a-menu-item>
|
||||
<a-popconfirm title="是否删除?" @confirm="() => handleDelete(record)">
|
||||
<a href="javascript:;" @click="$refs.table.refresh(true)">删除</a>
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
|
||||
</a-row>
|
||||
</a-form>
|
||||
<s-table ref="table" :columns="columns" :data="loadData" :rowKey="(record) => record.value" :rowSelection="{ selectedRowKeys: selectedRowKeys, selectedRows: selectedRows, onChange: onSelectChange }">
|
||||
<s-table ref="table" :columns="columns" :data="loadData" :rowKey="(record) => record.id"
|
||||
:rowSelection="{ selectedRowKeys: selectedRowKeys, selectedRows: selectedRows, onChange: onSelectChange }">
|
||||
<span slot="serial" slot-scope="text, record, index">
|
||||
{{ index + 1 }}
|
||||
</span>
|
||||
|
@ -71,7 +72,7 @@ export default {
|
|||
|
||||
// 查询参数
|
||||
queryParam: { name: '', classType: 0 ,type: 0},
|
||||
replaceFields: { children: 'children', title: 'name', key: 'key', value: 'value' },
|
||||
replaceFields: { children: 'children', title: 'name', key: 'value', value: 'id' },
|
||||
expandedKeys: [],
|
||||
autoExpandParent: true,
|
||||
// defaultExpandedKeys: [],
|
||||
|
|
Loading…
Reference in New Issue