|
@@ -61,16 +61,27 @@
|
|
@click="resetPageAndSearchForm"
|
|
@click="resetPageAndSearchForm"
|
|
>查询
|
|
>查询
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button size="small" @click="resetSearchForm"> 重置 </el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ size="small"
|
|
|
|
+ icon="el-icon-refresh"
|
|
|
|
+ @click="resetSearchForm"
|
|
|
|
+ >
|
|
|
|
+ 重置
|
|
|
|
+ </el-button>
|
|
<el-button
|
|
<el-button
|
|
v-if="rolePrivileges.upload_student_photo"
|
|
v-if="rolePrivileges.upload_student_photo"
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
- icon="el-icon-plus"
|
|
|
|
|
|
+ icon="el-icon-upload2"
|
|
@click="uploadPhoto"
|
|
@click="uploadPhoto"
|
|
>上传照片
|
|
>上传照片
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button size="small" type="primary" @click="exportStudent">
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="primary"
|
|
|
|
+ icon="el-icon-download"
|
|
|
|
+ @click="exportStudent"
|
|
|
|
+ >
|
|
导出
|
|
导出
|
|
</el-button>
|
|
</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -209,15 +220,16 @@
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="操作" width="260">
|
|
|
|
|
|
+ <el-table-column label="操作" width="300">
|
|
<div slot-scope="scope">
|
|
<div slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
:disabled="!scope.row.photoPath"
|
|
:disabled="!scope.row.photoPath"
|
|
size="mini"
|
|
size="mini"
|
|
type="primary"
|
|
type="primary"
|
|
plain
|
|
plain
|
|
|
|
+ icon="el-icon-picture"
|
|
@click="showPhoto(scope.row)"
|
|
@click="showPhoto(scope.row)"
|
|
- ><i class="fa fa-check" aria-hidden="true"></i>查看照片
|
|
|
|
|
|
+ >查看照片
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
v-if="
|
|
v-if="
|
|
@@ -228,6 +240,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="primary"
|
|
type="primary"
|
|
plain
|
|
plain
|
|
|
|
+ icon="el-icon-check"
|
|
@click="enableStudent(scope.row)"
|
|
@click="enableStudent(scope.row)"
|
|
>启用
|
|
>启用
|
|
</el-button>
|
|
</el-button>
|
|
@@ -236,6 +249,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="primary"
|
|
type="primary"
|
|
plain
|
|
plain
|
|
|
|
+ icon="el-icon-close"
|
|
@click="disableStudent(scope.row)"
|
|
@click="disableStudent(scope.row)"
|
|
>禁用
|
|
>禁用
|
|
</el-button>
|
|
</el-button>
|