Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 30dbc53b
authored
Mar 07, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增wangEditor插件
1 parent
11bfe92c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
package.json
src/router/routes.js
src/views/material/index.vue
package.json
View file @
30dbc53
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
"vuex"
:
"^3.1.2"
,
"wangeditor"
:
"^4.7.12"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
...
...
src/router/routes.js
View file @
30dbc53
...
@@ -248,6 +248,24 @@ const staticRoutes = Object.freeze([{
...
@@ -248,6 +248,24 @@ const staticRoutes = Object.freeze([{
path
:
'/sop/sopAnalysisList'
,
path
:
'/sop/sopAnalysisList'
,
component
:
resolve
=>
require
([
`@/views/sop/sopAnalysisList.vue`
],
resolve
),
component
:
resolve
=>
require
([
`@/views/sop/sopAnalysisList.vue`
],
resolve
),
meta
:
{}
meta
:
{}
},
{
name
:
'materialList'
,
path
:
'/material/index'
,
component
:
resolve
=>
require
([
`@/views/material/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'addMaterial'
,
path
:
'/material/addMaterial'
,
component
:
resolve
=>
require
([
`@/views/material/addMaterial.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'materialDetail'
,
path
:
'/material/materialDetail'
,
component
:
resolve
=>
require
([
`@/views/material/materialDetail.vue`
],
resolve
),
meta
:
{}
}
}
])
])
export
default
staticRoutes
export
default
staticRoutes
\ No newline at end of file
\ No newline at end of file
src/views/material/index.vue
View file @
30dbc53
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"search-form"
>
<div
class=
"search-form"
>
<glsx-combi-form
ref=
"materialFormRef"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData"
:inline=
"true"
>
<glsx-combi-form
ref=
"materialFormRef1"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData1"
:inline=
"true"
>
</glsx-combi-form>
<glsx-combi-form
ref=
"materialFormRef2"
:isEdit=
"isEdit"
:formObj=
"searchForm"
:formData=
"materialFormData2"
:inline=
"true"
>
<span
slot=
"footer"
slot-scope=
"scope"
class=
"select-pro"
>
<span
slot=
"footer"
slot-scope=
"scope"
class=
"select-pro"
>
<el-button
type=
"primary"
:size=
"size"
@
click=
"handleSearch(scope)"
>
查询
</el-button>
<el-button
type=
"primary"
:size=
"size"
@
click=
"handleSearch(scope)"
>
查询
</el-button>
<el-button
type=
"default"
:size=
"size"
@
click=
"handleReset(scope)"
>
重置
</el-button>
<el-button
type=
"default"
:size=
"size"
@
click=
"handleReset(scope)"
>
重置
</el-button>
...
@@ -155,7 +157,7 @@ export default {
...
@@ -155,7 +157,7 @@ export default {
materialGroupDialog
:
false
,
materialGroupDialog
:
false
,
// 素材组
// 素材组
groupCounter
:
[],
groupCounter
:
[],
materialFormData
:
[
materialFormData
1
:
[
{
{
label
:
'业务类型:'
,
label
:
'业务类型:'
,
name
:
'applicationType'
,
name
:
'applicationType'
,
...
@@ -173,7 +175,9 @@ export default {
...
@@ -173,7 +175,9 @@ export default {
name
:
'status'
,
name
:
'status'
,
type
:
'select'
,
type
:
'select'
,
placeholder
:
'全部(不包括删除)'
placeholder
:
'全部(不包括删除)'
},
}
],
materialFormData2
:
[
{
{
label
:
'素材名称:'
,
label
:
'素材名称:'
,
name
:
'materialName'
,
name
:
'materialName'
,
...
@@ -376,6 +380,24 @@ export default {
...
@@ -376,6 +380,24 @@ export default {
}
}
}
}
}
}
ul
{
li
{
list-style
:
none
;
}
}
.group-frame
{
width
:
72px
;
height
:
106px
;
background
:
#FFFFFF
;
ul
{
margin
:
0
8px
;
padding-top
:
1px
;
text-align
:
center
;
li
{
margin
:
15px
0
;
}
}
}
.container
{
.container
{
margin-top
:
10px
;
margin-top
:
10px
;
height
:
100%
;
height
:
100%
;
...
@@ -399,7 +421,6 @@ export default {
...
@@ -399,7 +421,6 @@ export default {
}
}
ul
{
ul
{
li
{
li
{
list-style
:
none
;
margin
:
0
0
22px
18px
;
margin
:
0
0
22px
18px
;
position
:
relative
;
position
:
relative
;
i
{
i
{
...
...
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