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
7dea8b6d
Commit
7dea8b6d
authored
Jan 19, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁止更改模版 版型
parent
df05b9d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+3
-2
TravelDaysTrip_DirectThree.vue
...avelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
+25
-5
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
7dea8b6d
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
TripCityList
:
[],
//行程城市
TripCityList
:
[],
//行程城市
TripMapList
:
[],
TripMapList
:
[],
NotQueryCityList
:[],
//使用系统中的经纬度城市
NotQueryCityList
:[],
//使用系统中的经纬度城市
FeaturePageType
:
2
,
//1横版 2竖版
FeaturePageType
:
0
,
//1横版 2竖版
},
},
//行程
//行程
FeatureData
:
{
FeatureData
:
{
...
@@ -271,7 +271,7 @@
...
@@ -271,7 +271,7 @@
DayList
:
[],
DayList
:
[],
isFileUpload
:
false
,
//是否是一键上传行程
isFileUpload
:
false
,
//是否是一键上传行程
IsUpdateTrip
:
0
,
//是否联动行程特色
IsUpdateTrip
:
0
,
//是否联动行程特色
FeaturePageType
:
1
,
//1横版 2竖版
FeaturePageType
:
0
,
//1横版 2竖版
},
},
PostPrice
:
""
,
//报价信息
PostPrice
:
""
,
//报价信息
//线路
//线路
...
@@ -893,6 +893,7 @@
...
@@ -893,6 +893,7 @@
this
.
PostConfig
.
CountryID
=
tempData
.
CountryID
;
this
.
PostConfig
.
CountryID
=
tempData
.
CountryID
;
this
.
PostConfig
.
TeamType
=
tempData
.
TeamType
;
this
.
PostConfig
.
TeamType
=
tempData
.
TeamType
;
this
.
PostConfig
.
FeaturePageType
=
tempData
.
FeaturePageType
;
this
.
PostConfig
.
FeaturePageType
=
tempData
.
FeaturePageType
;
this
.
PostConfig
.
FeatureType
=
tempData
.
Feature
&&
tempData
.
Feature
.
FeatureType
?
tempData
.
Feature
.
FeatureType
:
8
this
.
PostConfig
.
FeatureType
=
tempData
.
Feature
&&
tempData
.
Feature
.
FeatureType
?
tempData
.
Feature
.
FeatureType
:
8
//视频地址
//视频地址
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
...
...
src/components/newTravelmanager/travelLineTrip/TravelDaysTrip_DirectThree.vue
View file @
7dea8b6d
...
@@ -183,8 +183,10 @@
...
@@ -183,8 +183,10 @@
<span
class=
"TDTextspan"
:class=
"
{'showOther':TeamType==3}">版型
</span>
<span
class=
"TDTextspan"
:class=
"
{'showOther':TeamType==3}">版型
</span>
<span
:class=
"
{'showOther':TeamType==3}">
<span
:class=
"
{'showOther':TeamType==3}">
<el-form-item
prop=
"FeaturePageType"
>
<el-form-item
prop=
"FeaturePageType"
>
<el-select
class=
"w90"
placeholder=
"请选择版型"
v-model=
"dataAll.FeaturePageType"
<el-select
class=
"w90"
placeholder=
"请选择版型"
@
change=
"getFeaturePageType()"
>
:disabled=
"isTemplate"
v-model=
"dataAll.FeaturePageType"
@
change=
"PromptTemplate()"
@
focus=
""
>
<el-option
label=
"横版"
:value=
"1"
></el-option>
<el-option
label=
"横版"
:value=
"1"
></el-option>
<el-option
label=
"竖版"
:value=
"2"
></el-option>
<el-option
label=
"竖版"
:value=
"2"
></el-option>
</el-select>
</el-select>
...
@@ -263,7 +265,8 @@
...
@@ -263,7 +265,8 @@
return
{
return
{
//折叠展开
//折叠展开
SelectDefaultValue
:
0
,
SelectDefaultValue
:
0
,
isFold
:
""
isFold
:
""
,
isTemplate
:
false
,
};
};
},
},
components
:
{
components
:
{
...
@@ -272,6 +275,22 @@
...
@@ -272,6 +275,22 @@
travelDaysHV
travelDaysHV
},
},
methods
:
{
methods
:
{
PromptTemplate
(){
this
.
$confirm
(
"一旦选择不可更改, 确认?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
isTemplate
=
true
this
.
getFeaturePageType
()
})
.
catch
(()
=>
{
this
.
isTemplate
=
false
this
.
dataAll
.
FeaturePageType
=
0
});
},
getFeaturePageType
(){
getFeaturePageType
(){
this
.
subConfig
.
DayList
.
forEach
(
x
=>
{
this
.
subConfig
.
DayList
.
forEach
(
x
=>
{
x
.
ScenicArray
.
forEach
(
y
=>
{
x
.
ScenicArray
.
forEach
(
y
=>
{
...
@@ -502,8 +521,9 @@
...
@@ -502,8 +521,9 @@
deep
:
true
,
deep
:
true
,
immediate
:
true
,
immediate
:
true
,
handler
:
function
(
newVal
,
oldVal
)
{
handler
:
function
(
newVal
,
oldVal
)
{
if
(
!
this
.
dataAll
.
FeaturePageType
){
this
.
isTemplate
=
false
}
else
this
.
isTemplate
=
true
}
}
},
},
'subConfig.DayList'
:
{
'subConfig.DayList'
:
{
...
...
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