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
b3a5072c
Commit
b3a5072c
authored
Jun 03, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
供应商登录修改
parent
84fb40e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
47 deletions
+69
-47
index.js
src/plug/index.js
+0
-6
config.js
src/router/config.js
+69
-41
No files found.
src/plug/index.js
View file @
b3a5072c
...
@@ -226,8 +226,6 @@ export default {
...
@@ -226,8 +226,6 @@ export default {
Vue
.
prototype
.
uploadImg
=
function
(
tcID
,
msg
,
successCall
,
faildCall
)
{
Vue
.
prototype
.
uploadImg
=
function
(
tcID
,
msg
,
successCall
,
faildCall
)
{
var
apiurl
=
this
.
domainManager
().
UploadUrl
+
'/Upload/UploadBase64Two?fileType=1&fileLimit=5&&filePath=Freature/'
+
tcID
;
var
apiurl
=
this
.
domainManager
().
UploadUrl
+
'/Upload/UploadBase64Two?fileType=1&fileLimit=5&&filePath=Freature/'
+
tcID
;
console
.
log
(
"msg"
,
msg
);
this
.
$http
.
post
(
apiurl
,
{
this
.
$http
.
post
(
apiurl
,
{
FileIndex
:
msg
.
FileIndex
,
FileIndex
:
msg
.
FileIndex
,
MyFile
:
msg
.
MyFile
MyFile
:
msg
.
MyFile
...
@@ -238,7 +236,6 @@ export default {
...
@@ -238,7 +236,6 @@ export default {
}).
then
(
function
(
res
)
{
}).
then
(
function
(
res
)
{
console
.
log
(
res
)
console
.
log
(
res
)
})
})
}
}
...
@@ -311,9 +308,7 @@ export default {
...
@@ -311,9 +308,7 @@ export default {
var
apiNewurl
=
this
.
domainManager
().
PostUrl
;
var
apiNewurl
=
this
.
domainManager
().
PostUrl
;
var
timestamp
=
(
new
Date
()).
valueOf
();
var
timestamp
=
(
new
Date
()).
valueOf
();
var
uid
=
0
;
var
uid
=
0
;
console
.
log
(
"this.getLocalStorageSupplier()"
,
this
.
getLocalStorageSupplier
());
if
(
this
.
getLocalStorageSupplier
())
{
if
(
this
.
getLocalStorageSupplier
())
{
uid
=
this
.
getLocalStorageSupplier
().
SupplierAccountId
;
uid
=
this
.
getLocalStorageSupplier
().
SupplierAccountId
;
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -1028,7 +1023,6 @@ export default {
...
@@ -1028,7 +1023,6 @@ export default {
return
"dir-small"
return
"dir-small"
let
css
=
""
let
css
=
""
icons
.
forEach
(
x
=>
{
icons
.
forEach
(
x
=>
{
//console.log(x.filesIcon.hasOwnProperty(suffix))
if
(
x
.
filesIcon
.
hasOwnProperty
(
suffix
))
{
if
(
x
.
filesIcon
.
hasOwnProperty
(
suffix
))
{
css
=
x
.
filesIcon
[
suffix
][
0
]
css
=
x
.
filesIcon
[
suffix
][
0
]
return
false
return
false
...
...
src/router/config.js
View file @
b3a5072c
import
login
from
'../components/Login'
import
login
from
'../components/Login'
import
index
from
'../components/index'
import
index
from
'../components/index'
import
supplierLogin
from
'../components/SupplierLogin'
import
supplierIndex
from
'../components/SupplierIndex'
export
default
{
export
default
{
routes
:
[{
routes
:
[{
path
:
'/'
,
path
:
'/'
,
...
@@ -696,46 +698,6 @@ export default {
...
@@ -696,46 +698,6 @@ export default {
title
:
'酒店查询统计'
title
:
'酒店查询统计'
},
},
},
},
{
path
:
'/HotelManagement2'
,
//供应商->酒店管理
name
:
'HotelManagement2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelManagement'
],
resolve
),
meta
:
{
title
:
'酒店管理'
},
},
{
path
:
'/HotelSalesBoard2'
,
//供应商->酒店统计
name
:
'HotelSalesBoard2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelSalesBoard'
],
resolve
),
meta
:
{
title
:
'酒店统计'
},
},
{
path
:
'/HotelTotalStock2'
,
//供应商->总库存看板
name
:
'HotelTotalStock2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelTotalStock'
],
resolve
),
meta
:
{
title
:
'总库存看板'
},
},
{
path
:
'/roomQuery2'
,
//供应商->定房查询
name
:
'roomQuery2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/roomQuery'
],
resolve
),
meta
:
{
title
:
'定房查询'
},
},
{
path
:
'/HotelQueryList2'
,
//供应商->酒店查询
name
:
'HotelQueryList2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelQueryList'
],
resolve
),
meta
:
{
title
:
'酒店查询'
},
},
{
{
path
:
'/RestauranOrder'
,
//餐厅订单信息
path
:
'/RestauranOrder'
,
//餐厅订单信息
name
:
'RestauranOrder'
,
name
:
'RestauranOrder'
,
...
@@ -3396,6 +3358,72 @@ export default {
...
@@ -3396,6 +3358,72 @@ export default {
meta
:
{
meta
:
{
title
:
'领队报账'
title
:
'领队报账'
}
}
}
},
{
path
:
'/supplierLogin'
,
//供应商登录
name
:
'supplierLogin'
,
component
:
supplierLogin
},
{
path
:
'/supplierIndex'
,
//供应商首页
name
:
'supplierIndex'
,
component
:
supplierIndex
,
children
:
[
{
path
:
'/HotelManagement2'
,
//供应商->酒店管理
name
:
'HotelManagement2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelManagement'
],
resolve
),
meta
:
{
title
:
'酒店管理'
},
},
{
path
:
'/HotelInfo2'
,
//供应商->酒店详情
name
:
'HotelInfo2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelInfo'
],
resolve
),
meta
:
{
title
:
'酒店统计'
},
},
{
path
:
'/HotelSalesBoard2'
,
//供应商->酒店统计
name
:
'HotelSalesBoard2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelSalesBoard'
],
resolve
),
meta
:
{
title
:
'酒店统计'
},
},
{
path
:
'/HotelProductManage3'
,
//供应商->酒店统计
name
:
'HotelProductManage3'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelProductManage'
],
resolve
),
meta
:
{
title
:
'酒店产品管理'
},
},
{
path
:
'/HotelTotalStock2'
,
//供应商->总库存看板
name
:
'HotelTotalStock2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelTotalStock'
],
resolve
),
meta
:
{
title
:
'总库存看板'
},
},
{
path
:
'/roomQuery2'
,
//供应商->定房查询
name
:
'roomQuery2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/roomQuery'
],
resolve
),
meta
:
{
title
:
'定房查询'
},
},
{
path
:
'/HotelQueryList2'
,
//供应商->酒店查询
name
:
'HotelQueryList2'
,
component
:
resolve
=>
require
([
'@/components/Supplier/HotelQueryList'
],
resolve
),
meta
:
{
title
:
'酒店查询'
},
}]
},
]
]
}
}
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