|
@@ -27,22 +27,22 @@
|
|
<el-button
|
|
<el-button
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
- icon="search"
|
|
|
|
|
|
+ icon="el-icon-search"
|
|
@click="searchForm"
|
|
@click="searchForm"
|
|
>
|
|
>
|
|
查询
|
|
查询
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+ <el-button size="small" @click="resetSearchForm">
|
|
|
|
+ 重置
|
|
|
|
+ </el-button>
|
|
<el-button
|
|
<el-button
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
- icon="plus"
|
|
|
|
|
|
+ icon="el-icon-plus"
|
|
@click="insert"
|
|
@click="insert"
|
|
>
|
|
>
|
|
新增
|
|
新增
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button size="small" type="danger" @click="deleteByIds">
|
|
|
|
- <i class="el-icon-delete"></i>删除
|
|
|
|
- </el-button>
|
|
|
|
<el-button size="small" type="info" @click="back">
|
|
<el-button size="small" type="info" @click="back">
|
|
退回
|
|
退回
|
|
</el-button>
|
|
</el-button>
|
|
@@ -51,9 +51,14 @@
|
|
</ecs-form-search>
|
|
</ecs-form-search>
|
|
|
|
|
|
<!-- 添加考点信息弹出框 -->
|
|
<!-- 添加考点信息弹出框 -->
|
|
- <el-dialog title="考点信息" :visible.sync="examSiteDialog">
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="考点信息"
|
|
|
|
+ width="400px"
|
|
|
|
+ :visible.sync="examSiteDialog"
|
|
|
|
+ >
|
|
<el-form
|
|
<el-form
|
|
:inline="true"
|
|
:inline="true"
|
|
|
|
+ inline-message
|
|
:model="examSiteForm"
|
|
:model="examSiteForm"
|
|
ref="examSiteForm"
|
|
ref="examSiteForm"
|
|
:rules="rules"
|
|
:rules="rules"
|
|
@@ -67,7 +72,7 @@
|
|
v-model="orgName"
|
|
v-model="orgName"
|
|
auto-complete="off"
|
|
auto-complete="off"
|
|
placeholder="中心代码"
|
|
placeholder="中心代码"
|
|
- readonly
|
|
|
|
|
|
+ disabled
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -122,13 +127,25 @@
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-row class="pull_center">
|
|
|
|
|
|
+ <el-row class="d-flex justify-content-center">
|
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
|
<el-button @click="examSiteDialog = false">取 消</el-button>
|
|
<el-button @click="examSiteDialog = false">取 消</el-button>
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
|
+ <span>批量操作:</span>
|
|
|
|
+ <el-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="danger"
|
|
|
|
+ icon="el-icon-delete"
|
|
|
|
+ @click="deleteByIds"
|
|
|
|
+ >
|
|
|
|
+ 删除
|
|
|
|
+ </el-button>
|
|
|
|
+
|
|
|
|
+ <div style="width: 100%;margin-bottom: 10px;"></div>
|
|
|
|
+
|
|
<!-- 页面列表 -->
|
|
<!-- 页面列表 -->
|
|
<el-table
|
|
<el-table
|
|
:data="tableData"
|
|
:data="tableData"
|
|
@@ -139,17 +156,16 @@
|
|
>
|
|
>
|
|
<el-table-column type="selection" width="35" />
|
|
<el-table-column type="selection" width="35" />
|
|
<el-table-column prop="id" width="80" label="ID" />
|
|
<el-table-column prop="id" width="80" label="ID" />
|
|
- <el-table-column prop="orgName" label="学习中心" />
|
|
|
|
<el-table-column prop="code" label="考点代码" />
|
|
<el-table-column prop="code" label="考点代码" />
|
|
<el-table-column prop="name" label="考点名称" />
|
|
<el-table-column prop="name" label="考点名称" />
|
|
<el-table-column prop="contacts" width="100" label="负责人" />
|
|
<el-table-column prop="contacts" width="100" label="负责人" />
|
|
<el-table-column prop="telephone" width="100" label="联系方式" />
|
|
<el-table-column prop="telephone" width="100" label="联系方式" />
|
|
- <el-table-column prop="remark" width="150" label="备注" />
|
|
|
|
|
|
+ <el-table-column prop="remark" width="120" label="备注" />
|
|
<el-table-column prop="updateTime" width="180" label="更新时间" />
|
|
<el-table-column prop="updateTime" width="180" label="更新时间" />
|
|
<el-table-column label="操作" width="180">
|
|
<el-table-column label="操作" width="180">
|
|
<div slot-scope="scope">
|
|
<div slot-scope="scope">
|
|
<el-button size="mini" type="primary" @click="edit(scope.row)">
|
|
<el-button size="mini" type="primary" @click="edit(scope.row)">
|
|
- <i class="el-icon-edit"></i> 修改
|
|
|
|
|
|
+ <i class="el-icon-edit"></i> 编辑
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
size="mini"
|
|
size="mini"
|
|
@@ -240,6 +256,10 @@ export default {
|
|
back() {
|
|
back() {
|
|
this.$router.back();
|
|
this.$router.back();
|
|
},
|
|
},
|
|
|
|
+ resetSearchForm() {
|
|
|
|
+ this.formSearch.code = "";
|
|
|
|
+ this.formSearch.name = "";
|
|
|
|
+ },
|
|
handleCurrentChange(val) {
|
|
handleCurrentChange(val) {
|
|
this.currentPage = val;
|
|
this.currentPage = val;
|
|
this.searchForm();
|
|
this.searchForm();
|