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
4c82a0ca
Commit
4c82a0ca
authored
Dec 18, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b16a03c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
46 deletions
+57
-46
ContractManage.vue
src/components/administrative/ContractManage.vue
+57
-46
No files found.
src/components/administrative/ContractManage.vue
View file @
4c82a0ca
...
...
@@ -3,32 +3,35 @@
background-color
:
#fff
!important
;
color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
}
}
.ContractManage
.query-box
.el-button--primary
:focus
,
.query-box
.el-button--primary
:hover
{
.ContractManage
.query-box
.el-button--primary
:focus
,
.query-box
.el-button--primary
:hover
{
background-color
:
#fff
!important
;
color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
}
}
.ContractManage
.query-box
.el-button
{
.ContractManage
.query-box
.el-button
{
border-radius
:
16px
;
height
:
30px
;
position
:
relative
;
top
:
5px
;
}
top
:
5px
;
}
.ContractManage
.query-box
.el-button
i
{
.ContractManage
.query-box
.el-button
i
{
color
:
#e95252
;
}
.ContractManage
.query-box
.el-button
span
{
}
.ContractManage
.query-box
.el-button
span
{
position
:
relative
;
top
:
-3px
;
}
.ContractManage
.el-button
+
.el-button
{
margin-left
:
0
!important
;
}
}
.ContractManage
.el-button
+
.el-button
{
margin-left
:
0
!important
;
}
</
style
>
<
template
>
...
...
@@ -108,15 +111,15 @@
getList();
resetPageIndex();
"
/>
<el-dropdown
@
command=
"getImport"
>
<el-button
type=
"primary"
@
click=
"goContract('onedayTripContract', 0, '一日游合同')"
>
一日游合同
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
境内旅游合同
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
单项委托合同
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-dropdown
@
command=
"getImport"
>
<el-button
type=
"primary"
@
click=
"goContract('onedayTripContract', 0, '一日游合同')"
>
一日游合同
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
境内旅游合同
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
单项委托合同
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
</ul>
</div>
...
...
@@ -133,6 +136,7 @@
<th
width=
"100"
>
合同状态
</th>
<th
width=
"100"
>
创建人
</th>
<th
width=
"120"
>
创建时间
</th>
<th
width=
"120"
>
是否盖章
</th>
<th
width=
"130"
>
操作
</th>
</tr>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
...
...
@@ -150,7 +154,11 @@
</
template
>
</td>
<td>
{{ item.T_ContractNum }}
</td>
<td>
{{ item.Tourists_Name }}
</td>
<td
style=
"text-align:left"
>
<span
v-if=
"item.Tourists_Sign!=''"
style=
"color:green;"
>
【已签字】
</span>
<span
v-else
style=
"color:red;"
>
【未签字】
</span>
{{ item.Tourists_Name }}
</td>
<td>
{{ item.TravelAgency_Name }}
</td>
<td>
{{ item.TravelAgency_DealMan }}
</td>
<td>
{{ item.C_TCNUM }}
</td>
...
...
@@ -158,8 +166,11 @@
<td>
{{ item.StatusStr }}
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
未盖章
</span>
<span
v-if=
"item.IsTravelAgencySignature==1"
style=
"color:green;"
>
已盖章
</span></td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.Status==0||item.Status==3"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.Status==0||item.Status==3"
>
<
template
v-if=
"item.CType == 3"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"goContract('onedayTripContract', item.ID, '一日游合同')"
></el-button>
...
...
@@ -186,14 +197,16 @@
<el-button
type=
"info"
icon=
"el-icon-upload2"
circle
@
click=
"SubmitContract(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
v-if=
"item.Status==2"
effect=
"dark"
content=
"复制链接发送给客户"
>
<el-button
type=
"info"
icon=
"iconfont icon-copy-l"
circle
@
click=
"CopyUrl(item)"
style=
"padding:4px;background-color:#9266f9;border-color:#9266f9;"
></el-button>
<el-button
type=
"info"
icon=
"iconfont icon-copy-l"
circle
@
click=
"CopyUrl(item)"
style=
"padding:4px;background-color:#9266f9;border-color:#9266f9;"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top-start"
v-if=
"item.Status==0"
>
<el-button
type=
"danger"
icon=
"el-icon-close"
circle
@
click=
"DeleteContract(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
style=
"padding:4px;"
></el-button>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
style=
"padding:4px;"
></el-button>
</el-tooltip>
</td>
</tr>
...
...
@@ -291,23 +304,23 @@
});
},
//复制URL
CopyUrl
(
item
){
CopyUrl
(
item
)
{
var
oInput
=
document
.
createElement
(
'input'
);
oInput
.
value
=
item
.
Url
;
document
.
body
.
appendChild
(
oInput
);
oInput
.
select
();
// 选择对象
document
.
execCommand
(
"Copy"
);
// 执行浏览器复制命令
oInput
.
className
=
'oInput'
;
oInput
.
style
.
display
=
'none'
;
this
.
Info
(
"复制成功!"
);
oInput
.
style
.
display
=
'none'
;
this
.
Info
(
"复制成功!"
);
},
//跳转
getImport
(
command
)
{
if
(
command
==
1
)
{
this
.
goContract
(
'DomesticTravelcontract'
,
0
,
'境内旅游合同'
);
}
else
if
(
command
==
2
)
{
this
.
goContract
(
'SingleContract'
,
0
,
'单项委托合同'
);
}
if
(
command
==
1
)
{
this
.
goContract
(
'DomesticTravelcontract'
,
0
,
'境内旅游合同'
);
}
else
if
(
command
==
2
)
{
this
.
goContract
(
'SingleContract'
,
0
,
'单项委托合同'
);
}
},
//下载合同
...
...
@@ -376,15 +389,14 @@
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
.
forEach
(
x
=>
{
let
Url
=
""
;
if
(
this
.
isOnline
()){
Url
=
window
.
location
.
hostname
+
'/#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
else
{
Url
=
window
.
location
.
hostname
+
":8080/"
+
'#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
x
.
Url
=
Url
;
this
.
dataList
.
forEach
(
x
=>
{
let
Url
=
""
;
if
(
this
.
isOnline
())
{
Url
=
window
.
location
.
hostname
+
'/#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
else
{
Url
=
window
.
location
.
hostname
+
":8080/"
+
'#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
x
.
Url
=
Url
;
})
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
...
...
@@ -402,8 +414,7 @@
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
ViewContract
(
item
)
{
ViewContract
(
item
)
{
this
.
$router
.
push
({
name
:
"TravelContractView"
,
query
:
{
...
...
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