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
7765a43c
Commit
7765a43c
authored
Aug 05, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7736eebe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
20 deletions
+48
-20
registContractManage.vue
src/pages/administration/registContractManage.vue
+48
-20
No files found.
src/pages/administration/registContractManage.vue
View file @
7765a43c
...
...
@@ -24,6 +24,11 @@
<q-input
@
change=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.StudentName"
label=
"学生姓名"
@
clear=
"resetSearch"
maxlength=
"30"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"msg.QCreateBy"
:options=
"EmployeeList"
emit-value
map-options
label=
"业务员"
use-input
@
filter=
"filterFn2"
clearable
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -79,8 +84,7 @@
</
template
>
</q-table>
</div>
<eduinfo-form
v-if=
"isShowEduForm"
:seting-obj=
"eduObj"
@
close=
"closeEdudia"
@
success=
"refreshPage"
>
</eduinfo-form>
</div>
</template>
<
script
>
...
...
@@ -95,14 +99,14 @@
import
{
downloadLocalFile
}
from
"../../api/common/common"
;
import
eduinfoForm
from
"../../components/sale/eduinfo-form"
;
import
{
queryEmployee
}
from
'../../api/users/user'
;
export
default
{
meta
:
{
title
:
"合同查询"
,
},
components
:
{
eduinfoForm
,
},
data
()
{
return
{
...
...
@@ -124,7 +128,6 @@
field
:
"StudentName"
,
align
:
"left"
,
},
{
name
:
"CourseName"
,
label
:
"课程名称"
,
...
...
@@ -155,7 +158,6 @@
align
:
"left"
,
field
:
"AdminStatusStr"
,
},
{
name
:
"IsCompanySeal"
,
label
:
"是否盖章"
,
...
...
@@ -178,6 +180,8 @@
Status
:
-
1
,
//0草稿 1提交审核 2审核通过 3驳回 4取消
ContractNo
:
""
,
//合同编号
StudentName
:
""
,
//学生姓名
IsQueryAll
:
1
,
QCreateBy
:
""
,
},
pageCount
:
0
,
dataList
:
[],
...
...
@@ -225,11 +229,13 @@
Name
:
"取消"
,
},
],
eduObj
:
null
,
isShowEduForm
:
false
,
EmployeeList
:
[],
//业务员
AllemployeeList
:
[]
,
};
},
created
()
{},
created
()
{
this
.
getEmployee
()
},
mounted
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
Name
)
{
//从订单完成统计跳转过来的带的参数
...
...
@@ -238,6 +244,36 @@
this
.
getList
();
},
methods
:
{
//业务员
getEmployee
()
{
var
qMsg
=
{
Dept_Id
:
0
}
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
let
obj
=
{
Id
:
""
,
EmployeeName
:
"不限"
}
this
.
EmployeeList
.
unshift
(
obj
)
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
EmployeeList
));
}
}).
catch
(()
=>
{
})
},
//筛选业务员
filterFn2
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
))
}
else
{
const
needle
=
val
.
toLowerCase
()
this
.
EmployeeList
=
this
.
AllemployeeList
.
filter
(
v
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
)
}
})
},
//获取校区列表
getList
()
{
this
.
loading
=
true
;
...
...
@@ -269,19 +305,11 @@
});
window
.
open
(
routeUrl
.
href
,
"_blank"
);
},
//关闭弹窗
closeEdudia
()
{
this
.
isShowEduForm
=
false
;
},
//刷新页面a
refreshPage
()
{
this
.
isShowEduForm
=
false
;
this
.
getList
();
},
},
};
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
\ No newline at end of file
</
style
>
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