Commit dbde2b56 authored by 黄奎's avatar 黄奎

页面修改

parent 9f562325
......@@ -91,9 +91,8 @@
methods: {
//获取数据
getList() {
getDutyFrequencyList({}).then(res => {
getDutyFrequencyList({}).then(res => {
if (res.Code == 1) {
console.log(res)
this.dataList = res.Data;
}
})
......
......@@ -180,7 +180,6 @@
if (res.Code == 1) {
this.batchList = res.Data;
}
console.log("batchList", this.batchList);
})
},
//获取员工列表
......
......@@ -213,12 +213,10 @@
getLogList(){
GetMsgLogList().then(res => {
if (res.Code == 1) {
console.log(res,'mainLayout日志数据');
this.socektArr = res.Data;
}
})
},
getMsg() {
let userinfo = this.getLocalStorage();
var SendData = {
......@@ -231,10 +229,7 @@
console.log("socketData",e);
if (e.data) {
var newData = JSON.parse(e.data)
console.log(newData,'newData');
this.socektArr = this.socektArr.concat(newData)
console.log(this.socektArr,'this.socektArr');
this.showNotification(newData[0].Title, newData[0].Content, newData.CoverImg)
}
},
......@@ -272,7 +267,7 @@
};
// 定义通知错误事件
notify.onerror = function () {
// console.log("");
};
// 定义通知显示事件 可以设置多少秒之后关闭 也可以不设置关闭
notify.onshow = function () {
......
......@@ -197,7 +197,6 @@ export default {
this.OperationLoad = false;
if (res.data.resultCode === 1) {
this.datainfo = res.data.data;
console.log(this.datainfo)
} else {
this.Error(res.data.message);
}
......
......@@ -963,7 +963,6 @@
this.saveMsg.splice(i, 1);
},
uploadFileBtn(file) { //上传
console.log(file)
if (file.file.size > 1024 * 1024 * 10) {
this.$message.warning(this.$t('tips.wjdxbncgsz'))
return
......
......@@ -776,16 +776,13 @@
},
bodyCellSpan({ row, column, rowIndex }) {
if (rowIndex === 1) {
// console.log(column)
if (column.field === "date") {
return {
rowspan: 1,
colspan: 2,
};
}
// does not need to be rendered
else if (column.field === "hobby") {
return {
rowspan: 0,
......
......@@ -108,7 +108,6 @@
this.pageCount = res.Data.Count;
}
this.loading = false;
console.log("res", res);
})
},
//分页改变
......
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