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
52b748f6
Commit
52b748f6
authored
Jan 04, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
5e5d4f2a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
index.vue
src/views/Editor/EditorHeader/index.vue
+3
-3
index.vue
src/views/Editor/Thumbnails/index.vue
+3
-1
SellTemplate.vue
src/views/SellTemplate/SellTemplate.vue
+3
-3
index.vue
src/views/components/sellNavs/index.vue
+1
-1
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
52b748f6
...
...
@@ -95,7 +95,7 @@
size=
"small"
:loading=
"datas.loading"
style=
"color: #ffff;"
@
click=
"setTemplate(0)"
>
保存
{{
searchData
.
TemplateType
!=
2
?
'
模板
'
:
'广告'
}}
保存
{{
searchData
.
TemplateType
!=
2
?
'
行程
'
:
'广告'
}}
</el-button>
</el-dropdown-item>
<el-dropdown-item>
...
...
@@ -103,7 +103,7 @@
size=
"small"
:loading=
"datas.loading"
style=
"color: #ffff;"
@
click=
"setTemplate(1)"
>
另存
{{
searchData
.
TemplateType
!=
2
?
'
模板
'
:
'广告'
}}
另存
{{
searchData
.
TemplateType
!=
2
?
'
行程
'
:
'广告'
}}
</el-button>
</el-dropdown-item>
</el-dropdown-menu>
...
...
@@ -113,7 +113,7 @@
size=
"small"
:loading=
"datas.loading"
style=
"color: #ffff;margin-left: 10px;"
@
click=
"setTemplate(0)"
>
保存{{searchData.TemplateType!=2?'
模板
':'广告'}}
保存{{searchData.TemplateType!=2?'
行程
':'广告'}}
</el-button>
</template>
...
...
src/views/Editor/Thumbnails/index.vue
View file @
52b748f6
...
...
@@ -373,7 +373,9 @@ const GetTripTemplate = async () =>{
},
}
]
slidesStore
.
setTitle
(
searchData
.
value
.
TemplateType
!=
2
?
'模版名称'
:
'广告名称'
)
let
Title
=
'模版名称'
Title
=
searchData
.
value
.
TemplateType
!=
2
?
'模版名称'
:
'广告名称'
slidesStore
.
setTitle
(
Title
)
return
slidesStore
.
setSlides
(
list
)
}
try
{
...
...
src/views/SellTemplate/SellTemplate.vue
View file @
52b748f6
...
...
@@ -126,7 +126,7 @@
const
dataList
=
ref
([]
as
Array
<
any
>
);
const
TemplateTypeList
=
ref
([
{
Name
:
'不限'
,
Id
:
0
},
{
Name
:
'
模版
'
,
Id
:
1
},
{
Name
:
'
行程
'
,
Id
:
1
},
{
Name
:
'广告'
,
Id
:
2
},
]);
const
loading
=
ref
(
false
as
any
)
...
...
@@ -159,14 +159,14 @@
queryObj
.
pageIndex
=
1
ElMessage
({
showClose
:
true
,
message
:
`删除
${
item
.
TemplateType
==
2
?
'广告'
:
'
模版
'
}
成功`
,
message
:
`删除
${
item
.
TemplateType
==
2
?
'广告'
:
'
行程
'
}
成功`
,
type
:
'success'
,
})
querySearchHandler
()
}
else
{
ElMessage
({
showClose
:
true
,
message
:
`删除
${
item
.
TemplateType
==
2
?
'广告'
:
'
模版
'
}
失败`
,
message
:
`删除
${
item
.
TemplateType
==
2
?
'广告'
:
'
行程
'
}
失败`
,
type
:
'warning'
,
})
}
...
...
src/views/components/sellNavs/index.vue
View file @
52b748f6
...
...
@@ -10,7 +10,7 @@
size=
"small"
:loading=
"datas.loading"
style=
"color: #ffff;"
@
click=
"searchData.TemplateType=1,sellAdd(1)"
>
新建
模版
新建
行程
</el-button>
</el-dropdown-item>
<el-dropdown-item
v-if=
"true"
>
...
...
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