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
b3a21bbc
Commit
b3a21bbc
authored
Aug 12, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增切换提示
parent
0429b4e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
22 deletions
+8
-22
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+8
-22
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
b3a21bbc
...
...
@@ -589,11 +589,9 @@
},
//切换tab事件
clickFeature
(
item
)
{
let
state
=
this
.
FeatureData
.
FeatureType
if
((
state
===
4
&&
item
.
TypeState
===
5
)
||
(
state
===
4
&&
item
.
TypeState
===
6
)
||
(
state
===
4
&&
item
.
TypeState
===
7
))
{
this
.
$confirm
(
'尊敬的用户,行程特色“1”切换为行程特色“2”将会清空行程特色“1”里面的所有内容,您确定切换吗?'
,
{
let
state
=
this
.
FeatureData
.
FeatureType
;
if
(
item
.
TypeState
!=
state
)
{
this
.
$confirm
(
'切换类型将清空以前的行程特色,您确定切换吗?'
,
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
...
...
@@ -611,11 +609,11 @@
x
.
isShow
=
false
;
}
});
this
.
FeatureData
.
FeatureHtmlJson
=
null
this
.
FeatureData
.
FeatureHtmlJsonDelete
=
null
this
.
FeatureData
.
lastFeatureType
=
this
.
FeatureData
.
FeatureType
<
4
?
true
:
false
this
.
FeatureData
.
switch4or5
=
true
this
.
$forceUpdate
()
this
.
FeatureData
.
FeatureHtmlJson
=
null
;
this
.
FeatureData
.
FeatureHtmlJsonDelete
=
null
;
this
.
FeatureData
.
TripImageListNew
=
[];
this
.
FeatureData
.
DetailsImageListNew
=
[];
this
.
$forceUpdate
()
;
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
...
...
@@ -631,18 +629,6 @@
});
this
.
FeatureData
.
FeatureType
=
state
;
});
}
else
{
this
.
TypeArray
.
forEach
(
x
=>
{
if
(
x
.
TypeState
==
item
.
TypeState
)
{
x
.
isShow
=
true
;
this
.
ckTitle
=
x
.
ckTitle
;
this
.
FeatureData
.
FeatureType
=
item
.
TypeState
;
this
.
FeatureData
.
lastFeatureType
=
this
.
FeatureData
.
FeatureType
this
.
FeatureData
.
switch4or5
=
true
}
else
{
x
.
isShow
=
false
;
}
});
}
this
.
initFileList
();
if
(
this
.
FeatureData
.
FeatureType
==
9
)
{
...
...
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