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
9b83851c
Commit
9b83851c
authored
May 08, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
也没修过
parent
2e2fdc16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
+25
-19
schedul-orderlist.vue
src/components/schedul/schedul-orderlist.vue
+4
-1
schedul-visit.vue
src/components/schedul/schedul-visit.vue
+21
-18
No files found.
src/components/schedul/schedul-orderlist.vue
View file @
9b83851c
...
...
@@ -526,10 +526,13 @@
}
},
created
()
{
},
mounted
()
{
this
.
qMsg
.
Id
=
this
.
saveObj
.
Id
;
this
.
qMsg
.
Shift
=
this
.
saveObj
.
Shift
;
this
.
initAuth
();
this
.
getWorkList
();
this
.
initAuth
();
},
methods
:
{
getWorkList
()
{
...
...
src/components/schedul/schedul-visit.vue
View file @
9b83851c
...
...
@@ -113,7 +113,8 @@
<div
class=
"page-option addVisit"
>
<el-popover
placement=
"left"
popper-class=
"scheduVipop"
width=
"300"
trigger=
"click"
>
<div>
<el-form
label-width=
"80px"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
style=
"margin-top:10px;"
class=
"visit_FORM"
>
<el-form
label-width=
"80px"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
style=
"margin-top:10px;"
class=
"visit_FORM"
>
<el-form-item
label=
"姓名"
prop=
"Name"
>
<el-input
v-model=
"addMsg.Name"
placeholder=
"请输入姓名"
></el-input>
</el-form-item>
...
...
@@ -148,8 +149,8 @@
<el-input
type=
"textarea"
v-model=
"addMsg.Remark"
:rows=
"4"
placeholder=
"请输入备注"
></el-input>
</el-form-item>
</el-form>
<q-btn
color=
"accent"
size=
"sm"
@
click=
"SaveVisitor()"
style=
"float:right;margin-bottom:10px;"
label=
"保存"
/>
<q-btn
color=
"accent"
size=
"sm"
@
click=
"SaveVisitor()"
style=
"float:right;margin-bottom:10px;"
label=
"保存"
/>
</div>
<q-btn
color=
"accent"
slot=
"reference"
size=
"sm"
icon=
"add"
@
click=
"clearAddMsg"
label=
"添加访客"
v-if=
"DutyAuthObj.isShowAdd"
/>
...
...
@@ -176,7 +177,8 @@
<q-td
:props=
"props"
>
<el-popover
placement=
"left"
popper-class=
"scheduVipop"
width=
"300"
ref=
"popover2"
trigger=
"click"
>
<div>
<el-form
label-width=
"80px"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
style=
"margin-top:10px;"
class=
"visit_FORM"
>
<el-form
label-width=
"80px"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
style=
"margin-top:10px;"
class=
"visit_FORM"
>
<el-form-item
label=
"姓名"
prop=
"Name"
>
<el-input
v-model=
"addMsg.Name"
placeholder=
"请输入姓名"
maxlength=
"50"
></el-input>
</el-form-item>
...
...
@@ -200,7 +202,7 @@
</el-form-item>
<el-form-item
label=
"状态"
prop=
"VisitorStatus"
>
<el-select
v-model=
"addMsg.VisitorStatus"
style=
"width:200px;"
placeholder=
"请选择"
>
<el-option
v-for=
"item in statusList"
:key=
"item.Id"
:value=
"item.Id"
:label=
"item.Name"
>
<el-option
v-for=
"item in statusList"
:key=
"item.Id"
:value=
"item.Id"
:label=
"item.Name"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -389,17 +391,17 @@
message
:
'请输入学习时间'
,
trigger
:
'blur'
}],
LevelType
:[{
LevelType
:
[{
required
:
true
,
message
:
'请选择当前水平'
,
trigger
:
'change'
}],
VisitorStatus
:[{
VisitorStatus
:
[{
required
:
true
,
message
:
'请选择状态'
,
trigger
:
'change'
}],
Evaluate
:[{
Evaluate
:
[{
required
:
true
,
message
:
'请输入意向评估'
,
trigger
:
'blur'
...
...
@@ -409,11 +411,12 @@
}
},
created
()
{
},
mounted
()
{
this
.
msg
.
PlanId
=
this
.
saveObj
.
Id
;
this
.
getGuestBasics
();
this
.
initAuth
()
},
mounted
()
{
this
.
getVisitoryPage
();
},
methods
:
{
...
...
@@ -502,7 +505,7 @@
},
//保存
SaveVisitor
()
{
if
(
this
.
addMsg
.
Name
==
''
)
{
if
(
this
.
addMsg
.
Name
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -510,7 +513,7 @@
})
return
;
}
if
(
this
.
addMsg
.
Tel
==
''
)
{
if
(
this
.
addMsg
.
Tel
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -518,7 +521,7 @@
})
return
;
}
if
(
this
.
addMsg
.
CourseName
==
''
)
{
if
(
this
.
addMsg
.
CourseName
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -526,7 +529,7 @@
})
return
;
}
if
(
this
.
addMsg
.
StudyTime
==
''
)
{
if
(
this
.
addMsg
.
StudyTime
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -534,7 +537,7 @@
})
return
;
}
if
(
this
.
addMsg
.
LevelType
==
''
)
{
if
(
this
.
addMsg
.
LevelType
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -542,7 +545,7 @@
})
return
;
}
if
(
this
.
addMsg
.
VisitorStatus
==
''
)
{
if
(
this
.
addMsg
.
VisitorStatus
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -550,7 +553,7 @@
})
return
;
}
if
(
this
.
addMsg
.
Evaluate
==
''
)
{
if
(
this
.
addMsg
.
Evaluate
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -558,7 +561,7 @@
})
return
;
}
if
(
this
.
addMsg
.
Evaluate
==
''
)
{
if
(
this
.
addMsg
.
Evaluate
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
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