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
3c7dc738
Commit
3c7dc738
authored
Mar 19, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
029eaba9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
20 deletions
+40
-20
studyproaudit-form.vue
src/components/studyAbroad/studyproaudit-form.vue
+40
-20
No files found.
src/components/studyAbroad/studyproaudit-form.vue
View file @
3c7dc738
...
...
@@ -43,17 +43,10 @@
<span>
创建人:
{{
saveObj
.
CreateByName
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
创建时间:
{{
saveObj
.
CreateTime
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
修改人:
{{
saveObj
.
UpdateByName
}}
</span>
</div>
<div
class=
"col-6"
>
<span>
修改时间:
{{
saveObj
.
UpdateTimeStr
}}
</span>
<span>
创建时间:
{{
saveObj
.
CreateTimeStr
}}
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-6"
>
<span>
供应商:
{{
saveObj
.
SupplierName
}}
</span>
...
...
@@ -143,19 +136,40 @@
</div>
</div>
</div>
<
template
v-if=
"isShow"
>
<
template
v-if=
"AuditType==2"
>
<div
style=
"margin:20px;"
>
<div
class=
"row"
style=
"margin-bottom:0;"
>
<div
class=
"col-12"
>
<q-radio
v-model=
"directorMsg.ManagerStatus"
style=
"margin-right:20px;"
:val=
"1"
size=
"xs"
label=
"通过"
color=
"secondary"
/>
<q-radio
v-model=
"directorMsg.ManagerStatus"
:val=
"2"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"directorMsg.ManagerOpinion"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"审核意见"
/>
</div>
</div>
<div
style=
"margin:30px 10px 0 0;text-align:right;"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"提交"
@
click=
"saveSatMsg()"
/>
</div>
</div>
</
template
>
<
template
v-if=
"AuditType==2"
>
<div
style=
"margin:20px;"
>
<div
class=
"row"
style=
"margin-bottom:0;"
>
<div
class=
"col-12"
>
<q-radio
v-model=
"
saveMsg.ManagerStatus"
style=
"margin-right:20px;"
:val=
"0
"
size=
"xs"
label=
"通过"
<q-radio
v-model=
"
managerMsg.ManagerStatus"
style=
"margin-right:20px;"
:val=
"1
"
size=
"xs"
label=
"通过"
color=
"secondary"
/>
<q-radio
v-model=
"
saveMsg.ManagerStatus"
:val=
"1
"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
<q-radio
v-model=
"
managerMsg.ManagerStatus"
:val=
"2
"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"
save
Msg.ManagerOpinion"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"意见"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"
manager
Msg.ManagerOpinion"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"
审核
意见"
/>
</div>
</div>
<div
style=
"margin:30px 10px 0 0;text-align:right;"
>
...
...
@@ -189,10 +203,17 @@
data
()
{
return
{
persistent
:
true
,
saveMsg
:
{
//部门主管审核
directorMsg
:
{
Id
:
0
,
DirectorOpinion
:
''
,
DirectorStatus
:
1
},
//部门负责人审核
managerMsg
:
{
Id
:
0
,
ManagerOpinion
:
''
,
ManagerStatus
:
0
DirectorStatus
:
1
},
msg
:
{
Id
:
0
,
...
...
@@ -200,7 +221,7 @@
},
saveObj
:
{},
auditList
:
[],
//权限数据
isShow
:
false
,
AuditType
:
0
,
//1-部门主管审核,2-部门负责人审核
}
},
mounted
()
{
...
...
@@ -222,12 +243,11 @@
queryStudyAbroadAudit
({}).
then
(
res
=>
{
this
.
auditList
=
res
.
Data
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
auditList
.
forEach
(
x
=>
{
this
.
auditList
.
forEach
(
(
x
,
index
)
=>
{
if
(
x
.
Id
===
userInfo
.
Id
)
{
this
.
isShow
=
true
;
this
.
AuditType
=
index
+
1
;
}
})
console
.
log
(
this
.
isShow
,
'this.isShow'
);
})
.
catch
(()
=>
{});
},
...
...
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