Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-learning-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-learning-report
提交
8d1f0046
提交
8d1f0046
编写于
12月 29, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
for test
上级
a085ae69
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
17214 行增加
和
19 行删除
+17214
-19
.env.development.local
.env.development.local
+1
-1
package.json
package.json
+1
-7
coop-list-item.vue
src/components/bussiness/coop-list-item.vue
+2
-2
httpExtension.js
src/plugins/httpExtension.js
+0
-1
vue-components.js
src/plugins/vue-components.js
+3
-3
enumerate.js
src/utils/enumerate.js
+3
-3
index.vue
src/views/index.vue
+1
-1
vue.config.js
vue.config.js
+15
-1
yarn.lock
yarn.lock
+17188
-0
未找到文件。
.env.development.local
浏览文件 @
8d1f0046
NODE_ENV=dev
NODE_ENV=dev
VUE_APP_ENV=development
VUE_APP_ENV=development
VUE_APP_SERVICE_URL=
https://dev-sc.yunqueyi.com
VUE_APP_SERVICE_URL=
NUXT_ENV_APP=dev
NUXT_ENV_APP=dev
# 模拟用户信息
# 模拟用户信息
...
...
package.json
浏览文件 @
8d1f0046
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
"
core-js
"
:
"
^3.19.3
"
,
"
core-js
"
:
"
^3.19.3
"
,
"
cross-env
"
:
"
^5.2.0
"
,
"
cross-env
"
:
"
^5.2.0
"
,
"
dayjs
"
:
"
^1.8.30
"
,
"
dayjs
"
:
"
^1.8.30
"
,
"
dsbridge
"
:
"
^3.1.4
"
,
"
js-base64
"
:
"
^2.5.1
"
,
"
js-base64
"
:
"
^2.5.1
"
,
"
lodash
"
:
"
^4.17.15
"
,
"
lodash
"
:
"
^4.17.15
"
,
"
md5
"
:
"
^2.3.0
"
,
"
md5
"
:
"
^2.3.0
"
,
...
@@ -47,8 +46,6 @@
...
@@ -47,8 +46,6 @@
"
vuex
"
:
"
^3.1.1
"
,
"
vuex
"
:
"
^3.1.1
"
,
"
web-buried-point
"
:
"
^2.1.0
"
,
"
web-buried-point
"
:
"
^2.1.0
"
,
"
weixin-js-sdk
"
:
"
^1.6.0
"
,
"
weixin-js-sdk
"
:
"
^1.6.0
"
,
"
koa
"
:
"
^2.6.2
"
,
"
nuxt
"
:
"
^2.0.0
"
,
"
v-charts
"
:
"
^1.19.0
"
,
"
v-charts
"
:
"
^1.19.0
"
,
"
js-cookie
"
:
"
^3.0.1
"
"
js-cookie
"
:
"
^3.0.1
"
},
},
...
@@ -91,12 +88,9 @@
...
@@ -91,12 +88,9 @@
"
babel-core
"
:
"
7.0.0-bridge.0
"
,
"
babel-core
"
:
"
7.0.0-bridge.0
"
,
"
babel-jest
"
:
"
^24.1.0
"
,
"
babel-jest
"
:
"
^24.1.0
"
,
"
jest
"
:
"
^24.1.0
"
,
"
jest
"
:
"
^24.1.0
"
,
"
less
"
:
"
^3.9.0
"
,
"
nodemon
"
:
"
^1.18.9
"
,
"
postcss-pxtorem
"
:
"
^4.0.1
"
,
"
postcss-pxtorem
"
:
"
^4.0.1
"
,
"
qs
"
:
"
^6.7.0
"
,
"
qs
"
:
"
^6.7.0
"
,
"
scss-loader
"
:
"
^0.0.1
"
,
"
scss-loader
"
:
"
^0.0.1
"
"
vue-jest
"
:
"
^3.0.3
"
},
},
"eslintConfig"
:
{
"eslintConfig"
:
{
"root"
:
true
,
"root"
:
true
,
...
...
src/components/bussiness/coop-list-item.vue
浏览文件 @
8d1f0046
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<
script
>
<
script
>
import
{
goNativePage
,
goPageByNative
,
parseTime
}
from
'@/utils/index'
;
import
{
goNativePage
,
goPageByNative
,
parseTime
}
from
'@/utils/index'
;
import
{
BASE_URL
}
from
'@/utils/enumerate'
;
import
{
BASE_URL
}
from
'@/utils/enumerate'
;
const
{
N
UXT_ENV_APP
}
=
process
.
env
;
const
{
N
ODE_ENV
}
=
process
.
env
;
export
default
{
export
default
{
name
:
'CoopListItem'
,
name
:
'CoopListItem'
,
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
this
.
$sendBuriedData
({
this
.
$sendBuriedData
({
component_tag
:
`467#400141#
${
pInfo
.
id
}
#
${
pInfo
.
projectName
}
`
,
component_tag
:
`467#400141#
${
pInfo
.
id
}
#
${
pInfo
.
projectName
}
`
,
class_name
:
'learning_report'
,
class_name
:
'learning_report'
,
url
:
`
${
BASE_URL
[
N
UXT_ENV_APP
]}
/file/log/trace1`
,
url
:
`
${
BASE_URL
[
N
ODE_ENV
]}
/file/log/trace1`
,
});
});
if
(
pInfo
.
pType
==
1
)
{
if
(
pInfo
.
pType
==
1
)
{
goNativePage
(
this
,
pInfo
);
goNativePage
(
this
,
pInfo
);
...
...
src/plugins/httpExtension.js
浏览文件 @
8d1f0046
import
$http
from
'mn-template/plugins/http'
;
import
$http
from
'mn-template/plugins/http'
;
import
cookies
from
'js-cookie'
;
import
cookies
from
'js-cookie'
;
$http
.
setDefaults
({
$http
.
setDefaults
({
headers
:
{},
headers
:
{},
});
});
...
...
src/plugins/vue-components.js
浏览文件 @
8d1f0046
...
@@ -58,15 +58,15 @@ Vue.use(PicaGuideApp)
...
@@ -58,15 +58,15 @@ Vue.use(PicaGuideApp)
.
use
(
SwipeItem
)
.
use
(
SwipeItem
)
.
use
(
PageModel
);
.
use
(
PageModel
);
const
{
N
UXT_ENV_APP
}
=
process
.
env
;
const
{
N
ODE_ENV
}
=
process
.
env
;
Vue
.
use
(
WebBuriedPoint
,
{
Vue
.
use
(
WebBuriedPoint
,
{
class_name
:
'template_v2'
,
class_name
:
'template_v2'
,
url
:
`
${
BASE_URL
[
N
UXT_ENV_APP
]}
/file/log/trace1`
,
url
:
`
${
BASE_URL
[
N
ODE_ENV
]}
/file/log/trace1`
,
});
});
Vue
.
prototype
.
$sendBuriedData
=
sendBuriedData
;
Vue
.
prototype
.
$sendBuriedData
=
sendBuriedData
;
Vue
.
prototype
.
$cookies
=
cookies
;
Vue
.
prototype
.
$cookies
=
cookies
;
Vue
.
prototype
.
$callApp
=
callApp
;
Vue
.
prototype
.
$callApp
=
callApp
;
Vue
.
prototype
.
ClipboardJS
=
ClipboardJS
;
Vue
.
prototype
.
ClipboardJS
=
ClipboardJS
;
Vue
.
prototype
.
$WX_TYPE
=
WX_TYPE_MAP
[
N
UXT_ENV_APP
];
Vue
.
prototype
.
$WX_TYPE
=
WX_TYPE_MAP
[
N
ODE_ENV
];
src/utils/enumerate.js
浏览文件 @
8d1f0046
const
{
N
UXT_ENV_APP
}
=
process
.
env
;
const
{
N
ODE_ENV
}
=
process
.
env
;
export
const
BASE_URL
=
{
export
const
BASE_URL
=
{
dev
:
'https://
dev
-sc.yunqueyi.com'
,
dev
:
'https://
uat
-sc.yunqueyi.com'
,
test
:
'https://test1-sc.yunqueyi.com'
,
test
:
'https://test1-sc.yunqueyi.com'
,
uat
:
'https://uat-sc.yunqueyi.com'
,
uat
:
'https://uat-sc.yunqueyi.com'
,
prod
:
'https://sc.yunqueyi.com'
,
prod
:
'https://sc.yunqueyi.com'
,
...
@@ -15,7 +15,7 @@ export const SHARE_URL = {
...
@@ -15,7 +15,7 @@ export const SHARE_URL = {
};
};
export
function
getShareUrl
()
{
export
function
getShareUrl
()
{
return
SHARE_URL
[
N
UXT_ENV_APP
];
return
SHARE_URL
[
N
ODE_ENV
];
}
}
export
const
REPONSE_CODE
=
{
export
const
REPONSE_CODE
=
{
...
...
src/views/index.vue
浏览文件 @
8d1f0046
...
@@ -323,7 +323,7 @@ export default {
...
@@ -323,7 +323,7 @@ export default {
studyRankList
:
[],
studyRankList
:
[],
costRankList
:
[],
costRankList
:
[],
projectId
:
''
,
projectId
:
''
,
token
:
'
568E9A4C115F47649BDA1B0B70D4B4F9
'
,
token
:
''
,
isOrgStat
:
false
,
isOrgStat
:
false
,
// 区域选择通用接口参数
// 区域选择通用接口参数
queryParams
:
{
queryParams
:
{
...
...
vue.config.js
浏览文件 @
8d1f0046
...
@@ -30,7 +30,21 @@ module.exports = {
...
@@ -30,7 +30,21 @@ module.exports = {
});
});
config
.
plugins
.
delete
(
'prefetch'
);
config
.
plugins
.
delete
(
'prefetch'
);
config
.
plugins
.
delete
(
'preload'
);
config
.
plugins
.
delete
(
'preload'
);
}
},
devServer
:
{
port
:
8080
,
proxy
:
{
'/proxy'
:
{
target
:
'https://uat-sc.yunqueyi.com'
,
ws
:
false
,
changeOrigin
:
true
,
secure
:
true
,
pathRewrite
:
{
'^/proxy'
:
'/'
,
},
},
},
},
};
};
module
.
exports
.
publicPath
=
process
.
env
.
VUE_APP_ENV
===
'development'
&&
process
.
env
.
VUE_APP_IS_LOCAL
?
process
.
env
.
BASE_URL
:
`
${
process
.
env
.
VUE_APP_OSS_URL
}
/static
${
process
.
env
.
BASE_URL
}
`
;
module
.
exports
.
publicPath
=
process
.
env
.
VUE_APP_ENV
===
'development'
&&
process
.
env
.
VUE_APP_IS_LOCAL
?
process
.
env
.
BASE_URL
:
`
${
process
.
env
.
VUE_APP_OSS_URL
}
/static
${
process
.
env
.
BASE_URL
}
`
;
yarn.lock
0 → 100644
浏览文件 @
8d1f0046
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录