Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
f09fa1dd
Commit
f09fa1dd
authored
Mar 01, 2019
by
Ken you
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add admin CIT excel import and resolve some bug----Ken
parent
94eb6b17
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
99 additions
and
44 deletions
+99
-44
TemplateGroupController.java
.../pwc/taxtech/atms/controller/TemplateGroupController.java
+13
-0
EbsApiServiceImpl.java
...java/pwc/taxtech/atms/service/impl/EbsApiServiceImpl.java
+0
-0
TemplateGroupServiceImpl.java
...c/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
+22
-2
EbsApiServiceImplTest.java
.../pwc/taxtech/atms/service/impl/EbsApiServiceImplTest.java
+0
-0
TemplateExtendsMapper.xml
...es/pwc/taxtech/atms/dao/extends/TemplateExtendsMapper.xml
+2
-2
declaration-form-configuration.ctrl.js
...nFormConfiguration/declaration-form-configuration.ctrl.js
+25
-10
declaration-form-configuration.html
...tionFormConfiguration/declaration-form-configuration.html
+7
-7
declaration-form-configuration.less
...tionFormConfiguration/declaration-form-configuration.less
+3
-3
edit-template-modal.ctrl.js
.../controls/edit-template-modal/edit-template-modal.ctrl.js
+4
-1
edit-template-modal.html
...mon/controls/edit-template-modal/edit-template-modal.html
+18
-18
edit-template-modal.js
...ommon/controls/edit-template-modal/edit-template-modal.js
+0
-0
edit-template-modal.less
...mon/controls/edit-template-modal/edit-template-modal.less
+4
-0
templateGroup.svc.js
...c/main/webapp/app/common/webservices/templateGroup.svc.js
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/TemplateGroupController.java
View file @
f09fa1dd
...
...
@@ -156,4 +156,17 @@ public class TemplateGroupController {
return
OperationResultDto
.
error
(
ErrorMessage
.
SystemError
);
}
@RequestMapping
(
value
=
"withoutTemplate"
,
method
=
RequestMethod
.
POST
)
public
@ResponseBody
OperationResultDto
withoutTemplate
(
@RequestBody
TemplateGroupDto
templateGroupDto
)
{
try
{
templateGroupService
.
addTemplateGroupWithoutTemplate
(
templateGroupDto
);
return
OperationResultDto
.
success
();
}
catch
(
ServiceException
e
)
{
return
OperationResultDto
.
error
(
e
.
getMessage
());
}
catch
(
Exception
e
)
{
logger
.
error
(
"withoutTemplate error."
,
e
);
}
return
OperationResultDto
.
error
(
ErrorMessage
.
SystemError
);
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/EbsApiServiceImpl.java
View file @
f09fa1dd
This diff is collapsed.
Click to expand it.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
View file @
f09fa1dd
...
...
@@ -38,10 +38,8 @@ import pwc.taxtech.atms.entity.TemplateGroup;
import
pwc.taxtech.atms.entity.TemplateGroupExample
;
import
pwc.taxtech.atms.exception.ServiceException
;
import
pwc.taxtech.atms.vat.dao.PeriodDataSourceMapper
;
import
pwc.taxtech.atms.vat.entity.PeriodCellData
;
import
pwc.taxtech.atms.vat.entity.PeriodDataSource
;
import
java.io.ByteArrayInputStream
;
import
java.io.ByteArrayOutputStream
;
import
java.io.InputStream
;
import
java.math.BigDecimal
;
...
...
@@ -527,6 +525,28 @@ public class TemplateGroupServiceImpl extends AbstractService {
}
@Transactional
public
void
addTemplateGroupWithoutTemplate
(
TemplateGroupDto
templateGroupDto
)
throws
ServiceException
{
List
<
TemplateGroup
>
groupList
=
templateGroupDao
.
getByGroupName
(
templateGroupDto
.
getName
());
if
(
CollectionUtils
.
isNotEmpty
(
groupList
))
{
throw
new
ServiceException
(
TemplateMessage
.
TemplateGroupNameExist
);
}
try
{
TemplateGroup
templateGroup
=
new
TemplateGroup
();
CommonUtils
.
copyProperties
(
templateGroupDto
,
templateGroup
);
Long
newGroupId
=
distributedIdService
.
nextId
();
Date
now
=
new
Date
();
templateGroup
.
setId
(
newGroupId
);
templateGroup
.
setCreateTime
(
now
);
templateGroup
.
setUpdateTime
(
now
);
templateGroup
.
setName
(
templateGroupDto
.
getName
());
templateGroupMapper
.
insertSelective
(
templateGroup
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"addTemplateGroupWithoutTemplate error."
,
e
);
throw
new
ServiceException
(
ErrorMessage
.
SystemError
);
}
}
private
List
<
CellTemplateConfig
>
getByTemplateId
(
Long
id
)
{
CellTemplateConfigExample
example
=
new
CellTemplateConfigExample
();
CellTemplateConfigExample
.
Criteria
criteria
=
example
.
createCriteria
();
...
...
atms-api/src/test/java/pwc/taxtech/atms/service/impl/EbsApiServiceImplTest.java
View file @
f09fa1dd
This diff is collapsed.
Click to expand it.
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/TemplateExtendsMapper.xml
View file @
f09fa1dd
...
...
@@ -21,8 +21,8 @@
<select
id=
"getTemplateUniqDtosByTemplateAndTemplateGroup"
parameterType=
"map"
resultMap=
"TemplateUniqDto"
>
SELECT
P.id as ID,
p
.code as Code,
p
.name as Name,
P
.code as Code,
P
.name as Name,
P.report_type as ReportType,
Q.id AS TEMPLATE_GROUP_ID,
Q.name AS TEMPLATE_GROUP_NAME,
...
...
atms-web/src/main/webapp/app/admin/systemConfiguration/declarationFormConfiguration/declaration-form-configuration.ctrl.js
View file @
f09fa1dd
...
...
@@ -120,18 +120,14 @@
defaultValue
=
find
;
$scope
.
templateGroupId
=
find
.
id
;
}
else
{
$scope
.
curTemplateGroup
=
null
;
}
}
dxControl
.
renderTemplateGroupDropDown
(
templateGroupData
,
defaultValue
);
if
(
templateGroupData
&&
templateGroupData
.
length
>
0
)
{
loadReportType
();
}
else
{
$
(
'#dx-select-template-groups'
).
dxDropDownBox
(
'instance'
).
option
(
'dataSource'
,
[]);
$
(
'#dx-select-template'
).
dxDropDownBox
(
'instance'
).
option
(
'dataSource'
,
[]);
}
});
}
};
...
...
@@ -147,8 +143,18 @@
}
};
if
(
$scope
.
curTemplateGroup
&&
$scope
.
curTemplateGroup
.
id
)
{
if
(
$scope
.
curServiceTypeId
===
enums
.
serviceType
.
CIT
)
{
if
(
$scope
.
curServiceTypeId
===
enums
.
serviceType
.
VAT
)
{
$scope
.
detailReportTypeList
=
angular
.
copy
(
defaultReportTypeOpt
);
var
ds
=
_
.
filter
(
citReportTypeList
,
function
(
item
)
{
return
item
.
value
==
1
||
item
.
value
==
3
||
item
.
value
==
4
});
$scope
.
detailReportTypeList
.
dataSource
=
new
DevExpress
.
data
.
ArrayStore
({
data
:
ds
});
$scope
.
detailReportTypeList
.
value
=
citReportTypeList
[
0
].
name
;
$
(
'#dx-select-report-type'
).
dxSelectBox
(
'instance'
).
option
(
$scope
.
detailReportTypeList
);
$scope
.
reportType
=
citReportTypeList
[
0
];
listTemplates
();
}
else
if
(
$scope
.
curServiceTypeId
===
enums
.
serviceType
.
CIT
)
{
$scope
.
detailReportTypeList
=
angular
.
copy
(
defaultReportTypeOpt
);
$scope
.
detailReportTypeList
.
dataSource
=
new
DevExpress
.
data
.
ArrayStore
({
data
:
citReportTypeList
...
...
@@ -180,7 +186,6 @@
$scope
.
reportType
=
null
;
listTemplates
();
}
}
};
var
loadIndustry
=
function
()
{
...
...
@@ -315,6 +320,7 @@
//加载'报表'源数据
var
listTemplates
=
function
()
{
if
(
$scope
.
curTemplateGroup
&&
$scope
.
curTemplateGroup
.
id
)
{
templateGroupService
.
getTemplateList
(
$scope
.
curTemplateGroup
.
id
,
$scope
.
reportType
&&
$scope
.
reportType
.
value
).
success
(
function
(
templateData
)
{
templateData
=
_
.
filter
(
templateData
,
function
(
row
)
{
...
...
@@ -330,6 +336,9 @@
if
(
find
)
{
defaultValue
=
find
;
}
else
{
$scope
.
currentTemplate
=
null
;
}
}
$scope
.
templates
=
templateData
;
//当前组下的所有模板数据
...
...
@@ -340,6 +349,12 @@
$scope
.
ToggleSaveAs
=
showSavebutton
();
}
});
}
else
{
$
(
'#dx-select-template-groups'
).
dxDropDownBox
(
'instance'
).
option
(
'dataSource'
,
[]);
$scope
.
templates
.
length
=
0
;
$scope
.
currentTemplate
=
null
;
}
};
//模板不是默认模板才可以编辑和保存
var
showSavebutton
=
function
()
{
...
...
atms-web/src/main/webapp/app/admin/systemConfiguration/declarationFormConfiguration/declaration-form-configuration.html
View file @
f09fa1dd
...
...
@@ -28,15 +28,15 @@
<div
class=
"templates-top"
>
<div
class=
"form-group"
>
<span
class=
"tab-content-select-lable"
ng-show=
"curServiceTypeId !=='12'"
>
{{'IndustryColon' | translate}}
</span>
<div
id=
"dx-select-industry"
class=
"tab-content-select industry col-md-2"
ng-show=
"curServiceTypeId !=='12'"
dx-select-box=
"dataSourceIndustryList"
dx-item-alias=
"itemObj"
>
<div
id=
"dx-select-industry"
class=
"tab-content-select industry col-md-2"
ng-show=
"curServiceTypeId !=='12'"
dx-select-box=
"dataSourceIndustryList"
dx-item-alias=
"itemObj"
>
<div
data-options=
"dxTemplate: { name: 'industryItem' }"
class=
"dx-item-content dx-list-item-content"
title=
"{{itemObj.name}}"
>
{{itemObj.name}}
</div>
</div>
<span
class=
"tab-content-select-lable"
translate=
"ReportType"
ng-show=
"curServiceTypeId === '2'"
>
</span>
<div
class=
"tab-content-select reportType col-md-2"
id=
"dx-select-pay-tax-type"
ng-show=
"curServiceTypeId === '2'"
dx-select-box=
"dataSourcePayTaxTypeList"
dx-item-alias=
"itemObj"
>
<span
class=
"tab-content-select-lable"
ng-show=
"curServiceTypeId === '2'"
>
{{'Ratepayer' | translate}}:
</span>
<div
class=
"tab-content-select reportType col-md-2"
id=
"dx-select-pay-tax-type"
ng-show=
"curServiceTypeId === '2'"
dx-select-box=
"dataSourcePayTaxTypeList"
dx-item-alias=
"itemObj"
>
<div
data-options=
"dxTemplate: { name: 'filingTypeItem' }"
class=
"dx-item-content dx-list-item-content"
title=
"{{itemObj.name}}"
>
{{itemObj.name}}
</div>
...
...
@@ -44,8 +44,8 @@
<span
class=
"tab-content-select-lable"
>
{{'SelectTemplateGroup' | translate}}
</span>
<div
class=
"tab-content-select selectTemplateGroup col-md-2"
id=
"dx-select-template-groups"
>
</div>
<span
class=
"tab-content-select-lable"
translate=
"ReportType"
ng-show=
"curServiceTypeId === '6' || curServiceTypeId === '11' || curServiceTypeId === '99'"
></span>
<div
class=
"tab-content-select reportType col-md-2"
id=
"dx-select-report-type"
ng-show=
"curServiceTypeId === '6' || curServiceTypeId === '11' || curServiceTypeId === '99'"
<span
class=
"tab-content-select-lable"
translate=
"ReportType"
ng-show=
"curServiceTypeId === '
2' ||curServiceTypeId === '
6' || curServiceTypeId === '11' || curServiceTypeId === '99'"
></span>
<div
class=
"tab-content-select reportType col-md-2"
id=
"dx-select-report-type"
ng-show=
"curServiceTypeId === '
2' ||curServiceTypeId === '
6' || curServiceTypeId === '11' || curServiceTypeId === '99'"
dx-select-box=
"detailReportTypeList"
dx-item-alias=
"itemObj"
>
<div
data-options=
"dxTemplate: { name: 'reportTypeItem' }"
class=
"dx-item-content dx-list-item-content"
title=
"{{itemObj.name}}"
>
{{itemObj.name}}
...
...
atms-web/src/main/webapp/app/admin/systemConfiguration/declarationFormConfiguration/declaration-form-configuration.less
View file @
f09fa1dd
...
...
@@ -240,15 +240,15 @@
}
&.reportType {
width: 1
3
0px;
width: 1
2
0px;
}
&.selectTemplateGroup {
width:
20
0px;
width:
15
0px;
}
&.selectReport {
width:
20
0px;
width:
15
0px;
}
}
}
...
...
atms-web/src/main/webapp/app/common/controls/edit-template-modal/edit-template-modal.ctrl.js
View file @
f09fa1dd
...
...
@@ -189,6 +189,7 @@ controller('editTemplateModalController', ['$scope', '$log', '$translate', '$loc
// text: thisConstant.allSheets,
showClearButton
:
false
,
noDataText
:
''
,
dropDownOptions
:
{
maxHeight
:
'310px'
},
dataSource
:
thisData
.
sheetNameObjList
,
contentTemplate
:
function
(
e
)
{
var
value
=
e
.
component
.
option
(
"value"
),
...
...
@@ -231,7 +232,6 @@ controller('editTemplateModalController', ['$scope', '$log', '$translate', '$loc
save
:
function
(
modalInstance
)
{
if
(
!
$scope
.
editModel
||
!
$scope
.
editModel
.
file
)
{
SweetAlert
.
warning
(
thisData
.
pleaseSelectFile
);
return
;
}
...
...
@@ -267,6 +267,7 @@ controller('editTemplateModalController', ['$scope', '$log', '$translate', '$loc
allowManual
:
$
(
"#allowManual"
).
is
(
":checked"
),
filename
:
$scope
.
editModel
.
file
.
name
,
tempFileName
:
tempFileName
,
defaultInput
:
$scope
.
editModel
.
defaultInput
,
reportType
:
$scope
.
editModel
.
reportType
},
file
:
$scope
.
editModel
.
file
,
...
...
@@ -333,6 +334,7 @@ controller('editTemplateModalController', ['$scope', '$log', '$translate', '$loc
// body...
if
(
!
thisData
.
selectTemplateCodeList
||
thisData
.
selectTemplateCodeList
.
length
===
0
)
{
SweetAlert
.
warning
(
thisConstant
.
pleaseSelectTemplate
);
return
;
}
var
model
=
{
...
...
@@ -480,6 +482,7 @@ controller('editTemplateModalController', ['$scope', '$log', '$translate', '$loc
// text: thisConstant.allSheets,
showClearButton
:
false
,
noDataText
:
''
,
dropDownOptions
:
{
maxHeight
:
'310px'
},
dataSource
:
thisData
.
allTemplateList
,
contentTemplate
:
function
(
e
)
{
var
value
=
e
.
component
.
option
(
"value"
),
...
...
atms-web/src/main/webapp/app/common/controls/edit-template-modal/edit-template-modal.html
View file @
f09fa1dd
...
...
@@ -2,20 +2,20 @@
<!-- 采用导入报表模板的方式 -->
<script
type=
"text/ng-template"
id=
"editTemplateModal.html"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
>
添加报表
<
span
class
=
"close"
ng
-
click
=
"cancel()"
aria
-
hidden
=
"true"
>
×
<
/span></
div
>
<
div
class
=
"modal-title"
>
{{
'AddReport'
|
translate
}}
<
span
class
=
"close"
ng
-
click
=
"cancel()"
aria
-
hidden
=
"true"
>
×
<
/span></
div
>
<
/div>
<
div
class
=
"modal-body"
>
<
form
class
=
"form-horizontal"
id
=
"editTemplateControlForm"
>
<
div
class
=
"form-group radio-wrapper"
>
<
label
class
=
"col-sm-4 normal-label"
>
<
input
type
=
"radio"
ng
-
model
=
"editModel.addExists"
ng
-
value
=
"true"
><
span
>
添加现有报表
<
/span
>
<
input
type
=
"radio"
ng
-
model
=
"editModel.addExists"
ng
-
value
=
"true"
><
span
>
{{
'AddExistingReport'
|
translate
}}
<
/span>
<
/label>
<
label
class
=
"col-sm-4 normal-label"
>
<
input
type
=
"radio"
ng
-
model
=
"editModel.addExists"
ng
-
value
=
"false"
><
span
>
上传新报表
<
/span
>
<
input
type
=
"radio"
ng
-
model
=
"editModel.addExists"
ng
-
value
=
"false"
><
span
>
{{
'UploadNewReport'
|
translate
}}
<
/span>
<
/label>
<
/div>
<
div
class
=
"form-group"
ng
-
show
=
"!editModel.addExists"
>
<
label
for
=
"fileName"
class
=
"col-sm-3 control-label"
>
报表底稿:
<
/label
>
<
label
for
=
"fileName"
class
=
"col-sm-3 control-label"
>
{{
'TemplateFile'
|
translate
}}:
<
/label>
<
div
class
=
"col-sm-5"
>
<
input
class
=
"form-control"
type
=
"text"
name
=
"fileName"
ng
-
model
=
"editModel.file.name"
readonly
placeholder
=
""
>
<
/input>
...
...
@@ -25,25 +25,25 @@
<
/div>
<
/div>
<
div
class
=
"form-group"
ng
-
show
=
"!editModel.addExists"
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
选择报表:
<
/label
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
{{
'SelectReportTemplate'
|
translate
}}:
<
/label>
<
div
class
=
"col-sm-8 upload-sheet-wrapper"
>
<
div
id
=
{{::
editModel
.
sheetSelectDxID
}}
><
/div>
<
/div>
<
/div>
<
div
class
=
"form-group radio-wrapper"
ng
-
show
=
"!editModel.addExists"
>
<
label
for
=
"telCode"
class
=
"col-sm-4 normal-label"
>
<
input
type
=
"radio"
id
=
"allowManual"
><
span
>
允许手工录入
<
/span
>
<
/label
>
<
/div
>
<
div
class
=
"form-group"
ng
-
show
=
"editModel.addExists"
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
选择报表:
<
/label
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
{{
'SelectReportTemplate'
|
translate
}}:
<
/label>
<
div
class
=
"col-sm-9"
>
<
div
id
=
{{::
editModel
.
findSheetDxDropID
}}
><
/div>
<
/div>
<
/div>
<
div
class
=
"form-group"
ng
-
show
=
"!editModel.addExists"
>
<
div
class
=
"col-sm-9 normal-label checkbox"
>
<
label
>
<
input
type
=
"checkbox"
ng
-
model
=
"editModel.defaultInput"
ng
-
true
-
value
=
"1"
ng
-
false
-
value
=
"0"
>
{{
'AllowKeyInByDefault'
|
translate
}}
<
/label>
<
/div>
<
/div>
<
/form>
<
/div>
<
div
class
=
"modal-footer"
style
=
"padding-left: 22px;text-align: left;"
>
...
...
@@ -54,12 +54,12 @@
<!-- 添加现有报表 -->
<script
type=
"text/ng-template"
id=
"addExistTemplateModal.html"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
>
添加现有报表
<
/div
>
<
div
class
=
"modal-title"
>
{{
'AddExistingReport'
|
translate
}}
<
/div>
<
/div>
<
div
class
=
"modal-body"
>
<
form
class
=
"form-horizontal"
id
=
"editTemplateControlForm"
>
<
div
class
=
"form-group"
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
选择报表:
<
/label
>
<
label
for
=
"telCode"
class
=
"col-sm-3 control-label"
>
{{
'SelectReportTemplate'
|
translate
}}:
<
/label>
<
div
class
=
"col-sm-7"
>
<
div
id
=
{{::
editModel
.
findSheetDxDropID
}}
><
/div>
<
/div>
...
...
@@ -74,7 +74,7 @@
<!-- 编辑报表名称 -->
<script
type=
"text/ng-template"
id=
"deleteTemplateModal.html"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
>
删除报表
<
/div
>
<
div
class
=
"modal-title"
>
{{
'DeleteReport'
|
translate
}}
<
/div>
<
/div>
<
div
class
=
"modal-body"
>
<
form
class
=
"form-horizontal"
id
=
"deleteTemplateControlForm"
>
...
...
@@ -90,12 +90,12 @@
<!-- 编辑报表名称 -->
<script
type=
"text/ng-template"
id=
"editTemplateNameModal.html"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
>
编辑报表
<
/div
>
<
div
class
=
"modal-title"
>
{{
'EditReport'
|
translate
}}
<
/div>
<
/div>
<
div
class
=
"modal-body"
>
<
form
class
=
"form-horizontal"
id
=
"editTemplateNameModal"
>
<
div
class
=
"form-group"
>
<
label
for
=
"name"
class
=
"col-sm-3 control-label"
><
span
class
=
"must-input"
>*<
/span>
报表底稿:</
label
>
<
label
for
=
"name"
class
=
"col-sm-3 control-label"
><
span
class
=
"must-input"
>*<
/span>
{{'TemplateFile' | translate}}: </
label
>
<
div
class
=
"col-sm-8"
>
<
input
class
=
"form-control"
type
=
"text"
name
=
"name"
ng
-
model
=
"editModel.name"
/>
<
/div>
...
...
atms-web/src/main/webapp/app/common/controls/edit-template-modal/edit-template-modal.js
View file @
f09fa1dd
atms-web/src/main/webapp/app/common/controls/edit-template-modal/edit-template-modal.less
View file @
f09fa1dd
...
...
@@ -35,6 +35,10 @@
padding-left: 0;
padding-right: 32px;
}
.checkbox {
margin-left: 100px;
}
}
.edit-template-name-wrapper {
...
...
atms-web/src/main/webapp/app/common/webservices/templateGroup.svc.js
View file @
f09fa1dd
...
...
@@ -12,7 +12,7 @@ webservices.factory('templateGroupService', ['$http', 'apiConfig', 'httpCacheSer
return
$http
.
post
(
'/templateGroup/addTemplateGroup'
,
templateGroup
,
apiConfig
.
create
());
},
addTemplateGroupWithoutTemplate
:
function
(
templateGroup
)
{
return
$http
.
post
(
'/templateGroup/
templateGroup/
withoutTemplate'
,
templateGroup
,
apiConfig
.
create
());
return
$http
.
post
(
'/templateGroup/withoutTemplate'
,
templateGroup
,
apiConfig
.
create
());
},
getTemplateList
:
function
(
templateGroupID
,
reportType
)
{
return
$http
.
get
(
'/template/get?templateGroupID='
+
templateGroupID
+
'&reportType='
+
reportType
,
apiConfig
.
create
());
...
...
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