|
@@ -3,7 +3,7 @@
|
|
|
<div class="left_cont">
|
|
|
<div class="company_top" @click="initDepart">
|
|
|
<img src="~@/assets/img/set_m/home_ico.png" alt="" style="width:30px;height:30px;">
|
|
|
- <span :class="!defaultGroup&&!defaultDepart?'act':''">弘则研究</span>
|
|
|
+ <span :class="!defaultGroup&&!defaultDepart?'act':''">部门信息</span>
|
|
|
</div>
|
|
|
<el-tree
|
|
|
ref="departTree"
|
|
@@ -12,7 +12,6 @@
|
|
|
:data="departArr"
|
|
|
node-key="unicodeKey"
|
|
|
:props="defaultProp"
|
|
|
- default-expand-all
|
|
|
draggable
|
|
|
:allow-drag="checkAllowDrag"
|
|
|
:allow-drop="checkAllowDrop"
|
|
@@ -80,6 +79,11 @@
|
|
|
<span style="position: relative;">{{scope.row.RealName}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="AdminName"
|
|
|
+ label="账号"
|
|
|
+ align="center"
|
|
|
+ />
|
|
|
<el-table-column
|
|
|
prop="Mobile"
|
|
|
label="手机号"
|
|
@@ -332,6 +336,9 @@
|
|
|
>
|
|
|
<div class="dialog-container">
|
|
|
<el-form ref="resetForm" :model="resetForm" :rules="resetRules" label-width="100px">
|
|
|
+ <el-form-item label="账号">
|
|
|
+ <span>{{modifyAdminName}}</span>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="新密码" prop="password">
|
|
|
<el-input v-model="resetForm.password" style="width:100%" :show-password="true"></el-input>
|
|
|
</el-form-item>
|
|
@@ -354,6 +361,10 @@
|
|
|
@close="isMoveDepartShow=false" center width="460px" v-dialogDrag
|
|
|
>
|
|
|
<div class="dialog-cotainer">
|
|
|
+ <div class="form-item" style="display: flex;align-items: center;margin-bottom:20px">
|
|
|
+ <p style="width:90px">账号</p>
|
|
|
+ <span>{{modifyAdminName}}</span>
|
|
|
+ </div>
|
|
|
<div class="form-item" style="display: flex;align-items: center;">
|
|
|
<p style="width:90px">选择分组</p>
|
|
|
<el-cascader :options="departArr" v-model="resetDepart" :props="form_departProp" style="width:100%"
|
|
@@ -1203,7 +1214,7 @@ export default {
|
|
|
},
|
|
|
/* 删除用户 */
|
|
|
delUser(item) {
|
|
|
- this.$confirm('是否确认删除该用户?','提示',{
|
|
|
+ this.$confirm(`是否确认删除用户【${item.AdminName}】`,'提示',{
|
|
|
type:'warning'
|
|
|
}).then(() => {
|
|
|
departInterence.delUser({
|