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
ef2e595f
Commit
ef2e595f
authored
Apr 09, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
60a617fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
consult-form.vue
src/components/system/consult-form.vue
+14
-3
consultManage.vue
src/pages/system/consultManage.vue
+13
-0
No files found.
src/components/system/consult-form.vue
View file @
ef2e595f
...
...
@@ -11,10 +11,18 @@
class=
"col-6 q-pr-lg q-pb-lg"
label=
"项目名称"
/>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
disable
v-model=
"editObj.LinkMan"
class=
"col-6 q-pb-lg"
label=
"联系人"
/>
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
disable
v-model=
"editObj.LinkTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
/>
<q-input
class=
"col-12 q-pb-lg"
v-model=
"editObj.Remark"
filled
type=
"textarea"
placeholder=
"咨询内容"
/>
<q-input
class=
"col-12 q-pb-lg"
v-model=
"objOption.DealContent"
filled
type=
"textarea"
placeholder=
"回复内容"
/>
</div>
<div
class=
"row wrap"
>
<div
style=
"margin-bottom:5px;"
>
咨询内容:
</div>
</div>
<div
class=
"row wrap"
>
<q-input
class=
"col-12 q-pb-lg"
v-model=
"editObj.Remark"
filled
:disable=
"isEdit"
type=
"textarea"
placeholder=
"咨询内容"
/>
<div
style=
"margin-bottom:5px;"
>
回复内容:
</div>
<q-input
class=
"col-12 q-pb-lg"
v-model=
"objOption.DealContent"
:disable=
"isEdit"
filled
type=
"textarea"
placeholder=
"回复内容"
/>
</div>
</q-card-section>
<q-separator
/>
...
...
@@ -50,9 +58,13 @@
editObj
:
{},
optionTitle
:
""
,
saveLoading
:
false
,
isEdit
:
false
}
},
mounted
()
{
if
(
this
.
saveObj
.
isView
==
1
){
this
.
isEdit
=
true
}
this
.
initObj
()
},
methods
:
{
...
...
@@ -70,7 +82,6 @@
this
.
objOption
.
Id
=
res
.
Data
.
Id
;
this
.
objOption
.
DealContent
=
res
.
Data
.
DealContent
;
}
console
.
log
(
res
,
'修改数据详情'
);
})
}
},
...
...
src/pages/system/consultManage.vue
View file @
ef2e595f
...
...
@@ -30,6 +30,8 @@
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
v-if=
"props.row.DealStatus==0"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"处理"
@
click=
"EditConsult(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-View"
color=
"accent"
@
click=
"goView(props.row)"
style=
"font-weight:400"
label=
"查看"
/>
<q-btn
flat
size=
"xs"
icon=
"delete"
color=
"negative"
style=
"font-weight:400"
label=
"删除"
@
click=
"delConsult(props.row)"
/>
</q-td>
...
...
@@ -183,6 +185,17 @@
}
else
{
this
.
consultObjOption
=
null
}
this
.
consultObjOption
.
isView
=-
1
;
this
.
isShowConsultForm
=
true
},
//点击预览
goView
(
obj
){
if
(
obj
)
{
this
.
consultObjOption
=
obj
}
else
{
this
.
consultObjOption
=
null
}
this
.
consultObjOption
.
isView
=
1
;
this
.
isShowConsultForm
=
true
},
//关闭弹窗
...
...
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