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
7823be01
Commit
7823be01
authored
Jan 11, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加验证
parent
bcf736ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
employee-remark.vue
src/components/school/manager/employee-remark.vue
+12
-4
No files found.
src/components/school/manager/employee-remark.vue
View file @
7823be01
...
...
@@ -40,7 +40,7 @@
</
style
>
<
template
>
<div
class=
"EmployeeRemark"
>
<q-input
filled
v-model=
"saveMsg.Content"
class=
"col-12 row-2"
maxlength=
"100"
label=
"备注信息"
type=
"textarea"
/>
<q-input
filled
v-model=
"saveMsg.Content"
class=
"col-12 row-2"
maxlength=
"100"
:rules=
"[val => !!val || '请填写备注信息']"
label=
"备注信息"
type=
"textarea"
/>
<div
class=
"col"
style=
"display:flex;width:100%;margin:30px 0;align-items:center;"
>
<div
style=
"width:50%"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"saveMsg.RemarkType"
ref=
"RemarkType"
...
...
@@ -60,9 +60,9 @@
<span
class=
"LogList_Create"
>
{{
item
.
CreateStr
}}
</span>
</
template
>
<div
v-for=
"(subItem,subIndex) in item.AccountRemarkList"
class=
"LogList_Item"
>
<img
v-if=
"subItem.RemarkType==1"
src=
"../../../assets/images/myimg/type
1
.png"
/>
<img
v-if=
"subItem.RemarkType==2"
src=
"../../../assets/images/myimg/type
2
.png"
/>
<img
v-if=
"subItem.RemarkType==3"
src=
"../../../assets/images/myimg/type
3
.png"
/>
<img
v-if=
"subItem.RemarkType==1"
src=
"../../../assets/images/myimg/type
3
.png"
/>
<img
v-if=
"subItem.RemarkType==2"
src=
"../../../assets/images/myimg/type
1
.png"
/>
<img
v-if=
"subItem.RemarkType==3"
src=
"../../../assets/images/myimg/type
2
.png"
/>
{{subItem.CreateTimeStr}}
{{subItem.CreateByName}}
{{subItem.Content}}
...
...
@@ -135,6 +135,14 @@
});
},
saveRemark
()
{
if
(
this
.
saveMsg
.
Content
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写备注信息`
})
return
;
}
this
.
saveLoading
=
true
;
saveAccountRemark
(
this
.
saveMsg
).
then
(
res
=>
{
this
.
saveLoading
=
false
;
...
...
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