Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
张冬
web-site
Commits
68a921f4
Commit
68a921f4
authored
Nov 05, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11.05
parent
cf2aa8a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
12 deletions
+35
-12
citySelect.vue
components/citySelect.vue
+4
-0
footer.vue
components/footer.vue
+6
-12
examine.vue
pages/login/examine.vue
+25
-0
No files found.
components/citySelect.vue
View file @
68a921f4
...
@@ -87,6 +87,10 @@ export default {
...
@@ -87,6 +87,10 @@ export default {
},
},
getDistrict
()
{
getDistrict
()
{
this
.
$emit
(
'senddistrictId'
,
this
.
districtId
)
this
.
$emit
(
'senddistrictId'
,
this
.
districtId
)
},
/* 给id传中文值 */
init
(){
}
}
}
}
}
}
...
...
components/footer.vue
View file @
68a921f4
...
@@ -17,13 +17,14 @@
...
@@ -17,13 +17,14 @@
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getMessagephone
}
from
'@/common/list.js'
import
{
getMessagephone
}
from
'@/common/list.js'
export
default
{
export
default
{
mounted
(){
mounted
(){
getMessagephone
()
getMessagephone
().
then
(
res
=>
{
console
.
log
(
"111111111111"
)
this
.
footList
[
3
].
list
[
0
].
name
=
`客服联系电话 :
${
res
.
data
.
phone
}
`
this
.
footList
[
3
].
list
[
1
].
name
=
`电子邮箱 :
${
res
.
data
.
email
}
`
});
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -54,20 +55,13 @@ import {getMessagephone} from '@/common/list.js'
...
@@ -54,20 +55,13 @@ import {getMessagephone} from '@/common/list.js'
/* */
/* */
{
{
title
:
"联系方式"
,
title
:
"联系方式"
,
list
:
[{
name
:
"客服联系电话 :
13810057696"
},
{
name
:
"电子邮箱: 13810057696@139.com
"
},]
list
:
[{
name
:
"客服联系电话 :
"
},
{
name
:
"电子邮箱:
"
},]
},
},
]
]
}
}
},
},
mothods
:{
mothods
:{
async
getMessagephone
(){
console
.
log
(
"111111111111"
)
const
{
data
}
=
await
getMessagephone
()
console
.
log
(
data
)
console
.
log
(
"111111111111"
)
this
.
footList
[
3
].
list
[
0
].
name
=
`客服联系电话 :
${
data
.
phone
}
`
this
.
footList
[
3
].
list
[
1
].
name
=
`电子邮箱 :
${
data
.
email
}
`
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/login/examine.vue
View file @
68a921f4
...
@@ -1116,11 +1116,32 @@ export default {
...
@@ -1116,11 +1116,32 @@ export default {
this
.
perfectForm
.
businessScope
=
data
.
businessScope
this
.
perfectForm
.
businessScope
=
data
.
businessScope
this
.
comId
=
data
.
id
/* 储存公司Id */
this
.
comId
=
data
.
id
/* 储存公司Id */
this
.
form
.
type
=
data
.
type
this
.
form
.
type
=
data
.
type
if
(
this
.
form
.
type
==
1
){
this
.
form
.
type
=
'采购商'
}
else
{
this
.
from
.
type
=
"供应商"
}
console
.
log
(
data
.
type
+
'11111111111'
)
console
.
log
(
data
.
type
+
'11111111111'
)
this
.
comType
=
data
.
type
/* 采购商或供应商 */
this
.
comType
=
data
.
type
/* 采购商或供应商 */
this
.
proId
=
data
.
provinceId
this
.
proId
=
data
.
provinceId
this
.
citId
=
data
.
cityId
this
.
citId
=
data
.
cityId
this
.
disId
=
data
.
districtId
this
.
disId
=
data
.
districtId
/* if(this.form.provinceId=this.proId){
this.form.provinceId = sessionStorage.getItem("proName")
}
if(this.form.cityId=this.citId){
this.form.provinceId = sessionStorage.getItem("cityName")
}
if(this.form.districtId=this.disId){
this.form.provinceId = sessionStorage.getItem("disName")
} */
this
.
adminform
.
name
=
data
.
contacts
.
userName
this
.
adminform
.
idNumber
=
data
.
contacts
.
idNumber
this
.
adminform
.
email
=
data
.
contacts
.
email
this
.
adminform
.
phonenumber
=
data
.
contacts
.
phoneNumber
for
(
let
item
of
data
.
fileList
){
for
(
let
item
of
data
.
fileList
){
item
.
url
=
item
.
fileUrl
item
.
url
=
item
.
fileUrl
item
.
name
=
item
.
fileName
item
.
name
=
item
.
fileName
...
@@ -1251,6 +1272,10 @@ export default {
...
@@ -1251,6 +1272,10 @@ export default {
var
{
data
,
code
,
msg
}
=
await
getPutInfo
(
perfectForm
);
var
{
data
,
code
,
msg
}
=
await
getPutInfo
(
perfectForm
);
if
(
code
===
200
)
{
if
(
code
===
200
)
{
this
.
$message
.
success
(
msg
);
this
.
$message
.
success
(
msg
);
/* sessionStorage.setItem("proName",this.form.provinceId)
sessionStorage.setItem("cityName",this.form.cityId)
sessionStorage.setItem("disName",this.form.districtId) */
this
.
active
++
;
this
.
active
++
;
}
else
{
}
else
{
this
.
$message
.
error
(
error
)
this
.
$message
.
error
(
error
)
...
...
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