Commit b3d10ae9 authored by 张毅辰's avatar 张毅辰

页面优化更改

parent 403cb93c
...@@ -103,6 +103,15 @@ export default{ ...@@ -103,6 +103,15 @@ export default{
console.log(err) console.log(err)
} }
}); });
} else {
uni.navigateTo({
url: `/pages/flow/work?businessId=${id}&nodeId=${nodeId}&type=see`,
success:(res) =>{
},
fail:(err) =>{
console.log(err)
}
});
} }
} else { } else {
uni.navigateTo({ uni.navigateTo({
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{{ basicDataForm.createUserName || '-' }} {{ basicDataForm.createUserName || '-' }}
</view> </view>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="审批人" name="approveUser"> <uni-forms-item label="审批人" name="approveUser" v-if="basicDataForm.approveUser.length > 0">
<view class="show_form_info"> <view class="show_form_info">
{{ basicDataForm.approveUser.map(item => { return item.userName }) }} {{ basicDataForm.approveUser.map(item => { return item.userName }) }}
</view> </view>
......
<template> <template>
<view style="padding: 10px 0;"> <view style="padding: 10px 0;">
<uni-collapse ref="collapse"> <uni-collapse ref="collapse">
<uni-collapse-item v-for="(item, index) in approveHistoryList" :key="index" :title="(index + 1) + '.' + item.userName" > <uni-collapse-item v-for="(item, index) in approveHistoryList" :key="index" :title="(index + 1) + '.' + (item.userName ? item.userName : '无审批人')" >
<view class="content" style="padding: 10px 10px; font-size: 8px;text-align: center"> <view class="content" style="padding: 10px 10px; font-size: 8px;text-align: center">
<uni-row> <uni-row>
<uni-col :span="12"> <uni-col :span="12">
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
审核意见: {{ item.remarks || '-' }} 审核意见: {{ item.remarks || '-' }}
</uni-col> </uni-col>
</uni-row> </uni-row>
</view> </view>
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<uni-forms-item :label="item.label" :name="item.key"> <uni-forms-item :label="item.label" :name="item.key">
<view class="show_form_info"> <view class="show_form_info">
<view> <view>
{{ item.newData || '-' }} {{ item.newData + '1' || '-' }}
</view> </view>
<view v-show="item.showFlag" style="color: red;"> <view v-show="item.showFlag" style="color: red;">
{{ item.oldData || '-' }} {{ item.oldData || '-' }}
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<!-- </uni-forms-item>--> <!-- </uni-forms-item>-->
</view> </view>
</view> </view>
<view style="height: 20px"></view>
</uni-forms> </uni-forms>
</view> </view>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment