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
fc1a6c1d
Commit
fc1a6c1d
authored
Jul 10, 2025
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分功能
parent
b5115e2d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
13 deletions
+65
-13
App.vue
src/App.vue
+6
-3
AI.png
src/assets/img/AI.png
+0
-0
robot.png
src/assets/img/robot.png
+0
-0
robot_hover.png
src/assets/img/robot_hover.png
+0
-0
index.vue
src/components/commonPage/customerService/index.vue
+4
-4
index.vue
src/components/index.vue
+23
-2
RequirementDetail.vue
src/pages/requirements/components/RequirementDetail.vue
+32
-4
No files found.
src/App.vue
View file @
fc1a6c1d
...
...
@@ -12,10 +12,10 @@
<div
class=
"showMyCareer"
v-if=
"showCareer"
>
<mycareer
:show-close=
"true"
:uid=
"careerId"
@
close=
"closeCareer"
></mycareer>
</div>
<customerService
v-show=
"showCustomerService"
@
close=
"showCustomerService=false"
/>
<img
@
click=
"showCustomerService=!showCustomerService"
<customerService
v-show=
"showCustomerService"
/>
<
!--
<
img
@
click=
"showCustomerService=!showCustomerService"
class=
"customerServiceButton"
src=
"./assets/img/kefu1.png"
alt=
""
/>
src=
"./assets/img/kefu1.png"
alt=
""
/>
-->
</div>
</
template
>
...
...
@@ -237,6 +237,9 @@
this
.
MsgBus
.
$on
(
"changeTheme"
,
t
=>
{
this
.
isRed
=
t
==
1
;
});
this
.
MsgBus
.
$on
(
"showCustomerServiceHandler"
,
(
isShow
)
=>
{
this
.
showCustomerService
=
isShow
;
});
}
};
...
...
src/assets/img/AI.png
View replaced file @
b5115e2d
View file @
fc1a6c1d
2.78 KB
|
W:
|
H:
2.69 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/img/robot.png
0 → 100644
View file @
fc1a6c1d
85.6 KB
src/assets/img/robot_hover.png
0 → 100644
View file @
fc1a6c1d
85.4 KB
src/components/commonPage/customerService/index.vue
View file @
fc1a6c1d
<
template
>
<div
class=
"dialogPptistVisible-box"
style=
"width: 100%;height: 100%;"
>
<div
style=
"position: relative;width: 800px;"
>
<span
style=
"opacity: 0;"
>
1
</span>
<div
class=
"item"
>
...
...
@@ -12,7 +12,7 @@
<iframe
id=
"myTemplateUrl"
v-if=
"Url!=''"
name=
"myTemplateUrl"
:src=
"Url"
class=
"TemplateIframe"
>
</iframe>
</div>
</
template
>
<
script
>
import
{
compressToBase64
}
from
'@/utils/compression'
;
...
...
@@ -47,7 +47,7 @@ import { compressToBase64 } from '@/utils/compression';
},
methods
:
{
close
()
{
this
.
$emit
(
'close'
)
this
.
MsgBus
.
$emit
(
"showCustomerServiceHandler"
,
false
);
},
async
createInitDifyAsync
(){
const
userInfo
=
this
.
getLocalStorage
();
...
...
@@ -113,7 +113,7 @@ import { compressToBase64 } from '@/utils/compression';
right
:
-40px
;
top
:
-10px
;
z-index
:
99
;
}
.itemBox
{
width
:
30px
;
...
...
src/components/index.vue
View file @
fc1a6c1d
...
...
@@ -292,7 +292,15 @@
</li>
<li
style=
"display: flex;flex-direction: column;align-items: center;justify-content: center;"
>
<!--
<i
class=
"iconfont icon-banbengengxin"
@
click=
"goUrlLog()"
></i>
-->
<img
src=
"../assets/img/AI.png"
style=
"width: 25px;cursor: pointer;"
title=
"AI行程"
@
click=
"goRequirement()"
>
<el-tooltip
effect=
"dark"
content=
"AI行程"
placement=
"top"
>
<img
src=
"../assets/img/AI.png"
style=
"width: 30px;cursor: pointer;"
@
click=
"goRequirement()"
>
</el-tooltip>
</li>
<li
style=
"display: flex;flex-direction: column;align-items: center;justify-content: center;"
>
<el-tooltip
effect=
"dark"
content=
"ERP智能客服"
placement=
"top"
>
<!--
<img
src=
"../assets/img/AI.png"
style=
"width: 30px;cursor: pointer;"
@
click=
"goRequirement()"
>
-->
<div
class=
"top-right-menu-item"
style=
"margin-top: -10px;"
@
click=
"showCustomerServiceHandler()"
></div>
</el-tooltip>
</li>
<li
v-if=
"!useRed"
><i
class=
"iconfont icon-gonggao"
@
click=
"IM_bodyIsShow = !IM_bodyIsShow, IM_navType = 52"
></i>
...
...
@@ -2075,6 +2083,9 @@ export default {
}
},
methods
:
{
showCustomerServiceHandler
()
{
this
.
MsgBus
.
$emit
(
"showCustomerServiceHandler"
,
true
);
},
// 销售看板
SalesBoard
()
{
this
.
apipost
(
...
...
@@ -4673,7 +4684,17 @@ export default {
.downmz .khd a {
color: #fff;
}
.top-right-menu-item{
width: 30px;
height: 30px;
background-image: url('../assets/img/robot.png');
background-size: 100% 100%;
background-repeat: no-repeat;
cursor: pointer;
}
.top-right-menu-item:hover{
background-image: url('../assets/img/robot_hover.png');
}
.downmz .khd {
display: inline-block;
width: 162px;
...
...
src/pages/requirements/components/RequirementDetail.vue
View file @
fc1a6c1d
...
...
@@ -124,7 +124,7 @@
<div
class=
"option-label"
>
{{ item.label }}
</div>
</div>
</div>
<div
class=
"qrcode-area"
style=
"margin: 24px 0; text-align: center;"
v-loading=
"createQrcode"
>
<div
v-if=
"currentPublishOption!='pdfItinerary'"
class=
"qrcode-area"
style=
"margin: 24px 0; text-align: center;"
v-loading=
"createQrcode"
>
<div
style=
"height: 100px; width: 100px; background: #f5f5f5; display: inline-block; border-radius: 8px; line-height: 100px;"
>
<!-- 这里放二维码图片 -->
<img
:src=
"qrcodeUrl"
style=
"width: 100%; height: 100%;"
/>
...
...
@@ -134,12 +134,13 @@
<el-input
v-model=
"publishShareLink"
readonly
placeholder=
"
这里是分享链接
"
placeholder=
""
style=
"width: 100%;"
v-if=
"currentPublishOption!='wechatH5'"
>
<
template
#
append
>
<el-button
@
click=
"copyPublishLink"
>
复制
</el-button>
<el-button
@
click=
"openUrl(publishShareLink)"
>
打开
</el-button>
</
template
>
</el-input>
<div
style=
"height: 30px;"
></div>
...
...
@@ -362,7 +363,7 @@ export default {
},
handlePDFItinerary
(
row
)
{
// 下载PDF行程书
window
.
open
(
`
${
this
.
baseHref
}
/api/itinerary/pdf/book/
${
row
.
id
}
`
,
'_blank'
);
this
.
getDownloadTDUrl
(
row
);
},
handleWebSchedule
(
row
)
{
// 打开Web行程单页面
...
...
@@ -453,6 +454,33 @@ export default {
);
}
},
getDownloadTDUrl
(
row
)
{
if
(
row
.
tdId
==
0
){
this
.
$message
.
error
(
'请先创建TD行程'
);
return
;
}
this
.
apipost
&&
this
.
apipost
(
"triptemplate_GetTripOther"
,
{
Id
:
row
.
tdId
},
res
=>
{
if
(
res
.
data
&&
res
.
data
.
resultCode
==
1
)
{
const
params
=
{
"Id"
:
row
.
tdId
,
"Hash"
:
res
.
data
.
data
.
HashInfo
,
"Range"
:
""
,
"Quality"
:
1
,
"DownloadType"
:
0
}
this
.
apipost
(
"ppt_get_downloadtoken"
,
params
,
res
=>
{
if
(
res
.
data
&&
res
.
data
.
resultCode
==
1
){
this
.
publishShareLink
=
`
${
this
.
domainManager
().
PptUrl
}
/download/
${
res
.
data
.
data
}
`
;
}
});
}
else
{
this
.
$message
.
error
(
'获取TD行程失败'
);
}
},
err
=>
{
this
.
$message
.
error
(
'获取TD行程失败'
);
}
);
},
openUrl
(
url
){
window
.
open
(
url
,
'_blank'
);
},
editTD
(
row
)
{
// 先请求接口获取uid,再拼接PPT预览链接
if
(
row
.
tdId
>
0
)
{
...
...
@@ -461,7 +489,7 @@ export default {
res
=>
{
if
(
res
.
data
&&
res
.
data
.
resultCode
==
1
)
{
let
href
=
this
.
domainManager
().
PptUrl
;
const
pageUrl
=
`/editor/
${
row
.
tdId
}
/
1
/1/0/e/1/c/1`
const
pageUrl
=
`/editor/
${
row
.
tdId
}
/
${
row
.
tdTemplate
}
/1/0/e/1/c/1`
let
url
=
`
${
href
}
/autoLogin?uid=
${
res
.
data
.
data
}
&model=1001&redict=
${
encodeURIComponent
(
pageUrl
)}
`
;
window
.
open
(
url
,
'_blank'
);
}
else
{
...
...
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