Commit be0e0360 authored by zhengke's avatar zhengke

修改

parent 8c10ec5d
<style> <style>
.scenicSpotList .clearfix:after { .domesticScenic .clearfix:after {
content: "\0020"; content: "\0020";
display: block; display: block;
height: 0; height: 0;
clear: both; clear: both;
} }
.scenicSpotList .hotelResource { .domesticScenic .hotelResource {
width: 100%; width: 100%;
min-height: 500px; min-height: 500px;
margin-top: 20px; margin-top: 20px;
} }
.scenicSpotList .resourceList { .domesticScenic .resourceList {
width: 215px; width: 215px;
background-color: #fff; background-color: #fff;
border: 1px dashed #ededed; border: 1px dashed #ededed;
...@@ -23,18 +23,18 @@ ...@@ -23,18 +23,18 @@
float: left; float: left;
} }
.scenicSpotList .resourceList:hover { .domesticScenic .resourceList:hover {
box-shadow: 0px 0px 20px rgba(191, 191, 191, 1); box-shadow: 0px 0px 20px rgba(191, 191, 191, 1);
transition: all linear 0.5s; transition: all linear 0.5s;
} }
.scenicSpotList .reTopInfo { .domesticScenic .reTopInfo {
width: 100%; width: 100%;
height: 123px; height: 123px;
position: relative; position: relative;
} }
.scenicSpotList .reTopInfo img { .domesticScenic .reTopInfo img {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
border-top-right-radius: 4px; border-top-right-radius: 4px;
} }
.scenicSpotList .resTypeList { .domesticScenic .resTypeList {
position: absolute; position: absolute;
top: 10px; top: 10px;
left: 10px; left: 10px;
} }
.scenicSpotList .resTypeList span { .domesticScenic .resTypeList span {
display: inline-block; display: inline-block;
padding: 1px 5px; padding: 1px 5px;
border-radius: 10px; border-radius: 10px;
...@@ -57,39 +57,39 @@ ...@@ -57,39 +57,39 @@
margin-right: 10px; margin-right: 10px;
} }
.scenicSpotList .L1 { .domesticScenic .L1 {
background-color: #e95252; background-color: #e95252;
} }
.scenicSpotList .L2 { .domesticScenic .L2 {
background-color: #47bf8c; background-color: #47bf8c;
} }
.scenicSpotList .L3 { .domesticScenic .L3 {
background-color: #2aaef2; background-color: #2aaef2;
} }
.scenicSpotList .L4 { .domesticScenic .L4 {
background-color: #9cf; background-color: #9cf;
} }
.scenicSpotList .L5 { .domesticScenic .L5 {
background-color: #00c6ff; background-color: #00c6ff;
margin-top: 5px; margin-top: 5px;
} }
.scenicSpotList .starSu { .domesticScenic .starSu {
position: absolute; position: absolute;
bottom: 8px; bottom: 8px;
right: 10px; right: 10px;
display: flex; display: flex;
} }
.scenicSpotList .starSu .star { .domesticScenic .starSu .star {
margin-left: 5px; margin-left: 5px;
} }
.scenicSpotList .sushe { .domesticScenic .sushe {
background-color: #ffc800; background-color: #ffc800;
display: inline-block; display: inline-block;
padding: 1px 5px; padding: 1px 5px;
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
color: #fff; color: #fff;
} }
.scenicSpotList .hotelTitle { .domesticScenic .hotelTitle {
margin: 20px 16px 0 16px; margin: 20px 16px 0 16px;
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
...@@ -107,12 +107,12 @@ ...@@ -107,12 +107,12 @@
white-space: nowrap; white-space: nowrap;
} }
.scenicSpotList .brandList i { .domesticScenic .brandList i {
position: relative; position: relative;
top: 2px; top: 2px;
} }
.scenicSpotList .brand { .domesticScenic .brand {
float: left; float: left;
width: 49%; width: 49%;
overflow: hidden; overflow: hidden;
...@@ -121,23 +121,19 @@ ...@@ -121,23 +121,19 @@
text-align: center; text-align: center;
} }
.scenicSpotList .dayNum { .domesticScenic .dayNum {
float: right; float: right;
text-align: center; text-align: center;
width: 50%; width: 50%;
} }
.scenicSpotList .iconfont { .domesticScenic .dieline {
margin-right: 5px;
}
.scenicSpotList .dieline {
color: #2aaef2; color: #2aaef2;
font-size: 14px; font-size: 14px;
top: 1px !important; top: 1px !important;
} }
.scenicSpotList .AddressInner { .domesticScenic .AddressInner {
float: right; float: right;
width: 160px; width: 160px;
height: 18px; height: 18px;
...@@ -148,12 +144,12 @@ ...@@ -148,12 +144,12 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.scenicSpotList .btnList { .domesticScenic .btnList {
padding: 10px 0 20px 0; padding: 10px 0 20px 0;
text-align: center; text-align: center;
} }
.scenicSpotList .hotelBtn { .domesticScenic .hotelBtn {
width: 60px; width: 60px;
height: 28px; height: 28px;
background: #f76f6f; background: #f76f6f;
...@@ -162,11 +158,11 @@ ...@@ -162,11 +158,11 @@
cursor: pointer; cursor: pointer;
} }
.scenicSpotList .w150 .el-input { .domesticScenic .w150 .el-input {
width: 150px !important; width: 150px !important;
} }
.scenicSpotList .SupportCount { .domesticScenic .SupportCount {
color: #4bca81; color: #4bca81;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
...@@ -174,7 +170,7 @@ ...@@ -174,7 +170,7 @@
display: inline-block; display: inline-block;
} }
.scenicSpotList .dayNumber { .domesticScenic .dayNumber {
color: #2aaef2; color: #2aaef2;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
...@@ -182,7 +178,7 @@ ...@@ -182,7 +178,7 @@
display: inline-block; display: inline-block;
} }
.scenicSpotList .line { .domesticScenic .line {
float: left; float: left;
width: 1px; width: 1px;
height: 35px; height: 35px;
...@@ -190,7 +186,7 @@ ...@@ -190,7 +186,7 @@
margin-top: 6px; margin-top: 6px;
} }
.scenicSpotList .foodList { .domesticScenic .foodList {
display: inline-block; display: inline-block;
padding: 1px 5px; padding: 1px 5px;
background-color: #ff9c00; background-color: #ff9c00;
...@@ -199,27 +195,27 @@ ...@@ -199,27 +195,27 @@
border-radius: 2px; border-radius: 2px;
} }
.scenicSpotList .foodList:last-child { .domesticScenic .foodList:last-child {
margin-right: 0; margin-right: 0;
} }
.scenicSpotList .delScien { .domesticScenic .delScien {
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 10px; top: 10px;
display: none; display: none;
} }
.scenicSpotList .delScien:hover { .domesticScenic .delScien:hover {
color: #f76f6f; color: #f76f6f;
cursor: pointer; cursor: pointer;
} }
.scenicSpotList .resourceList:hover .delScien { .domesticScenic .resourceList:hover .delScien {
display: block; display: block;
} }
.scenicSpotList .comCursorUrl { .domesticScenic .comCursorUrl {
cursor: pointer; cursor: pointer;
} }
...@@ -227,7 +223,7 @@ ...@@ -227,7 +223,7 @@
</style> </style>
<template> <template>
<div class="flexOne scenicSpotList"> <div class="flexOne domesticScenic">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <li>
...@@ -240,21 +236,17 @@ ...@@ -240,21 +236,17 @@
<li> <li>
<span> <span>
<em>{{$t('system.quety_area')}}</em> <em>{{$t('system.quety_area')}}</em>
<!-- <el-select v-model="msg.QCountry" clearable class="w150" filterable <el-select v-model="msg.QProvince" class="w150" clearable filterable
@change="getProvinceList(msg.QCountry,1)" :placeholder="$t('hotel.hotel_country')"> @change="getProvinceList(msg.QProvince,2)" :placeholder="$t('hotel.hotel_province')">
<el-option v-for="item in countryList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> -->
<el-select v-model="msg.QProvince" class="w150" clearable filterable @change="getProvinceList(msg.QProvince,2)"
:placeholder="$t('hotel.hotel_province')">
<el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
<el-select v-model="msg.QCity" class="w150" clearable filterable @change="getProvinceList(msg.QCity,3)" <el-select v-model="msg.QCity" class="w150" clearable filterable @change="getProvinceList(msg.QCity,3)"
:placeholder="$t('hotel.hotel_city')"> :placeholder="$t('hotel.hotel_city')">
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
<el-select v-model="msg.QDistrict" class="w150" clearable filterable :placeholder="$t('hotel.hotel_area')"> <!-- <el-select v-model="msg.QDistrict" class="w150" clearable filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for="item in district" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in district" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select> -->
</span> </span>
</li> </li>
<li> <li>
...@@ -266,11 +258,10 @@ ...@@ -266,11 +258,10 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li style="display:none;">
<span> <span>
<em>{{$t('ground.menpiaozhongl')}}</em> <em>{{$t('ground.menpiaozhongl')}}</em>
<el-select v-model="msg.IsFree" class='multiple_input w210' :placeholder="$t('pub.pleaseSel')"> <el-select v-model="msg.IsFree" class='multiple_input w210' :placeholder="$t('pub.pleaseSel')">
<!-- <el-option :label="$t('pub.unlimitedSel')" :value='-1'></el-option> -->
<el-option v-for="item in IsFreeList" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in IsFreeList" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</el-select> </el-select>
...@@ -294,7 +285,56 @@ ...@@ -294,7 +285,56 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="hotelResource clearfix" v-loading="loading"> <el-table :data="tableData" tooltip-effect="dark" style="width: 100%;min-height:450px;" v-loading="loading">
<el-table-column prop="Name" label="景点名称">
<template slot-scope="scope">
<div style="display:flex;align-items:center;">
<div>
<img v-if="!scope.row.PicPath" src="../../assets/img/bg_c3@3x.png" style="width:60px;height:45px;">
<img v-else :src="scope.row.PicPath" style="width:60px;height:45px;" />
</div>
<div style="margin-left:5px;">{{scope.row.Name}}</div>
</div>
</template>
</el-table-column>
<el-table-column prop="OpenPlatformList" label="开放平台">
<template slot-scope="scope">
<el-tag v-for="(item,index) in scope.row.OpenPlatformList" v-if="item.Name" size="small" style="margin:0 5px 5px 0;" :key="index">{{item.Name}}</el-tag>
</template>
</el-table-column>
<el-table-column label="地址">
<template slot-scope="scope">
{{scope.row.ProvinceName}}
<template v-if="scope.row.CityName&&scope.row.CityName!=''">
-{{scope.row.CityName}}
</template>
<template v-if="scope.row.DistrictName&&scope.row.DistrictName!=''">
-{{scope.row.DistrictName}}
</template>
</template>
</el-table-column>
<el-table-column prop="UpdateName" label="修改人">
</el-table-column>
<el-table-column prop="UpdateTimeStr" label="修改时间">
</el-table-column>
<el-table-column label="操作" width="150">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="修改" placement="top">
<el-button @click="goUrl('domesticScenicSpotInfoManage',scope.row.ID)" type="primary" icon="el-icon-edit" circle>
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="门票" placement="top">
<el-button @click="goUrlT('domesticTicketManagement',item.ID)" type="success"
icon="iconfont icon-menpiao1" circle></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<el-button @click="isdelete(scope.row.ID)" style="font-size:12px;" type="danger"
icon="iconfont icon-remove" circle></el-button>
</el-tooltip>
</template>
</el-table-column>
</el-table>
<!-- <div class="hotelResource clearfix" v-loading="loading">
<div class="resourceList" v-for="item in tableData" :key="item.subCode"> <div class="resourceList" v-for="item in tableData" :key="item.subCode">
<div class="reTopInfo" :class="{'comCursorUrl':item.Url}" @click="OpenNewUrl(item.Url)"> <div class="reTopInfo" :class="{'comCursorUrl':item.Url}" @click="OpenNewUrl(item.Url)">
<img v-if="!item.PicPath" src="../../assets/img/bg_c3@3x.png"> <img v-if="!item.PicPath" src="../../assets/img/bg_c3@3x.png">
...@@ -330,13 +370,14 @@ ...@@ -330,13 +370,14 @@
</div> </div>
</el-tooltip> </el-tooltip>
<div class="btnList"> <div class="btnList">
<button @click="goUrl('domesticScenicSpotInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button> <button @click="goUrl('domesticScenicSpotInfoManage',item.ID)"
class="hotelBtn">{{$t('pub.updateMsg')}}</button>
<button @click="CopyScenic(item.ID)" class="hotelBtn">复制</button> <button @click="CopyScenic(item.ID)" class="hotelBtn">复制</button>
<button @click="goUrlT('domesticTicketManagement',item.ID)" class="hotelBtn">{{$t('scen.sc_piao')}}</button> <button @click="goUrlT('domesticTicketManagement',item.ID)" class="hotelBtn">{{$t('scen.sc_piao')}}</button>
</div> </div>
</div> </div>
<div class="noData" v-show="noData">{{$t('system.content_noData')}}</div> <div class="noData" v-show="noData">{{$t('system.content_noData')}}</div>
</div> </div> -->
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage"
:page-size="msg.pageSize" layout="total,prev, pager, next, jumper" :total="msg.total"></el-pagination> :page-size="msg.pageSize" layout="total,prev, pager, next, jumper" :total="msg.total"></el-pagination>
</div> </div>
...@@ -350,7 +391,7 @@ ...@@ -350,7 +391,7 @@
cityList: "", cityList: "",
district: "", district: "",
Ids: [], Ids: [],
tableData: "", tableData: [],
noData: false, noData: false,
deleteID: "", deleteID: "",
status: [{ status: [{
...@@ -440,20 +481,20 @@ ...@@ -440,20 +481,20 @@
this.msg.QDistrict = ""; this.msg.QDistrict = "";
} }
// if (this.msg.QCountry !== "") { // if (this.msg.QCountry !== "") {
this.apipost( this.apipost(
"dict_post_Destination_GetChildList", "dict_post_Destination_GetChildList",
msg, msg,
res => { res => {
if (type == 1) { if (type == 1) {
this.provinceList = res.data.data; this.provinceList = res.data.data;
} else if (type == 2) { } else if (type == 2) {
this.cityList = res.data.data; this.cityList = res.data.data;
} else if (type == 3) { } else if (type == 3) {
this.district = res.data.data; this.district = res.data.data;
} }
}, },
err => {} err => {}
); );
// } // }
}, },
//获取国家 //获取国家
...@@ -473,12 +514,12 @@ ...@@ -473,12 +514,12 @@
"ticketcoupons_post_Remove", { "ticketcoupons_post_Remove", {
ID: ID ID: ID
}, },
response => { res => {
if (response.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success(that.$$t('tips.shanchuchenggong')); that.Success(res.data.message);
that.selectResource(); that.selectResource();
} else { } else {
that.Error(response.data.message); that.Error(res.data.message);
} }
}, },
null null
...@@ -582,7 +623,7 @@ ...@@ -582,7 +623,7 @@
mounted() { mounted() {
this.getEmployeeList(); this.getEmployeeList();
// this.getCountryList(); // this.getCountryList();
this.getProvinceList(2,1);//获取国内省份 this.getProvinceList(2, 1); //获取国内省份
}, },
created() { created() {
if (this.$route.query.hasOwnProperty("cache")) { if (this.$route.query.hasOwnProperty("cache")) {
...@@ -590,18 +631,18 @@ ...@@ -590,18 +631,18 @@
this.msg = this.$store.state.pageCondition; this.msg = this.$store.state.pageCondition;
} }
} }
if(this.$route.query.StatisticsSTime){ if (this.$route.query.StatisticsSTime) {
this.msg.StatisticsSTime=this.$route.query.StatisticsSTime this.msg.StatisticsSTime = this.$route.query.StatisticsSTime
} }
if(this.$route.query.StatisticsETime){ if (this.$route.query.StatisticsETime) {
this.msg.StatisticsETime=this.$route.query.StatisticsETime this.msg.StatisticsETime = this.$route.query.StatisticsETime
} }
if(this.$route.query.type){ if (this.$route.query.type) {
if(this.$route.query.type==1){ if (this.$route.query.type == 1) {
this.msg.CreateBy =this.$route.query.EmployeeId; this.msg.CreateBy = this.$route.query.EmployeeId;
} }
if(this.$route.query.type==2){ if (this.$route.query.type == 2) {
this.msg.UpdateBy =this.$route.query.EmployeeId; this.msg.UpdateBy = this.$route.query.EmployeeId;
} }
} }
var id = this.$route.query.ID; var id = this.$route.query.ID;
...@@ -609,7 +650,7 @@ ...@@ -609,7 +650,7 @@
this.msg.ID = id; this.msg.ID = id;
} }
this.selectResource(); this.selectResource();
} }
}; };
......
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