|
|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<div class="message-info">
|
|
|
<div class="error"></div>
|
|
|
- <div style="background-color: #fff; padding: 15px; box-sizing: border-box">
|
|
|
+ <div style=" box-sizing: border-box; padding: 15px;background-color: #fff;">
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="20">
|
|
|
- <div style="display: flex; align-items: center">
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
<div class="img-title">
|
|
|
{{ pinyin.getFullChars(operationForm.name).substring(0, 1) }}
|
|
|
</div>
|
|
|
@@ -13,7 +13,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="4">
|
|
|
<el-button type="primary" @click="editMember">编辑</el-button>
|
|
|
- <el-dropdown style="margin-left: 15px">
|
|
|
+ <el-dropdown style="margin-left: 15px;">
|
|
|
<el-button type="primary"> 更多 </el-button>
|
|
|
<template #dropdown>
|
|
|
<el-dropdown-menu>
|
|
|
@@ -71,7 +71,7 @@
|
|
|
:model="operationForm"
|
|
|
ref="OperationFormRef"
|
|
|
label-width="120"
|
|
|
- style="background-color: #fff; padding: 20px; box-sizing: border-box"
|
|
|
+ style=" box-sizing: border-box; padding: 20px;background-color: #fff;"
|
|
|
>
|
|
|
<el-tabs v-model="activeName" class="demo-tabs">
|
|
|
<el-tab-pane label="基本信息" name="first">
|
|
|
@@ -344,7 +344,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 1)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -381,7 +381,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 2)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -418,7 +418,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 3)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -455,7 +455,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 4)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -492,7 +492,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 5)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -529,7 +529,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 6)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -566,7 +566,7 @@
|
|
|
:show-file-list="false"
|
|
|
accept=".png, .jpg, .jpeg"
|
|
|
@change="uploadImage($event, 7)"
|
|
|
- style="display: flex; align-items: center"
|
|
|
+ style="display: flex; align-items: center;"
|
|
|
>
|
|
|
<el-icon class="btn-icon"><Upload /></el-icon>
|
|
|
</el-upload>
|
|
|
@@ -603,7 +603,7 @@
|
|
|
>
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="20">
|
|
|
- <div style="display: flex; align-items: center">
|
|
|
+ <div style="display: flex; align-items: center;">
|
|
|
<div class="img-title">
|
|
|
{{ pinyin.getFullChars(operationForm.name).substring(0, 1) }}
|
|
|
</div>
|
|
|
@@ -611,12 +611,12 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <p style="margin-left: 50px">工号:{{ transferInfo.userId }}</p>
|
|
|
- <p style="margin-left: 50px">所在机构:{{ transferInfo.deptName }}</p>
|
|
|
+ <p style="margin-left: 50px;">工号:{{ transferInfo.userId }}</p>
|
|
|
+ <p style="margin-left: 50px;">所在机构:{{ transferInfo.deptName }}</p>
|
|
|
<el-divider v-show="leave"/>
|
|
|
<!-- 资源转移--->
|
|
|
- <p style="margin-left: 50px" v-show="!leave">需要转移的资源</p>
|
|
|
- <el-table :data="[{}]" style="width: 100%" v-show="!leave">
|
|
|
+ <p style="margin-left: 50px;" v-show="!leave">需要转移的资源</p>
|
|
|
+ <el-table :data="[{}]" style="width: 100%;" v-show="!leave">
|
|
|
<el-table-column prop="date" label="资源" width="120">
|
|
|
<template #default> 业务员 </template>
|
|
|
</el-table-column>
|
|
|
@@ -642,7 +642,7 @@
|
|
|
<el-radio value="1" size="large">转移给其他成员</el-radio>
|
|
|
<el-radio value="0" size="large">不转移</el-radio>
|
|
|
</el-radio-group> -->
|
|
|
-
|
|
|
+
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
|
@@ -670,13 +670,13 @@
|
|
|
<div>
|
|
|
<el-input
|
|
|
v-model="filterText"
|
|
|
- style="width: 240px"
|
|
|
+ style="width: 240px;"
|
|
|
placeholder="请输入机构名称查找"
|
|
|
:prefix-icon="Search"
|
|
|
/>
|
|
|
<el-tree
|
|
|
ref="treeRef"
|
|
|
- style="max-width: 600px"
|
|
|
+ style="max-width: 600px;"
|
|
|
class="filter-tree"
|
|
|
:data="tableData"
|
|
|
:props="tableProps"
|
|
|
@@ -689,7 +689,7 @@
|
|
|
<span class="custom-tree-node">
|
|
|
<span>{{ node.label }}</span>
|
|
|
<span>
|
|
|
- <a style="color: #00a0f4">
|
|
|
+ <a style="color: #00a0f4;">
|
|
|
{{ node.label == deptItem.name ? "已选" : "" }}
|
|
|
</a>
|
|
|
</span>
|
|
|
@@ -765,13 +765,13 @@ onMounted(async () => {
|
|
|
if (res.code === 200) {
|
|
|
operationForm.value = res.data;
|
|
|
let formData = res.data
|
|
|
-
|
|
|
+
|
|
|
if(formData.fileList) {
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
let sfz1 = formData.fileList.find(item => item.fileType == 'sfz1')
|
|
|
let sfz2 = formData.fileList.find(item => item.fileType == 'sfz2')
|
|
|
-
|
|
|
+
|
|
|
let qualification = formData.fileList.find(item => item.fileType == 'bankCard')
|
|
|
let contractImg = formData.fileList.find(item => item.fileType == 'contract')
|
|
|
let applicantImg = formData.fileList.find(item => item.fileType == 'applicant')
|
|
|
@@ -993,11 +993,11 @@ const uploadImage = (file: any, type: number) => {
|
|
|
let url = window.URL.createObjectURL(files); //转临时路径
|
|
|
const params = new FormData(); // 声明formData数据类型
|
|
|
params.append("file", files);
|
|
|
-
|
|
|
+
|
|
|
// params.append("multipartFile", files);
|
|
|
// params.append("type", "image");
|
|
|
api.areaApi.fileUpload(params).then((res: any) => {
|
|
|
-
|
|
|
+
|
|
|
if (res.code === 200) {
|
|
|
switch (type) {
|
|
|
case 1:
|
|
|
@@ -1191,7 +1191,7 @@ function confirmDialogInfo(item: any) {
|
|
|
|
|
|
//资源转移确认
|
|
|
function confirmTransfer() {
|
|
|
-
|
|
|
+
|
|
|
api.userApi
|
|
|
.transfer({
|
|
|
originalUserId: transferInfo.value.userId,
|
|
|
@@ -1217,8 +1217,8 @@ function confirmTransfer() {
|
|
|
// dialogVisible.value = false;
|
|
|
// }
|
|
|
// });
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//变更机构弹框
|
|
|
@@ -1299,7 +1299,7 @@ function delUser() {
|
|
|
api.userApi
|
|
|
.userDelete({
|
|
|
id: [operationForm.value.id],
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
.then((res: any) => {
|
|
|
if(res.code==200){
|
|
|
@@ -1319,76 +1319,87 @@ function delUser() {
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
.message-info {
|
|
|
+ box-sizing: border-box;
|
|
|
// background: #fff;
|
|
|
padding: 15px;
|
|
|
- box-sizing: border-box;
|
|
|
+
|
|
|
h4 {
|
|
|
margin: 0;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.img-title {
|
|
|
- border-radius: 50%;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
- color: #fff;
|
|
|
- background: #00a0f4;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
margin-right: 20px;
|
|
|
+ color: #fff;
|
|
|
+ background: #00a0f4;
|
|
|
+ border-radius: 50%;
|
|
|
}
|
|
|
+
|
|
|
.fileInfo {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: flex-start;
|
|
|
padding: 2px 20px;
|
|
|
- border-radius: 5px;
|
|
|
margin: 0 10px;
|
|
|
+ border-radius: 5px;
|
|
|
+
|
|
|
&:hover {
|
|
|
background: #ccc;
|
|
|
}
|
|
|
+
|
|
|
.fileName {
|
|
|
width: 200px;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
+
|
|
|
.fileBtn {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+
|
|
|
.btn-icon {
|
|
|
margin: 0 10px;
|
|
|
font-size: 16px;
|
|
|
cursor: pointer;
|
|
|
+
|
|
|
&:hover {
|
|
|
color: #00a0f4;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.image-view {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background: rgba(0, 0, 0, 0.6);
|
|
|
+ z-index: 9999;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- z-index: 9999;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgb(0 0 0 / 60%);
|
|
|
+
|
|
|
img {
|
|
|
width: 800px;
|
|
|
height: 800px;
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.custom-tree-node {
|
|
|
- flex: 1;
|
|
|
display: flex;
|
|
|
+ flex: 1;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- font-size: 14px;
|
|
|
padding-right: 8px;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
</style>
|