mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
Merge commit 'ffb05d5aabbc11fe523b88153abfa3bc4760655a' into pro
# Conflicts: # resources/views/push/bot.blade.php
This commit is contained in:
commit
23cb7ffd6f
@ -151,7 +151,7 @@ services:
|
|||||||
|
|
||||||
approve:
|
approve:
|
||||||
container_name: "dootask-approve-${APP_ID}"
|
container_name: "dootask-approve-${APP_ID}"
|
||||||
image: "hitosea2020/go-approve:0.1.2"
|
image: "hitosea2020/go-approve:0.1.3"
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
TZ: "Asia/Shanghai"
|
||||||
MYSQL_HOST: "${DB_HOST}"
|
MYSQL_HOST: "${DB_HOST}"
|
||||||
|
|||||||
@ -102,7 +102,7 @@
|
|||||||
<Avatar :src="$A.apiUrl('../images/avatar/default_approval.png')" size="38"/>
|
<Avatar :src="$A.apiUrl('../images/avatar/default_approval.png')" size="38"/>
|
||||||
<div class="approve-process-left">
|
<div class="approve-process-left">
|
||||||
<p class="approve-process-name">{{$L('系统')}}</p>
|
<p class="approve-process-name">{{$L('系统')}}</p>
|
||||||
<p style="font-size: 12px;">{{$L('自动抄送')}}
|
<p class="approve-process-desc">{{$L('自动抄送')}}
|
||||||
<span style="color: #486fed;">
|
<span style="color: #486fed;">
|
||||||
{{ item.node_user_list?.map(h=>h.name).join(',') }}
|
{{ item.node_user_list?.map(h=>h.name).join(',') }}
|
||||||
{{$L('等'+item.node_user_list?.length+'人')}}
|
{{$L('等'+item.node_user_list?.length+'人')}}
|
||||||
@ -113,13 +113,13 @@
|
|||||||
</TimelineItem>
|
</TimelineItem>
|
||||||
|
|
||||||
<!-- 结束 -->
|
<!-- 结束 -->
|
||||||
<TimelineItem :key="key" :color="item.is_finished ? 'green' : '#ccc'" v-if="item.aprover_type == 'end'">
|
<TimelineItem class="finish" :key="key" :color="item.is_finished ? 'green' : '#ccc'" v-if="item.aprover_type == 'end'">
|
||||||
<p class="timeline-title">{{$L('结束')}}</p>
|
<p class="timeline-title">{{$L('结束')}}</p>
|
||||||
<div class="timeline-body">
|
<div class="timeline-body">
|
||||||
<Avatar :src="$A.apiUrl('../images/avatar/default_approval.png')" size="38"/>
|
<Avatar :src="$A.apiUrl('../images/avatar/default_approval.png')" size="38"/>
|
||||||
<div class="approve-process-left">
|
<div class="approve-process-left">
|
||||||
<p class="approve-process-name">{{$L('系统')}}</p>
|
<p class="approve-process-name">{{$L('系统')}}</p>
|
||||||
<p style="font-size: 12px;"> {{ datas.is_finished ? $L('已结束') : $L('未结束') }}</p>
|
<p class="approve-process-desc"> {{ datas.is_finished ? $L('已结束') : $L('未结束') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TimelineItem>
|
</TimelineItem>
|
||||||
@ -140,7 +140,7 @@
|
|||||||
<p>{{item.nickname}}</p>
|
<p>{{item.nickname}}</p>
|
||||||
<p class="time">{{item.created_at}}</p>
|
<p class="time">{{item.created_at}}</p>
|
||||||
</div>
|
</div>
|
||||||
<span>{{ getTimeAgo(item.created_at ,2) }}</span>
|
<span>{{ getTimeAgo(item.created_at) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{ getContent(item.content) }}
|
{{ getContent(item.content) }}
|
||||||
|
|||||||
@ -506,10 +506,6 @@ export default {
|
|||||||
skipAuthError: true
|
skipAuthError: true
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
this.addData.department_id = data[0]?.department[0] || 0;
|
this.addData.department_id = data[0]?.department[0] || 0;
|
||||||
if( !this.addData.department_id ){
|
|
||||||
$A.modalError("您当前未加入任何部门,不能发起!");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
this.$store.dispatch("call", {
|
this.$store.dispatch("call", {
|
||||||
url: 'approve/procdef/all',
|
url: 'approve/procdef/all',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|||||||
16
resources/assets/sass/pages/page-approve.scss
vendored
16
resources/assets/sass/pages/page-approve.scss
vendored
@ -228,6 +228,9 @@
|
|||||||
.approve-process-left {
|
.approve-process-left {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
.approve-process-desc{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.approve-process-right {
|
.approve-process-right {
|
||||||
@ -237,6 +240,13 @@
|
|||||||
> li:last-child {
|
> li:last-child {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.finish{
|
||||||
|
.ivu-timeline-item-content{
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -266,6 +276,10 @@
|
|||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
padding-left: 45px;
|
padding-left: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ivu-list-items>li:last-child{
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.approve-details-text:nth-last-child(1) {
|
.approve-details-text:nth-last-child(1) {
|
||||||
@ -317,7 +331,7 @@
|
|||||||
.comment {
|
.comment {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-left: 45px;
|
margin-left: 45px;
|
||||||
|
font-size: 12px;
|
||||||
span {
|
span {
|
||||||
background-color: #eaeaea;
|
background-color: #eaeaea;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user