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
ddaa03e8
Commit
ddaa03e8
authored
Mar 19, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ebdbef9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
10 deletions
+48
-10
App.vue
src/App.vue
+1
-1
studyAbroad-form.vue
src/components/studyAbroad/studyAbroad-form.vue
+6
-1
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+41
-8
No files found.
src/App.vue
View file @
ddaa03e8
...
...
@@ -12,7 +12,7 @@ export default {
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
fnioszx4oyw
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
8yyepcm7s1
.css')
;
html
,
body
,
...
...
src/components/studyAbroad/studyAbroad-form.vue
View file @
ddaa03e8
...
...
@@ -20,6 +20,7 @@
:http-request=
"UploadAttachment"
:multiple=
"uploadMultple"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
label=
"上传供应商合同"
/>
</el-upload>
<a
v-if=
"objOption.SupplierContract"
style=
"margin-left:10px;color:#2961FE;text-decoration:none;"
:href=
"objOption.SupplierContract"
>
查看合同
</a>
</div>
</div>
</div>
...
...
@@ -51,6 +52,10 @@
saveObj
:
{
type
:
Object
,
default
:
null
},
Type
:{
type
:
Number
,
default
:
null
}
},
data
()
{
...
...
@@ -100,7 +105,7 @@
})
}
else
{
this
.
objOption
.
Id
=
0
;
this
.
objOption
.
Type
=
1
;
this
.
objOption
.
Type
=
this
.
Type
;
this
.
objOption
.
Name
=
''
;
this
.
objOption
.
SupplierId
=
0
;
this
.
objOption
.
SupplierContract
=
''
;
...
...
src/pages/studyAbroad/studyabroad.vue
View file @
ddaa03e8
...
...
@@ -6,6 +6,12 @@
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Name"
label=
"项目名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
class=
"q-pb-lg q-pr-lg"
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.SaleState"
ref=
"SaleState"
:options=
"saleDownList"
label=
"销售状态"
:dense=
"false"
emit-value
map-options
>
</q-select>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -18,6 +24,16 @@
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增留学"
@
click=
"EditStudy(null)"
/>
</div>
</
template
>
<
template
v-slot:body-cell-SupplierName=
"props"
>
<q-td>
<div>
{{
props
.
row
.
SupplierName
}}
</div>
<div>
<a
:href=
"props.row.SupplierContract"
style=
"color:#2961FE;text-decoration:none;"
v-if=
"props.row.SupplierContract"
>
查看合同
</a>
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-PreferentialList=
"props"
>
<q-td
:props=
"props"
style=
"padding-right:0px"
>
<div
v-for=
"x in props.value"
>
...
...
@@ -84,6 +100,8 @@
@
click=
"EditStudy(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"价格设置"
@
click=
"EditStudyPrice(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"申请审核"
@
click=
"applyApply(props.row)"
/>
</q-td>
</
template
>
<
template
v-slot:bottom
>
...
...
@@ -91,7 +109,7 @@
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</q-table>
<studyAbroad-form
v-if=
"isShowStudy"
:save-obj=
"studyObj"
@
close=
"closeStudyForm"
@
success=
"refreshPage"
>
<studyAbroad-form
v-if=
"isShowStudy"
:save-obj=
"studyObj"
:Type=
"1"
@
close=
"closeStudyForm"
@
success=
"refreshPage"
>
</studyAbroad-form>
<studyAbroadprice-form
v-if=
"isShowStudyPrice"
:save-obj=
"studyObj"
@
close=
"closeStudyForm"
@
success=
"refreshPage"
>
...
...
@@ -124,6 +142,7 @@
rowsPerPage
:
10
,
Name
:
""
,
IsQPrice
:
1
,
SaleState
:
0
//销售状态
},
dataList
:
[],
loading
:
true
,
...
...
@@ -139,13 +158,12 @@
field
:
'SupplierName'
,
align
:
'left'
},
// {
// name: 'SupplierContract',
// label: '供应商合同',
// field: 'SupplierContract',
// align: 'left'
// },
// {
// name: 'SupplierContract',
// label: '供应商合同',
// field: 'SupplierContract',
// align: 'left'
// },
{
name
:
'SuggestPrice'
,
label
:
'建议卖价'
,
...
...
@@ -203,6 +221,17 @@
isShowStudy
:
false
,
//是否显示留学弹窗
studyObj
:
{},
//留学对象
isShowStudyPrice
:
false
,
//是否显示价格设置
saleDownList
:[{
Id
:
0
,
Name
:
'不限'
},{
Id
:
1
,
Name
:
'销售中'
},{
Id
:
2
,
Name
:
'已下架'
}],
//销售状态下拉
}
},
mounted
()
{
...
...
@@ -257,6 +286,10 @@
EditStudyPrice
(
obj
)
{
this
.
studyObj
=
obj
;
this
.
isShowStudyPrice
=
true
;
},
//申请审核
applyApply
(
obj
){
}
}
}
...
...
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