Преглед на файлове

提交代码~

hotfix/210830_二组需求分支
王饶冀 преди 3 години
родител
ревизия
02b758336b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      pages/index/components/listDetails/Details.js

+ 2
- 2
pages/index/components/listDetails/Details.js Целия файл

}, },
getCurrentData() { getCurrentData() {
let { businessCommunicationDemandId, customerId } = this.data; let { businessCommunicationDemandId, customerId } = this.data;
let paramCustomerId = customerId ? customerId * 1 : null;
let paramCustomerId = customerId ? customerId * 1 : 0;
console.log(paramCustomerId, 'paramCustomerId') console.log(paramCustomerId, 'paramCustomerId')
$request.get('/businessCommunicationDemand/getDemandByDemandId.action', $request.get('/businessCommunicationDemand/getDemandByDemandId.action',
{ demandId: businessCommunicationDemandId, customerId: paramCustomerId } { demandId: businessCommunicationDemandId, customerId: paramCustomerId }
}) })
this.getListData(); this.getListData();
} }
}
}
this.setData({ this.setData({
pageLoading: false, pageLoading: false,
}) })

Loading…
Отказ
Запис