黑龙江民政完成

This commit is contained in:
aixianling
2022-10-25 15:47:46 +08:00
parent c6f85fa328
commit 60c2f64672
6 changed files with 79 additions and 78 deletions

View File

@@ -30,6 +30,7 @@ export default {
getList() {
const {current, total, list} = this
if (current == 1 || list.length < total) {
current == 1 && (this.list = [])
this.getTasks()
}
},

View File

@@ -6,15 +6,15 @@
<div class="color-999">截止日期{{ $dateFormat(detail.endTime, "YYYY-MM-DD HH:mm") }}</div>
</AiGroup>
<AiGroup title="参评人员" description class="pad-t32">
<div flex class="pad-r32 pad-t16 pad-b16" v-for="item in list" :key="item.id" @click="handleScore(item.id)">
<div flex class="pad-r32 pad-t16 pad-b16" v-for="item in list" :key="item.id" @click="handleScore(item.id,item.templateId,!!item.commitTime)">
<div flex class="fill">
<ai-image class="mar-r32" :src="item.evaluatorsAvatar"/>
<AiImage class="mar-r32 circle avatar" :src="item.evaluatorsAvatar"/>
<div>
<h4>{{ item.evaluatorsName }}</h4>
<div class="color-999">{{ item.evaluatorsDepartments }}</div>
</div>
</div>
<div class="result" :class="{finish:item.status==1}">{{ item.status == 1 ? `${item.totalScore || 0}` : "去填报" }}</div>
<div class="result" :class="{finish:!!item.commitTime}">{{ !!item.commitTime ? `${item.totalScore || 0}` : "去填报" }}</div>
</div>
<AiEmpty class="pad-b32" v-if="!list.length"/>
</AiGroup>
@@ -48,6 +48,7 @@ export default {
const {id} = this.$route.query,
{current, list, total} = this
if (current == 1 || list.length < total) {
current == 1 && (this.list = [])
this.$http.post("/app/appassessmentscortask/myScoreList", null, {
params: {id, size: 999, current}
}).then(res => {
@@ -58,8 +59,8 @@ export default {
})
}
},
handleScore(id) {
uni.navigateTo({url: `/apps/AppAskForm/AppForm?id=${id}&action=${appassessmentscortask}`})
handleScore(id, tid, readonly) {
uni.navigateTo({url: `/apps/AppAskForm/AppForm?id=${id}&tid=${tid}&from=AppAssessmentScoreTask` + (readonly ? '&result=1' : '')})
}
},
onShow() {
@@ -89,7 +90,7 @@ export default {
.result {
color: #FFA938;
.finish {
&.finish {
color: #2C51CE;
}
}