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
76c544f0
Commit
76c544f0
authored
Jun 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
43d5758b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
20 deletions
+50
-20
yueke-form.vue
src/components/schedul/yueke-form.vue
+49
-19
appointManagement.vue
src/pages/sale/appointManagement.vue
+1
-1
No files found.
src/components/schedul/yueke-form.vue
View file @
76c544f0
...
...
@@ -10,12 +10,12 @@
</q-card-section>
<div
class=
"row wrap"
>
<template
v-if=
"ChoiceType==3"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"msg.
r
emark"
type=
"textarea"
class=
"col-12"
label=
"备注"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"msg.
R
emark"
type=
"textarea"
class=
"col-12"
label=
"备注"
/>
</
template
>
<
template
v-if=
"ChoiceType==2"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"chooseLiudan"
ref=
"remark"
:options=
"reasonList"
label=
"流单原因"
:dense=
"false"
class=
"col-12 q-pb-lg"
emit-value
map-options
multiple
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"chooseLiudan"
ref=
"remark"
:options=
"reasonList"
label=
"流单原因"
:dense=
"false"
class=
"col-12 q-pb-lg"
emit-value
map-options
multiple
/>
</
template
>
</div>
</div>
...
...
@@ -37,7 +37,7 @@
props
:
{
ChoiceType
:
{
type
:
Number
,
default
:
null
default
:
2
},
saveObj
:
{
type
:
Object
,
...
...
@@ -49,46 +49,76 @@
persistent
:
true
,
saveLoading
:
false
,
msg
:
{
remark
:
''
Id
:
0
,
ReserveStatus
:
0
,
Remark
:
''
,
},
chooseLiudan
:[],
chooseLiudan
:
[],
reasonList
:
[{
Id
:
1
,
Id
:
"教学环境"
,
Name
:
'教学环境'
},
{
Id
:
2
,
Id
:
"教学内容"
,
Name
:
'教学内容'
},
{
Id
:
3
,
Id
:
"讲师"
,
Name
:
'讲师'
},
{
Id
:
4
,
Id
:
"价格"
,
Name
:
'价格'
},
{
Id
:
5
,
Id
:
"销售跟进"
,
Name
:
'销售跟进'
},
{
Id
:
6
,
Id
:
"同行竞争"
,
Name
:
'同行竞争'
},
{
Id
:
7
,
Id
:
"其他"
,
Name
:
'其他'
}]
}
},
mounted
()
{},
mounted
()
{
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
.
Id
)
{
this
.
msg
.
Id
=
this
.
saveObj
.
Id
;
}
}
},
methods
:
{
//关闭弹窗
closeSaveForm
()
{
this
.
$emit
(
'close'
)
this
.
persistent
=
false
this
.
persistent
=
false
;
},
//保存菜单
saveYueke
()
{
this
.
saveLoading
=
true
;
if
(
this
.
ChoiceType
==
2
){
if
(
this
.
ChoiceType
==
2
)
{
this
.
msg
.
ReserveStatus
=
2
;
}
if
(
this
.
ChoiceType
==
3
)
{
this
.
msg
.
ReserveStatus
=
3
;
}
if
(
this
.
ChoiceType
==
2
)
{
this
.
msg
.
remark
=
this
.
chooseLiudan
.
toString
();
}
setVisitorReserveStatus
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
saveLoading
=
false
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
position
:
'top'
})
this
.
$emit
(
"success"
)
this
.
closeSaveForm
()
}
}).
catch
(()
=>
{
this
.
saveLoading
=
false
});
},
}
}
...
...
src/pages/sale/appointManagement.vue
View file @
76c544f0
...
...
@@ -35,7 +35,7 @@
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
<yuekeForm
v-if=
"isShowYue"
:ChoiceType=
"ChoiceType"
:save-obj=
"
classObjOption
"
@
close=
"closeYuekeForm"
@
success=
"refreshPage"
></yuekeForm>
<yuekeForm
v-if=
"isShowYue"
:ChoiceType=
"ChoiceType"
:save-obj=
"
visitorItem
"
@
close=
"closeYuekeForm"
@
success=
"refreshPage"
></yuekeForm>
</div>
</template>
...
...
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