| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- /**
- 权限组
- **/
- (function(vc){
- vc.extends({
- data:{
- feeConfigInfo:{
- configId:"",
- squarePrice:"",
- additionalAmount:""
- }
- },
- _initMethod:function(){
- vc.component.loadPropertyConfigFee();
- },
- _initEvent:function(){
- vc.on('viewPropertyFeeConfig','loadPropertyConfigFee',function(){
- vc.component.loadPropertyConfigFee();
- });
- },
- methods:{
- openConfigPropertyFeeModel:function(){
- vc.emit('configPropertyFee','openConfigPropertyFeeModel',feeConfigInfo);
- },
- loadPropertyConfigFee:function(){
- var param = {
- params:{
- communityId:vc.getCurrentCommunity().communityId,
- configId:feeConfigInfo.configId
- }
- };
- vc.http.get(
- 'viewPropertyFeeConfig',
- 'loadData',
- param,
- function(json,res){
- //vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
- if(res.status == 200){
- //关闭model
- vc.copyObject(JSON.parse(json), vc.component.feeConfigInfo);
- return ;
- }
- vc.message(json);
- },
- function(errInfo,error){
- console.log('请求失败处理');
- vc.message(errInfo);
- });
- }
- }
- });
- })(window.vc);
|