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
4cfd37db
Commit
4cfd37db
authored
Sep 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8f0e9e9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
20 deletions
+43
-20
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+33
-19
empBankAccount.vue
src/components/administrative/empBankAccount.vue
+10
-1
No files found.
src/components/SalesModule/MyCustomer.vue
View file @
4cfd37db
...
...
@@ -600,8 +600,20 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"Email"
prop=
"Email"
>
<el-input
v-model=
"addMsg.Email"
placeholder=
"请输入Email"
style=
"width: 240px;"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"合同照片"
>
<div
style=
"display: flex;"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<span
class=
"q-pl-lg text-grey-8"
style=
"cursor: pointer;margin-left: 10px;color: gray;"
@
click=
"isShow=!isShow"
>
{{
isShow
?
'收起'
:
'展开'
}}
</span>
</div>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -682,15 +694,7 @@
</el-col>
</el-row>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.BusinessPhoto')"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.doorPhoto')"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg1"
...
...
@@ -777,6 +781,15 @@
<el-input
class=
'w200'
v-model=
'updateMsg.email'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"合同照片:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImgNew"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotos"
:src=
"BusinessCardPhotos"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"6"
>
...
...
@@ -839,15 +852,7 @@
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"名片照片:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImgNew"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
<img
v-if=
"BusinessCardPhotosNew"
:src=
"BusinessCardPhotosNew"
class=
"avatar"
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"门牌照片:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg1New"
...
...
@@ -1238,30 +1243,39 @@
})
},
uploadImgNew
(
file
)
{
let
that
=
this
;
that
.
$message
.
info
(
'上传中...'
)
//上传
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
BusinessCardPhotosNew
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
BusinessCardPhotos
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
that
.
$message
.
success
(
'上传成功'
);
});
},
uploadImg1New
(
file
)
{
let
that
=
this
;
that
.
$message
.
info
(
'上传中...'
)
//上传
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
HousePhotosNew
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
that
.
$message
.
success
(
'上传成功'
);
});
},
uploadImg2New
(
file
)
{
let
that
=
this
;
that
.
$message
.
info
(
'上传中...'
)
//上传
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
ImagesNew
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
that
.
$message
.
success
(
'上传成功'
);
});
},
getMyCustomerInfo
()
{
...
...
src/components/administrative/empBankAccount.vue
View file @
4cfd37db
...
...
@@ -134,7 +134,7 @@
class=
"normalBtn"
value=
"查询"
/>
<input
type=
"button"
@
click=
"outerVisible = true,dialogTitle=$t('ground.xinzengzhanghu'),resetForm('addMsg')
"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
<input
v-if=
"list&&list.length==0"
type=
"button"
@
click=
"AddAccount
"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
</li>
</ul>
</div>
...
...
@@ -266,6 +266,15 @@
this
.
changeTitle
()
},
methods
:
{
AddAccount
(){
if
(
this
.
list
&&
this
.
list
.
length
==
1
){
this
.
$message
.
info
(
'已有账户'
)
return
}
this
.
outerVisible
=
true
,
this
.
dialogTitle
=
$t
(
'ground.xinzengzhanghu'
),
this
.
resetForm
(
'addMsg'
)
},
changeTitle
(){
if
(
this
.
addMsg
.
AccountClassify
==
1
){
this
.
nameA
=
this
.
$t
(
"ground.pingtaimingcheng"
)
...
...
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