急,请问select为啥post取不到值呢?
html:<select ng-model="check.iteminfo">
<option value="1">合格</option>
<option value="2" ng-selected="true">部分合格</option>
<option value="3">不合格</option>
</select>
js:
$scope.caseSubmit = function (check) {
alert(check.iteminfo);
var data = {
iteminfo: encodeURI(encodeURI(check.iteminfo))
}
$http({
method: 'POST',
//url: ''http://111.17.181.235:5015/base/supervise_doAjaxSubmit.do',
url: 'http://192.168.0.101:8082/zzDrugManage1/base/supervise_doAjaxSubmit.do',
params:{
'require': data
}
}).success(function(data,status,headers,config){
alert("提报成功");
}).error(function(data,status,headers,config){
alert("提报失败");
});
};
谁来帮帮我 解决了,谢谢 sistargirl 发表于 2016-5-6 10:32
解决了,谢谢
楼主怎么解决的啊?你有添加拍照和文件上传的插件吗?我添加这两个插件老是不成功,其他插件都可以?
页:
[1]