提交 d9a76af5 编写于 作者: guangjun.yang's avatar guangjun.yang

删除日志等

上级 2d5d6870
......@@ -51,7 +51,6 @@ export default {
document.body.clientWidth ||
document.documentElement.clientWidth;
this.chartWidth = (clientWidth * 0.9).toFixed(1) + 'px';
console.log(clientWidth);
}
},
watch: {
......
......@@ -122,7 +122,6 @@ export default {
chartPie.setOption(options, true);
},
fmtLengend(name) {
console.log(name);
let item = this.pieData.find(item => {
return item.certName === name;
});
......
......@@ -50,7 +50,6 @@ export default {
document.body.clientWidth ||
document.documentElement.clientWidth;
this.chartWidth = Math.ceil(clientWidth * 0.90) + 'px';
console.log('this.chartWidth', this.chartWidth);
this.handlePieData(newValue);
this.drawPie();
} else {
......
......@@ -57,7 +57,6 @@ export default {
document.body.clientWidth ||
document.documentElement.clientWidth;
this.chartWidth = Math.ceil(clientWidth * 0.90) + 'px';
console.log('this.chartWidth', this.chartWidth);
this.handlePieData(newValue);
this.drawPie();
} else {
......@@ -171,7 +170,6 @@ export default {
chartPie.setOption(options, true);
},
fmtLengend(name) {
console.log(name);
let item = this.dataList.find(item => {
return item.name === name;
});
......
......@@ -154,7 +154,6 @@ export default {
chartPie.setOption(options, true);
},
fmtLengend(name) {
console.log(name);
let item = this.pieData.find(item => {
return item.certName === name;
});
......
......@@ -201,11 +201,9 @@ export default {
// 获取省列表
async getProvinceData(params) {
console.log("getProvinceData");
await getProvinceList(params).then(res => {
if (res.code === "000000") {
this.areaList.provinceList = (res.data && res.data.list) || [];
console.log(this.areaList.provinceList);
this.areaList.provinceList.map(a => {
if (a.id == this.value.provinceId) {
a.selected = true;
......@@ -217,7 +215,6 @@ export default {
// 获取城市列表
async getCityData(params) {
console.log("getCityData");
await getCityList(params).then(res => {
if (res.code === "000000") {
this.areaList.cityList = (res.data && res.data.list) || [];
......@@ -237,7 +234,6 @@ export default {
// 获取区/县列表
async getCountyData(params) {
console.log("getCountyData");
await getCountyList(params).then(res => {
if (res.code === "000000") {
this.areaList.countyList = (res.data && res.data.list) || [];
......@@ -279,7 +275,6 @@ export default {
// 选择省份的操作
provinceSelect(item, idx) {
console.log("provinceSelect", item, this.rank);
this.value.regionId = item.id;
this.value.provinceId = item.id;
this.queryParams.regionId = item.id;
......@@ -318,7 +313,6 @@ export default {
// 选择市的操作
citySelect(item, idx) {
console.log("citySelect", item, this.rank);
this.value.regionId = item.id;
this.value.cityId = item.id;
this.queryParams.regionId = item.id;
......@@ -354,7 +348,6 @@ export default {
// 选择区/县的操作
countySelect(item, idx) {
console.log("countySelect", item, this.rank);
this.value.regionId = item.id;
this.value.countyId = item.id;
this.queryParams.regionId = item.id;
......@@ -388,7 +381,6 @@ export default {
// 选择乡镇的操作
townSelect(item, idx) {
console.log("townSelect", item, this.rank);
this.value.regionId = item.id;
this.value.townId = item.id;
this.queryParams.regionId = item.id;
......
......@@ -32,12 +32,6 @@ export default {
created() {
if (process.client) {
var _this = this;
// window.__getUserInfoInProList = function(param) {
// console.log('$$$$$', JSON.stringify(param));
// _this.token = param.userToken;
// cookies.set("lreporttoken", _this.token);
// _this.getProjectList();
// };
if (this.$rocNative.isWeb) {
cookies.set("lreporttoken", _this.token);
_this.getProjectList();
......@@ -70,10 +64,13 @@ export default {
this.showLoading = true;
if (res.code === "000000") {
this.projectList = res.data && res.data.data || [];
this.$forceUpdate();
this.$nextTick( () => {
setTimeout(() => {
this.showLoading = false;
})
}, 100);
// this.$forceUpdate();
// this.$nextTick( () => {
// this.showLoading = false;
// })
}
});
}
......
......@@ -16,8 +16,11 @@ Vue.prototype.$sendBuriedData = sendBuriedData;
Vue.use(Toast);
// "vconsole": "^3.3.4"
import VConsole from 'vconsole/dist/vconsole.min.js' //import vconsole
let vConsole = new VConsole() // 初始化
console.log('NUXT_ENV_APP', NUXT_ENV_APP);
if(NUXT_ENV_APP != 'production' ) {
import VConsole from 'vconsole/dist/vconsole.min.js' //import vconsole
new VConsole() // 初始化
}
Vue.prototype.$echarts = echarts
Vue.prototype.$rocNative = new rocNative();
\ No newline at end of file
......@@ -66,7 +66,6 @@ export default function(options) {
resolve(res.data);
})
.catch(error => {
// console.log('axios catch error: ', error.message);
VUE_ENV === 'client' && Toast({ message: '系统繁忙,请稍后重新进入页面查询', duration: 1000 });
// VUE_ENV === 'client' && Toast({ message: error.message, duration: 1000 });
// reject(error);
......
......@@ -77,7 +77,6 @@ export function parseTime(time, cFormat) {
// 跳转到新的学情报告页面
export function goPageByNative(vm, pageSubUrl){
let url = getShareUrl() + pageSubUrl;
console.log('#######0000000', url);
let paramList = [
{
"key":"pageUrl",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册