Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
罗超
confucius
Commits
e1e12069
Commit
e1e12069
authored
Aug 20, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
49a4def3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
allmaterial.vue
src/components/enterprise/material/allmaterial.vue
+4
-4
textmaterial.vue
src/components/enterprise/material/textmaterial.vue
+2
-2
addchannelcode.vue
src/pages/enterprise/addchannelcode.vue
+5
-1
No files found.
src/components/enterprise/material/allmaterial.vue
View file @
e1e12069
...
...
@@ -6,18 +6,18 @@
</div>
</div>
-->
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
:wrap-cells=
'true'
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
separator=
"none"
title=
""
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:body-cell-title=
"props"
>
<q-td
:props=
"props"
style=
"max-width: 200px;"
>
<span>
{{
getType
(
props
.
row
,
'title'
)
}}
</span>
<q-td
:props=
"props"
style=
"max-width: 200px;
white-space: normal;word-break:break-all
"
>
{{
getType
(
props
.
row
,
'title'
)
}}
</q-td>
</
template
>
<
template
v-slot:body-cell-Content=
"props"
>
<q-td
:props=
"props"
style=
"max-width: 500px;"
>
<q-td
:props=
"props"
style=
"max-width: 500px;
white-space: normal;word-break:break-all
"
>
<div
>
<span
v-if=
"props.row.Type==1"
>
{{
getType
(
props
.
row
,
'content'
)
}}
</span>
<q-img
v-if=
"props.row.Type==2 || props.row.Type==3 || props.row.Type==6"
...
...
src/components/enterprise/material/textmaterial.vue
View file @
e1e12069
...
...
@@ -11,12 +11,12 @@
label=
"添加文本"
@
click=
"goadd()"
></q-btn>
</
template
>
<
template
v-slot:body-cell-title=
"props"
>
<q-td
:props=
"props"
style=
"max-width: 200px"
>
<q-td
:props=
"props"
style=
"max-width: 200px
;white-space: normal;word-break:break-all
"
>
<span>
{{
props
.
row
.
TextModel
&&
props
.
row
.
TextModel
.
Title
?
props
.
row
.
TextModel
.
Title
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-Content=
"props"
>
<q-td
:props=
"props"
style=
"max-width: 500px;"
>
<q-td
:props=
"props"
style=
"max-width: 500px;
white-space: normal;word-break:break-all
"
>
<span>
{{
props
.
row
.
TextModel
&&
props
.
row
.
TextModel
.
Content
?
props
.
row
.
TextModel
.
Content
:
''
}}
</span>
</q-td>
</
template
>
...
...
src/pages/enterprise/addchannelcode.vue
View file @
e1e12069
...
...
@@ -487,7 +487,7 @@
</div>
<div
class=
"page-body"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
label=
"保存"
@
click=
"savemove()"
style=
"width: 100px;"
:loading=
"loading"
/>
:loading=
"loading
2
"
/>
<q-btn
class=
"q-mr-md"
label=
"返回"
@
click=
"goblck()"
style=
"width: 60px;"
/>
</div>
<chaneelcodeform
v-if=
"ismember"
@
close=
"getclose()"
:peopletype=
'addMsg.Type'
:lsday=
"lsday"
...
...
@@ -532,6 +532,7 @@
data
()
{
return
{
loading
:
false
,
loading2
:
false
,
radiolist
:[{
Id
:
1
,
Name
:
"开启"
},{
Id
:
2
,
Name
:
'关闭'
}],
radiolist2
:[{
Id
:
1
,
Name
:
"需验证"
},{
Id
:
2
,
Name
:
'自动添加'
}],
radiolist3
:[{
Id
:
1
,
Name
:
"单人"
},{
Id
:
2
,
Name
:
'多人'
}],
...
...
@@ -972,6 +973,7 @@
if
(
this
.
addMsg
.
WelcomeEnable
==
1
&&
this
.
isall
==
false
){
this
.
welcometverification
()
}
this
.
loading2
=
true
if
(
this
.
isall
==
false
){
console
.
log
(
this
.
addMsg
,
'最后打印'
)
//调用接口
...
...
@@ -984,9 +986,11 @@
message
:
res
.
Message
,
position
:
'top'
})
this
.
loading2
=
false
this
.
goblck
()
}
}).
catch
(()
=>
{
this
.
loading2
=
false
})
}
...
...
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