|
@@ -1,31 +1,28 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <el-button type="primary" @click="settingsVisible=true" icon="el-icon-setting" size="small">打开选科设置</el-button>
|
|
|
- <el-drawer :visible.sync="settingsVisible" title="选科设置" size="80%">
|
|
|
- <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
|
|
|
- @invalid="handleInvalidQuery"></mx-condition>
|
|
|
- <div class="mt20 pl20 pr20">
|
|
|
- <el-button type="primary" plain icon="el-icon-plus" size="mini" class="mb5" @click="handleSettingAdd">新增
|
|
|
- </el-button>
|
|
|
- <mx-table :prop-defines="tableDefines" :rows="dataList">
|
|
|
- <template #actions="{row}">
|
|
|
- <el-button type="text" @click="handleSettingEdit(row)">
|
|
|
- <i class="el-icon-edit"></i>编辑
|
|
|
- </el-button>
|
|
|
- <el-button type="text" @click="handleSettingDelete(row)">
|
|
|
- <i class="el-icon-delete"></i>删除
|
|
|
- </el-button>
|
|
|
- </template>
|
|
|
- </mx-table>
|
|
|
- <pagination v-show="total>queryParams.pageSize" :total="total" :limit.sync="queryParams.pageSize"
|
|
|
- :page.sync="queryParams.pageNum" @pagination="handleQuery"></pagination>
|
|
|
- </div>
|
|
|
- </el-drawer>
|
|
|
+ <el-card>
|
|
|
+ <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
|
|
|
+ @invalid="handleInvalidQuery"></mx-condition>
|
|
|
+ <div class="mt20 pl20 pr20">
|
|
|
+ <el-button type="primary" plain icon="el-icon-plus" size="mini" class="mb5" @click="handleSettingAdd">新增
|
|
|
+ </el-button>
|
|
|
+ <mx-table :prop-defines="tableDefines" :rows="dataList">
|
|
|
+ <template #actions="{row}">
|
|
|
+ <el-button type="text" @click="handleSettingEdit(row)">
|
|
|
+ <i class="el-icon-edit"></i>编辑
|
|
|
+ </el-button>
|
|
|
+ <el-button type="text" @click="handleSettingDelete(row)">
|
|
|
+ <i class="el-icon-delete"></i>删除
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </mx-table>
|
|
|
+ <pagination v-show="total>queryParams.pageSize" :total="total" :limit.sync="queryParams.pageSize"
|
|
|
+ :page.sync="queryParams.pageNum" @pagination="handleQuery"></pagination>
|
|
|
+ </div>
|
|
|
<el-drawer v-if="stepsVisible" :visible.sync="stepsVisible" :title="modifyTitle" :append-to-body="true" size="70%">
|
|
|
<round-setting-steps :settingModel="settingModel" :default-active-step="activeStep" :year-options="yearOptions"
|
|
|
@do-post="handleSubmit"></round-setting-steps>
|
|
|
</el-drawer>
|
|
|
- </div>
|
|
|
+ </el-card>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -41,7 +38,7 @@ import {
|
|
|
saveScoreImportConfig,
|
|
|
updateRound
|
|
|
} from '@/api/webApi/selection'
|
|
|
-import RoundSettingSteps from '@/views/permission/components/steps/round-setting-steps'
|
|
|
+import RoundSettingSteps from '@/views/elective/publish/components/steps/round-setting-steps'
|
|
|
|
|
|
export default {
|
|
|
mixins: [selectTranslateMixin, RoundModelConvert],
|
|
@@ -50,7 +47,6 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
// drawer
|
|
|
- settingsVisible: false,
|
|
|
stepsVisible: false,
|
|
|
activeStep: 0,
|
|
|
// query list
|