黑龙江民政完成
This commit is contained in:
@@ -30,6 +30,7 @@ export default {
|
||||
getList() {
|
||||
const {current, total, list} = this
|
||||
if (current == 1 || list.length < total) {
|
||||
current == 1 && (this.list = [])
|
||||
this.getTasks()
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user