待办审批状态标签
This commit is contained in:
+3
-2
@@ -17,7 +17,7 @@
|
||||
<text class="t">{{ r.title || r.no }}</text>
|
||||
<text class="s">{{ r.submitter || r.assigneeName || '' }}</text>
|
||||
</view>
|
||||
<wd-tag type="primary" plain>{{ r.status || '待处理' }}</wd-tag>
|
||||
<wd-tag type="primary" plain>{{ statusText(r) }}</wd-tag>
|
||||
<text class="arr">›</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -29,7 +29,7 @@
|
||||
import FyHeader from '../../components/fy-header.vue'
|
||||
import FyScroll from '../../components/fy-scroll.vue'
|
||||
import { store } from '../../utils/store.js'
|
||||
import { asList } from '../../utils/format.js'
|
||||
import { asList, flowStatus } from '../../utils/format.js'
|
||||
import { oaGet } from '../../utils/api.js'
|
||||
|
||||
export default {
|
||||
@@ -82,6 +82,7 @@ export default {
|
||||
this.loading = false
|
||||
}
|
||||
},
|
||||
statusText(r) { return flowStatus(r && r.status) },
|
||||
open(r) {
|
||||
if (r.source === 'work' || r.taskId) {
|
||||
uni.navigateTo({ url: '/pages/coop/detail?id=' + encodeURIComponent(r.id || r.taskId) })
|
||||
|
||||
Reference in New Issue
Block a user