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
2c8847cf
Commit
2c8847cf
authored
May 28, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加销售页面首页
parent
c5cb7164
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
680 additions
and
761 deletions
+680
-761
App.vue
src/App.vue
+4
-4
jinbin@2x.png
src/assets/img/jinbin@2x.png
+0
-0
sale.vue
src/components/sale/sale.vue
+657
-739
main.js
src/main.js
+19
-18
No files found.
src/App.vue
View file @
2c8847cf
...
...
@@ -10,7 +10,7 @@
</viewer>
<chosen-open-mode
v-if=
"haveOpenMode"
:settingSys=
"settingSys"
></chosen-open-mode>
<!-- -->
</div>
</
template
>
...
...
@@ -58,12 +58,12 @@ export default {
dataShow
:
false
,
haveOpenMode
:
false
,
settingSys
:
false
,
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
}
},
methods
:
{
inited
(
viewer
){
this
.
$viewer
=
viewer
},
...
...
@@ -113,7 +113,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
dxcl6yumgsq
.css"
;
@import
"//at.alicdn.com/t/font_635492_
p5609mvb4qe
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/assets/img/jinbin@2x.png
0 → 100644
View file @
2c8847cf
8.58 KB
src/components/sale/sale.vue
View file @
2c8847cf
This diff is collapsed.
Click to expand it.
src/main.js
View file @
2c8847cf
...
...
@@ -10,13 +10,14 @@ import cookie from './assets/utils/cookie'
import
commonUtils
from
'./assets/utils/commonUtils'
import
tripUtils
from
'./assets/utils/tripUtils'
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
import
'element-ui/lib/theme-chalk/index.css'
import
vueQuillEditor
from
'vue-quill-editor'
import
'quill/dist/quill.core.css'
import
'quill/dist/quill.snow.css'
import
echarts
from
'echarts'
Vue
.
prototype
.
$echarts
=
echarts
// import VueWebsocket from "vue-websocket"
// import global_ from './components/Global'
//import VueAMap from 'vue-amap'
...
...
@@ -66,11 +67,11 @@ Vue.prototype.lrz=lrz
// Vue.use(htmlToPdf)
Vue
.
use
(
VueI18n
)
// 通过插件的形式挂载
Vue
.
use
(
ajaxPlug
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
vueQuillEditor
)
//Vue.use(VueAMap);
Vue
.
use
(
VueBarcode
);
//声明条形码组件
Vue
.
use
(
store
);
Vue
.
use
(
store
);
Vue
.
use
(
Viewer
,{
defaultOptions
:
{
zIndex
:
9999
...
...
@@ -82,21 +83,21 @@ Vue.use(Viewer,{
// 时间扩展格式化
Date
.
prototype
.
Format
=
function
(
fmt
)
{
var
o
=
{
"M+"
:
this
.
getMonth
()
+
1
,
//月份
"d+"
:
this
.
getDate
(),
//日
"h+"
:
this
.
getHours
(),
//小时
"m+"
:
this
.
getMinutes
(),
//分
"s+"
:
this
.
getSeconds
()
//秒
};
if
(
/
(
y+
)
/
.
test
(
fmt
)){
//根据y的长度来截取年
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
this
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
));
}
for
(
var
k
in
o
){
if
(
new
RegExp
(
"("
+
k
+
")"
).
test
(
fmt
))
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
RegExp
.
$1
.
length
==
1
)
?
(
o
[
k
])
:
((
"00"
+
o
[
k
]).
substr
((
""
+
o
[
k
]).
length
)));
}
return
fmt
;
Date
.
prototype
.
Format
=
function
(
fmt
)
{
var
o
=
{
"M+"
:
this
.
getMonth
()
+
1
,
//月份
"d+"
:
this
.
getDate
(),
//日
"h+"
:
this
.
getHours
(),
//小时
"m+"
:
this
.
getMinutes
(),
//分
"s+"
:
this
.
getSeconds
()
//秒
};
if
(
/
(
y+
)
/
.
test
(
fmt
)){
//根据y的长度来截取年
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
this
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
));
}
for
(
var
k
in
o
){
if
(
new
RegExp
(
"("
+
k
+
")"
).
test
(
fmt
))
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
RegExp
.
$1
.
length
==
1
)
?
(
o
[
k
])
:
((
"00"
+
o
[
k
]).
substr
((
""
+
o
[
k
]).
length
)));
}
return
fmt
;
};
// 数组对比
...
...
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