Commit 30a7e1da authored by 华国豪's avatar 华国豪 🙄
parents 4e736e6f d6c041be
...@@ -821,6 +821,9 @@ export default { ...@@ -821,6 +821,9 @@ export default {
let that=this let that=this
this.$router.beforeEach((to, from, next) => { this.$router.beforeEach((to, from, next) => {
console.log("to.query.blank && to.query.blank=='y'",to.query) console.log("to.query.blank && to.query.blank=='y'",to.query)
if(to.path=="/ModifyVisaProduct"){
this.reloadpage();
}
if(that.openMode==1){ if(that.openMode==1){
let isThreeNav=false let isThreeNav=false
to.matched.forEach(x=>{ to.matched.forEach(x=>{
......
...@@ -506,7 +506,7 @@ ...@@ -506,7 +506,7 @@
<div class="TNcontent" v-else> <div class="TNcontent" v-else>
<div class="EtNodata">暂无数据</div> <div class="EtNodata">暂无数据</div>
</div> </div>
<span class="defaultAccount" slot="reference">默认叙述</span> <span class="defaultAccount" slot="reference" v-if="defaultA">默认叙述</span>
</el-popover> </el-popover>
</span> </span>
</div> </div>
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
Quill.register(Font, true); Quill.register(Font, true);
export default { export default {
name: 'edit', name: 'edit',
props: ["editValue", "toolbarShow", "referenceList", "placeholder"], props: ["editValue", "toolbarShow", "referenceList", "placeholder","defaultAccount"],
data() { data() {
return { return {
myToolbar: '', myToolbar: '',
...@@ -542,6 +542,7 @@ ...@@ -542,6 +542,7 @@
myImageUploader: '', myImageUploader: '',
quillValue: this.editValue, quillValue: this.editValue,
popvisible: false, popvisible: false,
defaultA:true,
//字体样式 //字体样式
fonts: [ fonts: [
"SimSun", "SimSun",
...@@ -591,6 +592,12 @@ ...@@ -591,6 +592,12 @@
} }
}, },
created() { created() {
if(this.defaultAccount==undefined){
this.defaultA=true;
}else{
this.defaultA=this.defaultAccount;
}
this.myToolbar = "toolbar_" + this.guid(); this.myToolbar = "toolbar_" + this.guid();
this.editorOption.placeholder = this.placeholder; this.editorOption.placeholder = this.placeholder;
this.myQuillEditor = "editer_" + this.guid(); this.myQuillEditor = "editer_" + this.guid();
......
...@@ -161,10 +161,13 @@ export default { ...@@ -161,10 +161,13 @@ export default {
InvoiceApplyState: 1, InvoiceApplyState: 1,
CustomerId: 0, CustomerId: 0,
IsDefaultInfo: 1, IsDefaultInfo: 1,
<<<<<<< HEAD
=======
Address: '', Address: '',
CompanyPhone: '', CompanyPhone: '',
OpeningBank: '', OpeningBank: '',
BankNo: '', BankNo: '',
>>>>>>> 8e6bb64928beef82a7e4f060b1248eaebd93e197
}, },
DepartName: "", DepartName: "",
emName: "", emName: "",
...@@ -192,10 +195,13 @@ export default { ...@@ -192,10 +195,13 @@ export default {
Addiis: function () { // 新增接口 Addiis: function () { // 新增接口
if (this.msg.CompanyName === '') return this.$message.error('请填写公司名称!') if (this.msg.CompanyName === '') return this.$message.error('请填写公司名称!')
if (this.msg.DutyParagraph === '') return this.$message.error('请填写税号!') if (this.msg.DutyParagraph === '') return this.$message.error('请填写税号!')
<<<<<<< HEAD
=======
if (this.msg.Address === '') return this.$message.error('请填写地址!') if (this.msg.Address === '') return this.$message.error('请填写地址!')
if (this.msg.CompanyPhone === '') return this.$message.error('请填写电话!') if (this.msg.CompanyPhone === '') return this.$message.error('请填写电话!')
if (this.msg.OpeningBank === '') return this.$message.error('请填写开户行!') if (this.msg.OpeningBank === '') return this.$message.error('请填写开户行!')
if (this.msg.BankNo === '') return this.$message.error('请填写账号!') if (this.msg.BankNo === '') return this.$message.error('请填写账号!')
>>>>>>> 8e6bb64928beef82a7e4f060b1248eaebd93e197
if (this.checked) { if (this.checked) {
this.msg.IsDefaultInfo = 1 this.msg.IsDefaultInfo = 1
} else { } else {
......
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
editShow: false, editShow: false,
msg: { msg: {
Hotel: '0', Hotel: '0',
Supplier: '0', Supplier: 30,
Inventory: '0', Inventory: '0',
B2BPrice: '0', B2BPrice: '0',
B2CPrice: '0', B2CPrice: '0',
...@@ -541,7 +541,7 @@ ...@@ -541,7 +541,7 @@
}, },
msg2: { msg2: {
Hotel: '0', Hotel: '0',
Supplier: '0', Supplier: 30,
Inventory: '0', Inventory: '0',
B2BPrice: '0', B2BPrice: '0',
B2CPrice: '0', B2CPrice: '0',
...@@ -868,7 +868,7 @@ ...@@ -868,7 +868,7 @@
}, res => { }, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let data = res.data.data; let data = res.data.data;
this.msg.Supplier = data.Supplier === 0 ? '0' : data.Supplier this.msg.Supplier = data.Supplier === 0 ? 30 : data.Supplier
this.msg.Inventory = data.Inventory this.msg.Inventory = data.Inventory
this.msg.B2BPrice = data.B2BPrice this.msg.B2BPrice = data.B2BPrice
this.msg.B2CPrice = data.B2CPrice this.msg.B2CPrice = data.B2CPrice
......
...@@ -145,12 +145,12 @@ ...@@ -145,12 +145,12 @@
</el-row> </el-row>
<div class="Hq_addDetail"> <div class="Hq_addDetail">
<el-row> <el-row>
<el-col :span="9"> <el-col :span="12">
<el-form-item label="说明"> <el-form-item label="说明">
<el-input type="textarea" v-model="postMsg.TipContent" maxlength="200"></el-input> <quill-editor class="w595" :options="editorOption" v-model="postMsg.TipContent"></quill-editor>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="15"> <el-col :span="12">
<input type="button" class="normalBtn" value="保存" @click="SaveHotelTip()" /> <input type="button" class="normalBtn" value="保存" @click="SaveHotelTip()" />
</el-col> </el-col>
</el-row> </el-row>
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
<template v-if="queryMsg.total>0"> <template v-if="queryMsg.total>0">
<tr v-for="(item,index) in HotelTipList"> <tr v-for="(item,index) in HotelTipList">
<td>{{item.Id}}</td> <td>{{item.Id}}</td>
<td>{{item.TipContent}}</td> <td><p style="text-align:left;padding-left:5px;" v-html="item.TipContent"></p></td>
<td>{{item.CreateByName}}</td> <td>{{item.CreateByName}}</td>
<td>{{item.CreateTimeStr}}</td> <td>{{item.CreateTimeStr}}</td>
<td> <td>
...@@ -192,8 +192,6 @@ ...@@ -192,8 +192,6 @@
</div> </div>
<el-dialog custom-class="w800" title="信息" :visible.sync="showHQinfo" center> <el-dialog custom-class="w800" title="信息" :visible.sync="showHQinfo" center>
<el-form> <el-form>
<div class="HQ_miaoshu">1.酒店库存系统已开放使用,欢迎前往参观选购!! </div>
<div class="HQ_miaoshu">2.库存酒店皆为时时更新,请上传人员细心上传!!</div>
<table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable" style="width:100%;"> <table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable" style="width:100%;">
<tr> <tr>
<th>编号</th> <th>编号</th>
...@@ -204,7 +202,7 @@ ...@@ -204,7 +202,7 @@
<template v-if="queryMsg.total>0"> <template v-if="queryMsg.total>0">
<tr v-for="(item,index) in HotelTipList"> <tr v-for="(item,index) in HotelTipList">
<td>{{item.Id}}</td> <td>{{item.Id}}</td>
<td>{{item.TipContent}}</td> <td><p style="text-align:left;padding-left:5px;" v-html="item.TipContent"></p></td>
<td>{{item.CreateByName}}</td> <td>{{item.CreateByName}}</td>
<td>{{item.CreateTimeStr}}</td> <td>{{item.CreateTimeStr}}</td>
</tr> </tr>
...@@ -282,7 +280,16 @@ ...@@ -282,7 +280,16 @@
let startTime = new Date(this.queryMsg.QEndDate) let startTime = new Date(this.queryMsg.QEndDate)
return startTime.getTime() >= time.getTime() return startTime.getTime() >= time.getTime()
} }
} },
editorOption:{
placeholder: '请输入内容',
modules:{
toolbar:[
['bold', 'italic', 'underline', 'strike'], // toggled buttons
['blockquote', 'code-block','align']
]
}
},
}; };
}, },
methods: { methods: {
...@@ -518,6 +525,10 @@ ...@@ -518,6 +525,10 @@
text-decoration: underline; text-decoration: underline;
} }
.HqCom_bottom .ql-container
{
min-height: 100px;
}
.classHong { .classHong {
background-color: rgb(255, 55, 55); background-color: rgb(255, 55, 55);
} }
......
<template>
<div>
<div class="query-box" style="border-bottom: none;">
<ul>
<li>
<span>
<em>酒店</em>
<el-select v-model="msg.HotelId" :placeholder="$t('pub.pleaseSel')" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option v-for="item in HotelList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</span>
</li>
<li><span><em>日期</em>
<el-date-picker v-model='msg.StartDate' class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker>
-
<el-date-picker v-model='msg.EndDate' class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker>
</span>
</li>
<li>
<input type="button" class="normalBtn" value="查询" @click="getList()" />
</li>
</ul>
</div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle">
<table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList" v-if="isShow">
<tr>
<th width="300">酒店名称</th>
<th width="80"></th>
<th v-for="item in dataList[0].subList">
{{getDateList(item.DateStr)}}
</th>
</tr>
<tr>
<th></th>
<th></th>
<th v-for="item in dataList[0].subList">
{{getWeek(item.DateStr)}}
</th>
</tr>
<tr v-for="item in dataList">
<td>
<div style="min-width:300px; text-align:left;padding-left:5px;">{{item.HotelName}}</div>
</td>
<td>
<div class="Hotel_kong" style="min-width:60px;">空房</div>
<div class="Hotel_kong">超定</div>
</td>
<td v-for="subItem in item.subList">
<div class="Hotel_kong Com_hoteldiv" :class="{'noKucun':subItem.Status==0}">{{subItem.RemainingInventory}}</div>
<div class="Hotel_kong Com_hoteldiv">
<span v-if="subItem.UseInventory-subItem.Inventory>0" style="color:red;">{{subItem.UseInventory-subItem.Inventory}}</span>
</div>
</td>
</tr>
</table>
</div>
</div>
</template>
<script>
export default {
data() {
return {
msg:{
HotelId:0,
StartDate: new Date().Format("yyyy-MM-dd"),
EndDate: this.setEdate(),
},
HotelList: [],
dataList: [],
isShow:false,
};
},
methods: {
getList() {
if (this.msg.StartDate == null) {
this.msg.StartDate = new Date().Format("yyyy-MM-dd")
}
if (this.msg.EndDate == null) {
this.msg.EndDate = this.setEdate()
}
this.apipost("dict_post_HotelOffer_GetHotelStatics",this.msg,
res => {
if (res.data.resultCode == 1) {
this.dataList = res.data.data;
this.isShow=true;
console.log(this.dataList,'dataList');
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//获取酒店列表
GetHotelList() {
this.apipost(
"hotel_post_GetHasStockHotelList", {
Country: 651,
IsMoreThanZero: 1
},
res => {
if (res.data.resultCode == 1) {
this.HotelList = res.data.data;
}
},
err => {}
);
},
setEdate(){
return this.addMoth(new Date().Format("yyyy-MM-dd"), 1)
},
addMoth(d, m) {
let ds = d.split('-'),
_d = ds[2] - 0;
let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0);
let max = nextM.getDate();
d = new Date(ds[0], ds[1] - 1 + m, _d > max ? max : _d);
return d.toLocaleDateString().match(/\d+/g).join('-')
},
//格式化返回显示日期
getDateList(dateStr){
var str = dateStr.split('-');
return str[1]+'/'+str[2];
},
//获取星期几
getWeek(dateStr){
var weekDay = ["天", "一", "二", "三", "四", "五", "六"];
var myDate = new Date(Date.parse(dateStr));
return weekDay[myDate.getDay()]
}
},
mounted() {
this.GetHotelList();
this.getList();
}
};
</script>
<style>
.HouseTypeList {
background: #ccc;
width:100%;
}
.Com_hoteldiv{
min-width: 40px;
}
.noKucun{
background-color: black;
}
.Hotel_kong{
width:100%;
height:35px;
line-height: 35px;
border-bottom:1px solid #d1d1d1;
}
.Hotel_kong:last-child{
border:0;
}
.HouseTypeList tr th {
background: #e6e6e6;
height: 35px;
font-size: 12px;
color: #333;
}
.HouseTypeList tr {
background: #fff;
text-align: center;
height: 35px;
}
.HouseTypeList tr td {
font-size: 12px;
}
</style>
...@@ -2,25 +2,24 @@ ...@@ -2,25 +2,24 @@
._PrintPage{ ._PrintPage{
width: 100%; width: 100%;
background-color: white; background-color: white;
/* position: absolute; */ position: absolute;
padding-top: 20px; padding-top: 20px;
} }
._PrintPage_box{ ._PrintPage_box{
width: 1000px; width: 1000px;
/* margin-left: 160px; */
margin: 0 auto; margin: 0 auto;
padding: 0 !important; padding: 0 !important;
} }
._border_1{ ._border_1{
border: 1px solid #333333; border: 1px solid #333333;
margin-bottom:30px; margin-bottom:30px;
page-break-after: always; /* page-break-after: always; */
} }
@media print { /* @media print {
._PrintPage{ ._PrintPage{
margin-left:-145px; margin-left:-145px;
} }
} } */
</style> </style>
<template v-loading="loading"> <template v-loading="loading">
<div class="_PrintPage"> <div class="_PrintPage">
......
...@@ -519,7 +519,6 @@ export default { ...@@ -519,7 +519,6 @@ export default {
}) })
}, },
addFinancialOrder () { // 新增单据方法 addFinancialOrder () { // 新增单据方法
let userInfo =[]; let userInfo =[];
this.checkList.forEach(check=>{ this.checkList.forEach(check=>{
this.checknameList.forEach(item=>{ this.checknameList.forEach(item=>{
...@@ -528,6 +527,11 @@ export default { ...@@ -528,6 +527,11 @@ export default {
} }
}) })
}) })
if(userInfo.length==0){
this.Error("至少选择一人!");
return;
}
sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo)) sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo))
// this.$store.commit('saveGuestInfo',userInfo) // this.$store.commit('saveGuestInfo',userInfo)
// console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
......
This diff is collapsed.
...@@ -28,14 +28,14 @@ ...@@ -28,14 +28,14 @@
.page_MyCustomer ._mc_edit { .page_MyCustomer ._mc_edit {
overflow: auto; overflow: auto;
display: none; display: none;
position: absolute; position: fixed;
z-index: 50; z-index: 50;
bottom: 0; bottom: 0;
left: 0; left: 50px;
border-top: 3px solid #38425d; border-top: 3px solid #38425d;
background-color: #f9f9f9; background-color: #f9f9f9;
padding: 10px; padding: 10px;
width: 100%; width: calc(100% - 50px);
min-width: 1146px; min-width: 1146px;
} }
.page_MyCustomer .edHeight { .page_MyCustomer .edHeight {
...@@ -291,7 +291,8 @@ ...@@ -291,7 +291,8 @@
</li> </li>
<li> <li>
<button class="hollowFixedBtn" @click="getList()">查询</button> <button class="hollowFixedBtn" @click="getList()">查询</button>
<button class="normalBtn" @click="cancelEdit(),addShow=true" v-if="msg.isFinacial==1">添加</button> <!-- <button class="normalBtn" @click="cancelEdit(),addShow=true" v-if="msg.isFinacial==1">添加</button> -->
<button class="normalBtn" @click="AddVisaProduct" v-if="msg.isFinacial==1">添加</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -370,7 +371,7 @@ ...@@ -370,7 +371,7 @@
</td> </td>
<td class="groupTourOrderIcon"> <td class="groupTourOrderIcon">
<el-button-group> <el-button-group>
<el-tooltip <!-- <el-tooltip
class="item" class="item"
effect="dark" effect="dark"
content="修改" content="修改"
...@@ -383,6 +384,20 @@ ...@@ -383,6 +384,20 @@
icon="iconfont icon-img_bianji_small" icon="iconfont icon-img_bianji_small"
@click="getDetail(item)" @click="getDetail(item)"
></el-button> ></el-button>
</el-tooltip> -->
<el-tooltip
class="item"
effect="dark"
content="修改"
placement="top-start"
v-if="item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type="primary"
style="background:#409EFF; border-color:#409EFF"
icon="iconfont icon-img_bianji_small"
@click="EditVisaProduct(item)"
></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="查看" placement="top-start" v-if="msg.isFinacial==1"> <el-tooltip effect="dark" content="查看" placement="top-start" v-if="msg.isFinacial==1">
<el-button <el-button
...@@ -629,6 +644,27 @@ export default { ...@@ -629,6 +644,27 @@ export default {
}; };
}, },
methods: { methods: {
// 修改签证产品
EditVisaProduct(item){
this.$router.push({
name: "ModifyVisaProduct",
query: {
Id:item.Id,
blank: "y",
tab: "配置签证产品"
}
});
},
// 添加签证产品
AddVisaProduct(){
this.$router.push({
name: "ModifyVisaProduct",
query: {
blank: "y",
tab: "配置签证产品"
}
});
},
saveitem(tcid) { saveitem(tcid) {
this.uploadTCID = tcid; this.uploadTCID = tcid;
}, },
...@@ -736,7 +772,6 @@ export default { ...@@ -736,7 +772,6 @@ export default {
err => {} err => {}
); );
}, },
goUrl(obj) { goUrl(obj) {
this.$router.push({ this.$router.push({
name: "VisaProductOrder", name: "VisaProductOrder",
......
This diff is collapsed.
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<i class="iconfont icon-imessage_top" :class="[hasNewMsg>0&&!IM_bodyIsShow?'animation red':'',IM_bodyIsShow?'red':'']" @click="IM_bodyIsShow=!IM_bodyIsShow"></i> <i class="iconfont icon-imessage_top" :class="[hasNewMsg>0&&!IM_bodyIsShow?'animation red':'',IM_bodyIsShow?'red':'']" @click="IM_bodyIsShow=!IM_bodyIsShow"></i>
<!--<i class="iconfont icon-imessage_top" @click="togglebox($event)"></i>--> <!--<i class="iconfont icon-imessage_top" @click="togglebox($event)"></i>-->
</li> </li>
<li><i class="iconfont icon-banbengengxin" @click="goUrlLog()"></i></li> <li><i class="iconfont icon-help_top"></i></li>
<li> <li>
<el-dropdown trigger="click"> <el-dropdown trigger="click">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
...@@ -574,18 +574,6 @@ ...@@ -574,18 +574,6 @@
<div style="width: 100%; height: 50px;"></div> <div style="width: 100%; height: 50px;"></div>
</div> </div>
</div> </div>
<div class="logsBack" v-if="logsShow">
<div class="updateLogs">
<img src="../assets/img/logsImg.png" alt="" class="logsImg" />
<div class="logsTitle">
{{versionList[0].UpdateTitle}}版本更新
</div>
<div class="inlogs_Content" v-html="versionList[0].UpdateContent">
</div>
<input type="button" value="我知道了" class="normalBtn" style="margin:10px 0 0 155px;" @click="logsShow=false"/>
</div>
</div>
<div class="downmz" v-show="downmz"> <div class="downmz" v-show="downmz">
<div class="top_1"></div> <div class="top_1"></div>
<div style="text-align:center"> <div style="text-align:center">
...@@ -610,7 +598,7 @@ ...@@ -610,7 +598,7 @@
</div> </div>
</div> </div>
<div style="text-align:center;margin-top:20px"> <div style="text-align:center;margin-top:20px">
<span class="khd"><a href="https://reborndev.oss-cn-hangzhou.aliyuncs.com/IM/%E9%BA%A6%E5%AD%90%E5%8A%A9%E6%89%8B.exe">IM客户端下载</a></span> <span class="khd"><a href="http://im.oytour.com/麦子助手.exe">IM客户端下载</a></span>
</div> </div>
<div class="im_bottom"></div> <div class="im_bottom"></div>
</div> </div>
...@@ -620,7 +608,8 @@ ...@@ -620,7 +608,8 @@
</audio> </audio>
</div> </div>
<div class="temDivs"> <div class="temDivs">
<router-view></router-view> <!-- :key="key" -->
<router-view ></router-view>
</div> </div>
...@@ -808,7 +797,7 @@ ...@@ -808,7 +797,7 @@
<div v-show="mazip==0" id="downzip"> <div v-show="mazip==0" id="downzip">
<div> <div>
<div> <div>
<a href="https://reborndev.oss-cn-hangzhou.aliyuncs.com/IM/%E9%BA%A6%E5%AD%90%E5%8A%A9%E6%89%8B.exe"> <a href="http://im.oytour.com/麦子助手.exe">
<img @click="CloseZip" src="../assets/img/mzzip.png" alt=""> <img @click="CloseZip" src="../assets/img/mzzip.png" alt="">
</a> </a>
<img @click="CloseZip" class="close" src="../assets/img/close.png" alt=""> <img @click="CloseZip" class="close" src="../assets/img/close.png" alt="">
...@@ -831,7 +820,6 @@ import emojiObj from "../configs/emoji"; ...@@ -831,7 +820,6 @@ import emojiObj from "../configs/emoji";
import loading from "./commonPage/loading"; import loading from "./commonPage/loading";
import VueDraggableResizable from "vue-draggable-resizable"; import VueDraggableResizable from "vue-draggable-resizable";
import { setInterval, clearInterval } from 'timers'; import { setInterval, clearInterval } from 'timers';
import { version } from 'punycode';
export default { export default {
components: { components: {
ChatList, ChatList,
...@@ -936,9 +924,6 @@ export default { ...@@ -936,9 +924,6 @@ export default {
displayNone: true, displayNone: true,
dialogTitle: "", dialogTitle: "",
outerVisible: false, outerVisible: false,
logsShow:false,
newVersion:'',
versionList:[],
msg: { msg: {
ParentId: 0, ParentId: 0,
MenuStatus: "", MenuStatus: "",
...@@ -1077,6 +1062,9 @@ export default { ...@@ -1077,6 +1062,9 @@ export default {
} }
}, },
computed: { computed: {
key(){
return this.$route.path + Math.random();
},
sysMsgUnread() { sysMsgUnread() {
let temp = this.$store.state.sysMsgUnread; let temp = this.$store.state.sysMsgUnread;
let sysMsgUnread = temp.addFriend || 0; let sysMsgUnread = temp.addFriend || 0;
...@@ -1314,8 +1302,6 @@ export default { ...@@ -1314,8 +1302,6 @@ export default {
this.allPartMsg.RB_Group_Id = this.deleteMsg.groupId = this.likeMsg.groupId = this.addDynamicMsg.rB_GroupId = this.dynamicMsg.groupId = this.allPartMsg.RB_Group_Id = this.deleteMsg.groupId = this.likeMsg.groupId = this.addDynamicMsg.rB_GroupId = this.dynamicMsg.groupId =
UserInfo.RB_Group_id; UserInfo.RB_Group_id;
this.addDynamicMsg.rB_BranchId = UserInfo.RB_Branch_id; this.addDynamicMsg.rB_BranchId = UserInfo.RB_Branch_id;
//获取版本
this.getVersion();
this.getMenu(); this.getMenu();
this.setCheckMenu(); this.setCheckMenu();
...@@ -1323,6 +1309,7 @@ export default { ...@@ -1323,6 +1309,7 @@ export default {
this.getMyDynamic(); this.getMyDynamic();
this.getAboutMeDynamic(); this.getAboutMeDynamic();
this.getWebAllPart(); this.getWebAllPart();
document document
.getElementById("allDynamic") .getElementById("allDynamic")
.addEventListener("scroll", function() { .addEventListener("scroll", function() {
...@@ -3023,10 +3010,6 @@ export default { ...@@ -3023,10 +3010,6 @@ export default {
// this.$router.push({ path: url }); // this.$router.push({ path: url });
// } // }
}, },
goUrlLog(){
console.log('AAAAAAAA');
this.$router.push({ path: 'systemLogs', query:{} });
},
goUrlPayment() { goUrlPayment() {
let eid=this.getLocalStorage().EmployeeId; let eid=this.getLocalStorage().EmployeeId;
this.$router.push({ path: 'empBankAccount', query: { id: eid,type:10,blank:'y' } }); this.$router.push({ path: 'empBankAccount', query: { id: eid,type:10,blank:'y' } });
...@@ -3257,34 +3240,6 @@ export default { ...@@ -3257,34 +3240,6 @@ export default {
this.$message.error(r.data.message); this.$message.error(r.data.message);
} }
},null) },null)
},
//获取版本号
getVersion(){
let msg = {
pageIndex:1,
pageSize:5
}
this.apipost("sysrecord_get_GetPageList",msg,res => {
if (res.data.resultCode == 1) {
this.versionList = res.data.data.pageData;
if(this.versionList.length>0){
let oldVersion = localStorage.version;
this.newVersion = this.versionList[0].UpdateTitle;
if(this.newVersion!=oldVersion){
this.logsShow = true;
localStorage.version = this.newVersion;
}else{
this.logsShow = false;
}
}else{
this.logsShow = false;
}
} else {
this.Error(res.data.message);
}
},
err => {}
);
} }
} }
...@@ -3477,50 +3432,6 @@ export default { ...@@ -3477,50 +3432,6 @@ export default {
box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3);
background-clip: content-box; background-clip: content-box;
} }
.logsBack{
position: fixed;
z-index: 999;
background: rgba(0, 0, 0, 0.2);
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.updateLogs{
position: absolute;
width:400px;
height:400px;
left:50%;
top:50%;
margin-left:-200px;
margin-top:-200px;
border-radius: 4px;
border:1px solid #DCDCDC;
z-index: 9999;
background-color: #fff;
}
.logsTitle{
width:100%;
padding:0 10px;
text-align: center;
color:#333333;
font-size:12px;
margin-top:10px;
font-weight: bold;
}
.inlogs_Content{
width:100%;
padding:0 15px;
height:260px;
overflow: auto;
margin-top:20px;
color:#666666;
font-size:12px;
}
.logsImg{
margin-top:-30px;
margin-left:155px;
}
.myDocumentsLink { .myDocumentsLink {
margin: 25px 0; margin: 25px 0;
} }
......
<style> <style>
.sysLog_Content{ .sysLog_Content {
border-left:2px solid #D2D2D2; border-left: 2px solid #D2D2D2;
margin:40px 0 0 40px; margin: 40px 0 0 40px;
} }
.sysLog_List{
position: relative; .sysLog_List {
margin:0 0 20px 16px; position: relative;
} margin: 0 0 20px 16px;
.sysCircle{ }
display: inline-block;
width:13px; .sysCircle {
height:13px; display: inline-block;
background-color: #36AF84; width: 13px;
border:2px solid #58D2A7; height: 13px;
border-radius:50%; background-color: #36AF84;
margin-right:10px; border: 2px solid #58D2A7;
position: relative; border-radius: 50%;
top:-4px; margin-right: 10px;
} position: relative;
.sysFirDate{ top: -4px;
color:#38425D; }
font-weight: bold;
font-size:12px; .sysFirDate {
position: relative; color: #38425D;
top:-4px; font-weight: bold;
} font-size: 12px;
.sysContent_main{ position: relative;
width:894px; top: -4px;
min-height: 101px; }
background-color: #fff;
border:1px solid #E5E5E5; .sysContent_main {
border-radius:8px; width: 894px;
margin-top:10px; min-height: 101px;
color:#333333; background-color: #fff;
font-size:14px; border: 1px solid #E5E5E5;
padding:20px; border-radius: 8px;
} margin-top: 10px;
.sysPosi_div{ color: #333333;
margin:-4px 0 0 -24px; font-size: 14px;
} padding: 20px;
.sysCircle_other{ }
width:13px;
height:13px; .sysPosi_div {
display: inline-block; margin: -4px 0 0 -24px;
border-radius: 50%; }
background-color: #B1B1B1;
border:2px solid #EFEFEF; .sysCircle_other {
margin-right:10px; width: 13px;
position: relative; height: 13px;
top:-3px; display: inline-block;
} border-radius: 50%;
.sysFirDate_other{ background-color: #B1B1B1;
color:#38425D; border: 2px solid #EFEFEF;
font-size:12px; margin-right: 10px;
position: relative; position: relative;
top:-4px; top: -3px;
} }
.sysFirDate_other {
color: #38425D;
font-size: 12px;
position: relative;
top: -4px;
}
</style> </style>
<template> <template>
<div class="sysLog_Content"> <div class="sysLog_Content">
<div class="sysLog_List" v-for="(item,index) in dataList"> <div class="sysLog_List" v-for="(item,index) in dataList">
<div class="sysPosi_div"> <div class="sysPosi_div">
<span class="sysCircle" v-if="index==0"></span> <span class="sysCircle" v-if="index==0"></span>
<span class="sysCircle_other" v-else></span> <span class="sysCircle_other" v-else></span>
<span style="font-size:14px;margin-right:20px;position:relative;top:-4px;">{{item.UpdateTitle}}</span> <span style="font-size:14px;margin-right:20px;position:relative;top:-4px;">{{item.UpdateTitle}}</span>
<span class="sysFirDate" v-if="index==0">{{item.UpdateTimeStr}}</span> <span class="sysFirDate" v-if="index==0">{{item.UpdateTimeStr}}</span>
<span class="sysFirDate_other" v-else>{{item.UpdateTimeStr}}</span> <span class="sysFirDate_other" v-else>{{item.UpdateTimeStr}}</span>
</div> </div>
<div class="sysContent_main" v-html="item.UpdateContent"> <div class="sysContent_main" v-html="item.UpdateContent">
</div>
</div>
</div>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
msg:{ msg: {
pageIndex:1, pageIndex: 1,
pageSize:15 pageSize: 15
}, },
dataList:[], dataList: [],
}; };
}, },
methods: { methods: {
getList() { getList() {
this.apipost("sysrecord_get_GetPageList",this.msg,res => { this.apipost("sysrecord_get_GetPageList", this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
} else { }
this.Error(res.data.message); },
} err => {}
}, );
err => {} },
);
},
}, },
mounted() { mounted() {
this.getList(); this.getList();
} }
}; };
</script> </script>
\ No newline at end of file
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