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
9da0db4e
Commit
9da0db4e
authored
Jun 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
17aa2574
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
6 deletions
+25
-6
schedu.js
src/api/scheduling/schedu.js
+12
-0
yueke-form.vue
src/components/schedul/yueke-form.vue
+9
-4
appointManagement.vue
src/pages/sale/appointManagement.vue
+4
-2
No files found.
src/api/scheduling/schedu.js
View file @
9da0db4e
...
@@ -232,4 +232,16 @@ export function GetReserveClass(data) {
...
@@ -232,4 +232,16 @@ export function GetReserveClass(data) {
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
/**
* 修改预约状态
* @param {JSON参数} data
*/
export
function
setVisitorReserveStatus
(
data
)
{
return
request
({
url
:
'/VisitorReserve/UpdateVisitorReserveStatus'
,
method
:
'post'
,
data
})
}
}
\ No newline at end of file
src/components/schedul/yueke-form.vue
View file @
9da0db4e
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 70vh"
>
<q-card-section>
<q-card-section>
<div
class=
"text-h6"
>
<div
class=
"text-h6"
>
<span
v-if=
"ChoiceType==3"
>
请填写取消备注
</span>
<span
v-if=
"ChoiceType==3"
>
取消预约
</span>
<span
v-if=
"ChoiceType==2"
>
请选择流单原因
</span>
<span
v-if=
"ChoiceType==2"
>
流单
</span>
</div>
</div>
</q-card-section>
</q-card-section>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
...
@@ -30,11 +30,18 @@
...
@@ -30,11 +30,18 @@
</q-dialog>
</q-dialog>
</template>
</template>
<
script
>
<
script
>
import
{
setVisitorReserveStatus
}
from
'../../api/scheduling/schedu'
export
default
{
export
default
{
props
:
{
props
:
{
ChoiceType
:
{
ChoiceType
:
{
type
:
Number
,
type
:
Number
,
default
:
null
default
:
null
},
saveObj
:
{
type
:
Object
,
default
:
null
}
}
},
},
data
()
{
data
()
{
...
@@ -82,9 +89,7 @@
...
@@ -82,9 +89,7 @@
if
(
this
.
ChoiceType
==
2
){
if
(
this
.
ChoiceType
==
2
){
this
.
msg
.
remark
=
this
.
chooseLiudan
.
toString
();
this
.
msg
.
remark
=
this
.
chooseLiudan
.
toString
();
}
}
console
.
log
(
this
.
msg
,
'msg'
);
},
},
}
}
}
}
...
...
src/pages/sale/appointManagement.vue
View file @
9da0db4e
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
:input=
"true"
@
input=
"changePage"
/>
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</
template
>
</q-table>
</q-table>
<yuekeForm
v-if=
"isShowYue"
:ChoiceType=
"ChoiceType"
@
close=
"closeYuekeForm"
@
success=
"refreshPage"
></yuekeForm>
<yuekeForm
v-if=
"isShowYue"
:ChoiceType=
"ChoiceType"
:save-obj=
"classObjOption"
@
close=
"closeYuekeForm"
@
success=
"refreshPage"
></yuekeForm>
</div>
</div>
</template>
</template>
...
@@ -110,7 +110,8 @@
...
@@ -110,7 +110,8 @@
}
}
],
],
isShowYue
:
false
,
isShowYue
:
false
,
ChoiceType
:
0
ChoiceType
:
0
,
visitorItem
:{},
//选中的对象
}
}
},
},
...
@@ -142,6 +143,7 @@
...
@@ -142,6 +143,7 @@
{
{
this
.
ChoiceType
=
type
;
this
.
ChoiceType
=
type
;
this
.
isShowYue
=
true
;
this
.
isShowYue
=
true
;
this
.
visitorItem
=
item
;
},
},
//关闭弹窗
//关闭弹窗
closeYuekeForm
()
{
closeYuekeForm
()
{
...
...
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