Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
feiyue.teng
2025-02-07 17:47:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67ccfcea03fab2c5c3221d18d8d0ee92248de2a0
67ccfcea
1 parent
89c05e48
客户管理更新页面上传青岛证书回显
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
src/api/system/customer-ai.js
src/views/customerConfig/dialog.vue
src/views/customerConfig/index.vue
src/api/system/customer-ai.js
View file @
67ccfce
...
...
@@ -94,7 +94,7 @@ export function delQingdaoCertificate(id, certificate) {
return
request
({
url
:
'/bus-customer/customers/deleteQingdaoCertificate'
,
method
:
'post'
,
params
:
{
id
:
id
,
certificate
:
certificate
},
params
:
{
id
:
id
,
certificate
Path
:
certificate
},
});
}
...
...
src/views/customerConfig/dialog.vue
View file @
67ccfce
...
...
@@ -213,18 +213,17 @@
>
</el-upload>
</div>
<div class="fileList" v-if="formData.qingdaoFile != null || formData.qingdaoCertifica
re
">
<div class="fileList" v-if="formData.qingdaoFile != null || formData.qingdaoCertifica
tePath
">
<div class="fileList-item">
<div class="uploadbox-fileName" >
<svg-icon
class="el-icon-user-solid"
icon-class="exl"
style="font-size: 18px; color: #de002e"
/>
/>
<Tooltip
:content="formData.qingdaoFile ? formData.qingdaoFile.name : formData.qingdaoCertifica
re
"
:refName="formData.qingdaoFile ? formData.qingdaoFile.name : formData.qingdaoCertifica
re
"
:content="formData.qingdaoFile ? formData.qingdaoFile.name : formData.qingdaoCertifica
tePath.split('/').pop()
"
:refName="formData.qingdaoFile ? formData.qingdaoFile.name : formData.qingdaoCertifica
tePath.split('/').pop()
"
/>
</div>
<div class="uploadbox-option">
...
...
@@ -626,11 +625,11 @@ export default {
//删除青岛证书
delQingdaoCertificate(){
if(this.formData.id && this.formData.qingdaoCertifica
re
){
delQingdaoCertificate(this.formData.id,this.formData.qingdaoCertifica
re
).then((res)=>{
if(this.formData.id && this.formData.qingdaoCertifica
tePath
){
delQingdaoCertificate(this.formData.id,this.formData.qingdaoCertifica
tePath
).then((res)=>{
if(res.code==200){
this.formData.qingdaoFile = null;
this.formData.qingdaoCertifica
re
="";
this.formData.qingdaoCertifica
tePath
="";
// this.msgSuccess("证书删除成功!");
}else{
this.alertErrorMsg("证书删除失败,请联系管理员!");
...
...
@@ -641,7 +640,7 @@ export default {
})
}else{
this.formData.qingdaoFile = null;
this.formData.qingdaoCertifica
re
="";
this.formData.qingdaoCertifica
tePath
="";
}
},
//查询用户信息详情
...
...
src/views/customerConfig/index.vue
View file @
67ccfce
...
...
@@ -346,7 +346,6 @@ export default {
this.editType = "update";
this.outerVisible = true;
this.activeData = data;
console.log(this.activeData);
},
dialogClose() {
this.outerVisible = false;
...
...
Please
register
or
login
to post a comment