BUG 4
This commit is contained in:
@@ -68,11 +68,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleDetail(item) {
|
handleDetail(item) {
|
||||||
const {taskId, taskDetailId} = item
|
const {taskId, taskDetailId, examineStatus: status} = item
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: this.$qs.stringifyUrl({
|
url: this.$qs.stringifyUrl({
|
||||||
url: "./rsDetail",
|
url: "./rsDetail",
|
||||||
query: {taskId, taskDetailId, approve: +(this.search.type == 2 && item.examineStatus == "0")}//当是带我审批且审批状态为待审批的时候才能出现审批评分按钮
|
query: {taskId, taskDetailId, approve: +(this.search.type == 2 && status == "0"), status}//当是待我审批且审批状态为待审批的时候才能出现审批评分按钮
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,10 @@
|
|||||||
</AiItem>
|
</AiItem>
|
||||||
</template>
|
</template>
|
||||||
</AiGroup>
|
</AiGroup>
|
||||||
<AiBottomBtn v-if="isApprove&&task.status<2" text="评分审核" @click="gotoApprove"/>
|
<template v-if="task.status<2">
|
||||||
<AiBottomBtn v-else-if="task.status<2" text="提交" @click="submit"/>
|
<AiBottomBtn v-if="isApprove" text="评分审核" @click="gotoApprove"/>
|
||||||
|
<AiBottomBtn v-else-if="/02/.test(examineStatus)" text="提交" @click="submit"/>
|
||||||
|
</template>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -39,6 +41,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isApprove: v => v.$route.query.approve == 1,
|
isApprove: v => v.$route.query.approve == 1,
|
||||||
|
examineStatus: v => v.$route.query.status,
|
||||||
form() {
|
form() {
|
||||||
let form = {}
|
let form = {}
|
||||||
this.detail.map(e => {
|
this.detail.map(e => {
|
||||||
|
|||||||
Reference in New Issue
Block a user