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
f5fcf719
Commit
f5fcf719
authored
Dec 17, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
10a61bc1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
App.vue
src/App.vue
+1
-1
ContractManage.vue
src/components/administrative/ContractManage.vue
+10
-9
index.js
src/plug/index.js
+6
-2
No files found.
src/App.vue
View file @
f5fcf719
...
...
@@ -173,7 +173,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
jhwh1knmwnd
.css"
;
@import
"//at.alicdn.com/t/font_635492_
3ih8u0oth65
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/administrative/ContractManage.vue
View file @
f5fcf719
...
...
@@ -190,17 +190,14 @@
<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=
"复制链接发送给客户"
placement=
"top-start"
>
<el-button
type=
"info"
icon=
"
el-icon-upload2"
circle
@
click=
"CopyUrl('Copy'+index)
"
></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"
>
<el-button
type=
"danger"
icon=
"el-icon-close"
circle
@
click=
"DeleteContract(item)"
></el-button>
</el-tooltip>
<!-- 隐藏的复制项 -->
<input
type=
"text"
v-model=
"item.Url"
:id=
"'Copy'+index"
style=
"display:none;"
>
</td>
</tr>
</table>
<input
type=
"text"
v-model=
"hidInput"
id=
"copyObj"
style=
"opacity:0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
...
...
@@ -215,7 +212,6 @@
currentPage
:
1
,
dataList
:
[],
loading
:
false
,
//页面加载
hidInput
:
''
,
msg
:
{
T_ContractNum
:
""
,
//合同编号
CType
:
0
,
//合同类型
...
...
@@ -295,10 +291,15 @@
});
},
//复制URL
CopyUrl
(
id
){
let
url
=
document
.
querySelector
(
'#'
+
id
);
url
.
select
();
// 选择对象
document
.
execCommand
(
"Copy"
);
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
(
"复制成功!"
);
},
//跳转
getImport
(
command
)
{
...
...
src/plug/index.js
View file @
f5fcf719
...
...
@@ -111,9 +111,13 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
//domainUrl = "http://192.168.
2.214:8082
";
//domainUrl = "http://192.168.
0.125
";
//domainUrl = "http://192.168.2.65:8025";
domainUrl
=
"http://192.168.2.16:8083"
;
// 吴春
//domainUrl = "http://192.168.2.214:8082"; // 吴春
//domainUrl = "http://192.168.0.125"; // 吴春
//domainUrl='http://reborn.oytour.com'
//domainUrl = "http://testapi.oytour.com";
let
locationName
=
window
.
location
.
hostname
;
let
javaUrldo
=
""
;
...
...
@@ -361,7 +365,7 @@ export default {
//请求Java接口
Vue
.
prototype
.
apiJavaPost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
)
{
let
previousPathInfo
=
{
path
:
this
.
$route
.
name
,
...
...
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