mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 00:20:01 +08:00
1.添加了重置按钮
2.收费项目改为模糊查询
3.设置隐藏按钮,隐藏一些查询选框
4.查询选框新增费用项ID查询和出账类型查询
5.列表新增费用项列表
6.费用项ID和收费项目查询选框做了去空处理
7.下拉框关联了字典表
8.取消按钮加上图标
9.下拉框与字典表关联
10.解决时间插件多次点击失去焦点问题
11.解决添加成功后出账类型下拉框不显示问题
12.添加成功后提示添加成功
13.修改成功后提示修改成功
14.修改选框去空
附:
1.费用项列表表头加上单位
2.添加按钮选框去空
45 lines
1.7 KiB
JavaScript
45 lines
1.7 KiB
JavaScript
(function (vc, vm) {
|
|
vc.extends({
|
|
data: {
|
|
deleteFeeConfigInfo: {}
|
|
},
|
|
_initMethod: function () {
|
|
},
|
|
_initEvent: function () {
|
|
vc.on('deleteFeeConfig', 'openDeleteFeeConfigModal', function (_params) {
|
|
vc.component.deleteFeeConfigInfo = _params;
|
|
$('#deleteFeeConfigModel').modal('show');
|
|
});
|
|
},
|
|
methods: {
|
|
deleteFeeConfig: function () {
|
|
vc.component.deleteFeeConfigInfo.communityId = vc.getCurrentCommunity().communityId;
|
|
vc.http.post(
|
|
'deleteFeeConfig',
|
|
'delete',
|
|
JSON.stringify(vc.component.deleteFeeConfigInfo),
|
|
{
|
|
emulateJSON: true
|
|
},
|
|
function (json, res) {
|
|
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
|
if (res.status == 200) {
|
|
//关闭model
|
|
$('#deleteFeeConfigModel').modal('hide');
|
|
vc.emit('feeConfigManage', 'listFeeConfig', {});
|
|
vc.toast("删除成功");
|
|
return;
|
|
}
|
|
},
|
|
function (errInfo, error) {
|
|
console.log('请求失败处理');
|
|
vc.toast(json);
|
|
});
|
|
},
|
|
closeDeleteFeeConfigModel: function () {
|
|
$('#deleteFeeConfigModel').modal('hide');
|
|
}
|
|
}
|
|
});
|
|
})(window.vc, window.vc.component);
|