Commit 55357064 by cen

fix: 代保管人新增

1 parent 01d80ebc
...@@ -26,8 +26,12 @@ export default { ...@@ -26,8 +26,12 @@ export default {
const { userInfo, params } = this const { userInfo, params } = this
const data = await uni.$api.evaluationApi.getCustodyAgreementList() const res = await uni.$api.evaluationApi.getCustodyAgreementList()
this.updateParams(params, data || []) if(res.data.code == 0) {
this.updateParams(params, res.data.data || [])
}
}, },
initData (data) { initData (data) {
this.list = data this.list = data
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
<OrderPopup ref="orderPopup" :data="custodyAgreementList" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="14" /> <OrderPopup ref="orderPopup" :data="custodyAgreementList" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="14" idKey="id" />
</view> </view>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!