Commit 525ff4e5 authored by chase's avatar chase

fix bug

parent 2aeee399
...@@ -37,7 +37,6 @@ public class TaxDocumentController { ...@@ -37,7 +37,6 @@ public class TaxDocumentController {
taxDocumentService.selectTaxDocumentList(taxDocumentDto); taxDocumentService.selectTaxDocumentList(taxDocumentDto);
PageInfo<TaxDocument> taxDocumentPageInfo = page.toPageInfo(); PageInfo<TaxDocument> taxDocumentPageInfo = page.toPageInfo();
List<TaxDocument> list = taxDocumentPageInfo.getList(); List<TaxDocument> list = taxDocumentPageInfo.getList();
return PageResultVo.getPageResultVo(taxDocumentPageInfo, list); return PageResultVo.getPageResultVo(taxDocumentPageInfo, list);
} }
...@@ -49,8 +48,8 @@ public class TaxDocumentController { ...@@ -49,8 +48,8 @@ public class TaxDocumentController {
@PostMapping("add") @PostMapping("add")
@ResponseBody @ResponseBody
public boolean addTaxDocument(@RequestBody TaxDocument taxDocument, public boolean addTaxDocument(TaxDocument taxDocument,
@RequestParam MultipartFile file) { @RequestParam("file") MultipartFile file) {
return taxDocumentService.addTaxDocumentList(file,taxDocument); return taxDocumentService.addTaxDocumentList(file,taxDocument);
} }
...@@ -72,7 +71,6 @@ public class TaxDocumentController { ...@@ -72,7 +71,6 @@ public class TaxDocumentController {
return taxDocumentService.editFilesType(taxDocument); return taxDocumentService.editFilesType(taxDocument);
} }
@RequestMapping("exportExcel") @RequestMapping("exportExcel")
@ResponseBody @ResponseBody
public void exportExcelFile(HttpServletResponse response, @RequestBody TaxDocumentDto taxDocumentDto) { public void exportExcelFile(HttpServletResponse response, @RequestBody TaxDocumentDto taxDocumentDto) {
...@@ -120,12 +118,12 @@ public class TaxDocumentController { ...@@ -120,12 +118,12 @@ public class TaxDocumentController {
/** /**
* 生成上传url * 生成上传url
* *
* @param picture * @param file
* @param modual * @param modual
* @return * @return
*/ */
private String getUploadUrl(MultipartFile picture, String modual) { private String getUploadUrl(MultipartFile file, String modual) {
String fileName = picture.getOriginalFilename(); String fileName = file.getOriginalFilename();
String pictureName = UUID.randomUUID().toString() + fileName.substring(fileName.lastIndexOf(".")); String pictureName = UUID.randomUUID().toString() + fileName.substring(fileName.lastIndexOf("."));
String dir = DateUtils.getStringDateShort(); String dir = DateUtils.getStringDateShort();
String typePath = ""; String typePath = "";
...@@ -141,7 +139,7 @@ public class TaxDocumentController { ...@@ -141,7 +139,7 @@ public class TaxDocumentController {
if (!basePath.exists()) { if (!basePath.exists()) {
basePath.mkdirs(); basePath.mkdirs();
} }
picture.transferTo(new File(fileSavePath + File.separator + typePath + File.separator + pictureName)); file.transferTo(new File(fileSavePath + File.separator + typePath + File.separator + pictureName));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -91,7 +91,7 @@ public class TaxDocumentServiceImpl { ...@@ -91,7 +91,7 @@ public class TaxDocumentServiceImpl {
} }
//档案名称 fileName //档案名称 fileName
if (StringUtils.isNotBlank(taxDocumentDto.getFileName())) { if (StringUtils.isNotBlank(taxDocumentDto.getFileName())) {
criteria.andFileNameLike(taxDocumentDto.getFileName()); criteria.andFileNameLike("%"+taxDocumentDto.getFileName()+"%");
} }
//业务线 businessLine //业务线 businessLine
if (StringUtils.isNotBlank(taxDocumentDto.getBusinessLine())) { if (StringUtils.isNotBlank(taxDocumentDto.getBusinessLine())) {
......
...@@ -231,7 +231,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -231,7 +231,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
$scope.isCreatePop = false; $scope.isCreatePop = false;
$scope.simpleUploadSubmit = editDocFileRecord; $scope.simpleUploadSubmit = editDocFileRecord;
$scope.localData.forEach(function (item) { $scope.localData.forEach(function (item) {
if (item.id === rowId) { if (item.id == rowId) {
$scope.editFieldModel = angular.copy(item); $scope.editFieldModel = angular.copy(item);
$scope.editFieldModel.ownTime = dateFormat(item.ownTime); $scope.editFieldModel.ownTime = dateFormat(item.ownTime);
$scope.editFieldModel.fileTime = dateFormat(item.fileTime); $scope.editFieldModel.fileTime = dateFormat(item.fileTime);
...@@ -285,7 +285,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -285,7 +285,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
$scope.uploader.uploadItem(0); $scope.uploader.uploadItem(0);
$scope.isCoverOperation = false; $scope.isCoverOperation = false;
$('#busy-indicator-container').show(); // $('#busy-indicator-container').show();
// addLogicAfterUploadFile($scope.editFieldModel,'simple'); // addLogicAfterUploadFile($scope.editFieldModel,'simple');
} else { } else {
SweetAlert.swal({ SweetAlert.swal({
...@@ -305,7 +305,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -305,7 +305,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
$scope.uploader.uploadItem(0); $scope.uploader.uploadItem(0);
// editDocFileRecord($scope.editFieldModel, 'simple'); // editDocFileRecord($scope.editFieldModel, 'simple');
$('#busy-indicator-container').show(); // $('#busy-indicator-container').show();
$scope.isCoverOperation = true; $scope.isCoverOperation = true;
} }
}) })
...@@ -530,27 +530,38 @@ taxDocumentManageModule.directive("multiDatePicker", function () { ...@@ -530,27 +530,38 @@ taxDocumentManageModule.directive("multiDatePicker", function () {
$('#period-picker1').rangePicker(setModel) $('#period-picker1').rangePicker(setModel)
.on('datePicker.done', function (e, result) { .on('datePicker.done', function (e, result) {
// $scope.queryFieldModel.AvailabilityDate // $scope.queryFieldModel.AvailabilityDate
$scope.queryFieldModel.fileBeginTime = result[0].reverse().join("-"); $scope.queryFieldModel.fileBeginTime = dateFormat(result[0].reverse());
$scope.queryFieldModel.fileEndTTime = result[1].reverse().join("-"); $scope.queryFieldModel.fileEndTTime = dateFormat(result[1].reverse());
}); });
$('#period-picker2').rangePicker(setModel) $('#period-picker2').rangePicker(setModel)
.on('datePicker.done', function (e, result) { .on('datePicker.done', function (e, result) {
// queryFieldModel.Duration // queryFieldModel.Duration
$scope.queryFieldModel.ownBeginTime = result[0].reverse().join("-"); $scope.queryFieldModel.ownBeginTime = dateFormat(result[0].reverse());
$scope.queryFieldModel.ownEndTime = result[1].reverse().join("-"); $scope.queryFieldModel.ownEndTime = dateFormat(result[1].reverse());
}); });
$('#period-picker3').rangePicker(setModel) $('#period-picker3').rangePicker(setModel)
.on('datePicker.done', function (e, result) { .on('datePicker.done', function (e, result) {
// queryFieldModel.DueDate // queryFieldModel.DueDate
$scope.queryFieldModel.effectiveBeginTime = result[0].reverse().join("-"); $scope.queryFieldModel.effectiveBeginTime = dateFormat(result[0].reverse());
$scope.queryFieldModel.effectiveEndTime = result[1].reverse().join("-"); $scope.queryFieldModel.effectiveEndTime = dateFormat(result[1].reverse());
}); });
$('#period-picker4').rangePicker(setModel) $('#period-picker4').rangePicker(setModel)
.on('datePicker.done', function (e, result) { .on('datePicker.done', function (e, result) {
// queryFieldModel.UploadDate // queryFieldModel.UploadDate
$scope.queryFieldModel.uploadBeginTime = result[0].reverse().join("-"); $scope.queryFieldModel.uploadBeginTime = dateFormat(result[0].reverse());
$scope.queryFieldModel.uploadEndTime = result[1].reverse().join("-"); $scope.queryFieldModel.uploadEndTime = dateFormat(result[1].reverse());
}); });
function dateFormat(dateArr){
var result = [];
dateArr.forEach(function(dateItem){
dateItem = dateItem + "";
dateItem = dateItem.length < 2 ? "0" + dateItem : dateItem;
result.push(dateItem);
});
//默认填充每月的1号
result.push("01");
return result.join("-");
}
}] }]
} }
...@@ -640,7 +651,11 @@ taxDocumentManageModule.directive('fileUploader',function () { ...@@ -640,7 +651,11 @@ taxDocumentManageModule.directive('fileUploader',function () {
$scope.uploader = new FileUploader({ $scope.uploader = new FileUploader({
url: apiInterceptor.webApiHostUrl + "/taxDoc/add", url: apiInterceptor.webApiHostUrl + "/taxDoc/add",
// autoUpload: true,//添加后,自动上传 // autoUpload: true,//添加后,自动上传
headers:{"Authorization":apiInterceptor.tokenType + ' ' + apiInterceptor.apiToken()}, headers:{
'Access-Control-Allow-Origin': '*',
Authorization: apiInterceptor.tokenType + ' ' + apiInterceptor.apiToken(),
withCredentials: true
},
removeAfterUpload:true, removeAfterUpload:true,
}); });
$scope.uploader.filters.push({//xls限制 $scope.uploader.filters.push({//xls限制
...@@ -666,7 +681,7 @@ taxDocumentManageModule.directive('fileUploader',function () { ...@@ -666,7 +681,7 @@ taxDocumentManageModule.directive('fileUploader',function () {
// $scope.uploader.clearQueue(); // $scope.uploader.clearQueue();
$scope.editFieldModel = {}; $scope.editFieldModel = {};
$('#busy-indicator-container').hide(); // $('#busy-indicator-container').hide();
}; };
// $scope.uploader.onCancelItem = function(fileItem, response, status, headers) { // $scope.uploader.onCancelItem = function(fileItem, response, status, headers) {
// console.info('onCancelItem', fileItem, response, status, headers); // console.info('onCancelItem', fileItem, response, status, headers);
...@@ -1073,4 +1088,70 @@ taxDocumentManageModule.directive('pdfPreview',function(){ ...@@ -1073,4 +1088,70 @@ taxDocumentManageModule.directive('pdfPreview',function(){
}] }]
} }
});
taxDocumentManageModule.directive('helpPop',function(){
return{
restrict:'EA',
controller:['$scope','taxDocumentListService','$translate','$compile',
function($scope,taxDocumentListService,$translate,$compile){
$scope.openHelpPop = function(){
$scope.help_loadData();
};
$scope.help_cacheData = {};
$scope.help_loadData = function () {
taxDocumentListService.getDocumentsAttrAndType({params:{}}).then(function (data) {
$scope.help_dataGridUpdate(data);
var dataGrid = $('<div dx-data-grid="help_dataGridOptions">');
$("#helpPopContainer").html("").append(dataGrid);
$compile(dataGrid)($scope);
$("#helpPopDialog").modal("show");
})
};
$scope.help_dataGridUpdate = function (_data) {
$scope.help_cacheData = _data.items;
$scope.help_dataGridOptions = {
bindingOptions: {
dataSource: 'help_cacheData',
},
paging: {
enable: true,
pageIndex: 0,
pageSize: 10
},
pager: {
allowedPageSizes: 5,
infoText: "当前 {0} / {1} ({2} )",
showInfo: true,
showNavigationButtons: true,
showPageSizeSelector: true,
visible: true
},
showBorders: true,
showRowLines: true,
columnAutoWidth: true,
allowColumnReordering: true,
columns: [
{
dataField: "fileAttr",
caption: $translate.instant('DocumentAttr'),
},
{
dataField: "fileType",
caption: $translate.instant('DocumentType'),
},
{
dataField: "description",
caption: $translate.instant('Description'),
},
],
};
};
}]
}
}); });
\ No newline at end of file
...@@ -272,6 +272,11 @@ ...@@ -272,6 +272,11 @@
.TDL-pdf-paging-btn-next{ .TDL-pdf-paging-btn-next{
right: 6rem; right: 6rem;
} }
/*HACK,主要为了解决rangPicker插件的布局问题*/
div.rangePicker.RTL > .wrap > .custom > div.calendar.from{
float: left;
}
</style> </style>
<div class="menu-header TDL-header" multi-date-picker> <div class="menu-header TDL-header" multi-date-picker>
<div class="TDL-query-bar" ng-init="MoreFields = false"> <div class="TDL-query-bar" ng-init="MoreFields = false">
...@@ -510,7 +515,7 @@ ...@@ -510,7 +515,7 @@
placeholder="{{'PleaseSelected' | translate}}" placeholder="{{'PleaseSelected' | translate}}"
readonly readonly
ng-model="editFieldModel.fileNativePath" ng-model="editFieldModel.fileNativePath"
required style="width:320px;" maxlength="50" /> required style="width:320px;" />
<input id="uploadFilePlugin" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter"> <input id="uploadFilePlugin" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter">
</div> </div>
<div class="DTL-special-external-btn"> <div class="DTL-special-external-btn">
...@@ -535,7 +540,7 @@ ...@@ -535,7 +540,7 @@
<input class="form-control" title="{{editFieldModel.fileName}}" <input class="form-control" title="{{editFieldModel.fileName}}"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.fileName" ng-model="editFieldModel.fileName"
required style="width:320px;" maxlength="50" /> required style="width:320px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -547,7 +552,7 @@ ...@@ -547,7 +552,7 @@
<!--<input class="form-control"--> <!--<input class="form-control"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.fileAttr"--> <!--ng-model="editFieldModel.fileAttr"-->
<!--required style="width:320px;" maxlength="50" />--> <!--required style="width:320px;" />-->
<select ng-model="editFieldModel.fileAttr" ng-init="editFieldModel.fileAttr = ''" class="form-control" <select ng-model="editFieldModel.fileAttr" ng-init="editFieldModel.fileAttr = ''" class="form-control"
style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}"> style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}">
<option ng-repeat="fileAttr in fileAttrOptions track by $index" <option ng-repeat="fileAttr in fileAttrOptions track by $index"
...@@ -556,8 +561,10 @@ ...@@ -556,8 +561,10 @@
</select> </select>
</div> </div>
<div class="DTL-special-external-btn"> <div class="DTL-special-external-btn" title="查看类型列表">
<a href="javascript:void(0)" ><i class="fa fake-question-circle" aria-hidden="true"></i></a> <a href="javascript:void(0)" ng-click="openHelpPop()">
<i class="fa fake-question-circle" aria-hidden="true"></i>
</a>
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -569,7 +576,7 @@ ...@@ -569,7 +576,7 @@
<!--<input class="form-control" title="{{editFieldModel.companyName}}"--> <!--<input class="form-control" title="{{editFieldModel.companyName}}"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.companyName"--> <!--ng-model="editFieldModel.companyName"-->
<!--required style="width:320px;" maxlength="50" />--> <!--required style="width:320px;" />-->
<select ng-model="editFieldModel.companyName" class="form-control" ng-init="editFieldModel.companyName = ''" <select ng-model="editFieldModel.companyName" class="form-control" ng-init="editFieldModel.companyName = ''"
title="{{editFieldModel.companyName}}" style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}"> title="{{editFieldModel.companyName}}" style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}">
...@@ -588,7 +595,7 @@ ...@@ -588,7 +595,7 @@
<!--<input class="form-control"--> <!--<input class="form-control"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.fileType"--> <!--ng-model="editFieldModel.fileType"-->
<!--required style="width:320px;" maxlength="50" />--> <!--required style="width:320px;" />-->
<select ng-model="editFieldModel.fileType" class="form-control" ng-init="editFieldModel.fileType = ''" <select ng-model="editFieldModel.fileType" class="form-control" ng-init="editFieldModel.fileType = ''"
style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}"> style="width:320px;" required placeholder="{{'PleaseSelected' | translate}}">
...@@ -606,7 +613,7 @@ ...@@ -606,7 +613,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseSelected' | translate}}" placeholder="{{'PleaseSelected' | translate}}"
ng-model="editFieldModel.taxType" ng-model="editFieldModel.taxType"
style="width:320px;" maxlength="50" /> style="width:320px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -644,7 +651,7 @@ ...@@ -644,7 +651,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.storageArea" ng-model="editFieldModel.storageArea"
style="width:320px;" maxlength="50" /> style="width:320px;" />
</div> </div>
<div class="DTL-special-external-btn" title="{{'EntityStorageDescription' | translate}}"> <div class="DTL-special-external-btn" title="{{'EntityStorageDescription' | translate}}">
<i class="fa fake-exclamatory-circle"></i> <i class="fa fake-exclamatory-circle"></i>
...@@ -656,7 +663,7 @@ ...@@ -656,7 +663,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.keeper" ng-model="editFieldModel.keeper"
style="width:320px;" maxlength="50" /> style="width:320px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -665,7 +672,7 @@ ...@@ -665,7 +672,7 @@
<input class="form-control" title="{{editFieldModel.storageArea}}" <input class="form-control" title="{{editFieldModel.storageArea}}"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.physicalIndexNumber" ng-model="editFieldModel.physicalIndexNumber"
style="width:320px;" maxlength="50" /> style="width:320px;" />
</div> </div>
</div> </div>
<div class="form-group" style="width:100%;float:left;"> <div class="form-group" style="width:100%;float:left;">
...@@ -673,7 +680,7 @@ ...@@ -673,7 +680,7 @@
<div class="col-sm-11" style="width:87.5%"> <div class="col-sm-11" style="width:87.5%">
<textarea class="form-control" <textarea class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.remarks" maxlength="300"> ng-model="editFieldModel.remarks" >
</textarea> </textarea>
</div> </div>
</div> </div>
...@@ -719,7 +726,7 @@ ...@@ -719,7 +726,7 @@
placeholder="{{'PleaseSelected' | translate}}" placeholder="{{'PleaseSelected' | translate}}"
readonly readonly
ng-model="editFieldItem.fileNativePath" ng-model="editFieldItem.fileNativePath"
required style="width:280px;" maxlength="50" /> required style="width:280px;" />
<!--<input id="{{multiUploadFilePlugin}}" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter">--> <!--<input id="{{multiUploadFilePlugin}}" type="file" style="display:none" nv-file-select uploader="uploader" filters="fileTypeFilter">-->
</div> </div>
</div> </div>
...@@ -741,7 +748,7 @@ ...@@ -741,7 +748,7 @@
<input class="form-control" title="{{editFieldItem.fileName}}" <input class="form-control" title="{{editFieldItem.fileName}}"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldItem.fileName" ng-model="editFieldItem.fileName"
required style="width:280px;" maxlength="50" /> required style="width:280px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -753,7 +760,7 @@ ...@@ -753,7 +760,7 @@
<!--<input class="form-control"--> <!--<input class="form-control"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.fileAttr"--> <!--ng-model="editFieldModel.fileAttr"-->
<!--required style="width:280px;" maxlength="50" />--> <!--required style="width:280px;" />-->
<select ng-model="editFieldItem.fileAttr" ng-init="editFieldItem.fileAttr = ''" class="form-control" <select ng-model="editFieldItem.fileAttr" ng-init="editFieldItem.fileAttr = ''" class="form-control"
style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}"> style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}">
<option ng-repeat="fileAttr in fileAttrOptions track by $index" <option ng-repeat="fileAttr in fileAttrOptions track by $index"
...@@ -762,8 +769,8 @@ ...@@ -762,8 +769,8 @@
</select> </select>
</div> </div>
<div class="DTL-special-external-btn"> <div class="DTL-special-external-btn" title="查看类型列表">
<a href="javascript:void(0)" ><i class="fa fake-question-circle" aria-hidden="true"></i></a> <a href="javascript:void(0)" ng-click="openHelpPop()"><i class="fa fake-question-circle" aria-hidden="true"></i></a>
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -775,7 +782,7 @@ ...@@ -775,7 +782,7 @@
<!--<input class="form-control" title="{{editFieldModel.companyName}}"--> <!--<input class="form-control" title="{{editFieldModel.companyName}}"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.companyName"--> <!--ng-model="editFieldModel.companyName"-->
<!--required style="width:280px;" maxlength="50" />--> <!--required style="width:280px;" />-->
<select ng-model="editFieldItem.companyName" class="form-control" <select ng-model="editFieldItem.companyName" class="form-control"
title="{{editFieldItem.companyName}}" style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}"> title="{{editFieldItem.companyName}}" style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}">
...@@ -795,7 +802,7 @@ ...@@ -795,7 +802,7 @@
<!--<input class="form-control"--> <!--<input class="form-control"-->
<!--placeholder="{{'PleaseSelected' | translate}}"--> <!--placeholder="{{'PleaseSelected' | translate}}"-->
<!--ng-model="editFieldModel.fileType"--> <!--ng-model="editFieldModel.fileType"-->
<!--required style="width:280px;" maxlength="50" />--> <!--required style="width:280px;" />-->
<select ng-model="editFieldItem.fileType" class="form-control" ng-init="editFieldItem.fileType = ''" <select ng-model="editFieldItem.fileType" class="form-control" ng-init="editFieldItem.fileType = ''"
style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}"> style="width:280px;" required placeholder="{{'PleaseSelected' | translate}}">
...@@ -813,7 +820,7 @@ ...@@ -813,7 +820,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseSelected' | translate}}" placeholder="{{'PleaseSelected' | translate}}"
ng-model="editFieldItem.taxType" ng-model="editFieldItem.taxType"
style="width:280px;" maxlength="50" /> style="width:280px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -851,7 +858,7 @@ ...@@ -851,7 +858,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldItem.storageArea" ng-model="editFieldItem.storageArea"
style="width:280px;" maxlength="50" /> style="width:280px;" />
</div> </div>
<div class="DTL-special-external-btn" title="{{'EntityStorageDescription'|translate}}"> <div class="DTL-special-external-btn" title="{{'EntityStorageDescription'|translate}}">
<i class="fa fake-exclamatory-circle"></i> <i class="fa fake-exclamatory-circle"></i>
...@@ -863,7 +870,7 @@ ...@@ -863,7 +870,7 @@
<input class="form-control" <input class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldItem.keeper" ng-model="editFieldItem.keeper"
style="width:280px;" maxlength="50" /> style="width:280px;" />
</div> </div>
</div> </div>
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
...@@ -872,7 +879,7 @@ ...@@ -872,7 +879,7 @@
<input class="form-control" title="{{editFieldItem.storageArea}}" <input class="form-control" title="{{editFieldItem.storageArea}}"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldModel.physicalIndexNumber" ng-model="editFieldModel.physicalIndexNumber"
style="width:280px;" maxlength="50" /> style="width:280px;" />
</div> </div>
</div> </div>
<div class="form-group" style="width:100%;float:left;"> <div class="form-group" style="width:100%;float:left;">
...@@ -880,7 +887,7 @@ ...@@ -880,7 +887,7 @@
<div class="col-sm-11" style="width:87.5%"> <div class="col-sm-11" style="width:87.5%">
<textarea class="form-control" <textarea class="form-control"
placeholder="{{'PleaseType' | translate}}" placeholder="{{'PleaseType' | translate}}"
ng-model="editFieldItem.remarks" maxlength="300"> ng-model="editFieldItem.remarks" >
</textarea> </textarea>
</div> </div>
</div> </div>
...@@ -946,6 +953,21 @@ ...@@ -946,6 +953,21 @@
</div> </div>
</div> </div>
<div class="modal fade" id="helpPopDialog" help-pop tabindex="-1" role="dialog" aria-labelledby="myModal" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" style="width:80%;" role="document">
<div class="modal-content">
<div class="modal-header">
<span class="close" data-dismiss="modal" aria-hidden="true" ng-click="hideFilePreviewPop()">×</span>
<div class="modal-title">{{currentSheetName}}</div>
</div>
<div class="modal-body">
<div class="dx-viewport demo-container" id="helpPopContainer">
</div>
</div>
</div>
</div>
</div>
<div class="TDL-pdf-layout-dialog" id="pdfLayoutDialog" pdf-preview> <div class="TDL-pdf-layout-dialog" id="pdfLayoutDialog" pdf-preview>
<div class="wrapper TDL-pdf-preview-pop" id="pdfContainer"> <div class="wrapper TDL-pdf-preview-pop" id="pdfContainer">
<canvas id="the-canvas"></canvas> <canvas id="the-canvas"></canvas>
......
...@@ -27,6 +27,9 @@ taxDocumentManageModule.factory('taxDocumentListService', ...@@ -27,6 +27,9 @@ taxDocumentManageModule.factory('taxDocumentListService',
delFileRecordItems: function (params) { delFileRecordItems: function (params) {
return jqFetch.post(apiInterceptor.webApiHostUrl + '/taxDoc/batchDelete', params); return jqFetch.post(apiInterceptor.webApiHostUrl + '/taxDoc/batchDelete', params);
}, },
getDocumentsAttrAndType:function(params){
return jqFetch.post(apiInterceptor.webApiHostUrl + '/fileTypes/selectList', params);
},
getBinaryData: function (url) { getBinaryData: function (url) {
var defer = $q.defer(); var defer = $q.defer();
var oReq = new XMLHttpRequest(); var oReq = new XMLHttpRequest();
......
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