Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d0b9cd16
authored
Oct 25, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
概况页-数据汇总问题
parent
d2b0ffe3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
36 deletions
src/App.vue
src/views/Index/index.vue
src/views/List/inquire.vue
src/views/List/quote.vue
src/views/Store/list.vue
src/App.vue
View file @
d0b9cd16
<
template
>
<div
id=
"app"
>
<keep-alive
exclude=
"InquireDetail,ListDetail,orderTrackGoodsDetail,orderTrackPurAdd,enter"
>
<keep-alive
exclude=
"InquireDetail,ListDetail,orderTrackGoodsDetail,orderTrackPurAdd,enter
,list,inquire,quote
"
>
<router-view
class=
"router-view"
></router-view>
</keep-alive>
</div>
...
...
src/views/Index/index.vue
View file @
d0b9cd16
...
...
@@ -9,10 +9,6 @@
</p>
<p
class=
"cen row rowCenter"
>
<span
class=
"t1"
>
上架
</span>
<span
class=
"t2"
>
{{
data
.
weekly_sku_count
}}
</span>
</p>
<p
class=
"bottom"
>
<span
class=
"t1"
>
总上传SKU数:
</span>
<span
class=
"t2"
>
{{
data
.
all_sku_count
}}
</span>
</p>
</li>
...
...
@@ -23,14 +19,10 @@
</p>
<p
class=
"cen row rowCenter"
>
<span
class=
"t1"
>
型号
</span>
<span
class=
"t2 mr"
>
{{
data
.
weekly
_spu_count
}}
</span>
<span
class=
"t2 mr"
>
{{
data
.
all
_spu_count
}}
</span>
<span
class=
"t1"
>
品牌
</span>
<span
class=
"t2"
>
{{
data
.
brand_count
}}
</span>
</p>
<p
class=
"bottom"
>
<span
class=
"t1"
>
总商品数:
</span>
<span
class=
"t2"
>
{{
data
.
all_spu_count
}}
</span>
</p>
</li>
<li
class=
"boxsiz"
>
<p
class=
"top row bothSide verCenter"
>
...
...
@@ -60,47 +52,34 @@
</li>
</ul>
<ul
class=
"survey-show row avarage boxsiz"
>
<!--
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
href=
"/#/enter"
>
<i
class=
"iconfont iconjinzhi"
></i>
<p
class=
"t1"
>
未通过SKU
</p>
</a>
<span
class=
"color1 rowCenter verCenter"
>
{{
data
.
reject_sku_count
}}
</span>
</li>
-->
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
href=
"/#/list"
>
<a
class=
"wrap boxsiz"
href=
"/#/list
?status=3
"
>
<i
class=
"iconfont iconclose"
></i>
<p
class=
"t1"
>
下架SKU
</p>
</a>
<span
class=
"color2"
>
{{
data
.
off_shelf_sku_count
}}
</span>
</li>
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
href=
"/#/inquire"
>
<a
class=
"wrap boxsiz"
href=
"/#/inquire
?status=1
"
>
<i
class=
"iconfont iconjinzhi1"
></i>
<p
class=
"t1"
>
待报价
</p>
</a>
<span
class=
"color3"
>
{{
data
.
weekly_inquiry_ready
_count
||
0
}}
</span>
<span
class=
"color3"
>
{{
data
.
quote_confirming
_count
||
0
}}
</span>
</li>
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
href=
"/#/quote"
>
<a
class=
"wrap boxsiz"
href=
"/#/quote
?status=2
"
>
<i
class=
"iconfont iconjinzhi2"
></i>
<p
class=
"t1"
>
已选中报价
</p>
</a>
<span
class=
"color4"
>
{{
data
.
weekly_
quote_selected_count
}}
</span>
<span
class=
"color4"
>
{{
data
.
quote_selected_count
}}
</span>
</li>
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
href=
"/#/quote"
>
<a
class=
"wrap boxsiz"
href=
"/#/quote
?status=3
"
>
<i
class=
"iconfont iconjinzhi2"
></i>
<p
class=
"t1"
>
已成单报价
</p>
</a>
<span
class=
"color5"
>
{{
data
.
weekly_
quote_deal_count
}}
</span>
<span
class=
"color5"
>
{{
data
.
quote_deal_count
}}
</span>
</li>
<!--
<li
class=
"boxsiz"
>
<a
class=
"wrap boxsiz"
>
<i
class=
"iconfont iconjinzhi3 "
></i>
<p
class=
"t2"
>
未完待续
</p>
</a>
</li>
-->
</ul>
<div
class=
"rate-box boxsiz"
>
<div
class=
"rate-tab row bothSide verCenter"
>
...
...
@@ -217,7 +196,6 @@ export default {
},
methods
:
{
change
(
index
,
type
)
{
console
.
log
(
index
,
type
)
if
(
type
==
'frqRates'
)
{
this
.
getFrqRates
(
this
.
tabDate
);
}
...
...
@@ -305,7 +283,6 @@ export default {
]
};
myChart
.
setOption
(
option
);
window
.
onresize
=
function
()
{
myChart
.
resize
();
};
...
...
src/views/List/inquire.vue
View file @
d0b9cd16
...
...
@@ -109,6 +109,10 @@ export default {
};
},
created
()
{
let
status
=
this
.
$route
.
query
.
status
;
if
(
status
)
{
this
.
formParam
.
i_status
=
status
;
}
this
.
getData
();
},
methods
:
{
...
...
src/views/List/quote.vue
View file @
d0b9cd16
...
...
@@ -124,7 +124,7 @@ Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(D
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
).
use
(
Tag
);
export
default
{
name
:
"
inquir
e"
,
name
:
"
quot
e"
,
data
()
{
return
{
total
:
0
,
...
...
@@ -133,7 +133,7 @@ export default {
tableData
:
[],
multipleSelection
:
[],
dialogVisible
:
false
,
logs
:[],
logs
:
[],
formParam
:
{
goods_name
:
''
,
brand_name
:
""
,
...
...
@@ -143,6 +143,10 @@ export default {
};
},
created
()
{
let
status
=
this
.
$route
.
query
.
status
;
if
(
status
)
{
this
.
formParam
.
status
=
status
;
}
this
.
getData
();
},
methods
:
{
...
...
@@ -232,7 +236,7 @@ export default {
})
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
},
onSubmit
()
{
...
...
src/views/Store/list.vue
View file @
d0b9cd16
...
...
@@ -201,6 +201,10 @@ export default {
};
},
created
()
{
let
status
=
this
.
$route
.
query
.
status
;
if
(
status
)
{
this
.
formParam
.
status
=
status
;
}
this
.
getData
()
},
methods
:
{
...
...
@@ -321,8 +325,9 @@ export default {
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
this
.
formParam
.
status
=
''
;
},
onSubmit
()
{
this
.
page
=
1
;
...
...
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