Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
894af9bd
Commit
894af9bd
authored
May 28, 2021
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小调整
parent
7a7102ca
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
175 additions
and
213 deletions
+175
-213
BusinessButton.vue
src/components/BusinessButton.vue
+11
-8
Event.js
src/model/Ditopn/Event.js
+0
-0
Default.js
src/model/Sptsel/Default.js
+23
-31
Default.js
src/model/Trnrel/Default.js
+68
-87
Event.js
src/model/Trnrel/Event.js
+5
-4
index.js
src/utils/index.js
+31
-42
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+0
-0
index.vue
src/views/Business/Trnrel/index.vue
+16
-20
webpack.config.js
webpack.config.js
+21
-21
No files found.
src/components/BusinessButton.vue
View file @
894af9bd
<
template
>
<
template
>
<div
class=
"bus-button"
>
<div
class=
"bus-button"
>
<c-button
type=
"primary"
v-on
click=
"save"
>
提交
</c-button>
<c-button
type=
"primary"
v-on:
click=
"save"
>
提交
</c-button>
<c-button
type=
"primary"
v-on
click=
"pedding"
>
暂存
</c-button>
<c-button
type=
"primary"
v-on:
click=
"pedding"
>
暂存
</c-button>
<c-button
type=
"primary"
v-on
click=
"check"
>
校核
</c-button>
<c-button
type=
"primary"
v-on:
click=
"check"
>
校核
</c-button>
<c-button
v-on
click=
"exit"
>
退出
</c-button>
<c-button
v-on:
click=
"exit"
>
退出
</c-button>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:[
"parent"
],
props
:[
"parent"
],
data
(){
data
(){
return
{
}
},
},
methods
:{
methods
:{
save
(){
save
(){
...
@@ -29,7 +31,7 @@ export default {
...
@@ -29,7 +31,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.bus-button
{
.bus-button
{
text-align
:
center
;
text-align
:
center
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/model/Ditopn/Event.js
View file @
894af9bd
This diff is collapsed.
Click to expand it.
src/model/Sptsel/Default.js
View file @
894af9bd
...
@@ -5,44 +5,36 @@
...
@@ -5,44 +5,36 @@
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
export
default
{
export
default
{
"sptstm"
:
defaultSptstm
,
"sptstm"
:
defaultSptstm
,
"dlaxq"
:
defaultDlaxq
,
"dlaxq"
:
defaultDlaxq
,
"usfmod.labtxt"
:
defaultUsfmodLabtxt
,
"usfmod.labtxt"
:
defaultUsfmodLabtxt
,
"usfmod.flt"
:
defaultUsfmodFlt
,
"usfmod.flt"
:
defaultUsfmodFlt
,
"usfmod.shwflt"
:
defaultUsfmodShwflt
,
"usfmod.shwflt"
:
defaultUsfmodShwflt
,
"dlmft"
:
defaultDlmft
,
"dlmft"
:
defaultDlmft
,
"butimg"
:
defaultButimg
,
"butimg"
:
defaultButimg
,
"dflg"
:
defaultDflg
,
"dflg"
:
defaultDflg
,
"yptinf"
:
defaultYptinf
,
"yptinf"
:
defaultYptinf
,
"usfmod.usr.extkey"
:
defaultUsfmodUsrExtkey
,
"usfmod.usr.extkey"
:
defaultUsfmodUsrExtkey
,
}
}
function
defaultSptstm
()
function
defaultSptstm
()
{
{
}
}
function
defaultDlaxq
()
function
defaultDlaxq
()
{
{
}
}
function
defaultUsfmodLabtxt
()
function
defaultUsfmodLabtxt
()
{
{
}
}
function
defaultUsfmodFlt
()
function
defaultUsfmodFlt
()
{
{
}
}
function
defaultUsfmodShwflt
()
function
defaultUsfmodShwflt
()
{
{
}
}
function
defaultDlmft
()
function
defaultDlmft
()
{
{
}
}
function
defaultButimg
()
function
defaultButimg
()
{
{
}
}
function
defaultDflg
()
function
defaultDflg
()
{
{
}
}
function
defaultYptinf
()
function
defaultYptinf
()
{
{
console
.
log
(
this
.
model
.
yptinf
)
}
}
function
defaultUsfmodUsrExtkey
()
function
defaultUsfmodUsrExtkey
()
{
{
}
}
src/model/Trnrel/Default.js
View file @
894af9bd
...
@@ -3,122 +3,103 @@
...
@@ -3,122 +3,103 @@
* Trnrel Default规则
* Trnrel Default规则
*/
*/
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
export
default
{
export
default
{
"relcor"
:
defaultRelcor
,
"relcor"
:
defaultRelcor
,
"recpan.butspt"
:
defaultRecpanButspt
,
"recpan.butspt"
:
defaultRecpanButspt
,
"recpan.ackstm"
:
defaultRecpanAckstm
,
"recpan.ackstm"
:
defaultRecpanAckstm
,
"seaown"
:
defaultSeaown
,
"seaown"
:
defaultSeaown
,
"trn.inftxt"
:
defaultTrnInftxt
,
"trn.inftxt"
:
defaultTrnInftxt
,
"numtrn"
:
defaultNumtrn
,
"numtrn"
:
defaultNumtrn
,
"recpan.butord"
:
defaultRecpanButord
,
"recpan.butord"
:
defaultRecpanButord
,
"recpan.inftxt.buttxmsel"
:
defaultRecpanInftxtButtxmsel
,
"recpan.inftxt.buttxmsel"
:
defaultRecpanInftxtButtxmsel
,
"trn.infdsp"
:
defaultTrnInfdsp
,
"trn.infdsp"
:
defaultTrnInfdsp
,
"recpan.incben"
:
defaultRecpanIncben
,
"recpan.incben"
:
defaultRecpanIncben
,
"usrcon"
:
defaultUsrcon
,
"usrcon"
:
defaultUsrcon
,
"imgmod.hisimg"
:
defaultImgmodHisimg
,
"imgmod.hisimg"
:
defaultImgmodHisimg
,
"recpan.con"
:
defaultRecpanCon
,
"recpan.con"
:
defaultRecpanCon
,
"seajbh"
:
defaultSeajbh
,
"seajbh"
:
defaultSeajbh
,
"recpan.det"
:
defaultRecpanDet
,
"recpan.det"
:
defaultRecpanDet
,
"trncorco.trnstm"
:
defaultTrncorcoTrnstm
,
"trncorco.trnstm"
:
defaultTrncorcoTrnstm
,
"imgmod.newhisimg"
:
defaultImgmodNewhisimg
,
"imgmod.newhisimg"
:
defaultImgmodNewhisimg
,
"recpan.cpltxt"
:
defaultRecpanCpltxt
,
"recpan.cpltxt"
:
defaultRecpanCpltxt
,
"trncorco.dflg"
:
defaultTrncorcoDflg
,
"trncorco.dflg"
:
defaultTrncorcoDflg
,
"orddsp"
:
defaultOrddsp
,
"orddsp"
:
defaultOrddsp
,
"recpan.usr.extkey"
:
defaultRecpanUsrExtkey
,
"recpan.usr.extkey"
:
defaultRecpanUsrExtkey
,
"atptxt"
:
defaultAtptxt
,
"atptxt"
:
defaultAtptxt
,
"recpan.ackgrp.rec.sndref"
:
defaultRecpanAckgrpRecSndref
,
"recpan.ackgrp.rec.sndref"
:
defaultRecpanAckgrpRecSndref
,
"syswrn.butshw"
:
defaultSyswrnButshw
,
"syswrn.butshw"
:
defaultSyswrnButshw
,
"imgmod.newimg"
:
defaultImgmodNewimg
,
"imgmod.newimg"
:
defaultImgmodNewimg
,
"recpan.inc"
:
defaultRecpanInc
,
"recpan.inc"
:
defaultRecpanInc
,
"printe"
:
defaultPrinte
,
"printe"
:
defaultPrinte
,
"trn.inr"
:
defaultTrnInr
,
"trn.inr"
:
defaultTrnInr
,
"imgmod.image"
:
defaultImgmodImage
,
"imgmod.image"
:
defaultImgmodImage
,
}
}
function
defaultRelcor
()
function
defaultRelcor
()
{
{
}
}
function
defaultRecpanButspt
()
function
defaultRecpanButspt
()
{
{
}
}
function
defaultRecpanAckstm
()
function
defaultRecpanAckstm
()
{
{
}
}
function
defaultSeaown
()
function
defaultSeaown
()
{
{
}
}
function
defaultTrnInftxt
()
function
defaultTrnInftxt
()
{
{
}
}
function
defaultNumtrn
()
function
defaultNumtrn
()
{
{
}
}
function
defaultRecpanButord
()
function
defaultRecpanButord
()
{
{
}
}
function
defaultRecpanInftxtButtxmsel
()
function
defaultRecpanInftxtButtxmsel
()
{
{
}
}
function
defaultTrnInfdsp
()
function
defaultTrnInfdsp
()
{
{
}
}
function
defaultRecpanIncben
()
function
defaultRecpanIncben
()
{
{
}
}
function
defaultUsrcon
()
function
defaultUsrcon
()
{
{
}
}
function
defaultImgmodHisimg
()
function
defaultImgmodHisimg
()
{
{
}
}
function
defaultRecpanCon
()
function
defaultRecpanCon
()
{
{
}
}
function
defaultSeajbh
()
function
defaultSeajbh
()
{
{
}
}
function
defaultRecpanDet
()
function
defaultRecpanDet
()
{
{
}
}
function
defaultTrncorcoTrnstm
()
function
defaultTrncorcoTrnstm
()
{
{
}
}
function
defaultImgmodNewhisimg
()
function
defaultImgmodNewhisimg
()
{
{
}
}
function
defaultRecpanCpltxt
()
function
defaultRecpanCpltxt
()
{
{
}
}
function
defaultTrncorcoDflg
()
async
function
defaultTrncorcoDflg
()
{
{
let
rtnmsg
=
await
Api
.
post
(
"trnrel/default/trncorco.dflg"
,
Utils
.
flatObject
(
this
.
model
))
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
console
.
log
(
rtnmsg
)
console
.
log
(
rtnmsg
.
data
)
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
function
defaultOrddsp
()
function
defaultOrddsp
()
{
{
}
}
function
defaultRecpanUsrExtkey
()
function
defaultRecpanUsrExtkey
()
{
{
}
}
function
defaultAtptxt
()
function
defaultAtptxt
()
{
{
}
}
function
defaultRecpanAckgrpRecSndref
()
function
defaultRecpanAckgrpRecSndref
()
{
{
}
}
function
defaultSyswrnButshw
()
function
defaultSyswrnButshw
()
{
{
}
}
function
defaultImgmodNewimg
()
function
defaultImgmodNewimg
()
{
{
}
}
function
defaultRecpanInc
()
function
defaultRecpanInc
()
{
{
}
}
function
defaultPrinte
()
function
defaultPrinte
()
{
{
}
}
function
defaultTrnInr
()
function
defaultTrnInr
()
{
{
}
}
function
defaultImgmodImage
()
function
defaultImgmodImage
()
{
{
}
}
src/model/Trnrel/Event.js
View file @
894af9bd
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
export
default
{
export
default
{
onSeaown
()
{
onSeaown
()
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
this
.
$parent
.
$parent
.
$parent
.
$parent
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
if
(
!
valid
)
return
;
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seaown"
,
{
data
:
this
.
model
}
)
let
rtnmsg
=
await
Api
.
post
(
"trnrel/seaown"
,
Utils
.
flatObject
(
this
.
model
)
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
"AAAAAA"
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
trncorco_trnstm
.
rows
;
}
}
else
{
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
...
...
src/utils/index.js
View file @
894af9bd
export
default
class
Utils
{
export
default
class
Utils
{
static
toDepthObject
(
obj
)
static
toDepthObject
(
obj
)
{
{
var
target
=
{};
var
target
=
{};
for
(
var
key
in
obj
)
for
(
var
key
in
obj
)
{
{
var
keyArr
=
key
.
split
(
"_"
);
//以下划线或分割
var
keyArr
=
key
.
split
(
"_"
);
//以下划线或分割
var
tempobj
=
target
;
var
tempobj
=
target
;
for
(
var
i
=
0
;
i
<
keyArr
.
length
-
1
;
i
++
)
for
(
var
i
=
0
;
i
<
keyArr
.
length
-
1
;
i
++
)
{
{
if
(
tempobj
[
keyArr
[
i
]])
if
(
tempobj
[
keyArr
[
i
]])
tempobj
=
tempobj
[
keyArr
[
i
]];
tempobj
=
tempobj
[
keyArr
[
i
]];
else
else
{
{
tempobj
[
keyArr
[
i
]]
=
{};
tempobj
[
keyArr
[
i
]]
=
{};
tempobj
=
tempobj
[
keyArr
[
i
]];
tempobj
=
tempobj
[
keyArr
[
i
]];
}
}
}
}
//给叶子元素赋值
//给叶子元素赋值
tempobj
[
keyArr
[
keyArr
.
length
-
1
]]
=
obj
[
key
];
tempobj
[
keyArr
[
keyArr
.
length
-
1
]]
=
obj
[
key
];
}
}
return
target
;
return
target
;
}
}
static
flatObject
(
obj
,
target
,
pkey
)
static
flatObject
(
obj
,
target
,
pkey
)
{
{
target
=
target
||
{};
target
=
target
||
{};
for
(
var
key
in
obj
)
{
for
(
var
key
in
obj
)
var
nkey
=
pkey
?
pkey
+
"_"
+
key
:
key
;
{
if
(
!
obj
[
key
])
var
nkey
=
pkey
?
pkey
+
"_"
+
key
:
key
;
if
(
!
obj
[
key
])
target
[
nkey
]
=
obj
[
key
];
else
if
(
obj
[
key
]
instanceof
Array
)
target
[
nkey
]
=
obj
[
key
];
target
[
nkey
]
=
obj
[
key
];
else
if
(
obj
[
key
]
instanceof
Date
)
else
if
(
obj
[
key
]
instanceof
Array
)
target
[
nkey
]
=
obj
[
key
];
target
[
nkey
]
=
obj
[
key
];
else
if
(
typeof
obj
[
key
]
==
"object"
)
else
if
(
obj
[
key
]
instanceof
Date
)
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
target
[
nkey
]
=
obj
[
key
];
else
else
if
(
typeof
obj
[
key
]
==
"object"
)
target
[
nkey
]
=
obj
[
key
];
Utils
.
flatObject
(
obj
[
key
],
target
,
nkey
);
//递归赋值
}
else
return
target
;
target
[
nkey
]
=
obj
[
key
];
}
return
target
;
}
}
static
copyValueFromVO
(
model
,
vo
)
static
copyValueFromVO
(
model
,
vo
)
{
{
var
target
=
model
;
var
target
=
model
;
for
(
var
key
in
vo
)
for
(
var
key
in
vo
)
{
{
var
keyArr
=
key
.
split
(
"_"
);
//以下划线或分割
var
keyArr
=
key
.
split
(
"_"
);
//以下划线或分割
var
tempobj
=
target
;
var
tempobj
=
target
;
for
(
var
i
=
0
;
i
<
keyArr
.
length
-
1
;
i
++
)
for
(
var
i
=
0
;
i
<
keyArr
.
length
-
1
;
i
++
)
{
{
if
(
tempobj
[
keyArr
[
i
]])
if
(
tempobj
[
keyArr
[
i
]])
tempobj
=
tempobj
[
keyArr
[
i
]];
tempobj
=
tempobj
[
keyArr
[
i
]];
else
else
{
{
tempobj
=
null
;
tempobj
=
null
;
break
;
break
;
}
}
}
}
//给叶子元素赋值
//给叶子元素赋值
if
(
tempobj
)
if
(
tempobj
)
{
{
let
leafProp
=
keyArr
[
keyArr
.
length
-
1
];
let
leafProp
=
keyArr
[
keyArr
.
length
-
1
];
if
(
tempobj
.
hasOwnProperty
(
leafProp
))
if
(
tempobj
.
hasOwnProperty
(
leafProp
))
tempobj
[
leafProp
]
=
vo
[
key
];
tempobj
[
leafProp
]
=
vo
[
key
];
}
}
}
}
return
target
;
return
target
;
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
894af9bd
This diff is collapsed.
Click to expand it.
src/views/Business/Trnrel/index.vue
View file @
894af9bd
<
template
>
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
tokenKey=
"modelForm"
label-width=
"170px"
size=
"small"
>
<el-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tabs
ref=
"elment"
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"复核夹查询"
>
<el-tab-pane
label=
"复核夹查询"
>
<m-inftrnps
:model=
"model"
:codes=
"codes"
/>
<m-inftrnps
:model=
"model"
:codes=
"codes"
ref=
"inftrnps"
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
...
@@ -31,6 +30,7 @@ import Prtswtp from "./Prtswtp"
...
@@ -31,6 +30,7 @@ import Prtswtp from "./Prtswtp"
import
Xmldoc
from
"./Xmldoc"
import
Xmldoc
from
"./Xmldoc"
import
Prtswtrp
from
"./Prtswtrp"
import
Prtswtrp
from
"./Prtswtrp"
import
Prtp
from
"./Prtp"
import
Prtp
from
"./Prtp"
import
Utils
from
"~/utils/index"
// import * as poinMessage from '@/util/poin-common/messageManage.js'
// import * as poinMessage from '@/util/poin-common/messageManage.js'
import
{
TabPane
,
Col
,
Table
,
Form
,
FormItem
,
Upload
,
TableColumn
,
Card
,
Input
,
Button
,
Dialog
,
Select
,
Tabs
,
Option
,
DatePicker
,
Row
}
from
'element-ui'
import
{
TabPane
,
Col
,
Table
,
Form
,
FormItem
,
Upload
,
TableColumn
,
Card
,
Input
,
Button
,
Dialog
,
Select
,
Tabs
,
Option
,
DatePicker
,
Row
}
from
'element-ui'
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
codes
:
{
codes
:
{
},
},
declareParams
:{
"fileName"
:
"trnrel.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/trnrel/init"
},
declareParams
:{
"fileName"
:
"trnrel.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/trnrel/init"
},
}
}
},
},
methods
:{
methods
:{
...
@@ -67,15 +67,12 @@ export default {
...
@@ -67,15 +67,12 @@ export default {
console
.
log
(
"进入trnrel交易"
);
console
.
log
(
"进入trnrel交易"
);
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,{
params
:{}})
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,
Utils
.
flatObject
(
this
.
model
))
// if(rtnmsg.respCode == SUCCESS)
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
if
(
rtnmsg
.
respCode
==
"AAAAAA"
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
model
.
trncorco
.
trnstm
=
rtnmsg
.
data
.
trncorco_trnstm
.
rows
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
model
.
trncorco
.
inidatfro
=
rtnmsg
.
data
.
trncorco_inidatfro
this
.
$refs
.
inftrnps
.
stmData
.
columns
=
rtnmsg
.
data
.
trncorco_trnstm
.
rows
this
.
model
.
trncorco
.
inidattil
=
rtnmsg
.
data
.
trncorco_inidattil
this
.
model
.
trncorco
.
relflg
=
rtnmsg
.
data
.
trncorco_relflg
}
}
else
else
{
{
...
@@ -85,5 +82,4 @@ export default {
...
@@ -85,5 +82,4 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
webpack.config.js
View file @
894af9bd
...
@@ -17,27 +17,27 @@ module.exports = (options = {}) => ({
...
@@ -17,27 +17,27 @@ module.exports = (options = {}) => ({
},
},
module
:
{
module
:
{
rules
:
[{
rules
:
[{
test
:
/
\.
vue$/
,
test
:
/
\.
vue$/
,
use
:
[
'vue-loader'
]
use
:
[
'vue-loader'
]
},
},
{
{
test
:
/
\.
js$/
,
test
:
/
\.
js$/
,
use
:
[
'babel-loader'
],
use
:
[
'babel-loader'
],
exclude
:
/node_modules/
exclude
:
/node_modules/
},
},
{
{
test
:
/
\.
css$/
,
test
:
/
\.
css$/
,
use
:
[
'style-loader'
,
'css-loader'
,
'postcss-loader'
]
use
:
[
'style-loader'
,
'css-loader'
,
'postcss-loader'
]
},
},
{
{
test
:
/
\.(
png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz
)(\?
.+
)?
$/
,
test
:
/
\.(
png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz
)(\?
.+
)?
$/
,
use
:
[{
use
:
[{
loader
:
'url-loader'
,
loader
:
'url-loader'
,
options
:
{
options
:
{
limit
:
10000
limit
:
10000
}
}
}]
}]
}
}
]
]
},
},
plugins
:
[
plugins
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment