Commit 43cb7d59 authored by guantiantian's avatar guantiantian

更改港澳台参数

parent 6194da48
...@@ -140,14 +140,14 @@ ...@@ -140,14 +140,14 @@
type="radio" type="radio"
ng-model="isGAT" ng-model="isGAT"
name="type" name="type"
value="true" value="2"
/> />
<input <input
style="margin-left: 10px" style="margin-left: 10px"
type="radio" type="radio"
ng-model="isGAT" ng-model="isGAT"
name="type" name="type"
value="false" value="1"
ng-checked="true" ng-checked="true"
/> />
</td> </td>
......
...@@ -82,7 +82,7 @@ angular ...@@ -82,7 +82,7 @@ angular
}) })
$scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd") $scope.choseDate = $filter("date")(new Date(), "yyyy-MM-dd")
$scope.isGAT = false // $scope.isGAT = "1"
$scope.expUploadInfo = function () { $scope.expUploadInfo = function () {
var strdate = $("#strdate").val() var strdate = $("#strdate").val()
...@@ -105,6 +105,8 @@ angular ...@@ -105,6 +105,8 @@ angular
var files = document.querySelector( var files = document.querySelector(
"input#id_file_photo_for_check" "input#id_file_photo_for_check"
).files ).files
var isGAT = $scope.isGAT == "1" ? false : true
if (files.length == 0) { if (files.length == 0) {
MessageService.showAlert("请选择上传的文件...") MessageService.showAlert("请选择上传的文件...")
} else { } else {
...@@ -125,7 +127,7 @@ angular ...@@ -125,7 +127,7 @@ angular
HttpService.uploadExcelFile( HttpService.uploadExcelFile(
$("#datepicker1").val(), $("#datepicker1").val(),
$("#datepicker2").val(), $("#datepicker2").val(),
$scope.isGAT, isGAT,
fd, fd,
function (data) { function (data) {
$scope.msgText = data.msg $scope.msgText = data.msg
......
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