|
@@ -14,6 +14,7 @@
|
|
v-if="isSuperAdmin"
|
|
v-if="isSuperAdmin"
|
|
label="顶级机构"
|
|
label="顶级机构"
|
|
class="pull-left"
|
|
class="pull-left"
|
|
|
|
+ :label-width="style.searchForm_label_width"
|
|
>
|
|
>
|
|
<el-select
|
|
<el-select
|
|
style="width: 180px"
|
|
style="width: 180px"
|
|
@@ -30,24 +31,47 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="姓名" class="pull-left">
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="姓名"
|
|
|
|
+ class="pull-left"
|
|
|
|
+ :label-width="style.searchForm_label_width"
|
|
|
|
+ >
|
|
<el-input
|
|
<el-input
|
|
placeholder="请输入姓名"
|
|
placeholder="请输入姓名"
|
|
v-model="formSearch.name"
|
|
v-model="formSearch.name"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="学号" class="pull-left">
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="学号"
|
|
|
|
+ class="pull-left"
|
|
|
|
+ :label-width="style.searchForm_label_width"
|
|
|
|
+ >
|
|
<el-input
|
|
<el-input
|
|
placeholder="请输入学号"
|
|
placeholder="请输入学号"
|
|
v-model="formSearch.studentCode"
|
|
v-model="formSearch.studentCode"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="身份证" class="pull-left">
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="身份证"
|
|
|
|
+ class="pull-left"
|
|
|
|
+ :label-width="style.searchForm_label_width"
|
|
|
|
+ >
|
|
<el-input
|
|
<el-input
|
|
placeholder="请输入身份证"
|
|
placeholder="请输入身份证"
|
|
v-model="formSearch.identityNumber"
|
|
v-model="formSearch.identityNumber"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="是否上传照片"
|
|
|
|
+ class="pull-left"
|
|
|
|
+ :label-width="style.searchForm_label_width"
|
|
|
|
+ >
|
|
|
|
+ <el-select v-model="formSearch.hasPhoto">
|
|
|
|
+ <el-option label="未选择" value="ALL"> </el-option>
|
|
|
|
+ <el-option label="是" value="TRUE"> </el-option>
|
|
|
|
+ <el-option label="否" value="FALSE"> </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item class="pull-right buttonframe">
|
|
<el-form-item class="pull-right buttonframe">
|
|
<el-button
|
|
<el-button
|
|
v-if="rolePrivileges.search_student"
|
|
v-if="rolePrivileges.search_student"
|
|
@@ -388,7 +412,7 @@
|
|
title="照片"
|
|
title="照片"
|
|
:visible.sync="photoDialog"
|
|
:visible.sync="photoDialog"
|
|
width="300px"
|
|
width="300px"
|
|
- center="true"
|
|
|
|
|
|
+ :center="true"
|
|
>
|
|
>
|
|
<img :src="photo.url" alt="学生照片" height="100%" width="100%" />
|
|
<img :src="photo.url" alt="学生照片" height="100%" width="100%" />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -409,6 +433,8 @@ import { mapState } from "vuex";
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ style: { searchForm_label_width: "200" },
|
|
|
|
+
|
|
rolePrivileges: {
|
|
rolePrivileges: {
|
|
search_student: false,
|
|
search_student: false,
|
|
upload_student_photo: false,
|
|
upload_student_photo: false,
|
|
@@ -426,7 +452,8 @@ export default {
|
|
name: "",
|
|
name: "",
|
|
studentCode: "",
|
|
studentCode: "",
|
|
identityNumber: "",
|
|
identityNumber: "",
|
|
- enable: ""
|
|
|
|
|
|
+ enable: "",
|
|
|
|
+ hasPhoto: "ALL"
|
|
},
|
|
},
|
|
selectedStuIds: [],
|
|
selectedStuIds: [],
|
|
statusList: [
|
|
statusList: [
|