mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
优化代码
This commit is contained in:
parent
a72c4df84b
commit
1d5484ddc7
@ -132,7 +132,9 @@
|
||||
},
|
||||
function(json, res) {
|
||||
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
||||
if (res.status == 200) {
|
||||
let _json = JSON.parse(json)
|
||||
|
||||
if (_json.code != 0) {
|
||||
//关闭model
|
||||
$('#editCarModal').modal('hide');
|
||||
vc.emit('listOwnerCar', 'listOwnerCarData', {});
|
||||
@ -143,7 +145,7 @@
|
||||
}
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
vc.toast(_json.msg);
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
@ -102,7 +102,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_viewRepairTypeUser(repairSetting)"><span><vc:i18n name="维修师傅" namespace="repairSettingManage"></vc:i18n></span>
|
||||
<button class="btn-white btn btn-xs" v-on:click="_viewRepairTypeUser(repairSetting)"><span><vc:i18n name="绑定维修师傅" namespace="repairSettingManage"></vc:i18n></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
@ -143,4 +143,4 @@
|
||||
<vc:create path="property/addRepairSetting" callBackListener="" callBackFunction=""></vc:create>
|
||||
<vc:create path="property/editRepairSetting"></vc:create>
|
||||
<vc:create path="property/deleteRepairSetting"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user