Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
52bce71c
Commit
52bce71c
authored
Jul 11, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4478923e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
16 deletions
+70
-16
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+6
-1
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+6
-0
TravelContractNewRB.vue
src/components/TravelContractNewRB.vue
+2
-0
ElectronicAudit.vue
src/components/administrative/ElectronicAudit.vue
+56
-15
No files found.
src/components/SalesModule/groupTourOrder.vue
View file @
52bce71c
...
...
@@ -2177,6 +2177,12 @@
<
template
v-if=
"item.contractNum && item.contractNum.length > 0"
>
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract"
@
click=
"goContract(item, sItem)"
>
{{
sItem
.
client_Name
+
""
+
sItem
.
contractNum
}}
<template
v-if=
"sItem.auditContract==3"
>
<font
style=
"color:red"
>
驳回
</font>
</
template
>
<
template
v-if=
"sItem.auditContract==2"
>
<font
style=
"color:green"
>
审核通过
</font>
</
template
>
</span>
</template>
</div>
...
...
@@ -2929,7 +2935,6 @@
},
//跳转至领取合同
goContract
(
item
,
sItem
)
{
let
cid
=
0
;
if
(
sItem
&&
sItem
.
id
)
{
cid
=
sItem
.
id
;
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
52bce71c
...
...
@@ -2384,6 +2384,12 @@
<
template
v-if=
"item.contractNum && item.contractNum.length > 0"
>
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract"
@
click=
"goContract(item, sItem)"
>
{{
sItem
.
client_Name
+
""
+
sItem
.
contractNum
}}
<template
v-if=
"sItem.auditContract==3"
>
<font
style=
"color:red"
>
驳回
</font>
</
template
>
<
template
v-if=
"sItem.auditContract==2"
>
<font
style=
"color:green"
>
审核通过
</font>
</
template
>
</span>
</template>
</div>
...
...
src/components/TravelContractNewRB.vue
View file @
52bce71c
...
...
@@ -301,8 +301,10 @@
<span
v-if=
"CtObj.auditContract==1"
style=
"font-size:12px;color:red;"
>
等待行政审批通过后获取签字链接
</span>
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==0"
class=
"TCbtn-info"
@
click=
"sendAudit()"
value=
"提交审核"
/>
<font
v-if=
"CtObj.status==1&&CtObj.auditContract==3&&CtObj.auditContractReason"
style=
"color:red;"
>
驳回原因:
{{
CtObj
.
auditContractReason
}}
</font>
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==3"
class=
"TCbtn-info"
@
click=
"sendAudit()"
value=
"审核已被驳回,重新提交"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.status==1"
@
click=
"goUrl()"
value=
"预览"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.auditContract==2"
@
click=
"getinvalid()"
value=
"作废"
>
<input
type=
"button"
class=
"TCbtn-info"
@
click=
"dialogVisible=true,getGuestList()"
value=
"复制合同"
/>
...
...
src/components/administrative/ElectronicAudit.vue
View file @
52bce71c
...
...
@@ -146,11 +146,12 @@
<td>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核通过"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
@
click=
"AuditElec(item,2)"
circle
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
@
click=
"showContractDialog(item,2)"
circle
>
</el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"驳回"
placement=
"top-start"
>
<el-button
type=
"danger"
v-if=
"item.AuditContract!=3"
icon=
"iconfont icon-shenhebohui"
@
click=
"
AuditElec
(item,3)"
circle
></el-button>
@
click=
"
showContractDialog
(item,3)"
circle
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
v-if=
"item.IsTravelAgencySignature==0"
content=
"盖章"
placement=
"top-start"
>
...
...
@@ -335,6 +336,22 @@
</el-pagination>
</div>
</template>
<el-dialog
custom-class=
'w500'
title=
"合同驳回"
:visible
.
sync=
"isShowContract"
center
:before-close=
"closeContractDialog"
>
<table
class=
"layerTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
width=
"80"
align=
"right"
>
驳回原因:
</td>
<td>
<el-input
type=
'textarea'
v-model=
'auditMsg.AuditContractReason'
maxlength=
'50'
></el-input>
</td>
</tr>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"closeContractDialog"
>
取 消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"AuditElec"
>
确定
</button>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -412,10 +429,46 @@
let
startTime
=
new
Date
(
this
.
msg
.
StartDate
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
},
isShowContract
:
false
,
auditMsg
:
{
Id
:
0
,
//合同编号
AuditContract
:
0
,
//审核状态
AuditContractReason
:
""
,
//审核原因
}
};
},
methods
:
{
//关闭合同弹窗
closeContractDialog
()
{
this
.
auditMsg
.
Id
=
0
;
this
.
auditMsg
.
AuditContract
=
0
;
this
.
auditMsg
.
AuditContractReason
=
''
;
this
.
isShowContract
=
false
;
},
//显示合同弹窗
showContractDialog
(
item
,
type
)
{
this
.
auditMsg
.
Id
=
item
.
Id
;
this
.
auditMsg
.
AuditContract
=
type
;
console
.
log
(
"item"
,
item
);
if
(
type
==
2
)
{
this
.
AuditElec
();
}
else
{
this
.
isShowContract
=
true
;
}
},
//审核通过或者驳回
AuditElec
()
{
this
.
apipost
(
"travelcontract_get_UpdateAuditContractService"
,
this
.
auditMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getListOutTract
();
this
.
closeContractDialog
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
//切换
getSwitch
()
{
if
(
this
.
active
==
1
)
{
...
...
@@ -459,19 +512,7 @@
}
});
},
//审核通过或者驳回
AuditElec
(
item
,
type
)
{
item
.
AuditContract
=
type
;
// this.apiJavaPost("/api/contract/dosaveOrUpdate", item, res => {
this
.
apipost
(
"travelcontract_get_UpdateAuditContractService"
,
item
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
getDate
(
date
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD"
);
},
...
...
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