Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
6e9720ea
Commit
6e9720ea
authored
Jun 04, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享 编辑bug
parent
f99b3bec
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
68 additions
and
49 deletions
+68
-49
common.css
src/assets/styles/common.css
+3
-0
Editor.vue
src/views/Editor/Editor.vue
+1
-0
index.vue
src/views/Editor/EditorHeader/index.vue
+1
-1
Share.vue
src/views/SellTemplate/Share.vue
+26
-14
Layout.vue
src/views/TeamCenter/Layout.vue
+1
-0
Index.vue
src/views/TemplateCenter/Index.vue
+34
-34
Layout.vue
src/views/TemplateCenter/Layout.vue
+1
-0
Layout.vue
src/views/UserCenter/Layout.vue
+1
-0
No files found.
src/assets/styles/common.css
View file @
6e9720ea
...
...
@@ -583,6 +583,9 @@ page {
font-size
:
12px
;
font-family
:
microsoft
yahei
;
}
.microsoft
{
font-family
:
microsoft
yahei
;
}
.PingFangSC
{
font-family
:
'PingFang SC'
;
}
...
...
src/views/Editor/Editor.vue
View file @
6e9720ea
...
...
@@ -116,6 +116,7 @@ const initCreateTemplate = ()=>{
const
init
=
()
=>
{
//销售修改行程
searchData
.
value
.
isTeamManage
=
false
console
.
log
(
currentRoute
.
path
.
includes
,
'----'
,
params
.
id
)
if
(
currentRoute
.
path
.
includes
(
'/editor/'
)
&&
params
.
id
)
initSellEditor
()
else
if
(
currentRoute
.
path
.
includes
(
'/editor/'
))
initSellCreate
()
else
if
(
currentRoute
.
path
.
includes
(
'/team_editor/'
)
&&
params
.
tid
)
initOpCreate
()
...
...
src/views/Editor/EditorHeader/index.vue
View file @
6e9720ea
...
...
@@ -533,7 +533,7 @@ const setTemplate = async (type) =>{
}
queryObj
.
value
.
TempData
=
JSON
.
stringify
(
arr
)
if
(
model
.
value
==
1
&&
userInfo
.
value
.
isTemplate
==
1
||
userInfo
.
value
.
iv
||
userInfo
.
value
.
ic
||
userInfo
.
value
.
ia
){
if
(
model
.
value
==
1
&&
(
userInfo
.
value
.
isTemplate
==
1
||
userInfo
.
value
.
iv
||
userInfo
.
value
.
ic
||
userInfo
.
value
.
ia
)
){
datas
.
loading
=
true
await
SetTripTemplateSlide
()
}
else
if
(
ConfigId
.
value
&&
model
.
value
!=
2
){
...
...
src/views/SellTemplate/Share.vue
View file @
6e9720ea
...
...
@@ -103,13 +103,16 @@ import { ApiResult } from "@/configs/axios";
import
ConfigService
from
"@/services/ConfigService"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
PropType
,
inject
,
reactive
,
ref
,
watch
}
from
"vue"
;
import
{
createPlayLink
,
formatDateTimeToRead
,
query
}
from
'@/utils/common'
import
{
createPlayLink
,
createSaleEditorLink
,
formatDateTimeToRead
,
query
}
from
'@/utils/common'
import
breadPeeling
from
'./components/breadPeeling.vue'
import
CopyFile
from
'./components/CopyFile.vue'
import
{
useScreenStore
,
useSellTemplateStore
,
useSlidesStore
}
from
"@/store"
;
import
{
injectKeyTemplate
}
from
"@/types/injectKey"
;
import
FolderService
from
"@/services/FolderService"
;
import
{
ArrowDown
,
ArrowUp
}
from
"@element-plus/icons-vue"
;
import
{
useUserStore
}
from
'@/store/user'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
storeToRefs
}
from
'pinia'
;
const
props
=
defineProps
({
position
:{
...
...
@@ -148,6 +151,8 @@ const tempFilterName = ref('')
const
currentRootDom
=
ref
()
const
hgihlightId
=
ref
(
0
)
const
dataTableRef
=
ref
()
const
{
userInfo
}
=
storeToRefs
(
useUserStore
())
const
router
=
useRouter
()
const
backInquireHandler
=
()
=>
{
let
Navigation
=
navigations
.
value
[
navigations
.
value
.
length
-
2
];
...
...
@@ -171,19 +176,26 @@ const editorFileHandler = (item:any)=>{
color
:
"#ffffff"
,
},
}];
const
SalesEditorStore
=
useSellTemplateStore
();
useSlidesStore
().
setSlides
(
list
);
const
marketStore
=
useScreenStore
();
searchData
.
value
.
sellId
=
item
.
FileId
;
searchData
.
value
.
sellTempId
=
item
.
TempId
;
searchData
.
value
.
TemplateType
=
item
.
FileType
;
searchData
.
value
.
ParentFileId
=
0
if
(
item
.
IsDownload
==
0
)
searchData
.
value
.
noExportPermission
=
true
else
searchData
.
value
.
noExportPermission
=
false
if
(
item
.
IsView
==
0
)
searchData
.
value
.
noCopyPermission
=
true
else
searchData
.
value
.
noCopyPermission
=
false
SalesEditorStore
.
setSalesEditor
(
2
);
marketStore
.
setMarket
(
false
);
// const SalesEditorStore = useSellTemplateStore();
// useSlidesStore().setSlides(list);
// const marketStore = useScreenStore();
// searchData.value.sellId = item.FileId;
// searchData.value.sellTempId = item.TempId;
// searchData.value.TemplateType = item.FileType;
// searchData.value.ParentFileId = 0
// if(item.IsDownload==0) searchData.value.noExportPermission = true
// else searchData.value.noExportPermission = false
// if(item.IsView==0) searchData.value.noCopyPermission = true
// else searchData.value.noCopyPermission = false
// SalesEditorStore.setSalesEditor(2);
// marketStore.setMarket(false);
const
cp
=
item
.
IsView
==
0
?
0
:
1
const
ep
=
item
.
IsDownload
==
0
?
0
:
1
//@TODO:返回字段中缺少CreateBy,
const
url
=
createSaleEditorLink
(
item
.
FileId
,
item
.
TempId
,
item
.
FileType
,
0
,
ep
,
cp
)
router
.
push
({
path
:
url
})
}
const
getDocumentData
=
async
()
=>
{
if
(
loading
.
value
)
return
...
...
src/views/TeamCenter/Layout.vue
View file @
6e9720ea
...
...
@@ -83,6 +83,7 @@ watch(() => router.currentRoute.value.path, (toPath) => {
.user-center-menu
{
width
:
232px
;
padding
:
20px
0
20px
16px
;
font-family
:
microsoft
yahei
;
}
.user-center-body
{
...
...
src/views/TemplateCenter/Index.vue
View file @
6e9720ea
...
...
@@ -3,18 +3,18 @@
<div
class=
"col row flex-between"
>
<div
class=
"row wrap"
>
<div
class=
"row items-center q-mb-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
关键字:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
关键字:
</span>
<div>
<el-input
style=
"max-width:212px"
v-model=
"queryObj.Title"
placeholder=
"请输入关键字"
clearable
<el-input
class=
"microsoft"
style=
"max-width:212px"
v-model=
"queryObj.Title"
placeholder=
"请输入关键字"
clearable
@
keyup
.
enter=
"search"
></el-input>
</div>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
模版:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
模版:
</span>
<el-select
v-model=
"queryObj.TemplateType"
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"模版类型"
clearable
@
change=
"search"
>
<el-option
<el-option
class=
"microsoft"
v-for=
"item in typeArr"
:key=
"item.type"
:label=
"`$
{item.typeName}`"
...
...
@@ -23,11 +23,11 @@
</el-select>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
版型:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
版型:
</span>
<el-select
v-model=
"queryObj.TempType"
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"版型"
clearable
@
change=
"search"
>
<el-option
<el-option
class=
"microsoft"
v-for=
"item in layouts"
:key=
"item.Id"
:label=
"`$
{item.Name}`"
...
...
@@ -36,12 +36,12 @@
</el-select>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
国家:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
国家:
</span>
<el-select
v-model=
"queryObj.CountryList"
multiple
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"国家"
clearable
filterable
@
change=
"search(1)"
>
<el-option
key=
""
label=
"不限"
value=
""
/>
<el-option
<el-option
class=
"microsoft"
key=
""
label=
"不限"
value=
""
/>
<el-option
class=
"microsoft"
v-for=
"item in countries"
:key=
"item.CountryName"
:label=
"`$
{item.CountryName}`"
...
...
@@ -50,12 +50,12 @@
</el-select>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
季节:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
季节:
</span>
<el-select
v-model=
"queryObj.SeasonList"
multiple
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"季节"
clearable
@
change=
"search(2)"
>
<el-option
key=
""
label=
"四季"
value=
""
/>
<el-option
<el-option
class=
"microsoft"
key=
""
label=
"四季"
value=
""
/>
<el-option
class=
"microsoft"
v-for=
"item in seasonArr"
:key=
"item.SeasonName"
:label=
"`$
{item.SeasonName}`"
...
...
@@ -64,11 +64,11 @@
</el-select>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
排序:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
排序:
</span>
<el-select
v-model=
"queryObj.OrderByType"
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"排序方式"
@
change=
"search"
>
<el-option
<el-option
class=
"microsoft"
v-for=
"item in sortArr"
:key=
"item.type"
:label=
"`$
{item.typeName}`"
...
...
@@ -77,12 +77,12 @@
</el-select>
</div>
<div
class=
"row items-center q-mb-lg q-pl-lg"
>
<span
class=
"fz14 q-pr-md shrink"
>
颜色:
</span>
<span
class=
"fz14 q-pr-md shrink
microsoft
"
>
颜色:
</span>
<el-select
v-model=
"queryObj.ColorList"
multiple
class=
"ml-1 shrink TemSel"
class=
"ml-1 shrink TemSel
microsoft
"
placeholder=
"颜色"
clearable
filterable
@
change=
"search(3)"
>
<el-option
key=
""
label=
"不限"
value=
""
/>
<el-option
<el-option
class=
"microsoft"
key=
""
label=
"不限"
value=
""
/>
<el-option
class=
"microsoft"
v-for=
"item in ColorList"
:key=
"item.ID"
:label=
"`$
{item.Name}`"
...
...
@@ -94,26 +94,26 @@
<div
class=
"row nowrap"
style=
"flex-shrink: 0;width: 205px;"
>
<div>
<el-button
class=
"q-ml-lg q-mb-lg"
type=
"primary"
size=
"default"
style=
"color: #ffff;"
@
click=
"search"
>
<el-icon
size=
"18px"
>
<Search/>
<el-icon
class=
"microsoft"
size=
"18px"
>
<Search
/>
</el-icon>
</el-button>
</div>
<div>
<el-dropdown
class=
"q-pl-lg"
split-button
<el-dropdown
class=
"q-pl-lg
microsoft
"
split-button
size=
"default"
type=
"primary"
@
click=
"addTemplate(1)"
>
<span
style=
"font-size: 23px;margin-right: 10px;"
>
+
</span>
<span>
创建
</span>
<template
#
dropdown
>
<el-dropdown-menu>
<el-dropdown-item
class=
"none-border"
>
<el-button
type=
"primary"
size=
"small"
<el-button
class=
"microsoft"
type=
"primary"
size=
"small"
@
click
.
stop=
"addTemplate(1)"
style=
"color: #ffff;"
>
创建模版
</el-button>
</el-dropdown-item>
<el-dropdown-item
class=
"none-border"
>
<el-button
type=
"primary"
size=
"small"
<el-button
class=
"microsoft"
type=
"primary"
size=
"small"
@
click
.
stop=
"addTemplate(2)"
style=
"color: #ffff;"
>
创建广告
</el-button>
...
...
@@ -158,7 +158,7 @@
effect=
"dark"
:content=
"scope.row.Title"
placement=
"top"
>
{{
scope
.
row
.
Title
}}
<span
class=
"microsoft"
>
{{
scope
.
row
.
Title
}}
</span>
</el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -166,28 +166,28 @@
<
template
#
default=
"scope"
>
<el-tag
class=
"mx-1 q-mr-md"
effect=
"dark"
v-if=
"scope.row.TemplateType==2"
size=
"small"
>
广告
</el-tag>
size=
"small"
>
<span
class=
"microsoft"
>
广告
</span>
</el-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"修改时间"
width=
"150"
>
<
template
#
default=
"scope"
>
<!--
{{
scope
.
row
.
CreateByName
}}
<br/>
-->
<!--
<span
class=
"text-info"
>
{{
scope
.
row
.
CreateTime
}}
</span>
-->
<span
class=
"text-info"
>
{{
scope
.
row
.
UpdateTime
}}
</span>
<span
class=
"text-info
microsoft
"
>
{{
scope
.
row
.
UpdateTime
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"120"
>
<
template
#
default=
"scope"
>
<el-button
type=
"default"
link
:icon=
"Edit"
size=
"small"
@
click=
"goToTemplate(scope.row)"
>
编辑
</el-button>
<el-button
type=
"default"
link
:icon=
"Edit"
size=
"small"
@
click=
"goToTemplate(scope.row)"
class=
"microsoft"
>
编辑
</el-button>
<el-dropdown
class=
"q-pl-lg"
trigger=
"click"
>
<el-icon
class=
"q-pt-sm"
size=
"16"
color=
"#b1b7cf"
><MoreFilled
/></el-icon>
<template
#
dropdown
>
<el-dropdown-menu
class=
"q-pa-md"
>
<el-dropdown-item
@
click=
"getTemplate(scope.row)"
>
<el-button
type=
"default"
link
:icon=
"View"
size=
"small"
>
详情
</el-button>
<el-button
type=
"default"
link
:icon=
"View"
size=
"small"
class=
"microsoft"
>
详情
</el-button>
</el-dropdown-item>
<el-dropdown-item
@
click=
"deleteTemplate(scope.row)"
>
<el-button
type=
"default"
link
:icon=
"Delete"
size=
"small"
>
删除
</el-button>
<el-button
type=
"default"
link
:icon=
"Delete"
size=
"small"
class=
"microsoft"
>
删除
</el-button>
</el-dropdown-item>
</el-dropdown-menu>
</
template
>
...
...
src/views/TemplateCenter/Layout.vue
View file @
6e9720ea
...
...
@@ -71,6 +71,7 @@ watch(() => router.currentRoute.value.path, (toPath) => {
.user-center-menu
{
width
:
232px
;
padding
:
20px
0
20px
16px
;
font-family
:
microsoft
yahei
;
}
.user-center-body
{
...
...
src/views/UserCenter/Layout.vue
View file @
6e9720ea
...
...
@@ -63,6 +63,7 @@ watch(() => router.currentRoute.value.path, (toPath) => {
.user-center-menu
{
width
:
232px
;
padding
:
20px
0
20px
16px
;
font-family
:
microsoft
yahei
;
}
.user-center-body
{
...
...
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