Commit 2b8caab6 authored by 黄奎's avatar 黄奎
parents f08c7532 2fe09266
...@@ -1282,7 +1282,7 @@ ...@@ -1282,7 +1282,7 @@
</el-form> </el-form>
<p style="color: red;text-align: right;padding: 5px;">注:冲抵请勾选单据后点击下方确认冲抵</p> <p style="color: red;text-align: right;padding: 5px;">注:冲抵请勾选单据后点击下方确认冲抵</p>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0"> <table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="yfcdLoading">
<tr> <tr>
<th></th> <th></th>
<th>单号</th> <th>单号</th>
...@@ -1376,6 +1376,7 @@ ...@@ -1376,6 +1376,7 @@
export default { export default {
data() { data() {
return { return {
yfcdLoading: false,
isTerminate: -1, isTerminate: -1,
hbMsg: { hbMsg: {
FrIDList: [], FrIDList: [],
...@@ -1805,10 +1806,12 @@ ...@@ -1805,10 +1806,12 @@
if (msg.FrID == "") { if (msg.FrID == "") {
msg.FrID = 0; msg.FrID = 0;
} }
this.yfcdLoading = true
this.apipost( this.apipost(
"Financial_get_GetAdvanceFinancePageList", "Financial_get_GetAdvanceFinancePageList",
msg, msg,
res => { res => {
this.yfcdLoading = false
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.czList = res.data.data.pageData; this.czList = res.data.data.pageData;
this.total2 = res.data.data.count; this.total2 = res.data.data.count;
......
...@@ -547,7 +547,6 @@ ...@@ -547,7 +547,6 @@
FeatureData: { FeatureData: {
//深度监听,可监听到对象、数组的变化 //深度监听,可监听到对象、数组的变化
handler: function (val, oldVal) { handler: function (val, oldVal) {
this.FeatureData.FeatureType = 8
this.$emit("featureCallBack", this.FeatureData); this.$emit("featureCallBack", this.FeatureData);
this.initFeature(); this.initFeature();
}, },
......
...@@ -78,6 +78,21 @@ ...@@ -78,6 +78,21 @@
</div> </div>
</div> </div>
</div> </div>
<el-dialog custom-class="resourceImgAdd"
:title="$t('sm.chooseImg')"
center
:visible.sync="isShowScenicImg">
<!--imgType:1-酒店,2-餐厅,3-景点,4-票务,5-车辆,6-领队,7-购物店,isCheckmore:是否多选图片-->
<DMCchooseImg
@closeImg="closeDMCchooseImg"
ref="DMCchooseImg1"
@headCallBack="getDMCimg"
v-bind:isCheckmore="1"
v-bind:imgType="choseType"
v-bind:queryItem="queryItem"
v-bind:IsShowAdd="true"
v-bind:IsShowVideo="true"></DMCchooseImg>
</el-dialog>
</div> </div>
</template> </template>
...@@ -85,10 +100,12 @@ ...@@ -85,10 +100,12 @@
<script> <script>
import vEditDiv from "../TravelTemp/VEditDiv"; import vEditDiv from "../TravelTemp/VEditDiv";
import vToolBar from "../TravelTemp/VToolBar"; import vToolBar from "../TravelTemp/VToolBar";
import DMCchooseImg from "../../../commonPage/DMCchooseImg.vue";
export default { export default {
components: { components: {
vEditDiv, vEditDiv,
vToolBar vToolBar,
DMCchooseImg
}, },
props: { props: {
// FeatureData // FeatureData
...@@ -99,7 +116,7 @@ ...@@ -99,7 +116,7 @@
first1: '风景美术馆日本平系列', first1: '风景美术馆日本平系列',
first2: '顶鸠级住屋宿.温泉.美食.铁道之旅', first2: '顶鸠级住屋宿.温泉.美食.铁道之旅',
first3: '秋 季 国 庆 森 之 京 都 七 日', first3: '秋 季 国 庆 森 之 京 都 七 日',
first4: '枫叶隧道列车之旅,日本米其林星级美食与住宿追寻,秋季赏枫+网红打卡漫游 </br> 印象日本全新改版行程日本旅游新体验', first4: '枫叶隧道列车之旅,日本米其林星级美食与住宿追寻,秋季赏枫+网红打卡漫游 印象日本全新改版行程日本旅游新体验',
first5: '在古老的日本樱花街道', first5: '在古老的日本樱花街道',
first6: '遇见最美好的自己', first6: '遇见最美好的自己',
first7: '冲绳 大阪城公园湖 伊豆 大阪', first7: '冲绳 大阪城公园湖 伊豆 大阪',
...@@ -151,8 +168,84 @@ ...@@ -151,8 +168,84 @@
}; };
}, },
methods: { methods: {
// 返回数据对象
getFeatureData() {
this.canEditChange(false);
let travelFeature2 = {
hotelObj: this.hotelObj,
viewSpotObj: this.viewSpotObj,
restaurantObj: this.restaurantObj
};
var obj = {
basicData: travelFeature2,
deleteArray: this.deleteArray
};
return obj;
},
// 设置编辑状态
canEditChange(val) {
this.canEdit = val;
this.$forceUpdate();
},
//关闭添加弹窗
closeDMCchooseImg() {
this.isShowScenicImg = false;
this.queryItem.queryName = "";
},
//获取选择的图片
getDMCimg(imgArr) {
if (imgArr.length > 0) {
if (this.name === "hotel") {
if (this.hotelObj.list[this.currentIndex].images[this.imgIndex]) {
this.$refs[
"hotelVds_" + this.currentIndex + "_" + this.imgIndex
][0]._data.top = 0;
this.hotelObj.list[this.currentIndex].images[this.imgIndex].Url =
imgArr[0].Path;
} else {
this.hotelObj.list[this.currentIndex].images[this.imgIndex] = {
x: 0,
y: 0,
Url: imgArr[0].Path
};
}
} else if (this.name === "viewSpot") {
if (this.viewSpotObj.list[this.currentIndex].images[this.imgIndex]) {
this.$refs[
"viewSpotVds_" + this.currentIndex + "_" + this.imgIndex
][0]._data.top = 0;
this.viewSpotObj.list[this.currentIndex].images[this.imgIndex].Url =
imgArr[0].Path;
} else {
this.viewSpotObj.list[this.currentIndex].images[this.imgIndex] = {
x: 0,
y: 0,
Url: imgArr[0].Path
};
}
} else if (this.name === "restaurant") {
if (
this.restaurantObj.list[this.currentIndex].images[this.imgIndex]
) {
this.$refs[
"restaurantVds_" + this.currentIndex + "_" + this.imgIndex
][0]._data.top = 0;
this.restaurantObj.list[this.currentIndex].images[
this.imgIndex
].Url = imgArr[0].Path;
} else {
this.restaurantObj.list[this.currentIndex].images[this.imgIndex] = {
x: 0,
y: 0,
Url: imgArr[0].Path
};
}
}
}
this.$forceUpdate();
},
// 图片高度重置 // 图片高度重置
imgTopReset: function (name, index1, index2) { imgTopReset(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images; imgList = this.hotelObj.list[index1].images;
...@@ -181,7 +274,7 @@ ...@@ -181,7 +274,7 @@
} }
}, },
// 图片顺序上移 // 图片顺序上移
imgToPreY: function (name, index1, index2) { imgToPreY(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images imgList = this.hotelObj.list[index1].images
...@@ -197,7 +290,7 @@ ...@@ -197,7 +290,7 @@
this.$set(imgList, index2, JSON.parse(preImg)) this.$set(imgList, index2, JSON.parse(preImg))
}, },
// 图片顺序下移 // 图片顺序下移
imgToNextY: function (name, index1, index2) { imgToNextY(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images imgList = this.hotelObj.list[index1].images
...@@ -213,7 +306,7 @@ ...@@ -213,7 +306,7 @@
this.$set(imgList, index2+1, JSON.parse(nowImg)) this.$set(imgList, index2+1, JSON.parse(nowImg))
}, },
// 图片顺序置顶 // 图片顺序置顶
imgToPreZ: function (name, index1, index2) { imgToPreZ(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images imgList = this.hotelObj.list[index1].images
...@@ -228,7 +321,7 @@ ...@@ -228,7 +321,7 @@
imgList.splice(0,0,JSON.parse(nowImg)) imgList.splice(0,0,JSON.parse(nowImg))
}, },
// 图片顺序置底 // 图片顺序置底
imgToNextZ: function (name, index1, index2) { imgToNextZ(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images imgList = this.hotelObj.list[index1].images
...@@ -243,7 +336,7 @@ ...@@ -243,7 +336,7 @@
imgList.push(JSON.parse(nowImg)) imgList.push(JSON.parse(nowImg))
}, },
// 图片替换 // 图片替换
imgToHuan: function (name, index1, index2) { imgToHuan(name, index1, index2) {
if (name === 'hotel') { if (name === 'hotel') {
document.querySelector("#hotelfile_"+index1+"_"+index2).click() document.querySelector("#hotelfile_"+index1+"_"+index2).click()
} else if (name === 'viewSpot') { } else if (name === 'viewSpot') {
...@@ -256,7 +349,7 @@ ...@@ -256,7 +349,7 @@
this.imgIndex = index2 this.imgIndex = index2
}, },
// 图片选择 // 图片选择
imgToXuan: function (name, index1, index2) { imgToXuan(name, index1, index2) {
if (name === 'hotel') { if (name === 'hotel') {
this.choseType = 1; this.choseType = 1;
this.queryItem.queryName = this.hotelObj.list[index1].name; this.queryItem.queryName = this.hotelObj.list[index1].name;
...@@ -277,7 +370,7 @@ ...@@ -277,7 +370,7 @@
this.imgIndex = index2 this.imgIndex = index2
}, },
// 图片删除 // 图片删除
imgToDelete: function (name, index1, index2) { imgToDelete(name, index1, index2) {
let imgList = []; let imgList = [];
if (name === 'hotel') { if (name === 'hotel') {
imgList = this.hotelObj.list[index1].images imgList = this.hotelObj.list[index1].images
...@@ -290,7 +383,7 @@ ...@@ -290,7 +383,7 @@
imgList.splice(index2,1) imgList.splice(index2,1)
}, },
// 版块顺序上移 // 版块顺序上移
bolckToPreY: function (name, index1, index2) { bolckToPreY(name, index1, index2) {
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -306,7 +399,7 @@ ...@@ -306,7 +399,7 @@
this.$set(blockList, index1, JSON.parse(preBlock)) this.$set(blockList, index1, JSON.parse(preBlock))
}, },
// 版块顺序下移 // 版块顺序下移
bolckToNextY: function (name, index1, index2) { bolckToNextY(name, index1, index2) {
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -322,7 +415,7 @@ ...@@ -322,7 +415,7 @@
this.$set(blockList, index1+1, JSON.parse(nowBlock)) this.$set(blockList, index1+1, JSON.parse(nowBlock))
}, },
// 版块顺序置顶 // 版块顺序置顶
bolckToPreZ: function (name, index1, index2) { bolckToPreZ(name, index1, index2) {
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -337,7 +430,7 @@ ...@@ -337,7 +430,7 @@
blockList.splice(0,0,JSON.parse(nowBlock)) blockList.splice(0,0,JSON.parse(nowBlock))
}, },
// 版块顺序置底 // 版块顺序置底
bolckToNextZ: function (name, index1, index2) { bolckToNextZ(name, index1, index2) {
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -352,7 +445,7 @@ ...@@ -352,7 +445,7 @@
blockList.push(JSON.parse(nowBlock)) blockList.push(JSON.parse(nowBlock))
}, },
// 版块删除 // 版块删除
bolckToDelete: function (name, index1, index2) { bolckToDelete(name, index1, index2) {
let blockList = []; let blockList = [];
if (name === 'hotel') { if (name === 'hotel') {
blockList = this.hotelObj.list blockList = this.hotelObj.list
...@@ -365,7 +458,7 @@ ...@@ -365,7 +458,7 @@
blockList.splice(index1,1); blockList.splice(index1,1);
this.pageCount(name) this.pageCount(name)
}, },
pageCount: function (type) { pageCount(type) {
if (type === 'hotel') { if (type === 'hotel') {
if (this.hotelObj.list.length!==0) { if (this.hotelObj.list.length!==0) {
this.hotelObj.pageList = []; this.hotelObj.pageList = [];
...@@ -445,10 +538,7 @@ ...@@ -445,10 +538,7 @@
padding: 0 0 0 83px; padding: 0 0 0 83px;
} }
.featureHome-text .edit_div{ .featureHome-text .edit_div{
/* height: 66px;
overflow: hidden; */
/* text-overflow: ellipsis; */
/* white-space: nowrap; */
} }
.featureHome-text-title{ .featureHome-text-title{
height: 80px; height: 80px;
...@@ -470,8 +560,6 @@ ...@@ -470,8 +560,6 @@
border: 2px solid #CC0066; border: 2px solid #CC0066;
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
/* text-overflow: ellipsis; */
/* white-space: nowrap; */
padding: 8px 14px; padding: 8px 14px;
} }
.featureHome-text-box .edit_div{ .featureHome-text-box .edit_div{
...@@ -519,15 +607,19 @@ ...@@ -519,15 +607,19 @@
background: #CC0066; background: #CC0066;
bottom: 267px; bottom: 267px;
right: 339px; right: 339px;
padding: 47px 0 47px 58px;
} }
.featureHome-left-two .edit_div{ .featureHome-left-two .edit_div{
height: 540px;
overflow: hidden;
font-size: 45px; font-size: 45px;
font-family: FZCuSong-B09S; font-family: FZCuSong-B09S;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
padding: 47px 0 47px 58px;
} }
.featureHome-left-three{ .featureHome-left-three{
height: 167px;
overflow: hidden;
left: 85px; left: 85px;
right: 338px; right: 338px;
top: 1368px; top: 1368px;
...@@ -561,10 +653,14 @@ ...@@ -561,10 +653,14 @@
opacity: 0.1; opacity: 0.1;
} }
.featureHome-right-one{ .featureHome-right-one{
height: 790px;
overflow: hidden;
right: 256px; right: 256px;
bottom: 53px; bottom: 53px;
} }
.featureHome-right-two{ .featureHome-right-two{
height: 632px;
overflow: hidden;
top: 564px; top: 564px;
right: 181px; right: 181px;
} }
...@@ -585,10 +681,14 @@ ...@@ -585,10 +681,14 @@
color: #2A2A2A; color: #2A2A2A;
} }
.featureHome-three-textOne{ .featureHome-three-textOne{
height: 600px;
overflow: hidden;
top: 93px; top: 93px;
left: 24px; left: 24px;
} }
.featureHome-three-textTwo{ .featureHome-three-textTwo{
height: 650px;
overflow: hidden;
top: 22px; top: 22px;
right: 31px; right: 31px;
} }
......
<template> <template>
<div id="newFeatureBox"> <div id="newFeatureBox3">
<!-- UpgradedVersion-introduceBj UpgradedVersion-otherBj --> <!-- UpgradedVersion-introduceBj 介绍、宿 UpgradedVersion-otherBj 详情、食、景 -->
<div class="UpgradedVersion-box UpgradedVersion-homebj relative"> <div class="UpgradedVersion-box UpgradedVersion-homebj relative">
<!-- logo --> <!-- logo -->
<Header></Header> <Header></Header>
...@@ -95,4 +95,7 @@ ...@@ -95,4 +95,7 @@
.otherJourney-footer .otherJourney-introduceFooter{ .otherJourney-footer .otherJourney-introduceFooter{
background: #CC0066; background: #CC0066;
} }
img{
pointer-events: none;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment