Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
2fd2c340
Commit
2fd2c340
authored
Sep 26, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复客户合同上传
parent
eb86251d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
38 deletions
+13
-38
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+13
-38
No files found.
src/components/SalesModule/MyCustomer.vue
View file @
2fd2c340
...
...
@@ -690,28 +690,13 @@
<div
style=
"display: flex; justify-content: end;"
>
<el-upload
class=
"upload-demo"
ref=
"my-upload"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadImg"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadImg"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
上传合同
</el-button>
</el-upload>
</div>
</div>
<!--
<div
style=
"display: flex;flex-wrap: wrap;"
>
<div
v-if=
"addMsg.BusinessCardPhotos&&addMsg.BusinessCardPhotos.length>0"
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"position: relative;margin-right: 10px;margin-bottom: 15px;"
v-for=
"(i,fIndex) in addMsg.BusinessCardPhotos"
>
<img
:src=
"i"
class=
"avatar"
>
<span
class=
"iconfont icon-guanbi1"
@
click=
"deleteUploadFile(fIndex,1)"
></span>
</div>
</div>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</div>
-->
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -857,7 +842,7 @@
</el-upload>
</el-dialog>
<div
class=
"MyCustomerDetailbottomLayer ownScrollbarStyle"
style=
"height:500px;"
v-
show
=
"addLayer1"
>
style=
"height:500px;"
v-
if
=
"addLayer1"
>
<p>
修改客户信息
</p>
<el-row
:gutter=
"20"
>
<el-col
:span=
"18"
>
...
...
@@ -995,28 +980,13 @@
<div
style=
"display: flex; justify-content: end;"
>
<el-upload
class=
"upload-demo"
ref=
"my-upload"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadImgNew"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadImg"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
上传合同
</el-button>
</el-upload>
</div>
</div>
<!--
<div style="display: flex;flex-wrap: wrap;">
<div v-if="updateMsg.BusinessCardPhotos&&updateMsg.BusinessCardPhotos.length>0"
style="display: flex;flex-wrap: wrap;">
<div style="position: relative;margin-right: 10px;margin-bottom: 15px;" v-for="(i,fIndex) in updateMsg.BusinessCardPhotos">
<img :src="i" class="avatar">
<span class="iconfont icon-guanbi1"
@click="deleteUploadFile(fIndex)"></span>
</div>
</div>
<el-upload class="avatar-uploader" action="" :http-request="uploadImgNew"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false">
<i class="el-icon-plus avatar-uploader-icon"></i>
</el-upload>
</div> -->
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -1543,7 +1513,7 @@
this
.
updateMsg
.
District
=
x
.
district
this
.
BusinessCardPhotos
=
x
.
businessCardPhotos
&&
x
.
businessCardPhotos
.
length
>
0
?
x
.
businessCardPhotos
[
0
]:
''
this
.
updateMsg
.
BusinessCardPhotos
=
x
.
businessCardPhotos
this
.
updateMsg
.
BusinessCardPhotos
=
x
.
businessCardPhotos
?
x
.
businessCardPhotos
:[]
this
.
updateMsg
.
PlatformUserNameList
=
x
.
platformUserNameList
?
x
.
platformUserNameList
:[]
this
.
Images
=
x
.
images
&&
x
.
images
.
length
>
0
?
x
.
images
[
0
]:
''
this
.
HousePhotos
=
x
.
housePhotos
&&
x
.
housePhotos
.
length
>
0
?
x
.
housePhotos
[
0
]:
''
...
...
@@ -1644,8 +1614,13 @@
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
BusinessCardPhotos
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
addMsg
.
BusinessCardPhotos
.
push
(
this
.
BusinessCardPhotos
)
that
.
BusinessCardPhotos
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
if
(
that
.
addShow
==
true
){
that
.
addMsg
.
BusinessCardPhotos
.
push
(
that
.
BusinessCardPhotos
)
}
if
(
that
.
addLayer1
==
true
){
that
.
updateMsg
.
BusinessCardPhotos
.
push
(
that
.
BusinessCardPhotos
)
}
that
.
$message
.
success
(
'上传成功'
);
});
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment