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
1a5a0737
Commit
1a5a0737
authored
Apr 16, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bb11b252
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
16 deletions
+33
-16
employment.vue
src/pages/studyAbroad/employment.vue
+17
-10
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+16
-6
No files found.
src/pages/studyAbroad/employment.vue
View file @
1a5a0737
...
@@ -160,10 +160,11 @@
...
@@ -160,10 +160,11 @@
<q-item-label>
价格设置
</q-item-label>
<q-item-label>
价格设置
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"props.row.SaleState==1||props.row.SaleState==4"
<q-item
clickable
v-close-popup
@
click=
"applyApply(props.row)"
>
v-if=
"props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5"
@
click=
"applyApply(props.row,2)"
>
<q-item-section>
<q-item-section>
<q-item-label>
申请
审核
</q-item-label>
<q-item-label>
申请
上架
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
...
@@ -176,6 +177,11 @@
...
@@ -176,6 +177,11 @@
<q-item-label>
收支明细
</q-item-label>
<q-item-label>
收支明细
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"props.row.SaleState==3"
@
click=
"applyApply(props.row,5)"
>
<q-item-section>
<q-item-label>
下架
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-list>
</q-btn-dropdown>
</q-btn-dropdown>
</q-td>
</q-td>
...
@@ -449,14 +455,18 @@
...
@@ -449,14 +455,18 @@
this
.
isShowStudyPrice
=
true
;
this
.
isShowStudyPrice
=
true
;
},
},
//申请审核
//申请审核
applyApply
(
obj
)
{
applyApply
(
obj
,
SaleState
)
{
let
applyMsg
=
{
let
applyMsg
=
{
Id
:
obj
.
Id
,
Id
:
obj
.
Id
,
SaleState
:
2
SaleState
:
SaleState
};
};
var
str
=
"是否要提交主管审核?"
;
if
(
SaleState
==
5
)
{
str
=
"是否要下架此产品?"
;
}
this
.
$q
.
dialog
({
this
.
$q
.
dialog
({
title
:
'提示信息'
,
title
:
'提示信息'
,
message
:
'是否要提交主管审核?'
,
message
:
str
,
cancel
:
true
,
cancel
:
true
,
persistent
:
true
,
persistent
:
true
,
ok
:
"确定"
,
ok
:
"确定"
,
...
@@ -473,10 +483,7 @@
...
@@ -473,10 +483,7 @@
this
.
refreshPage
();
this
.
refreshPage
();
})
})
}).
onCancel
(()
=>
{
}).
onCancel
(()
=>
{});
});
}
}
}
}
}
}
...
...
src/pages/studyAbroad/studyabroad.vue
View file @
1a5a0737
...
@@ -160,10 +160,11 @@
...
@@ -160,10 +160,11 @@
<q-item-label>
价格设置
</q-item-label>
<q-item-label>
价格设置
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"props.row.SaleState==1||props.row.SaleState==4"
<q-item
clickable
v-close-popup
@
click=
"applyApply(props.row)"
>
v-if=
"props.row.SaleState==1||props.row.SaleState==4||props.row.SaleState==5"
@
click=
"applyApply(props.row,2)"
>
<q-item-section>
<q-item-section>
<q-item-label>
申请
审核
</q-item-label>
<q-item-label>
申请
上架
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
<q-item
clickable
v-close-popup
@
click=
"GoToOrder(props.row)"
>
...
@@ -176,6 +177,11 @@
...
@@ -176,6 +177,11 @@
<q-item-label>
收支明细
</q-item-label>
<q-item-label>
收支明细
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"props.row.SaleState==3"
@
click=
"applyApply(props.row,5)"
>
<q-item-section>
<q-item-label>
下架
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-list>
</q-btn-dropdown>
</q-btn-dropdown>
</q-td>
</q-td>
...
@@ -450,14 +456,18 @@
...
@@ -450,14 +456,18 @@
this
.
isShowStudyPrice
=
true
;
this
.
isShowStudyPrice
=
true
;
},
},
//申请审核
//申请审核
applyApply
(
obj
)
{
applyApply
(
obj
,
SaleState
)
{
let
applyMsg
=
{
let
applyMsg
=
{
Id
:
obj
.
Id
,
Id
:
obj
.
Id
,
SaleState
:
2
SaleState
:
SaleState
};
};
var
str
=
"是否要提交主管审核?"
;
if
(
SaleState
==
5
)
{
str
=
"是否要下架此产品?"
;
}
this
.
$q
.
dialog
({
this
.
$q
.
dialog
({
title
:
'提示信息'
,
title
:
'提示信息'
,
message
:
'是否要提交主管审核?'
,
message
:
str
,
cancel
:
true
,
cancel
:
true
,
persistent
:
true
,
persistent
:
true
,
ok
:
"确定"
,
ok
:
"确定"
,
...
...
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