|
|
|
@ -26,10 +26,10 @@ const propertys = computed(() => {
|
|
|
|
|
<n-scrollbar style="max-height: 100%">
|
|
|
|
|
<n-ellipsis style="max-width: 350px">任务ID:{{ taskDetailInfo.taskname }}</n-ellipsis>
|
|
|
|
|
<div class="tags">
|
|
|
|
|
<div class="tag tag-submiting" v-if="taskDetailInfo.historyStates == '1'">待审批</div>
|
|
|
|
|
<div class="tag tag-submiting" v-if="taskDetailInfo.historyStates == 1">待审批</div>
|
|
|
|
|
<div class="tag tag-submited" v-else-if="taskDetailInfo.historyStates == 2 || taskDetailInfo.workStatus == 3">已审批</div>
|
|
|
|
|
<div class="tag tag-passed" v-if="taskDetailInfo.historyStates == 2">{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}</div>
|
|
|
|
|
<div class="tag tag-not-passed" v-else-if="taskDetailInfo.workStatus == 3">{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}</div>
|
|
|
|
|
<div class="tag tag-not-passed" v-else-if="taskDetailInfo.historyStates == 3">{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<n-divider class="divider-line" />
|
|
|
|
|
<div class="property">
|
|
|
|
|