Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
ea35aa45
Commit
ea35aa45
authored
Sep 29, 2021
by
lshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i资讯管理重置修改
parent
ff491f1d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
newsColunms.ts
src/const/columns/newsColunms.ts
+1
-1
index.vue
src/views/Root/Chat/index.vue
+5
-5
index.vue
src/views/Root/News/index.vue
+3
-2
No files found.
src/const/columns/newsColunms.ts
View file @
ea35aa45
...
@@ -12,7 +12,7 @@ const columns:Array<column>=[
...
@@ -12,7 +12,7 @@ const columns:Array<column>=[
dataIndex
:
'title'
,
dataIndex
:
'title'
,
},
},
{
{
title
:
'
咨询
分类'
,
title
:
'
资讯
分类'
,
align
:
'center'
,
align
:
'center'
,
dataIndex
:
'article_type'
,
dataIndex
:
'article_type'
,
scopedSlots
:
{
customRender
:
'type'
},
scopedSlots
:
{
customRender
:
'type'
},
...
...
src/views/Root/Chat/index.vue
View file @
ea35aa45
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<span
v-for=
"(item,index) of forms"
:key=
"index"
classs=
""
>
<span
v-for=
"(item,index) of forms"
:key=
"index"
classs=
""
>
<!--
<span
v-if=
"index%2!==0"
>
-->
<!--
<span
v-if=
"index%2!==0"
>
-->
<a-input
v-model=
"item.answer"
:placeholder=
"'设置自动回复'+ index +'(50字以内)'"
style=
"width: 18rem;margin-right:10px;"
/>
<a-input
v-model=
"item.answer"
:placeholder=
"'设置自动回复'+ index +'(50字以内)'"
style=
"width: 18rem;margin-right:10px;"
/>
<span
@
click=
"addInput()"
>
<span
@
click=
"addInput(
index
)"
>
<a-icon
type=
"plus"
style=
" margin-right:10px;"
/>
<a-icon
type=
"plus"
style=
" margin-right:10px;"
/>
</span>
</span>
<span
@
click=
"minInput(index)"
v-if=
"index!=0"
>
<span
@
click=
"minInput(index)"
v-if=
"index!=0"
>
...
@@ -143,7 +143,7 @@ export default Vue.extend({
...
@@ -143,7 +143,7 @@ export default Vue.extend({
}
}
},
},
created
(){
created
(){
this
.
addInput
()
this
.
addInput
(
0
)
},
},
mounted
(){
mounted
(){
this
.
fetchList
()
this
.
fetchList
()
...
@@ -199,14 +199,14 @@ export default Vue.extend({
...
@@ -199,14 +199,14 @@ export default Vue.extend({
this
.
searchPageReqParams
.
endTime
=
undefined
this
.
searchPageReqParams
.
endTime
=
undefined
this
.
fetchList
()
this
.
fetchList
()
},
},
addInput
(){
addInput
(
index
:
number
){
let
newList
=
{
let
newList
=
{
answer
:
''
,
answer
:
''
,
question
:
''
question
:
''
}
}
if
(
this
.
forms
.
length
<
5
){
if
(
this
.
forms
.
length
<
5
){
this
.
forms
.
push
(
newList
)
//
this.forms.push(newList)
//
this.forms.splice(index+1,0,newList)
this
.
forms
.
splice
(
index
+
1
,
0
,
newList
)
}
}
},
},
minInput
(
index
:
number
){
minInput
(
index
:
number
){
...
...
src/views/Root/News/index.vue
View file @
ea35aa45
...
@@ -182,12 +182,13 @@ export default Vue.extend({
...
@@ -182,12 +182,13 @@ export default Vue.extend({
this
.
searchPageReqParams
.
start_time
=
startTime
this
.
searchPageReqParams
.
start_time
=
startTime
this
.
searchPageReqParams
.
end_time
=
endTime
this
.
searchPageReqParams
.
end_time
=
endTime
},
},
reset
(){
reset
(
index
:
number
){
this
.
searchPageReqParams
.
title
=
''
this
.
searchPageReqParams
.
title
=
''
this
.
searchPageReqParams
.
article_status
=
0
this
.
searchPageReqParams
.
article_status
=
0
this
.
searchPageReqParams
.
article_type
=
1
this
.
searchPageReqParams
.
article_type
=
1
this
.
searchPageReqParams
.
start_time
=
undefined
this
.
searchPageReqParams
.
start_time
=
undefined
this
.
searchPageReqParams
.
end_time
=
undefined
this
.
searchPageReqParams
.
end_time
=
undefined
this
.
query
()
},
},
release
(
key
?:
string
,
type
?:
string
){
release
(
key
?:
string
,
type
?:
string
){
if
(
key
&&
type
)
{
if
(
key
&&
type
)
{
...
...
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