Commit b8c22e79 authored by 沈翠玲's avatar 沈翠玲

去掉console

parent 0c0ce9db
......@@ -30,7 +30,6 @@ const onClick = (e) => {
path: '/data-screen',
query: { tenantId: item.tenantId },
});
console.log(url.href); // 输出为#/test-url
// 打开新窗口
window.open(url.href);
}
......
......@@ -25,7 +25,6 @@ const CubeLeft = echarts.graphic.extendShape({
buildPath: function(ctx, shape) {
// 会canvas的应该都能看得懂,shape是从custom传入的
const xAxisPoint = shape.xAxisPoint
console.log(shape)
const c0 = [shape.x + 17, shape.y]
const c1 = [shape.x - 30, shape.y - 6]
const c2 = [xAxisPoint[0] - 30, xAxisPoint[1] - 13]
......@@ -71,7 +70,6 @@ const param = {
}
getFourFollowTypeTotal(param).then(res => {
if(res.result) {
console.log('res.result', res.result)
salvPro.value = res.result.map(v => ({name: v.followType, value: v.tractNum, flowStatusTotalList: v.flowStatusTotalList}))
}
})
......
......@@ -17,7 +17,6 @@ const jump = (item) => {
path: '/data-screen',
query: { tenantId: item.tenantId },
});
console.log(url.href); // 输出为#/test-url
// 打开新窗口
window.open(url.href);
}
......
......@@ -125,9 +125,7 @@ const isAdmin = ref(false);
const tenant = ref('全部');
const tenantId = ref();
// userStore.tenant.id
console.log('route.query', userStore.userInfo)
console.log('authButtonListGet', authButtonListGet.includes('admin_screen'))
if (authButtonListGet.includes('admin_screen') && !route.query.tenantId) {
isAdmin.value = true
} else {
......@@ -136,7 +134,6 @@ if (authButtonListGet.includes('admin_screen') && !route.query.tenantId) {
if (authButtonListGet.includes('admin_screen') && window.location.search) {
const searchParams = new URLSearchParams(window.location.search)
const id = searchParams.get('tenantId')
console.log('tenantId', id)
tenant.value = id
tenantId.value = id
} else if (userStore.userInfo?.tenants && userStore.userInfo?.tenants.length > 0){
......@@ -147,7 +144,6 @@ if (authButtonListGet.includes('admin_screen') && window.location.search) {
id = userStore.tenant.id;
}
tenant.value = id
console.log('tenant.value', tenant.value)
tenantId.value = id
}
const router = useRouter();
......@@ -157,7 +153,6 @@ const dayActiveName = ref('日');
const Tenantlist = ref([]);
const numberFormat = (number) => {
if (!number || isNaN(Number(number))) {
console.log('number', number)
return '--'
}
const num = Number(number)
......
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