This commit is contained in:
aixianling
2022-12-26 17:40:56 +08:00
parent 1bebd1d794
commit 177e27cf78

View File

@@ -20,7 +20,7 @@
</template>
</AiGroup>
<AiBottomBtn v-if="isApprove" text="评分审核" @click="gotoApprove"/>
<AiBottomBtn v-else text="提交" @click="submit"/>
<AiBottomBtn v-else-if="task.status<2" text="提交" @click="submit"/>
</section>
</template>
@@ -38,7 +38,7 @@ export default {
}
},
computed: {
isApprove:v=>v.$route.query.approve==1,
isApprove: v => v.$route.query.approve == 1,
form() {
let form = {}
this.detail.map(e => {
@@ -106,8 +106,8 @@ export default {
})
}
},
gotoApprove(){
const {taskId,taskDetailId} = this.$route.query
gotoApprove() {
const {taskId, taskDetailId} = this.$route.query
uni.navigateTo({url: this.$qs.stringifyUrl({url: "./rsApproval", query: {taskId, taskDetailId}})})
}
},