Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6858f05d
authored
Jul 06, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改名字
1 parent
84fadbde
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
23 deletions
src/views/classify/add.vue → src/views/category/add.vue
src/views/classify/components/pullDownNav.vue → src/views/category/components/pullDownNav.vue
src/views/classify/index.vue → src/views/category/index.vue
src/views/c
lassif
y/add.vue
→
src/views/c
ategor
y/add.vue
View file @
6858f05
<
template
>
<
template
>
<div
class=
"c
lassif
y-ctnr"
>
<div
class=
"c
ategor
y-ctnr"
>
<div
class=
"main-wrap"
>
<div
class=
"main-wrap"
>
<div
class=
"global-title"
>
新增二级分类
</div>
<div
class=
"global-title"
>
新增二级分类
</div>
<glsx-combi-form
:isInline=
"false"
class=
"glsx-combi-form"
ref=
"baseInfoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<glsx-combi-form
:isInline=
"false"
class=
"glsx-combi-form"
ref=
"baseInfoRef"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj
.
sync=
"formObj"
:formData=
"formData"
:formRules=
"myRule"
>
<div
slot=
"mainC
lassif
ySlot"
>
<div
slot=
"mainC
ategor
ySlot"
>
座椅
座椅
</div>
</div>
<div
slot=
"secondC
lassifySlot"
class=
"classif
y-slot"
>
<div
slot=
"secondC
ategorySlot"
class=
"categor
y-slot"
>
<div
class=
"c
lassif
y-item"
>
<div
class=
"c
ategor
y-item"
>
<el-input
maxLength=
"15"
v-model=
"configName"
class=
"input"
></el-input>
<el-input
maxLength=
"15"
v-model=
"configName"
class=
"input"
></el-input>
<i
class=
"el-icon-delete del-icon"
></i>
<i
class=
"el-icon-delete del-icon"
></i>
</div>
</div>
...
@@ -38,19 +38,19 @@ export default {
...
@@ -38,19 +38,19 @@ export default {
videoCoverArr
:
[]
videoCoverArr
:
[]
},
},
myRule
:{
myRule
:{
mainC
lassif
y
:
[{
required
:
true
,
message
:
'请输入一级分类'
,
trigger
:
'change'
}],
mainC
ategor
y
:
[{
required
:
true
,
message
:
'请输入一级分类'
,
trigger
:
'change'
}],
secondC
lassif
y
:
[{
required
:
true
,
message
:
'请添加二级分类名称'
,
trigger
:
'change'
}],
secondC
ategor
y
:
[{
required
:
true
,
message
:
'请添加二级分类名称'
,
trigger
:
'change'
}],
},
},
formData
:[
formData
:[
{
{
label
:
'一级分类'
,
label
:
'一级分类'
,
name
:
'mainC
lassif
y'
,
name
:
'mainC
ategor
y'
,
addHtml
:
'mainC
lassif
ySlot'
addHtml
:
'mainC
ategor
ySlot'
},
},
{
{
label
:
'二级分类名称'
,
label
:
'二级分类名称'
,
name
:
'secondC
lassif
y'
,
name
:
'secondC
ategor
y'
,
addHtml
:
'secondC
lassif
ySlot'
addHtml
:
'secondC
ategor
ySlot'
}
}
],
],
}
}
...
@@ -60,13 +60,13 @@ export default {
...
@@ -60,13 +60,13 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.c
lassif
y-ctnr
{
.c
ategor
y-ctnr
{
.glsx-combi-form{
.glsx-combi-form{
padding
:
20px
;
padding
:
20px
;
background-color
:
#fff
;
background-color
:
#fff
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
.c
lassif
y-slot{
.c
ategor
y-slot{
.c
lassif
y-item{
.c
ategor
y-item{
.el-input{
.el-input{
width
:
432px
;
width
:
432px
;
}
}
...
...
src/views/c
lassif
y/components/pullDownNav.vue
→
src/views/c
ategor
y/components/pullDownNav.vue
View file @
6858f05
File moved
src/views/c
lassif
y/index.vue
→
src/views/c
ategor
y/index.vue
View file @
6858f05
<
template
>
<
template
>
<div
class=
"c
lassif
y-list-ctnr"
>
<div
class=
"c
ategor
y-list-ctnr"
>
<GLTabs
v-model=
"activeName"
:tabPaneList=
"tabPaneList"
@
tab-click=
"handleClick"
></GLTabs>
<GLTabs
v-model=
"activeName"
:tabPaneList=
"tabPaneList"
@
tab-click=
"handleClick"
></GLTabs>
<pullDownNav></pullDownNav>
<pullDownNav></pullDownNav>
<div
class=
"main-wrap"
>
<div
class=
"main-wrap"
>
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<span
class=
"table-title"
>
二级分类列表
</span>
<span
class=
"table-title"
>
二级分类列表
</span>
<el-button
class=
"operate-btn"
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
新增二级分类
</el-button>
<el-button
class=
"operate-btn"
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
新增二级分类
</el-button>
</div>
</div>
<GLTable
ref=
"c
lassif
yRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"c
ategor
yRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"brandSlot"
>
<div
slot=
"brandSlot"
>
<span>
{{
brandList
.
slice
(
0
,
3
).
join
(
'、'
)
}}
</span>
<span>
{{
brandList
.
slice
(
0
,
3
).
join
(
'、'
)
}}
</span>
<el-popover
<el-popover
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
fn
:
'编辑'
fn
:
'编辑'
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
this
.
addC
lassif
y
(
row
.
scope
,
1
)
click
:
row
=>
this
.
addC
ategor
y
(
row
.
scope
,
1
)
}
}
},
},
{
{
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
}
}
],
],
tableSearchForm
:
{
tableSearchForm
:
{
c
lassif
yName
:
''
,
c
ategor
yName
:
''
,
createDate
:
[]
createDate
:
[]
},
},
searchForm
:
{},
searchForm
:
{},
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
searchFormData
:
[
searchFormData
:
[
{
{
label
:
'案例名称'
,
label
:
'案例名称'
,
name
:
'c
lassif
yName'
,
name
:
'c
ategor
yName'
,
type
:
'input'
type
:
'input'
},
},
{
{
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
c
lassif
yRef
.
refreshTable
()
this
.
$refs
.
c
ategor
yRef
.
refreshTable
()
},
},
handleReset
()
{
handleReset
()
{
this
.
tableSearchForm
=
{
this
.
tableSearchForm
=
{
...
@@ -156,11 +156,11 @@
...
@@ -156,11 +156,11 @@
},
},
setTableFinishFun
()
{
setTableFinishFun
()
{
//接收到的数据为空
//接收到的数据为空
this
.
$refs
.
c
lassifyRef
.
data
.
length
?
(
this
.
$refs
.
classifyRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
classif
yRef
.
setTableHeightFun
()
this
.
$refs
.
c
ategoryRef
.
data
.
length
?
(
this
.
$refs
.
categoryRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
categor
yRef
.
setTableHeightFun
()
},
},
addC
lassif
y
(
val
)
{
addC
ategor
y
(
val
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/c
lassif
y/add?id=
${
val
.
id
}
&channelType=
${
val
.
channelType
}
&$title=频道设置`
path
:
`/c
ategor
y/add?id=
${
val
.
id
}
&channelType=
${
val
.
channelType
}
&$title=频道设置`
})
})
},
},
handleAdd
(){
handleAdd
(){
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.c
lassif
y-list-ctnr
{
.c
ategor
y-list-ctnr
{
.main-wrap{
.main-wrap{
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20px
;
padding
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment