工单管理

This commit is contained in:
liuye
2023-08-22 14:47:08 +08:00
parent 285b8b1cf5
commit 8dc017104c
14 changed files with 2050 additions and 345 deletions

View File

@@ -8,6 +8,7 @@
<div class="times">{{ data.createTime }}</div>
</div>
<span class="edit-btn" @click="toEdit()" v-if="data.eventStatus != 2 || data.eventStatus != 3">编辑</span>
</div>
<div class="header-middle">
@@ -104,7 +105,7 @@
<div class="doIt" @click="doItShow = true">我来受理</div>
</div>
<div class="endDoIt" v-if="data.eventStatus == 1 && data.rightType == 0" @click="toContent(3)">前往办理</div>
<div class="endDoIt" v-if="data.eventStatus == 1" @click="toContent(3)">前往办理</div>
</div>
<AiEvaluation v-show="false" v-model="evaluation" :bid="data.id"/>
<u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="doThings"></u-modal>
@@ -137,7 +138,7 @@ export default {
const getAvatar = str => str?.substring(str?.length, str?.length - 2)
const list = this.data.processList.map(e => ({
...e,
avatar: getAvatar(e.girdMemberName),
avatar: getAvatar(e.userName),
statusLabel: this.$dict.getLabel('clapDoStatus', e.doStatus)
}))
if (this.evaluation.id) {
@@ -196,6 +197,9 @@ export default {
current: img
})
},
toEdit() {
uni.navigateTo({url: `./Edit?id=${this.id}`})
}
},
}
</script>
@@ -213,6 +217,7 @@ uni-page-body {
display: flex;
margin: 26px 0 14px 0;
padding: 0 32px;
position: relative;
.avatars {
width: 80px;
@@ -239,6 +244,17 @@ uni-page-body {
color: #999999;
}
}
.edit-btn {
position: absolute;
color: #197df0;
top: 16px;
right: 32px;
width: 150px;
height: 44px;
line-height: 44px;
text-align: right;
}
}
.header-middle {