This commit is contained in:
parent
80e76e6c80
commit
68db9d46b5
|
|
@ -163,7 +163,10 @@
|
||||||
<view class="loading-text">
|
<view class="loading-text">
|
||||||
{{ '没有更多数据了~' }}
|
{{ '没有更多数据了~' }}
|
||||||
</view>
|
</view>
|
||||||
<view v-if="codeDeviceList.length > 0" class="outbound-btn" @tap="onHandleOutbound"> 添加 </view>
|
|
||||||
|
<div v-if="codeDeviceList.length > 0">
|
||||||
|
<button type="primary" @click="onHandleOutbound">添加</button>
|
||||||
|
</div>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ onLoad((opt) => {
|
||||||
// console.log('🚀 ~ onLoad ~ opt:', opt)
|
// console.log('🚀 ~ onLoad ~ opt:', opt)
|
||||||
const params = opt.params ? JSON.parse(opt.params) : {}
|
const params = opt.params ? JSON.parse(opt.params) : {}
|
||||||
Object.assign(opts, params)
|
Object.assign(opts, params)
|
||||||
if (opts.isLease) {
|
if (opts.isLease || opts.isToolsLease) {
|
||||||
signType.value = opts.leaseSignType
|
signType.value = opts.leaseSignType
|
||||||
imgPath.value = opts.leaseSignUrl
|
imgPath.value = opts.leaseSignUrl
|
||||||
}
|
}
|
||||||
|
|
@ -57,7 +57,7 @@ onLoad((opt) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (opts.isLease || opts.isBack || opts.isAuthorize) return
|
if (opts.isLease || opts.isBack || opts.isAuthorize || opts.isToolsLease) return
|
||||||
getSignData()
|
getSignData()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue