|
|
@ -8,7 +8,7 @@ |
|
|
|
<ul class="filter"> |
|
|
|
<ul class="filter"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>搜索:</label> |
|
|
|
<label>搜索:</label> |
|
|
|
<el-input placeholder="请输入用户姓名" prefix-icon="el-icon-search" v-model="keyword" clearable size="small"></el-input> |
|
|
|
<el-input placeholder="请输入所属院校、管理员姓名、账号" style="width: 300px" prefix-icon="el-icon-search" v-model="keyword" clearable size="small"></el-input> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div> |
|
|
|
<div> |
|
|
@ -58,7 +58,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :title="isDetail ? '查看用户' : (isAdd ? '新增用户' : '编辑用户')" :visible.sync="userVisible" |
|
|
|
<el-dialog :title="isDetail ? '查看用户' : (isAdd ? '新增用户' : '编辑用户')" :visible.sync="userVisible" |
|
|
|
width="500px" @close="closeTeacher" class="dialog" :close-on-click-modal="false"> |
|
|
|
width="500px" @close="closeTeacher" class="dialog" :close-on-click-modal="false"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px" :disabled="isDetail"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px" label-suffix=":" :disabled="isDetail"> |
|
|
|
<el-form-item prop="account" label="账号"> |
|
|
|
<el-form-item prop="account" label="账号"> |
|
|
|
<el-input v-model="form.account" ref="account" placeholder="请输入账号" @change="accountChange"></el-input> |
|
|
|
<el-input v-model="form.account" ref="account" placeholder="请输入账号" @change="accountChange"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -77,8 +77,8 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer" v-if="!isDetail"> |
|
|
|
<span slot="footer" class="dialog-footer" v-if="!isDetail"> |
|
|
|
<el-button @click="userVisible = false">取 消</el-button> |
|
|
|
<el-button size="small" @click="userVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="saveData">确 定</el-button> |
|
|
|
<el-button size="small" type="primary" @click="saveData">确 定</el-button> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|