|
@@ -92,7 +92,12 @@
|
|
min-width="132"
|
|
min-width="132"
|
|
class-name="user-info">
|
|
class-name="user-info">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" />
|
|
|
|
|
|
+ <el-image
|
|
|
|
+ class="touxiang"
|
|
|
|
+ :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')"
|
|
|
|
+ fit="cover" style="width:24px;height:24px;margin-right:8px">
|
|
|
|
+ </el-image>
|
|
|
|
+ <!-- <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" /> -->
|
|
<span class="name">{{scope.row.user_name}}</span>
|
|
<span class="name">{{scope.row.user_name}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -219,7 +224,12 @@
|
|
min-width="132"
|
|
min-width="132"
|
|
class-name="user-info">
|
|
class-name="user-info">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" />
|
|
|
|
|
|
+ <el-image
|
|
|
|
+ class="touxiang"
|
|
|
|
+ :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')"
|
|
|
|
+ fit="cover" style="width:24px;height:24px;margin-right:8px">
|
|
|
|
+ </el-image>
|
|
|
|
+ <!-- <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" /> -->
|
|
<span class="name">{{scope.row.user_name}}</span>
|
|
<span class="name">{{scope.row.user_name}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -624,9 +634,10 @@ export default {
|
|
if(!row&&arr.length===0){
|
|
if(!row&&arr.length===0){
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
- let Mname = "/OrgServer/Manager/PersonManager/DeletePerson";
|
|
|
|
|
|
+ let Mname = "/OrgServer/Manager/PersonManager/BatchDeleteOrgPerson";
|
|
let data = {
|
|
let data = {
|
|
- id_list: arr?arr:[row.id]
|
|
|
|
|
|
+ org_id: this.id,
|
|
|
|
+ person_id_list: arr?arr:[row.id]
|
|
};
|
|
};
|
|
getLogin(Mname, data).then(res => {
|
|
getLogin(Mname, data).then(res => {
|
|
this.$message.success("删除成功");
|
|
this.$message.success("删除成功");
|