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
1ed1c5f6
Commit
1ed1c5f6
authored
Apr 21, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e3d40e0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
19 deletions
+23
-19
contractConfirm.vue
src/pages/contractConfirm.vue
+0
-1
contractAudit.vue
src/pages/sale/contractAudit.vue
+23
-18
No files found.
src/pages/contractConfirm.vue
View file @
1ed1c5f6
...
@@ -843,7 +843,6 @@
...
@@ -843,7 +843,6 @@
getList
()
{
getList
()
{
GetEducationContractInfo
(
this
.
gmsg
).
then
(
res
=>
{
GetEducationContractInfo
(
this
.
gmsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
res
,
'数据'
);
this
.
dataList
=
res
.
Data
;
this
.
dataList
=
res
.
Data
;
}
}
})
})
...
...
src/pages/sale/contractAudit.vue
View file @
1ed1c5f6
...
@@ -71,10 +71,16 @@
...
@@ -71,10 +71,16 @@
<
template
v-slot:body-cell-optioned=
"props"
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<div>
<div>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.Status==1"
style=
"font-weight:400"
@
click=
"operationContract(props.row,2)"
label=
"审核通过"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.Status==1"
style=
"font-weight:400"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.Status==1"
style=
"font-weight:400"
@
click=
"operationContract(props.row,3)"
label=
"驳回"
/>
@
click=
"operationContract(props.row,2)"
label=
"审核通过"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.IsCompanySeal==0&&props.row.Status==2"
style=
"font-weight:400"
@
click=
"operationContract(props.row,5)"
label=
"盖章"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.Status==1"
style=
"font-weight:400"
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-View"
color=
"accent"
@
click=
"goContract(props.row)"
style=
"font-weight:400"
label=
"查看"
/>
@
click=
"operationContract(props.row,3)"
label=
"驳回"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
v-if=
"props.row.IsStuSign==1&& props.row.IsCompanySeal==0&&props.row.Status==2"
style=
"font-weight:400"
@
click=
"operationContract(props.row,5)"
label=
"盖章"
/>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-View"
color=
"accent"
@
click=
"goContract(props.row)"
style=
"font-weight:400"
label=
"查看"
/>
</div>
</div>
</q-td>
</q-td>
</
template
>
</
template
>
...
@@ -162,15 +168,15 @@
...
@@ -162,15 +168,15 @@
Status
:
-
1
,
//0草稿 1提交审核 2审核通过 3驳回 4取消
Status
:
-
1
,
//0草稿 1提交审核 2审核通过 3驳回 4取消
ContractNo
:
''
,
//合同编号
ContractNo
:
''
,
//合同编号
StudentName
:
''
,
//学生姓名
StudentName
:
''
,
//学生姓名
IsAduit
:
1
IsAduit
:
1
},
},
pageCount
:
0
,
pageCount
:
0
,
dataList
:
[],
dataList
:
[],
//类型下拉
//类型下拉
CTypeList
:
[{
CTypeList
:
[{
Id
:
0
,
Id
:
0
,
Name
:
'不限'
Name
:
'不限'
},{
},
{
Id
:
1
,
Id
:
1
,
Name
:
'培训'
Name
:
'培训'
},
{
},
{
...
@@ -181,10 +187,10 @@
...
@@ -181,10 +187,10 @@
StatusOpts
:
[{
StatusOpts
:
[{
Id
:
-
1
,
Id
:
-
1
,
Name
:
'全部'
Name
:
'全部'
},{
},
{
Id
:
1
,
Id
:
1
,
Name
:
'待审'
Name
:
'待审'
},{
},
{
Id
:
2
,
Id
:
2
,
Name
:
'审核通过'
Name
:
'审核通过'
},
{
},
{
...
@@ -193,8 +199,7 @@
...
@@ -193,8 +199,7 @@
}],
}],
}
}
},
},
created
()
{
created
()
{},
},
mounted
()
{
mounted
()
{
this
.
getList
()
this
.
getList
()
},
},
...
@@ -222,7 +227,7 @@
...
@@ -222,7 +227,7 @@
this
.
getList
();
this
.
getList
();
},
},
//跳转至编辑
//跳转至编辑
goContract
(
item
){
goContract
(
item
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'contractEdit'
,
path
:
'contractEdit'
,
query
:
{
query
:
{
...
@@ -231,10 +236,10 @@
...
@@ -231,10 +236,10 @@
})
})
},
},
//合同操作
//合同操作
operationContract
(
item
,
type
)
{
operationContract
(
item
,
type
)
{
let
msg
=
{
let
msg
=
{
ContractId
:
item
.
Id
,
ContractId
:
item
.
Id
,
State
:
type
State
:
type
}
}
SetEducationContractAudit
(
msg
).
then
(
res
=>
{
SetEducationContractAudit
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
...
...
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