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

删除日志等

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