mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 06:32:51 +00:00
no message
This commit is contained in:
parent
7ab94205e4
commit
92d46e1da3
@ -7,8 +7,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<h2>{{$L('审批详情')}}</h2>
|
<h2>{{$L('审批详情')}}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 审批详情 -->
|
<!-- 审批详情 -->
|
||||||
<div class="approve-details-box" ref="approveDetailsBox">
|
<div v-if="datas.id" class="approve-details-box" ref="approveDetailsBox">
|
||||||
<h2 class="approve-details-title">
|
<h2 class="approve-details-title">
|
||||||
<span>{{$L(datas.proc_def_name || '- -')}}</span>
|
<span>{{$L(datas.proc_def_name || '- -')}}</span>
|
||||||
<Tag v-if="datas.state == 0" color="cyan">{{$L('待审批')}}</Tag>
|
<Tag v-if="datas.state == 0" color="cyan">{{$L('待审批')}}</Tag>
|
||||||
@ -17,8 +18,10 @@
|
|||||||
<Tag v-if="datas.state == 3" color="red">{{$L('已拒绝')}}</Tag>
|
<Tag v-if="datas.state == 3" color="red">{{$L('已拒绝')}}</Tag>
|
||||||
<Tag v-if="datas.state == 4" color="red">{{$L('已撤回')}}</Tag>
|
<Tag v-if="datas.state == 4" color="red">{{$L('已撤回')}}</Tag>
|
||||||
</h2>
|
</h2>
|
||||||
<h3 class="approve-details-subtitle" @click="onAvatar(datas.start_user_id)">
|
<h3 class="approve-details-subtitle">
|
||||||
<Avatar :src="datas.userimg" size="24"/>
|
<span @click="onAvatar(datas.start_user_id)">
|
||||||
|
<Avatar :src="datas.userimg" size="24"/>
|
||||||
|
</span>
|
||||||
<span>{{datas.start_user_name}}</span>
|
<span>{{datas.start_user_name}}</span>
|
||||||
</h3>
|
</h3>
|
||||||
<h3 class="approve-details-subtitle"><span>{{$L('提交于')}} {{datas.start_time}}</span></h3>
|
<h3 class="approve-details-subtitle"><span>{{$L('提交于')}} {{datas.start_time}}</span></h3>
|
||||||
@ -182,7 +185,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--审批操作-->
|
<!--审批操作-->
|
||||||
<div class="approve-operation">
|
<div v-if="datas.id" class="approve-operation">
|
||||||
<Button type="primary" v-if="isShowAgreeBtn && !loadIng" @click="approve(1)">{{$L('同意')}}</Button>
|
<Button type="primary" v-if="isShowAgreeBtn && !loadIng" @click="approve(1)">{{$L('同意')}}</Button>
|
||||||
<Button type="error" v-if="isShowAgreeBtn && !loadIng" @click="approve(2)">{{$L('拒绝')}}</Button>
|
<Button type="error" v-if="isShowAgreeBtn && !loadIng" @click="approve(2)">{{$L('拒绝')}}</Button>
|
||||||
<Button type="warning" v-if="isShowWarningBtn && !loadIng" @click="revocation">{{$L('撤销')}}</Button>
|
<Button type="warning" v-if="isShowWarningBtn && !loadIng" @click="revocation">{{$L('撤销')}}</Button>
|
||||||
@ -463,8 +466,7 @@ export default {
|
|||||||
// 滚动到容器底部
|
// 滚动到容器底部
|
||||||
scrollToBottom() {
|
scrollToBottom() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const container = this.$refs.approveDetailsBox
|
this.$refs.approveDetailsBox?.scrollTo({
|
||||||
container.scrollTo({
|
|
||||||
top: container.scrollHeight + 1000,
|
top: container.scrollHeight + 1000,
|
||||||
behavior: 'smooth'
|
behavior: 'smooth'
|
||||||
});
|
});
|
||||||
|
|||||||
@ -130,6 +130,7 @@
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
10
resources/assets/sass/pages/page-approve.scss
vendored
10
resources/assets/sass/pages/page-approve.scss
vendored
@ -198,7 +198,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.approve-details {
|
.approve-details {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -244,6 +243,7 @@
|
|||||||
.approve-details-subtitle {
|
.approve-details-subtitle {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
.ivu-avatar {
|
.ivu-avatar {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
@ -436,7 +436,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.page-approve-setting{
|
.page-approve-setting{
|
||||||
|
|
||||||
.approve-row {
|
.approve-row {
|
||||||
@ -514,7 +513,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
.ivu-modal {
|
||||||
|
.approve-details {
|
||||||
|
border-width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body.window-portrait {
|
body.window-portrait {
|
||||||
.page-approve{
|
.page-approve{
|
||||||
.approve-head {
|
.approve-head {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user