workflow index
parent
7622ee0af9
commit
023c85e9d9
|
|
@ -77,6 +77,16 @@ const rules = reactive({
|
|||
})
|
||||
onLoad((options) => {
|
||||
id.value = options.id
|
||||
http.get(`/tasks/${id.value}`).then(res => {
|
||||
if (res.taskable) {
|
||||
form.description = res.taskable.description
|
||||
if (res.taskable.photos && res.taskable.photos.length > 0) {
|
||||
form.photos = res.taskable.photos.map(item => {
|
||||
return {url: item}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
const submit = () => {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
<view class="w-140rpx">晋升职位</view>
|
||||
<view class="">{{ item.job.name }}</view>
|
||||
</view>
|
||||
<view class="text-24rpx text-hex-999999 flex">
|
||||
<view class="w-140rpx">申请时间: </view>
|
||||
<view class="">{{ item.created_format }}</view>
|
||||
</view>
|
||||
|
||||
<!-- <template v-if="options?.includes(item.promotion_status)">
|
||||
<view class="py-10rpx">
|
||||
|
|
|
|||
|
|
@ -67,6 +67,10 @@
|
|||
<view class="w-140rpx">晋升职位</view>
|
||||
<view class="">{{ item.check.subject.job.name }}</view>
|
||||
</view>
|
||||
<view class="text-24rpx text-hex-999999 flex">
|
||||
<view class="w-140rpx">申请时间: </view>
|
||||
<view class="">{{ item.created_format }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue