Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
0d8d7960
Commit
0d8d7960
authored
Jun 19, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品黑名单列表
parent
7642139a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
855 additions
and
3 deletions
+855
-3
index.js
src/router/index.js
+15
-0
index.vue
src/views/ecw/product/index.vue
+2
-1
blacklist.vue
src/views/ecw/productPrice/blacklist.vue
+824
-0
index.vue
src/views/ecw/productPrice/index.vue
+14
-2
No files found.
src/router/index.js
View file @
0d8d7960
...
...
@@ -214,6 +214,21 @@ export const constantRoutes = [
]
},
// {
// path: '/product',
// component: Layout,
// hidden: true,
// redirect: 'noredirect',
// children: [{
// path: 'product-black',
// component: (resolve) => require(['@/views/ecw/productPrice/index'], resolve),
// name: 'ProductPrice',
// meta: {title: '黑名单产品列表', activeMenu: '/product/product-black'}
// }
// ]
// },
{
path
:
'
/shelf
'
,
component
:
Layout
,
...
...
src/views/ecw/product/index.vue
View file @
0d8d7960
...
...
@@ -338,7 +338,8 @@ export default {
this
.
$router
.
push
({
name
:
'
ProductPrice
'
,
query
:
{
product_id
:
row
.
id
product_id
:
row
.
id
,
product_type
:
row
.
typeId
}
})
},
...
...
src/views/ecw/productPrice/blacklist.vue
0 → 100644
View file @
0d8d7960
This diff is collapsed.
Click to expand it.
src/views/ecw/productPrice/index.vue
View file @
0d8d7960
...
...
@@ -44,7 +44,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
""
prop=
"blacklist"
>
<el-form-item
label=
""
prop=
"blacklist"
v-if=
"false"
>
<el-checkbox
v-model=
"queryParams.blacklist"
:true-label=
"1"
:false-label=
"0"
>
黑名单
</el-checkbox>
</el-form-item>
...
...
@@ -506,12 +506,24 @@ export default {
}
},
created
()
{
activated
()
{
let
typeId
=
this
.
$route
.
query
.
product_type
;
if
(
typeId
)
{
if
(
!
this
.
queryParams
.
typeId
||
this
.
queryParams
.
typeId
!=
typeId
)
this
.
$set
(
this
.
queryParams
,
'
typeId
'
,
typeId
);
// this.queryParams.typeId = typeId;
this
.
getList
();
}
},
created
()
{
// this.transportDatas = getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE);
// console.log(this.transportDatas);
let
productJson
=
localStorage
.
getItem
(
'
product
'
);
// console.log(productJson);
this
.
product
=
eval
(
'
(
'
+
productJson
+
'
)
'
);
let
typeListJson
=
localStorage
.
getItem
(
'
typeList
'
);
if
(
typeListJson
)
{
...
...
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