Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
IMS
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Ras
IMS
Commits
47d84151
提交
47d84151
authored
6月 10, 2022
作者:
Ras
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
对上次提交做个一点修改
上级
891ebb9f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
43 行增加
和
34 行删除
+43
-34
JeecgListMixin.js
src/mixins/JeecgListMixin.js
+3
-1
ImslogList.vue
src/views/ims/ImslogList.vue
+7
-3
KingdeelogList.vue
src/views/ims/KingdeelogList.vue
+5
-1
vue.config.js
vue.config.js
+28
-29
没有找到文件。
src/mixins/JeecgListMixin.js
浏览文件 @
47d84151
...
@@ -21,7 +21,9 @@ export const JeecgListMixin = {
...
@@ -21,7 +21,9 @@ export const JeecgListMixin = {
Queue_id
:
''
,
Queue_id
:
''
,
codeString
:
''
,
codeString
:
''
,
// 编码
// 编码
numberString
:
''
numberString
:
''
,
// 业务名称
nameString
:
''
},
},
/* 数据源 */
/* 数据源 */
dataSource
:
[],
dataSource
:
[],
...
...
src/views/ims/ImslogList.vue
浏览文件 @
47d84151
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"4"
>
<a-col
:span=
"4"
>
<a-form-item
label=
"
编码
:"
>
<a-form-item
label=
"
业务名称
:"
>
<a-input
v-model=
"queryParam.
cod
eString"
placeholder=
"请输入编码"
/>
<a-input
v-model=
"queryParam.
nam
eString"
placeholder=
"请输入编码"
/>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"4"
>
<a-col
:span=
"4"
>
...
@@ -141,6 +141,10 @@
...
@@ -141,6 +141,10 @@
dataIndex
:
'success'
,
dataIndex
:
'success'
,
filters
:[
filters
:[
{
{
text
:
'all'
,
value
:
'0'
},
{
text
:
'true'
,
text
:
'true'
,
value
:
'1'
value
:
'1'
},
},
...
@@ -152,7 +156,7 @@
...
@@ -152,7 +156,7 @@
filterMultiple
:
false
filterMultiple
:
false
},
},
{
{
title
:
'业务名
字
'
,
title
:
'业务名
称
'
,
align
:
"center"
,
align
:
"center"
,
dataIndex
:
'name'
dataIndex
:
'name'
},
},
...
...
src/views/ims/KingdeelogList.vue
浏览文件 @
47d84151
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</a-col>
</a-col>
<a-col
:span=
"4"
>
<a-col
:span=
"4"
>
<a-form-item
label=
"业务名称:"
>
<a-form-item
label=
"业务名称:"
>
<a-input
v-model=
"queryParam.n
umber
String"
placeholder=
"请输入业务名称"
/>
<a-input
v-model=
"queryParam.n
ame
String"
placeholder=
"请输入业务名称"
/>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"2"
>
<a-col
:span=
"2"
>
...
@@ -135,6 +135,10 @@
...
@@ -135,6 +135,10 @@
dataIndex
:
'synchronization'
,
dataIndex
:
'synchronization'
,
filters
:[
filters
:[
{
{
text
:
'all'
,
value
:
'0'
},
{
text
:
'true'
,
text
:
'true'
,
value
:
'1'
value
:
'1'
},
},
...
...
vue.config.js
浏览文件 @
47d84151
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
CompressionPlugin
=
require
(
"compression-webpack-plugin"
)
const
CompressionPlugin
=
require
(
'compression-webpack-plugin'
)
function
resolve
(
dir
)
{
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
dir
)
return
path
.
join
(
__dirname
,
dir
)
...
@@ -22,15 +22,15 @@ module.exports = {
...
@@ -22,15 +22,15 @@ module.exports = {
// filename: 'index.html',
// filename: 'index.html',
// }
// }
// },
// },
//打包app时放开该配置
//
打包app时放开该配置
//publicPath:'./',
//
publicPath:'./',
configureWebpack
:
config
=>
{
configureWebpack
:
config
=>
{
//生产环境取消 console.log
//
生产环境取消 console.log
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
drop_console
=
true
config
.
optimization
.
minimizer
[
0
].
options
.
terserOptions
.
compress
.
drop_console
=
true
}
}
},
},
chainWebpack
:
(
config
)
=>
{
chainWebpack
:
config
=>
{
config
.
resolve
.
alias
config
.
resolve
.
alias
.
set
(
'@$'
,
resolve
(
'src'
))
.
set
(
'@$'
,
resolve
(
'src'
))
.
set
(
'@api'
,
resolve
(
'src/api'
))
.
set
(
'@api'
,
resolve
(
'src/api'
))
...
@@ -41,13 +41,15 @@ module.exports = {
...
@@ -41,13 +41,15 @@ module.exports = {
.
set
(
'@static'
,
resolve
(
'src/static'
))
.
set
(
'@static'
,
resolve
(
'src/static'
))
.
set
(
'@mobile'
,
resolve
(
'src/modules/mobile'
))
.
set
(
'@mobile'
,
resolve
(
'src/modules/mobile'
))
//生产环境,开启js\css压缩
//
生产环境,开启js\css压缩
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
config
.
plugin
(
'compressionPlugin'
).
use
(
new
CompressionPlugin
({
config
.
plugin
(
'compressionPlugin'
).
use
(
new
CompressionPlugin
({
test
:
/
\.(
js|css|less
)
$/
,
// 匹配文件名
test
:
/
\.(
js|css|less
)
$/
,
// 匹配文件名
threshold
:
10240
,
// 对超过10k的数据压缩
threshold
:
10240
,
// 对超过10k的数据压缩
deleteOriginalAssets
:
false
// 不删除源文件
deleteOriginalAssets
:
false
// 不删除源文件
}))
})
)
}
}
// 配置 webpack 识别 markdown 为普通的文件
// 配置 webpack 识别 markdown 为普通的文件
...
@@ -58,18 +60,16 @@ module.exports = {
...
@@ -58,18 +60,16 @@ module.exports = {
.
loader
(
'file-loader'
)
.
loader
(
'file-loader'
)
.
end
()
.
end
()
// 编译某些npm包里的es6代码
// 编译某些npm包里的es6代码
config
.
module
config
.
module
.
rule
(
'vxe'
)
.
rule
(
'vxe'
)
.
test
(
/
\.
js$/
)
.
test
(
/
\.
js$/
)
.
include
.
include
.
add
(
resolve
(
'node_modules/vxe-table'
))
.
add
(
resolve
(
'node_modules/vxe-table'
))
.
add
(
resolve
(
'node_modules/vxe-table-plugin-antd'
))
.
add
(
resolve
(
'node_modules/vxe-table-plugin-antd'
))
.
end
()
.
end
()
.
use
()
.
use
()
.
loader
(
'babel-loader'
)
.
loader
(
'babel-loader'
)
.
end
()
.
end
()
},
},
css
:
{
css
:
{
...
@@ -79,9 +79,9 @@ module.exports = {
...
@@ -79,9 +79,9 @@ module.exports = {
/* less 变量覆盖,用于自定义 ant design 主题 */
/* less 变量覆盖,用于自定义 ant design 主题 */
'primary-color'
:
'#1890FF'
,
'primary-color'
:
'#1890FF'
,
'link-color'
:
'#1890FF'
,
'link-color'
:
'#1890FF'
,
'border-radius-base'
:
'4px'
,
'border-radius-base'
:
'4px'
},
},
javascriptEnabled
:
true
,
javascriptEnabled
:
true
}
}
}
}
},
},
...
@@ -89,21 +89,21 @@ module.exports = {
...
@@ -89,21 +89,21 @@ module.exports = {
devServer
:
{
devServer
:
{
port
:
3000
,
port
:
3000
,
proxy
:
{
proxy
:
{
/* '/api': {
//
/* '/api': {
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
//
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
ws: false,
//
ws: false,
changeOrigin: true,
//
changeOrigin: true,
pathRewrite: {
//
pathRewrite: {
'/wmssystem': '' //
//
'/wmssystem': '' //
}
//
}
},*/
//
},*/
'/
w
mssystem'
:
{
'/
i
mssystem'
:
{
target
:
'http://
lf.lingqingkeji.com:8080'
,
//
target
:
'http://
192.168.2.47'
,
// 192.168.2.47
ws
:
false
,
ws
:
false
,
changeOrigin
:
true
changeOrigin
:
true
}
,
}
}
}
},
},
lintOnSave
:
undefined
lintOnSave
:
undefined
}
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论