Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 ff11825e
authored
Jan 30, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
1cba74e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
linkwe-ui/src/components/SelectMaterialMult/list.vue
linkwe-ui/src/components/SelectMaterialMult/list.vue
View file @
ff11825
...
@@ -3,6 +3,7 @@ import { getTree, getList } from '@/api/material'
...
@@ -3,6 +3,7 @@ import { getTree, getList } from '@/api/material'
export
default
{
export
default
{
components
:
{},
components
:
{},
props
:
{
props
:
{
// 0: '图片', 1: '语音', 2: '视频', 3: '普通文件', 4: '文本', 5: '海报',
type
:
{
type
:
{
type
:
String
,
type
:
String
,
default
:
'4'
,
default
:
'4'
,
...
@@ -168,6 +169,7 @@ export default {
...
@@ -168,6 +169,7 @@ export default {
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-tree
<el-tree
class=
"bfc-o"
ref=
"tree"
ref=
"tree"
:data=
"treeData"
:data=
"treeData"
:props=
"treeProps"
:props=
"treeProps"
...
@@ -196,7 +198,16 @@ export default {
...
@@ -196,7 +198,16 @@ export default {
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"content"
label=
"文本内容"
></el-table-column>
<el-table-column
v-if=
"type == 4"
prop=
"content"
label=
"文本内容"
></el-table-column>
<el-table-column
v-else
prop=
"materialName"
label=
"素材名称"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"时间"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"时间"
></el-table-column>
</el-table>
</el-table>
...
...
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