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
a7a8772a
Commit
a7a8772a
authored
Mar 19, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b20b3576
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
34 deletions
+33
-34
studyproaudit-form.vue
src/components/studyAbroad/studyproaudit-form.vue
+33
-34
No files found.
src/components/studyAbroad/studyproaudit-form.vue
View file @
a7a8772a
...
...
@@ -142,23 +142,28 @@
</
template
>
</div>
</div>
<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=
"通过"
color=
"secondary"
/>
<q-radio
v-model=
"saveMsg.ManagerStatus"
:val=
"1"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"saveMsg.ManagerOpinion"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"意见"
/>
</div>
<
template
v-if=
"isShow"
>
<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=
"通过"
color=
"secondary"
/>
<q-radio
v-model=
"saveMsg.ManagerStatus"
:val=
"1"
size=
"xs"
label=
"拒绝"
color=
"negative"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"saveMsg.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>
<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
>
</q-card>
<div
class=
"dialog-out-close"
@
click=
"closeperForm"
style=
"height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;"
>
...
...
@@ -171,9 +176,6 @@
queryStudyAbroadAudit
,
queryStudyAbroadInfo
}
from
"../../api/studyabroad/index"
;
import
{
mapState
}
from
"vuex"
;
export
default
{
meta
:
{
title
:
"留学详情"
...
...
@@ -196,27 +198,17 @@
Id
:
0
,
IsGetPrice
:
1
},
saveObj
:{}
saveObj
:
{},
auditList
:
[],
//权限数据
isShow
:
false
,
}
},
computed
:
mapState
({
isHavePriceAction
(
state
)
{
// if (state.user.userInfo.ActionMenuList) {
// let action = state.user.userInfo.ActionMenuList.find(x => {
// if (x.FunctionCode == "Edit_CoursePrice") {
// return x;
// }
// });
// return action && action.FunctionCode;
// }
// return false;
}
}),
mounted
()
{
this
.
msg
.
Id
=
this
.
Id
;
this
.
queryStudy
();
this
.
initObj
();
},
created
()
{},
methods
:
{
//获取数据
initObj
()
{
...
...
@@ -228,12 +220,19 @@
},
queryStudy
()
{
queryStudyAbroadAudit
({}).
then
(
res
=>
{
console
.
log
(
res
,
'数据来了'
);
this
.
auditList
=
res
.
Data
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
auditList
.
forEach
(
x
=>
{
if
(
x
.
Id
===
userInfo
.
Id
)
{
this
.
isShow
=
true
;
}
})
console
.
log
(
this
.
isShow
,
'this.isShow'
);
})
.
catch
(()
=>
{});
},
//保存
saveSatMsg
(){
saveSatMsg
()
{
},
closeperForm
()
{
...
...
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