Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assets
Project
Project
Details
Activity
Releases
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
黄媛媛
assets
Commits
54a7ff56
Commit
54a7ff56
authored
Dec 27, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
2c701ccf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
17 deletions
+36
-17
App.vue
src/App.vue
+1
-1
reset.css
src/assets/css/reset.css
+6
-6
CheckDetails.vue
src/components/global/CheckDetails.vue
+24
-6
Login.vue
src/components/global/Login.vue
+3
-0
index.vue
src/components/global/index.vue
+1
-1
index.js
src/plugins/index.js
+1
-3
No files found.
src/App.vue
View file @
54a7ff56
...
@@ -23,7 +23,7 @@ body,html{
...
@@ -23,7 +23,7 @@ body,html{
height
:
100%
;
height
:
100%
;
}
}
.App
{
.App
{
min-width
:
136
6
px
;
min-width
:
136
0
px
;
}
}
*
{
*
{
margin
:
0
;
margin
:
0
;
...
...
src/assets/css/reset.css
View file @
54a7ff56
...
@@ -51,14 +51,14 @@
...
@@ -51,14 +51,14 @@
.el-pager
li
{
.el-pager
li
{
padding
:
0
;
padding
:
0
;
font-size
:
14px
;
font-size
:
14px
;
width
:
40
px
;
width
:
38
px
;
height
:
30
px
;
height
:
28
px
;
line-height
:
30
px
;
line-height
:
28
px
;
text-align
:
center
;
text-align
:
center
;
}
}
.el-pagination
button
,
.el-pagination
span
:not
([
class
*=
suffix
])
{
.el-pagination
button
,
.el-pagination
span
:not
([
class
*=
suffix
])
{
height
:
30
px
;
height
:
28
px
;
line-height
:
30
px
;
line-height
:
28
px
;
}
}
/* 图片上传 */
/* 图片上传 */
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
.el-dialog
{
.el-dialog
{
background
:
rgba
(
248
,
250
,
251
,
1
);
background
:
rgba
(
248
,
250
,
251
,
1
);
border-radius
:
20px
;
border-radius
:
20px
;
max-height
:
8
5%
;
max-height
:
7
5%
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
}
}
.el-dialog__headerbtn
.el-dialog__close
{
.el-dialog__headerbtn
.el-dialog__close
{
...
...
src/components/global/CheckDetails.vue
View file @
54a7ff56
...
@@ -12,7 +12,10 @@
...
@@ -12,7 +12,10 @@
<div
class=
"baseTitle f12"
>
使用信息
</div>
<div
class=
"baseTitle f12"
>
使用信息
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
使用人
</p>
<p>
使用人
</p>
<p>
{{
datainfo
.
EmName
}}
</p>
<p>
<span
v-if=
"datainfo.EmName && datainfo.EmName!=''"
>
{{
datainfo
.
EmName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
领取时间
</p>
<p>
领取时间
</p>
...
@@ -26,7 +29,10 @@
...
@@ -26,7 +29,10 @@
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
资产分类
</p>
<p>
资产分类
</p>
<p>
{{
datainfo
.
CategoryName
}}
</p>
<p>
<span
v-if=
"datainfo.CategoryName && datainfo.CategoryName!=''"
>
{{
datainfo
.
CategoryName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
品牌
</p>
<p>
品牌
</p>
...
@@ -41,11 +47,17 @@
...
@@ -41,11 +47,17 @@
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
单位
</p>
<p>
单位
</p>
<p>
{{
datainfo
.
Units
}}
</p>
<p>
<span
v-if=
"datainfo.Units && datainfo.Units!=''"
>
{{
datainfo
.
Units
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
序列号
</p>
<p>
序列号
</p>
<p>
{{
datainfo
.
SerialNumber
}}
</p>
<p>
<span
v-if=
"datainfo.SerialNumber && datainfo.SerialNumber!=''"
>
{{
datainfo
.
SerialNumber
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
购置日期
</p>
<p>
购置日期
</p>
...
@@ -57,7 +69,10 @@
...
@@ -57,7 +69,10 @@
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
金额
</p>
<p>
金额
</p>
<p>
{{
datainfo
.
Money
}}
</p>
<p>
<span
v-if=
"datainfo.Money && datainfo.Money!=''"
>
{{
datainfo
.
Money
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
使用类型
</p>
<p>
使用类型
</p>
...
@@ -79,7 +94,10 @@
...
@@ -79,7 +94,10 @@
</div>
</div>
<div
class=
"desItem"
>
<div
class=
"desItem"
>
<p>
供应商
</p>
<p>
供应商
</p>
<p>
{{
datainfo
.
SupplierName
}}
</p>
<p>
<span
v-if=
"datainfo.SupplierName && datainfo.SupplierName!=''"
>
{{
datainfo
.
SupplierName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
</div>
</div>
<div
class=
"baseTitle f12"
>
操作记录
</div>
<div
class=
"baseTitle f12"
>
操作记录
</div>
...
...
src/components/global/Login.vue
View file @
54a7ff56
...
@@ -81,6 +81,9 @@ export default {
...
@@ -81,6 +81,9 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
>
.login
.el-loading-mask
{
border-radius
:
24px
;
}
.login
{
.login
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
...
...
src/components/global/index.vue
View file @
54a7ff56
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
}
}
},
},
created
(){
created
(){
this
.
minHeight
=
document
.
body
.
clientHeight
-
7
0
;
this
.
minHeight
=
document
.
body
.
clientHeight
-
9
0
;
if
(
!
this
.
getLocalStorage
()){
if
(
!
this
.
getLocalStorage
()){
this
.
$router
.
push
({
path
:
'login'
})
this
.
$router
.
push
({
path
:
'login'
})
return
;
return
;
...
...
src/plugins/index.js
View file @
54a7ff56
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
// javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000",
// javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000",
// javaUrl: locationName.indexOf('testb2b') == -1 ? "http://efficient.oytour.com" : locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://47.96.12.235:9001" : "http://192.168.2.215:9000",
// javaUrl: locationName.indexOf('testb2b') == -1 ? "http://efficient.oytour.com" : locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://47.96.12.235:9001" : "http://192.168.2.215:9000",
javaUrl
:
"http://192.168.2.1
6
:8087"
,
javaUrl
:
"http://192.168.2.1
7
:8087"
,
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://staticfile.oytour.com"
:
'http://192.168.2.214:8130'
,
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://staticfile.oytour.com"
:
'http://192.168.2.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://uploadfile.oytour.com"
:
"http://192.168.2.214:8120"
,
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'testb2b.oytour.com'
)
!==
-
1
?
"http://uploadfile.oytour.com"
:
"http://192.168.2.214:8120"
,
// UploadUrl: "http://uploadfile.oytour.com",
// UploadUrl: "http://uploadfile.oytour.com",
...
@@ -66,7 +66,6 @@ export default {
...
@@ -66,7 +66,6 @@ export default {
this
.
$http
.
post
(
apiurl
,
postData
,
{
this
.
$http
.
post
(
apiurl
,
postData
,
{
responseType
:
'arraybuffer'
responseType
:
'arraybuffer'
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
"res"
,
res
);
let
blob
=
new
Blob
([
res
.
data
],
{
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
"application/vnd.ms-excel"
type
:
"application/vnd.ms-excel"
})
})
...
@@ -117,7 +116,6 @@ export default {
...
@@ -117,7 +116,6 @@ export default {
this
.
$http
.
post
(
apiurl
,
postData
,
{
this
.
$http
.
post
(
apiurl
,
postData
,
{
responseType
:
'arraybuffer'
responseType
:
'arraybuffer'
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
"res"
,
res
);
let
blob
=
new
Blob
([
res
.
data
],
{
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
"application/vnd.ms-excel"
type
:
"application/vnd.ms-excel"
})
})
...
...
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