|
@@ -78,17 +78,18 @@
|
|
|
>用户编辑</el-button
|
|
>用户编辑</el-button
|
|
|
>
|
|
>
|
|
|
<el-button
|
|
<el-button
|
|
|
|
|
+ v-if="item.user_have_type == '1'"
|
|
|
|
|
+ type="success"
|
|
|
|
|
+ @click="allotEquip(item.id, item.username)"
|
|
|
|
|
+ plain
|
|
|
|
|
+ >分配设备</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-button
|
|
|
type="success"
|
|
type="success"
|
|
|
@click="resetPassword(item.id, item.username)"
|
|
@click="resetPassword(item.id, item.username)"
|
|
|
plain
|
|
plain
|
|
|
>重置密码</el-button
|
|
>重置密码</el-button
|
|
|
>
|
|
>
|
|
|
- <!-- <a @click="edit(item)">
|
|
|
|
|
- <i class="iconfont icon-iconfontedit"></i>编辑
|
|
|
|
|
- </a>
|
|
|
|
|
- <a @click="resetPassword(item.uid, item.username)">
|
|
|
|
|
- <i class="iconfont icon-mima"></i>密码
|
|
|
|
|
- </a> -->
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -159,7 +160,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="标题 : ">
|
|
<el-form-item label="标题 : ">
|
|
|
<el-input
|
|
<el-input
|
|
|
- maxlength="11"
|
|
|
|
|
|
|
+ maxlength="16"
|
|
|
v-model="editUserForm.user_header"
|
|
v-model="editUserForm.user_header"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -383,6 +384,10 @@ export default {
|
|
|
this.editUserForm.user_area = value[1];
|
|
this.editUserForm.user_area = value[1];
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ // 分配设备
|
|
|
|
|
+ allotEquip(id,name){
|
|
|
|
|
+ window.location.href = 'allot?uname='+name;
|
|
|
|
|
+ },
|
|
|
//密码重置
|
|
//密码重置
|
|
|
resetPassword(id, name) {
|
|
resetPassword(id, name) {
|
|
|
this.resetPassForm.id = id;
|
|
this.resetPassForm.id = id;
|